Skip to content

Commit

Permalink
Merge pull request open-mpi#10837 from hppritcha/lanl_ci_add_cce
Browse files Browse the repository at this point in the history
lanl gitlab-ci: add cce pipeline
  • Loading branch information
hppritcha authored Sep 23, 2022
2 parents 343b0a6 + 6648a83 commit 6755fe7
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .ci/lanl/gitlab-darwin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,34 @@ build:gnu:
- install_test
expire_in: 1 week

build:cce
stage: build
tags: [darwin-slurm-shared]
variables:
SCHEDULER_PARAMETERS: "-pcrossroads-dev -t 4:00:00 -N 1 --ntasks-per-node=16"
script:
- module load cce
- module unload libsci
- module unload cray-mvapich2_nogpu
- rm .gitmodules
- cp $GITSUBMODULEPATCH .gitmodules
- git submodule update --init
- ./autogen.pl
- ./configure CC=cc FTN=ftn CXX=CC --with-ucx=no --prefix=$PWD/install_test --with-libevent=internal
- make -j 8 install
- make check
- export PATH=$PWD/install_test/bin:$PATH
- cd examples»
- make
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
untracked: true
paths:
- examples
- install_test
expire_in: 1 week


test:intel:
stage: test
tags: [darwin-slurm-shared]
Expand Down Expand Up @@ -232,3 +260,33 @@ test:gnu:
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
expire_in: 1 week

test:cce
stage: test
tags: [darwin-slurm-shared]
dependencies:
- build:cce
needs: ["build:cce"]
script:
- pwd
- ls
- module load cce
- module unload libsci
- module unload cray-mvapich2_nogpu
- export PATH=$PWD/install_test/bin:$PATH
- which mpirun
- cd examples
- mpirun -np 4 hostname
- mpirun -np 4 ./hello_c
- mpirun -np 4 ./ring_c
- mpirun -np 4 ./hello_mpifh
- mpirun -np 4 ./ring_mpifh
- mpirun -np 4 ./hello_usempi
- mpirun -np 4 ./ring_usempi
- mpirun -np 4 ./hello_usempif08
- mpirun -np 4 ./ring_usempif08
- mpirun -np 4 ./connectivity_c
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
expire_in: 1 week

0 comments on commit 6755fe7

Please sign in to comment.