@@ -9,7 +9,9 @@ concurrency:
99env :
1010 GOOGLE_CREDENTIALS : " ${{ secrets.GOOGLE_CREDENTIALS }}"
1111 GOOGLE_SPREADSHEET_ID : " ${{ secrets.GOOGLE_SPREADSHEET_ID }}"
12- PDC_BUILD_PATH : " ${{ github.workspace }}/${{ github.run_id }}"
12+ PDC_PATH : " ${{ github.workspace }}/${{ github.run_id }}"
13+ PDC_BUILD_PATH : " ${{ github.workspace }}/${{ github.run_id }}/build"
14+ PDC_INSTALL_PATH : " ${{ github.workspace }}/${{ github.run_id }}/install"
1315 PDC_TMPDIR : " ${{ github.workspace }}/${{ github.run_id }}/pdc-tmp-paralell-pdc"
1416 PDC_DATA_LOC : " ${{ github.workspace }}/${{ github.run_id }}/pdc-data-paralell-pdc"
1517 SCHEDULER_PARAMETERS : " -A ${{ secrets.NERSC_PERLMUTTER_PROJECT }} --qos=debug --constraint=cpu --tasks-per-node=64 -N 1 -t 00:30:00"
@@ -25,23 +27,21 @@ jobs:
2527 steps :
26282729 with :
28- fetch-depth : 20
29- lfs : true
30+ path : ${PDC_PATH}
3031 - run : |
3132 echo "MERCURY_DIR = $MERCURY_DIR"
3233 module load libfabric
3334 module list
34- mkdir -p ${PDC_BUILD_PATH}/build ${PDC_BUILD_PATH}/install
35- cd ${PDC_BUILD_PATH}/build
36- cmake ../.. -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=${PDC_BUILD_PATH}/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"
35+ mkdir -p ${PDC_BUILD_PATH} ${PDC_INSTALL_PATH}
36+ cd ${PDC_BUILD_PATH}
37+ cmake ../.. -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=${PDC_INSTALL_PATH} -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"
3738 make -j
38393940 if : success()
4041 with :
4142 name : " ${{ github.job }}"
4243 path : |
43- ${{ github.workspace }}/${{ github.run_id }}/build
44- ${{ github.workspace }}/${{ github.run_id }}/install
44+ ${{ github.workspace }}/${{ github.run_id }}
4545
4646 parallel-pdc :
4747 needs :
6262 ${{ github.workspace }}/${{ github.run_id }}
6363 - run : |
6464 export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
65- cd ${PDC_BUILD_PATH}/install
65+ cd ${PDC_INSTALL_PATH}
6666 ctest -L parallel_pdc
6767 rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
6868
8686 ${{ github.workspace }}/${{ github.run_id }}
8787 - run : |
8888 export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
89- cd ${PDC_BUILD_PATH}/build
89+ cd ${PDC_INSTALL_PATH}
9090 ctest -L parallel_obj
9191 rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
9292
0 commit comments