-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gitlab-ci.yml
121 lines (103 loc) · 3.1 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
variables:
GIT_SUBMODULE_STRATEGY: recursive
.basic_job:
image: gcc
stage: test
needs: []
script:
- mkdir build
- cd build
- cmake .. -DFTK_BUILD_TESTS=ON ${CMAKE_ARG}
- make VERBOSE=1
after_script:
- cd build
- ctest -VV
tags:
- "20.04"
no-dependencies:
extends: .basic_job
netcdf:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_NETCDF=ON"
adios2-mpich-gnu:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_MPI=ON -DFTK_USE_ADIOS2=ON -DADIOS2_DIR=/nfs/gce/projects/PEDAL-GCE/hguo/ci/adios2-2.7.1/lib/cmake/adios2"
CC: mpicc
CXX: mpicxx
before_script:
- module load mpich/3.4.2-gnu
intel-mpich:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_MPI=ON"
CC: mpicc
CXX: mpicxx
before_script:
- module load mpich/3.4.2-intel
- module load intel/20.4
intel-mpich-hdf5:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_MPI=ON -DFTK_USE_HDF5=ON -DFTK_HDF5_DIR=/nfs/gce/software/custom/linux-ubuntu20.04-x86_64/hdf5/hdf5-1.12.1-mpich-3.4.2-parallel-fortran"
CC: mpicc
CXX: mpicxx
before_script:
- module load mpich/3.4.2-intel
- module load intel/20.4
cuda-compile-only:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_CUDA=ON"
before_script:
- export PATH=/nfs/gce/projects/PEDAL-GCE/hguo/ci/cuda-11.6/bin:$PATH
python3-setup-build-only:
before_script:
- module load anaconda3/2021.05
script:
- python setup.py build
tags:
- "20.04"
python3:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_BUILD_PYFTK=ON -DFTK_BUILD_EXECUTABLES=OFF"
before_script:
- module load anaconda3/2021.05
intel-tbb:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_TBB=ON -DTBB_ROOT=/nfs/gce/software/custom/linux-ubuntu20.4-x86_64/intel/20.4/tbb"
before_script:
- module load intel/20.4
intel-mpich-tbb:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_MPI=ON -DFTK_USE_TBB=ON -DTBB_ROOT=/nfs/gce/software/custom/linux-ubuntu20.04-x86_64/intel/20.4/tbb"
CC: mpicc
CXX: mpicxx
before_script:
- module load mpich/3.4.2-intel
- module load intel/20.4
intel-mpich-hdf5-tbb:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_MPI=ON -DFTK_USE_HDF5=ON -DFTK_HDF5_DIR=/nfs/gce/software/custom/linux-ubuntu20.04-x86_64/hdf5/hdf5-1.12.1-mpich-3.4.2-parallel-fortran -DFTK_USE_TBB=ON -DTBB_ROOT=/nfs/gce/software/custom/linux-ubuntu20.04-x86_64/intel/20.4/tbb"
CC: mpicc
CXX: mpicxx
before_script:
- module load mpich/3.4.2-intel
- module load intel/20.4
vtk:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_VTK=ON -DVTK_DIR=/nfs/gce/projects/PEDAL-GCE/hguo/ci/vtk-9.0.3/lib/cmake/vtk-9.0"
paraview:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_BUILD_PARAVIEW=ON -DParaView_DIR=/nfs/gce/projects/PEDAL-GCE/hguo/ci/paraview-5.9.1/lib/cmake/paraview-5.9"
mpsolve:
extends: .basic_job
variables:
CMAKE_ARG: "-DFTK_USE_MPSolve=ON -DMPSolve_INCLUDE_DIR=/nfs/gce/projects/PEDAL-GCE/hguo/ci/mpsolve-3.2.1/include -DMPSolve_LIBRARY=/nfs/gce/projects/PEDAL-GCE/hguo/ci/mpsolve-3.2.1/lib/libmps.so"