-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
87 lines (81 loc) · 2.32 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
before_script:
- module use /home/wy29/opt/modulefiles
- module use /home/yy244/yy_modules
- module purge
- module load gcc-7.5.0
- module load cmake_3.20.5
- export OMP_NUM_THREADS=1
variables:
CI_DEBUG_TRACE: "true"
### GNU compilers + OpenMPI + Netlib BLAS, LAPACK, ScaLAPACK ###
gnu:
script:
- module load openmpi-4.1.0
- cat ./toolchains/gnu.cmake
- rm -rf build
- mkdir build
- cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/gnu.cmake ..
- make -j4
- ctest --output-on-failure
### NVIDIA HPC SDK (20.7) ###
nvhpc:
script:
- module unload gcc-7.5.0
- module load gcc-7.5
- module load glibc-2.14
- module load nvhpc_yy/20.7
- module list
- cat ./toolchains/nvhpc.cmake
- export LD_PRELOAD=/home/yy244/compilers/gcc_install/7.5/lib64/libstdc++.so.6
- rm -rf build
- mkdir build
- cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/nvhpc.cmake ..
- make -j4
- ctest --output-on-failure
### Intel compilers + MPI + MKL ###
intel:
script:
- module load intel-compilers-2018.4
- module load intel-mpi-2018.4
- module load intel-mkl-2018.4
- export MKL_DYNAMIC=FALSE
- export MKL_NUM_THREADS=1
- cat ./toolchains/intel.cmake
- rm -rf build
- mkdir build
- cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/intel.cmake ..
- make -j4
- ctest --output-on-failure
### Intel compilers + MPI + MKL (shared library) ###
intel-shared:
script:
- module load intel-compilers-2018.4
- module load intel-mpi-2018.4
- module load intel-mkl-2018.4
- export MKL_DYNAMIC=FALSE
- export MKL_NUM_THREADS=1
- cat ./toolchains/intel.cmake
- rm -rf build
- mkdir build
- cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/intel.cmake -DBUILD_SHARED_LIBS=ON ..
- make -j4
- ctest --output-on-failure
### Intel compilers + MPI + MKL + external solver libraries (debug) ###
intel-debug:
script:
- module load intel-compilers-2018.4
- module load intel-mpi-2018.4
- module load intel-mkl-2018.4
- export MKL_DYNAMIC=FALSE
- export MKL_NUM_THREADS=1
- cat ./toolchains/intel_debug.cmake
- rm -rf build
- mkdir build
- cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/intel_debug.cmake ..
- make -j4
- ctest --output-on-failure