Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test of re-git ci at lanl #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .ci/lanl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ECP-CI at OLCF
--------------
#[![pipeline status](https://code.ornl.gov/ecpcitest/ompi-x/naughtont3-ompi/badges/olcf-ecp-ci/pipeline.svg)](https://code.ornl.gov/ecpcitest/ompi-x/naughtont3-ompi/-/commits/olcf-ecp-ci)

CI Tests that run on LANL resources.

Brief summary:
- OMPI GitHub mirrored at LANL GitLab
- Builds source tree
- autogen, configure, make install, make check, make examples
- Runs tests in batch allocation with single node
- The CI status/results are reported back to GitHub via a python script (`build-status.py`)
- See also: https://ecp-ci.gitlab.io/docs/guides/build-status-gitlab.html
- Note: The `BUILDSTATUS_TOKEN` is defined in GitLab and contains a
personal access token (`repo:status`) for the upstream GitHub user.

109 changes: 109 additions & 0 deletions .ci/lanl/gitlab-ci-darwin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
stages:
- build
- test

build:intel:
stage: build
tags: [darwin-slurm]
script:
- module load intel
- git submodule update --init
- ./autogen.pl
- ./configure CC=icc FC=ifort CXX=icpc --prefix=$PWD/install_test --with-libevent=internal
- make -j 8 install
- make check
- export PATH=$PWD/install_test/bin:$PATH
- cd examples
- make
variables:
SCHEDULER_PARAMETERS: "-pskylake-gold -t 1:00:00 -N 1 --ntasks-per-node=16"
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
untracked: true
paths:
- examples
- install_test
expire_in: 1 week

build:gnu:
stage: build
tags: [darwin-slurm]
script:
- module load gcc
- git submodule update --init
- ./autogen.pl
- ./configure --prefix=$PWD/install_test --with-libevent=internal
- make -j 8 install
- make check
- export PATH=$PWD/install_test/bin:$PATH
- cd examples
- make
variables:
SCHEDULER_PARAMETERS: "-pskylake-gold -t 1:00:00 -N 1 --ntasks-per-node=16"
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]
dependencies:
- build:intel
needs: ["build:intel"]
script:
- pwd
- ls
- module load intel
- 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
variables:
SCHEDULER_PARAMETERS: "-pskylake-gold -t 1:00:00 -N 1 --ntasks-per-node=16"
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
expire_in: 1 week

test:gnu:
stage: test
tags: [dawrin-slurm]
dependencies:
- build:gnu
needs: ["build:gnu"]
script:
- pwd
- ls
- module load gcc
- 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
variables:
SCHEDULER_PARAMETERS: "-pskylake-gold -t 1:00:00 -N 1 --ntasks-per-node=16"
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
expire_in: 1 week


109 changes: 109 additions & 0 deletions .ci/lanl/gitlab-ci-jlse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
stages:
- build
- test

build:intel:
stage: build
tags: [jlselogin3_shell]
script:
- module load intel
- git submodule update --init
- ./autogen.pl
- ./configure CC=icc FC=ifort CXX=icpc --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_intel"
untracked: true
paths:
- examples
- install_test
expire_in: 1 week
only: [merge_requests]

build:gnu:
stage: build
tags: [jlselogin3_shell]
script:
- module load gcc
- git submodule update --init
- ./autogen.pl
- ./configure --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
only: [merge_requests]

test:intel:
stage: test
tags:
- jlselogin3_batch-03
dependencies:
- build:intel
needs: ["build:intel"]
script:
- pwd
- ls
- module load intel
- 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
variables:
JLSE_SCHEDULER_PARAMETERS: "-qiris -t 1:00:00 -n 1"
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
expire_in: 1 week
only: [merge_requests]

test:gnu:
stage: test
tags:
- jlselogin3_batch-03
dependencies:
- build:gnu
needs: ["build:gnu"]
script:
- pwd
- ls
- module load gcc
- 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
variables:
JLSE_SCHEDULER_PARAMETERS: "-qiris -t 1:00:00 -n 1"
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
expire_in: 1 week
only: [merge_requests]
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ Master (not on release branches yet)
* launcher.
**********************************************************************

lets add some news here

- Fix rank-by algorithms to properly rank by object and span
- Do not build Open SHMEM layer when there are no SPMLs available.
Currently, this means the Open SHMEM layer will only build if
Expand Down