Skip to content

Commit 6648a83

Browse files
committed
lanl gitlab-ci: add cce pipeline
reduce need to maintain jenkins services on HPE/Cray systems Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 14bc2ed commit 6648a83

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

.ci/lanl/gitlab-darwin-ci.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,34 @@ build:gnu:
103103
- install_test
104104
expire_in: 1 week
105105

106+
build:cce
107+
stage: build
108+
tags: [darwin-slurm-shared]
109+
variables:
110+
SCHEDULER_PARAMETERS: "-pcrossroads-dev -t 4:00:00 -N 1 --ntasks-per-node=16"
111+
script:
112+
- module load cce
113+
- module unload libsci
114+
- module unload cray-mvapich2_nogpu
115+
- rm .gitmodules
116+
- cp $GITSUBMODULEPATCH .gitmodules
117+
- git submodule update --init
118+
- ./autogen.pl
119+
- ./configure CC=cc FTN=ftn CXX=CC --with-ucx=no --prefix=$PWD/install_test --with-libevent=internal
120+
- make -j 8 install
121+
- make check
122+
- export PATH=$PWD/install_test/bin:$PATH
123+
- cd examples»
124+
- make
125+
artifacts:
126+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
127+
untracked: true
128+
paths:
129+
- examples
130+
- install_test
131+
expire_in: 1 week
132+
133+
106134
test:intel:
107135
stage: test
108136
tags: [darwin-slurm-shared]
@@ -232,3 +260,33 @@ test:gnu:
232260
artifacts:
233261
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
234262
expire_in: 1 week
263+
264+
test:cce
265+
stage: test
266+
tags: [darwin-slurm-shared]
267+
dependencies:
268+
- build:cce
269+
needs: ["build:cce"]
270+
script:
271+
- pwd
272+
- ls
273+
- module load cce
274+
- module unload libsci
275+
- module unload cray-mvapich2_nogpu
276+
- export PATH=$PWD/install_test/bin:$PATH
277+
- which mpirun
278+
- cd examples
279+
- mpirun -np 4 hostname
280+
- mpirun -np 4 ./hello_c
281+
- mpirun -np 4 ./ring_c
282+
- mpirun -np 4 ./hello_mpifh
283+
- mpirun -np 4 ./ring_mpifh
284+
- mpirun -np 4 ./hello_usempi
285+
- mpirun -np 4 ./ring_usempi
286+
- mpirun -np 4 ./hello_usempif08
287+
- mpirun -np 4 ./ring_usempif08
288+
- mpirun -np 4 ./connectivity_c
289+
artifacts:
290+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
291+
expire_in: 1 week
292+

0 commit comments

Comments
 (0)