Skip to content

Commit ab3a849

Browse files
authored
Merge pull request #8960 from hppritcha/topic/lanl_ci_add_ibm
lanl/ci: add ibm compiler
2 parents 8b850d2 + 8284731 commit ab3a849

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

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

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,29 @@ build:intel:
2828
- install_test
2929
expire_in: 1 week
3030

31+
build:ibm:
32+
stage: build
33+
tags: [darwin-slurm-shared]
34+
variables:
35+
SCHEDULER_PARAMETERS: "-ppower9 -t 1:00:00 -N 1 --ntasks-per-node=16"
36+
script:
37+
- module load ibm
38+
- git submodule update --init
39+
- ./autogen.pl
40+
- ./configure CC=xlc FC=xlf CXX=xlc++ --prefix=$PWD/install_test --with-libevent=internal
41+
- make -j 8 install
42+
- make check
43+
- export PATH=$PWD/install_test/bin:$PATH
44+
- cd examples
45+
- make
46+
artifacts:
47+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
48+
untracked: true
49+
paths:
50+
- examples
51+
- install_test
52+
expire_in: 1 week
53+
3154
build:gnu:
3255
stage: build
3356
tags: [darwin-slurm-shared]
@@ -76,6 +99,35 @@ test:intel:
7699
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
77100
expire_in: 1 week
78101

102+
test:ibm:
103+
stage: test
104+
tags: [darwin-slurm-shared]
105+
variables:
106+
SCHEDULER_PARAMETERS: "-ppower9 -t 1:00:00 -N 1 --ntasks-per-node=16"
107+
dependencies:
108+
- build:ibm
109+
needs: ["build:ibm"]
110+
script:
111+
- pwd
112+
- ls
113+
- module load ibm
114+
- export PATH=$PWD/install_test/bin:$PATH
115+
- which mpirun
116+
- cd examples
117+
- mpirun -np 4 hostname
118+
- mpirun -np 4 ./hello_c
119+
- mpirun -np 4 ./ring_c
120+
- mpirun -np 4 ./hello_mpifh
121+
- mpirun -np 4 ./ring_mpifh
122+
- mpirun -np 4 ./hello_usempi
123+
- mpirun -np 4 ./ring_usempi
124+
- mpirun -np 4 ./hello_usempif08
125+
- mpirun -np 4 ./ring_usempif08
126+
- mpirun -np 4 ./connectivity_c
127+
artifacts:
128+
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
129+
expire_in: 1 week
130+
79131
test:gnu:
80132
stage: test
81133
tags: [darwin-slurm-shared]

0 commit comments

Comments
 (0)