Skip to content

Commit

Permalink
Merge pull request #10 from wihobbs/add-pmix
Browse files Browse the repository at this point in the history
gitlab: add flux-pmix to CI testing
  • Loading branch information
wihobbs authored Jan 23, 2024
2 parents a7f7d7d + 760891a commit 4e2eb29
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
31 changes: 28 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,27 @@ default:
- lstopo --of xml >$(hostname).xml
- export FLUX_HWLOC_XMLFILE=$(pwd)/$(hostname).xml
- !reference ['.build-core', 'script']
- cd $FLUX_BUILD_DIR
- make -j 32 check
- cd ${CORE_BUILD_DIR}
- make -j $(nproc) check

.test-pmix:
extends: .lc-variables
variables:
PYTHON: "/usr/bin/python3"
debug: t
FLUX_TESTS_LOGFILE: t
script:
- export FTC_DIRECTORY=$(pwd)
- !reference ['.build-core', 'script']
- export PKG_CONFIG_PATH=${CORE_INSTALL_PREFIX}/lib/pkgconfig:$(pkg-config --variable pc_path pkg-config)
- module load openmpi
- export PKG_CONFIG_PATH=$(dirname $(which mpicc))/../lib/pkgconfig:${PKG_CONFIG_PATH}
- cd ${FTC_DIRECTORY}
- git clone https://github.com/flux-framework/flux-pmix
- cd flux-pmix
- ./autogen.sh
- ./configure
- make -j $(nproc) check

.test-core-mpi:
extends: .lc-variables
Expand All @@ -46,7 +65,7 @@ default:
- export MPI_TESTS_DIRECTORY=$(pwd)/mpi
- export FTC_DIRECTORY=$(pwd)
- !reference ['.build-core', 'script']
- flux run -N2 $FLUX_BUILD_DIR/src/cmd/flux start $MPI_TESTS_DIRECTORY/outer_script.sh
- flux run -N2 $CORE_BUILD_DIR/src/cmd/flux start $MPI_TESTS_DIRECTORY/outer_script.sh

## Job Specifications
corona-core-test:
Expand All @@ -73,6 +92,12 @@ quartz-core-test:
- .quartz
stage: test

corona-pmix-test:
extends:
- .test-pmix
- .corona
stage: test

corona-mpi-test:
extends:
- .test-core-mpi
Expand Down
13 changes: 9 additions & 4 deletions .gitlab/builds.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@
script:
- git clone https://github.com/flux-framework/flux-core
- cd flux-core
- export FLUX_BUILD_DIR=$(pwd)
- ./autogen.sh
- ./configure
- make -j 32
- cd ..
- mkdir build
- cd build
- mkdir install
- ../configure --prefix=$(pwd)/install
- make -j $(nproc)
- make -j $(nproc) install
- export CORE_BUILD_DIR=$(pwd)
- export CORE_INSTALL_PREFIX=$(pwd)/install

2 changes: 1 addition & 1 deletion .gitlab/machines.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- batch
variables:
HWLOC_COMPONENTS: "x86"
LLNL_FLUX_SCHEDULER_PARAMETERS: "--exclusive -N 1 -q pdebug"
LLNL_FLUX_SCHEDULER_PARAMETERS: "--exclusive -N 1 -q pci"

.quartz:
tags:
Expand Down

0 comments on commit 4e2eb29

Please sign in to comment.