@@ -51,6 +51,29 @@ build:ibm:
5151 - install_test
5252 expire_in : 1 week
5353
54+ build:amd :
55+ stage : build
56+ tags : [darwin-slurm-shared]
57+ variables :
58+ SCHEDULER_PARAMETERS : " -pamd-rome -t 1:00:00 -N 1 --ntasks-per-node=16"
59+ script :
60+ - module load aocc/3.0.0
61+ - git submodule update --init
62+ - ./autogen.pl
63+ - ./configure CC=clang FC=flang CXX=clang++ --prefix=$PWD/install_test --with-libevent=internal
64+ - make -j 8 install
65+ - make check
66+ - export PATH=$PWD/install_test/bin:$PATH
67+ - cd examples
68+ - make
69+ artifacts :
70+ name : " $CI_JOB_NAME-$CI_COMMIT_REF_NAME"
71+ untracked : true
72+ paths :
73+ - examples
74+ - install_test
75+ expire_in : 1 week
76+
5477build:gnu :
5578 stage : build
5679 tags : [darwin-slurm-shared]
@@ -128,6 +151,35 @@ test:ibm:
128151 name : " $CI_JOB_NAME-$CI_COMMIT_REF_NAME"
129152 expire_in : 1 week
130153
154+ test:amd :
155+ stage : test
156+ tags : [darwin-slurm-shared]
157+ variables :
158+ SCHEDULER_PARAMETERS : " -pamd-rome -t 1:00:00 -N 1 --ntasks-per-node=16"
159+ dependencies :
160+ - build:amd
161+ needs : ["build:amd"]
162+ script :
163+ - pwd
164+ - ls
165+ - module load aocc/3.0.0
166+ - export PATH=$PWD/install_test/bin:$PATH
167+ - which mpirun
168+ - cd examples
169+ - mpirun -np 4 hostname
170+ - mpirun -np 4 ./hello_c
171+ - mpirun -np 4 ./ring_c
172+ - mpirun -np 4 ./hello_mpifh
173+ - mpirun -np 4 ./ring_mpifh
174+ - mpirun -np 4 ./hello_usempi
175+ - mpirun -np 4 ./ring_usempi
176+ - mpirun -np 4 ./hello_usempif08
177+ - mpirun -np 4 ./ring_usempif08
178+ - mpirun -np 4 ./connectivity_c
179+ artifacts :
180+ name : " $CI_JOB_NAME-$CI_COMMIT_REF_NAME"
181+ expire_in : 1 week
182+
131183test:gnu :
132184 stage : test
133185 tags : [darwin-slurm-shared]
0 commit comments