Commit Graph

165 Commits

Author SHA1 Message Date
Raúl Peñacoba
3b21a32d83 Add ovni to OpenMP-V
Allows building OpenMP-V with ovni support, which is neccessary to run
the runtime tests of OpenMP-V in ovni.

Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2024-01-15 10:20:46 +01:00
c4d5135fde Split openmp versions in separate derivations
The openmp derivation provides both libomp and libompv. To avoid
accidentally linking with the wrong library and to avoid the nosv
dependency on libomp, this patch separates each version in a different
derivation.

Also, it adapts the clang wrappers and stdenvs to provide an stdenv per
openmp library where each openmp will be used by default when the
compiler flag "-fopenmp" is used. This eases linking ompv with nixpkgs
libraries, such as blis, that expect openmp to be provided with stdenv.

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-12-07 18:01:20 +01:00
Raúl Peñacoba
3ed644b88f Add clangNosvOpenmp-ld compiler test
Add a test to verify that "clang -fopenmp=libompv" links correctly with
nOS-V even though it is not placed in the buildInputs.

Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-12-01 16:35:24 +01:00
Raúl Peñacoba
8ceaddfea7 Split OpenMP from Clang in LLVM
As the OpenMP-V implementation requires to be built with nOS-V, we can
split the OpenMP package in a different derivation to prevent rebuilds
of clang. Additionally, as OpenMP-V now can be build alongside the
vanilla OpenMP runtime, we simply build a single openmp derivation with
both runtimes. Only a single build of the clang compiler is now
required.

Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-12-01 16:31:56 +01:00
af590d5ace Clang 2023.11 update
Clang nos-v-merge branch has been merged into master.

Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-11-24 16:47:02 +01:00
d9ae85ce4b Add a more strict test for OpenMP+nOS-V
In this test we ensure that the worksharing region is running inside a
nOS-V task, so we know that we are not using the vanilla OpenMP by
accident.

We also keep the previous test test/compilers/clang-openmp.nix as-is, so
we can check that the compiler injects the nosv library dependency in
the final binary on its own.

Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
2023-11-24 14:52:23 +01:00
e148de50d6 Remove Paraver fast
The build is broken and the official Paraver already merged support
for fast trace loading.

Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
2023-11-22 15:38:35 +01:00
4033854014 Disable nix-wrap as it is broken
The pkgsStatic.libcap dependency fails to build.

Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
2023-11-22 15:38:13 +01:00
e7bdc1595a Fix openmp.nix being called with callPackage
callPackage was overriding the inner callPackage override, which made
overriding the clang derivation through the override function impossible.

Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-11-15 16:22:53 +01:00
f605f8e5e4 Add clang openmp test for CI
Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-10-31 16:52:55 +01:00
bb1de835f7 Add clang with nosv-powered OpenMP
Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-10-31 16:52:55 +01:00
8731a4797d Enable packages served by PM gitlab 2023-10-06 14:24:57 +02:00
7ace376e4e Also define no RT clang stdenv 2023-10-04 12:43:47 +02:00
2a3b269b9c Mark packages affected by PM GitLab 2023-10-02 11:05:55 +02:00
0184f5e382 Print list of CI paths when building 2023-10-02 10:57:53 +02:00
916e4f49a6 Move packages from bsc/ to pkgs/ 2023-10-02 10:57:53 +02:00
8fe7458969 Remove deprecated pkgs and improve CI 2023-10-02 10:57:53 +02:00
1864c08c95 Disable packages from PM GitLab while is down 2023-10-02 10:57:53 +02:00
8dbd1a3c34 Port clang and intel packages and enable tests 2023-09-28 09:15:34 +02:00
51dcc6896e Begin moving bsc packages to root attribute 2023-09-19 10:33:32 +02:00
Raúl Peñacoba
8597bb97ab Add nix-wrap, which enables isolated environment in clusters 2023-09-07 09:07:25 +00:00
abfd8484ee Add sonar library 2023-09-06 15:33:55 +02:00
fd5fb5c055 Add asan test for clangOmpss2 2023-09-01 16:43:49 +02:00
e7647f1d99 Add pmix 4 2023-06-16 15:33:39 +02:00
aad2c276aa Update intel mpi to 2021.9 2023-06-16 15:32:49 +02:00
f5dcaf831b Update ovni to release and add useGit option 2023-05-30 16:44:39 +02:00
1da216bab5 Add nodes release and git version 2023-05-30 15:31:56 +02:00
3a249c5d88 Update nanos6 and merge release with git 2023-05-30 14:51:36 +02:00
b8f7c16d1c Use clang from git for NODES 2023-05-22 13:54:41 +02:00
3f4f3e1105 Export proper OmpSs-2 runtime home variable 2023-05-22 13:54:29 +02:00
46a3465e78 Build clang with a new LLVM
Older LLVM 11 version produces a broken compiler, see:
https://pm.bsc.es/gitlab/llvm-ompss/llvm-mono/-/issues/183
2023-05-19 18:34:11 +02:00
94fa0de4fc Add slurm 16.05.8.1 and hwloc 1.11.6 2023-04-02 21:39:30 +02:00
054d70d23b Add bench6 package 2023-03-14 14:58:42 +01:00
243ed2331a Add new package NODES 2023-03-13 16:16:34 +01:00
898534ee52 bsc: add nosv package 2023-03-13 14:58:59 +01:00
bf28263cc5 Add OmpSs-2 test with tasks 2023-03-13 14:54:40 +01:00
84623ea9d0 Use lld linker for clangOmpss2 for LTO 2023-03-06 11:47:01 +01:00
b57a17dd52 Remove alya 2023-03-03 18:25:06 +01:00
115e9beb59 Add Intel oneAPI 2023 with compilation tests 2023-03-03 18:18:51 +01:00
fd84af45f0 Add Intel OneAPI 2022 2023-03-02 19:03:58 +01:00
Raúl Peñacoba
5789b4a77a icc2021: added stdc++ includes 2023-03-02 18:46:52 +01:00
a6549c1908 intel: add intel compiler 2021.2.0 2023-03-02 18:46:52 +01:00
f28817c3bf Build wxparaver and paraver-kernel from github 2023-03-02 17:58:53 +01:00
bff0395872 Update mpich to follow upstream 2023-03-02 13:08:01 +01:00
d18a95f8ed Update paraver to 4.10.6
Dropping wxpropgrid. Now it needs to link with openssl.
2023-03-02 12:47:25 +01:00
c28618b95c Update extrae to 4.0.1 2023-03-02 11:43:35 +01:00
f5987a0094 Add ci derivation 2023-03-02 11:15:25 +01:00
b60698b791 pkgs: update nixpkgs to 1614b96a 2023-03-02 10:38:43 +01:00
1ffca6c9e0 bsc: add ovni package 2022-07-25 14:50:18 +02:00
df7c79f34b clangOmpss2: merge both nix files into one
Add clangOmpss2Git to the overlay overriding the src attribute of the
release nix derivation, so we only keep one derivation for both
variants.
2022-04-05 15:40:08 +01:00