1083 Commits

Author SHA1 Message Date
f87ab0f4dd Switch bscpkgs input to jungle
Some checks failed
CI / build:rt (pull_request) Failing after 6m38s
CI / build:asan (pull_request) Failing after 8m48s
CI / build:debug (pull_request) Successful in 22m27s
CI / build:nompi (pull_request) Successful in 20m37s
CI / build:compilers (pull_request) Successful in 18m22s
CI / build:local (pull_request) Successful in 23m13s
The bscpkgs repository has been merged into jungle.

See: rarias/jungle#189
2025-10-10 12:57:26 +02:00
e5f603f1e5 Update nOS-V commit for HWC support
Some checks failed
CI / build:debug (push) Successful in 49s
CI / build:nompi (push) Successful in 48s
CI / build:compilers (push) Successful in 47s
CI / build:rt (push) Failing after 2m59s
CI / build:asan (push) Failing after 5m11s
CI / build:local (push) Successful in 5m17s
2025-09-25 16:46:05 +02:00
bac3d38d4e flake.lock: Update
Flake lock file updates:

• Updated input 'bscpkgs':
    'git+https://git.sr.ht/~rodarima/bscpkgs?ref=refs/heads/master&rev=f962816eabd534eafe948499322589921f230e72' (2025-03-07)
  → 'git+https://git.sr.ht/~rodarima/bscpkgs?ref=refs/heads/master&rev=c7b5ec13b8d596a79942e5bd18ea7049472613b9' (2025-09-12)
2025-09-25 16:20:46 +02:00
162e376f92 Add documentation for HWC in nOS-V 2025-09-08 14:42:28 +02:00
6fbc5e2693 Add nOS-V HWC rt tests 2025-09-08 14:42:28 +02:00
a164642653 Add support for HWC in nOS-V 2025-09-08 14:17:33 +02:00
e0871bd391 Fix typos in mark connect functions 2025-09-08 14:10:34 +02:00
6bc8a2a589 Add support to generate dynamic CFG files
As we have a variable number of hardware counters that can be enabled at
runtime, each with a different name, we need to create a dynamic set of
configuration files for Paraver. We also need to specify some options
needed to properly see the timeline for HWC. For now we leave the
generation of CFG to the minimum features required to cover HWC.
2025-09-08 14:10:34 +02:00
12e06498c4 Copy configurations on recorder init
Allows models to add additional configurations if needed, as the
directories will be already created.
2025-09-08 14:10:34 +02:00
4778b8c9ab Fix premature usage of loom_get_cpu()
When loading CPUs for the loom, we cannot use loom_get_cpu() to access
the CPUs of the loom by their logical index, as it is not yet populated.
The check comes from load_cpus() which tries to prevent duplicated
entries in CPU logical indices, but this check is already performed when
building the cpus_array, so it is not needed.

Tested-by: Arnau Cinca <arnau.cinca@bsc.es>
2025-07-25 13:59:08 +02:00
ce01675e9e Fix nOS-V multiple-segment emu test
The ovni_proc_set_rank() call must occur after we initialize the thread.
It was always failing, but the multi-process driver didn't catch this
case.
2025-07-25 13:57:33 +02:00
3b65b0a52d Add tests for cpus out of order in metadata
Reported-by: Arnau Cinca <arnau.cinca@bsc.es>
2025-07-25 13:57:26 +02:00
23faac0c1b Make sure we detect crashes in MP tests
If a process fails in the background, bash ignores it even when running
with set -e. To address it, we store a token in a file per each rank,
which only gets written when each process finishes properly. Then we
make sure that each rank has completed successfully, otherwise we fail
the test.
2025-07-23 17:05:06 +02:00
e4f6238207 Disable OFI in MPI benchmarks for now
Use sockets for communication as the current runner has the OFI port
disconnected, so it will fail otherwise.
2025-06-13 15:53:49 +02:00
a73afcfaab Release version 1.12.0 2025-05-08 12:29:25 +02:00
973a210824 Update LLVM commit to fix task events 2025-05-07 16:50:46 +02:00
e00bb984bf Bump OpenMP model to 1.2.1 2025-05-07 16:39:37 +02:00
e4b87609e7 Allow OpenMP tasks to run again 2025-05-07 16:39:37 +02:00
84ae4ee056 Add OpenMP untied RT test
Executing the taskyield in a loop causes the runtime to maximize the
probablily that we end up running the task again before we have the
chance to emit the PPe event, so making the emulator panic as this
breaks the current OpenMP task model.
2025-05-07 16:39:37 +02:00
88073d2205 Update nOS-V commit for race fix
See: https://gitlab.bsc.es/nos-v/nos-v/-/merge_requests/165
2025-05-07 15:55:02 +02:00
7275413370 Bump nOS-V model version to 2.5.1
See: https://gitlab.bsc.es/nos-v/nos-v/-/merge_requests/165
2025-05-02 13:46:01 +02:00
ae8edc5985 Add nOS-V resubmit-race RT test 2025-04-25 15:41:12 +02:00
b4f9b87ec0 Increase timeout for bench6 tests to 5 minutes 2025-04-25 12:05:48 +02:00
3018cdf54e Add b6_heat_tampi_ompv bench test 2025-04-25 11:47:50 +02:00
62a1ff9b73 Update bench6 commit 2025-04-25 11:47:50 +02:00
57028f1f5b Use MPICH to run tests with MPI
OpenMPI doesn't work on jungle machines unless it is properly
configured. We should eventually move to the same configuration that we
use for packages in jungle.
2025-04-25 11:47:50 +02:00
9dec20d461 Add heat tampi bench test 2025-04-25 11:47:50 +02:00
9ba303f4ed Rename heat test to b6_heat_ompv 2025-04-25 11:47:50 +02:00
b548f2f877 Ensure the heat PRV traces are not too big 2025-04-25 11:47:50 +02:00
09b84d05b1 Run heat more times with smaller blocksize 2025-04-25 11:47:50 +02:00
51ea16a85a Check packages and features once
Also move libompv detection to its own cmake module.
2025-04-25 11:47:50 +02:00
44dd6fa7dd Relax warning on IWYU not found to status message 2025-04-25 11:47:50 +02:00
9b373fb16c Add bench6 test to run full mini-apps 2025-04-25 11:47:50 +02:00
1f71bc8e90 Add bench6 to run benchmark tests 2025-04-25 11:47:45 +02:00
81c137a65e Add OpenMP simple breakdown support
For now we only show the breakdown of the label and subsystem, without
the idle information.
2025-04-25 11:47:40 +02:00
1dcb3f4822 Check ovniemu -b works without can_breakdown set
Ensure that we can successfully process a trace that has nOS-V threads
without the can_breakdown flag set to true. We simply don't enable the
nOS-V breakdown, but other models can enable it.
2025-04-23 15:32:52 +02:00
a1a2941b64 Allow -b flag without nosv.can_breakdown
As we now have OpenMP and nOS-V models for breakdown, we may have the
situation in which nOS-V traces don't have enough events to enable the
breakdown model, but we do on OpenMP. Rather than stopping, disable the
nOS-V model with a warning and continue.
2025-04-23 15:32:52 +02:00
c2f9bf0b75 Update LLVM commit for OpenMP
The new passive policy is fixed in a new commit.
2025-04-23 15:16:32 +02:00
5eec5a17f3 Add passive and active tests for OpenMP
Makes sure that we are no longer generating too many pause events.
2025-04-23 15:12:40 +02:00
120e69eeec Remove deprecated gcc <= 8 and add gcc 14 2025-04-23 15:10:12 +02:00
a007e77f72 flake.lock: Update
Flake lock file updates:

• Updated input 'bscpkgs':
    'git+https://git.sr.ht/~rodarima/bscpkgs?ref=refs/heads/master&rev=3b21a32d835ff06741d5d59cd023ff2ae1ecb19f' (2024-01-15)
  → 'git+https://git.sr.ht/~rodarima/bscpkgs?ref=refs/heads/master&rev=f962816eabd534eafe948499322589921f230e72' (2025-03-07)
• Updated input 'nixpkgs':
    'path:/nix/store/wl5m5xfayd69ycyspzyd4rilfgl6wmh0-source?lastModified=1693663421&narHash=sha256-ImMIlWE/idjcZAfxKK8sQA7A1Gi/O58u5/CJA%2Bmxvl8%3D&rev=e56990880811a451abd32515698c712788be5720' (2023-09-02)
  → 'github:NixOS/nixpkgs/9c6b49aeac36e2ed73a8c472f1546f6d9cf1addc?narHash=sha256-i/UJ5I7HoqmFMwZEH6vAvBxOrjjOJNU739lnZnhUln8%3D' (2025-01-14)
2025-04-23 15:08:46 +02:00
3338878c72 Update nOS-V commit to reduce yield events 2025-03-24 16:01:38 +01:00
c847ec19ad Add noisy yield test in nOS-V
Ensure we can call nosv_yield in a loop without generating a lot of
events when using the level 3 instrumentation level. Noisy events are
now moved to level 4, so they shouldn't appear on the trace.
Additionally, make sure that the noisy events appear on level 4.
2025-03-21 16:57:44 +01:00
a8a8a0e763 Add nOS-V non-blocking scheduler server events
The events are emitted when we enter the scheduler with the non-blocking
flag, which is usually the case when using the nosv_yield and
nosv_schedpoint API functions.

See: https://gitlab.bsc.es/nos-v/nos-v/-/merge_requests/155
2025-03-21 16:57:44 +01:00
c3248cf0c4 Fix cast from pointer to integer in armv7
A pointer may not fit in a off_t type, so we first cast it to intptr_t
which must be able to hold it, then compute the diff which should fit in
a off_t and perform the cast.

Reported-by: Miquel Vidal Piñol <miquel.vidal@bsc.es>
2025-03-18 12:40:46 +01:00
Raúl Peñacoba Veigas
9826879bcd Add OpenMP support for labels and taskID views
Some checks failed
CI / build:rt (push) Failing after 15s
CI / build:debug (push) Successful in 13s
CI / build:asan (push) Failing after 13s
CI / build:nompi (push) Successful in 13s
CI / build:compilers (push) Successful in 13s
CI / build:local (push) Successful in 23s
Co-authored-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2024-12-09 16:41:16 +01:00
a7103f8510 Release version 1.11.0 2024-11-08 10:26:10 +01:00
d931a68b3e
Set cfg colors for nosv_cond apis 2024-11-08 10:13:01 +01:00
a297adab7a
Add tests for nosv_cond 2024-11-08 10:13:00 +01:00
b5fd438ce0
Add nosv_cond API events (nosv 3.1.0) 2024-11-08 10:13:00 +01:00