forked from petsc/petsc
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitlab-alcf-ci.yml
65 lines (60 loc) · 1.75 KB
/
.gitlab-alcf-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
variables:
GIT_STRATEGY: fetch
GIT_CLEAN_FLAGS: -ffdxq
TIMEOUT: 1200
ANL_THETA_PROJECT_SERVICE_USER: "cscstms"
.test:
only:
refs:
- schedules
- web
dependencies: []
.stage:
extends: .test
before_script:
- date
- hostname
- grep PRETTY_NAME /etc/os-release
- nproc
- lscpu
- if [ ! -z ${RM_MODULES+x} ]; then printf "removing modules - ${RM_MODULES}\n"; module list; module remove ${RM_MODULES}; fi
- if [ ! -z ${LOAD_MODULES+x} ]; then printf "loading modules - ${LOAD_MODULES}\n"; module load ${LOAD_MODULES}; module list; fi
after_script:
- date
script:
- printf "PATH:$PATH\n"
- printf "./config/examples/${TEST_ARCH}.py\n"
- cat ./config/examples/${TEST_ARCH}.py
- ./config/examples/${TEST_ARCH}.py
- make CFLAGS=${MAKE_CFLAGS} CXXFLAGS=${MAKE_CXXFLAGS} FFLAGS=${MAKE_FFLAGS}
- cd src/snes/tutorials; make ex19 ex5f
artifacts:
name: "$CI_JOB_NAME"
when: always
paths:
- ${TEST_ARCH}/lib/petsc/conf/*.log
- ${TEST_ARCH}/lib/pkgconfig/petsc.pc
- core*
expire_in: 4 days
theta-intel-opt:
extends:
- .stage
tags:
- anl-ci, shell
variables:
TEST_ARCH: arch-alcfci-theta-intel-opt
MAKE_CFLAGS: -Werror
MAKE_CXXFLAGS: -Werror
RM_MODULES: darshan xalt cray-libsci
LOAD_MODULES: cmake/3.18.0 cray-netcdf-hdf5parallel/4.7.3.3 cray-parallel-netcdf/1.12.0.1 cray-hdf5-parallel/1.10.6.1
theta-cray-opt:
extends:
- .stage
tags:
- anl-ci, shell
variables:
TEST_ARCH: arch-alcfci-theta-cray-opt
MAKE_CFLAGS: -Werror
MAKE_CXXFLAGS: -Werror
RM_MODULES: darshan xalt PrgEnv-intel
LOAD_MODULES: PrgEnv-cray cmake/3.18.0 cray-netcdf-hdf5parallel/4.7.3.3 cray-parallel-netcdf/1.12.0.1 cray-hdf5-parallel/1.10.6.1