From 6489abde2758cab586ee0429debe47debc86c7ef Mon Sep 17 00:00:00 2001 From: Jean Luca Bez Date: Tue, 10 Dec 2024 13:51:29 -0800 Subject: [PATCH] update CI --- .github/workflows/perlmutter-no-cache.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/perlmutter-no-cache.yaml b/.github/workflows/perlmutter-no-cache.yaml index eafa6b78..3226bb53 100644 --- a/.github/workflows/perlmutter-no-cache.yaml +++ b/.github/workflows/perlmutter-no-cache.yaml @@ -9,8 +9,7 @@ concurrency: env: GOOGLE_CREDENTIALS: "${{ secrets.GOOGLE_CREDENTIALS }}" GOOGLE_SPREADSHEET_ID: "${{ secrets.GOOGLE_SPREADSHEET_ID }}" - PDC_BUILD_PATH: "${{ github.workspace }}/${{ github.run_id }}/build" - PDC_INSTALL_PATH: "${{ github.workspace }}/${{ github.run_id }}/install" + PDC_BUILD_PATH: "${{ github.workspace }}/${{ github.run_id }}" PDC_TMPDIR: "${{ github.workspace }}/${{ github.run_id }}/pdc-tmp-paralell-pdc" PDC_DATA_LOC: "${{ github.workspace }}/${{ github.run_id }}/pdc-data-paralell-pdc" SCHEDULER_PARAMETERS: "-A ${{ secrets.NERSC_PERLMUTTER_PROJECT }} --qos=debug --constraint=cpu --tasks-per-node=64 -N 1 -t 00:30:00" @@ -32,11 +31,10 @@ jobs: echo "MERCURY_DIR = $MERCURY_DIR" module load libfabric module list - mkdir -p ${PDC_BUILD_PATH} - cd ${PDC_BUILD_PATH} - cmake ../.. -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=$PDC_DIR -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" -DCMAKE_INSTALL_PREFIX=${PDC_INSTALL_PATH} + mkdir -p ${PDC_BUILD_PATH}/build + cd ${PDC_BUILD_PATH}/build + cmake ../.. -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=$PDC_DIR -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: @@ -63,7 +61,7 @@ jobs: ${{ github.workspace }}/${{ github.run_id }} - run: | export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH" - cd ${PDC_BUILD_PATH} + cd ${PDC_BUILD_PATH}/build ctest -L parallel_pdc rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC} @@ -87,7 +85,7 @@ jobs: ${{ github.workspace }}/${{ github.run_id }} - run: | export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH" - cd ${PDC_BUILD_PATH} + cd ${PDC_BUILD_PATH}/build ctest -L parallel_obj rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}