From 3a4d609e09f089d1987c7e4a1b8cfb83a76a33bc Mon Sep 17 00:00:00 2001 From: Jean Luca Bez Date: Wed, 11 Dec 2024 10:27:21 -0800 Subject: [PATCH] update CI --- .github/workflows/perlmutter-no-cache.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/perlmutter-no-cache.yaml b/.github/workflows/perlmutter-no-cache.yaml index 99c54568..0a32ec77 100644 --- a/.github/workflows/perlmutter-no-cache.yaml +++ b/.github/workflows/perlmutter-no-cache.yaml @@ -31,13 +31,6 @@ jobs: cmake .. -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=$(realpath ..)/install -DPDC_ENABLE_MPI=ON -DMERCURY_DIR=$MERCURY_DIR -DCMAKE_C_COMPILER=cc -DMPI_RUN_CMD="srun -A ${{ secrets.NERSC_PERLMUTTER_PROJECT }} --qos=debug --constraint=cpu --tasks-per-node=64" make -j make install - - uses: actions/upload-artifact@v4.1.0 - if: success() - with: - name: "no-cache" - path: | - ${{ github.workspace }}/build - ${{ github.workspace }}/install parallel-pdc: needs: @@ -52,7 +45,9 @@ jobs: - run: | export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH" cd ${{ github.workspace }}/no-cache/build + salloc $SCHEDULER_PARAMETERS ctest -L parallel_pdc + exit rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC} parallel-obj: @@ -69,6 +64,7 @@ jobs: - run: | export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH" cd ${{ github.workspace }}/no-cache/build + salloc SCHEDULER_PARAMETERS ctest -L parallel_obj rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}