Skip to content

Commit 254e72f

Browse files
committed
update CI
1 parent 5f69cb2 commit 254e72f

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/perlmutter-no-cache.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ concurrency:
99
env:
1010
GOOGLE_CREDENTIALS: "${{ secrets.GOOGLE_CREDENTIALS }}"
1111
GOOGLE_SPREADSHEET_ID: "${{ secrets.GOOGLE_SPREADSHEET_ID }}"
12-
PDC_BUILD_PATH: "${{ github.workspace }}/${{ github.run_id }}"
1312
PDC_TMPDIR: "${{ github.workspace }}/${{ github.run_id }}/pdc-tmp-paralell-pdc"
1413
PDC_DATA_LOC: "${{ github.workspace }}/${{ github.run_id }}/pdc-data-paralell-pdc"
1514
SCHEDULER_PARAMETERS: "-A ${{ secrets.NERSC_PERLMUTTER_PROJECT }} --qos=debug --constraint=cpu --tasks-per-node=64 -N 1 -t 00:30:00"
@@ -27,17 +26,18 @@ jobs:
2726
- run: |
2827
module load libfabric
2928
module list
30-
mkdir -p ${PDC_BUILD_PATH}/build
31-
cd ${PDC_BUILD_PATH}/build
32-
cmake ../.. -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=${PDC_BUILD_PATH}/build -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"
29+
mkdir -p build install
30+
cd build
31+
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"
3332
make -j
3433
make install
3534
- uses: actions/[email protected]
3635
if: success()
3736
with:
3837
name: "${{ github.job }}"
3938
path: |
40-
${{ github.workspace }}/${{ github.run_id }}/build
39+
build
40+
install
4141
4242
parallel-pdc:
4343
needs:
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/[email protected]
5656
- run: |
5757
export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
58-
cd ${PDC_BUILD_PATH}
58+
cd install
5959
ctest -L parallel_pdc
6060
rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
6161
@@ -74,12 +74,9 @@ jobs:
7474
fetch-depth: 20
7575
lfs: true
7676
- uses: actions/[email protected]
77-
with:
78-
path: |
79-
${{ github.workspace }}/${{ github.run_id }}
8077
- run: |
8178
export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
82-
cd ${PDC_BUILD_PATH}
79+
cd install
8380
ctest -L parallel_obj
8481
rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
8582

0 commit comments

Comments
 (0)