From 9802a8e4f8e60cf526ba344a504e7e3f5bbb672f Mon Sep 17 00:00:00 2001 From: Ryan Mulhall <35538242+rem1776@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:23:06 -0500 Subject: [PATCH] replace srun with salloc for spin up --- .github/workflows/parallelworks_autotools_intel.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/parallelworks_autotools_intel.yml b/.github/workflows/parallelworks_autotools_intel.yml index d11e68c60..68af956c0 100644 --- a/.github/workflows/parallelworks_autotools_intel.yml +++ b/.github/workflows/parallelworks_autotools_intel.yml @@ -11,7 +11,7 @@ jobs: NC_VERSION: 4.7.0 INTEL_VERSION: 2022.1.2 TEST_VERBOSE: 1 - MPI_LAUNCHER: "srun --partition n384" + MPI_LAUNCHER: "srun --partition n384 --mpi=pmi2" steps: - name: checkout uses: actions/checkout@v2 @@ -38,6 +38,8 @@ jobs: cd build && make -j || make - name: Run test suite run: | + salloc -n 24 -p 384 -t 60 module load intel/${INTEL_VERSION} impi/${INTEL_VERSION} netcdf/${NC_VERSION} hdf5 - ${MPI_LAUNCHER} -n 25 hostname > /dev/null - cd build && make check -k + cd build + make check -k | tee test.out + cat test.out # | grep "^FAIL:"