@@ -103,6 +103,34 @@ build:gnu:
103
103
- install_test
104
104
expire_in : 1 week
105
105
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
+
106
134
test:intel :
107
135
stage : test
108
136
tags : [darwin-slurm-shared]
@@ -232,3 +260,33 @@ test:gnu:
232
260
artifacts :
233
261
name : " $CI_JOB_NAME-$CI_COMMIT_REF_NAME"
234
262
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