18
18
environment : NERSC
19
19
timeout-minutes : 2880
20
20
env :
21
- PDC_BUILD_PATH : " ${{ github.workspace }}/build"
22
- PDC_INSTALL_PATH : " ${{ github.workspace }}/install"
21
+ PDC_BUILD_PATH : " ${{ github.workspace }}/${{ github.run_id }}/ build"
22
+ PDC_INSTALL_PATH : " ${{ github.workspace }}/${{ github.run_id }}/ install"
23
23
SCHEDULER_PARAMETERS : " -A ${{ secrets.NERSC_PERLMUTTER_PROJECT }} --qos=debug --constraint=cpu --tasks-per-node=64 -N 1 -t 00:30:00"
24
24
MERCURY_DIR : " /global/cfs/cdirs/${{ secrets.NERSC_PERLMUTTER_PROJECT }}/pdc-perlmutter/mercury/install"
25
25
steps :
31
31
echo "MERCURY_DIR = $MERCURY_DIR"
32
32
module load libfabric
33
33
module list
34
- echo "PATH = ${{github.workspace}}/perlmutter/no-cache"
35
- mkdir -p ${PDC_BUILD_PATH}/perlmutter/no-cache
36
- cd ${PDC_BUILD_PATH}/perlmutter/no-cache
34
+ mkdir -p ${PDC_BUILD_PATH}/no-cache
35
+ cd ${PDC_BUILD_PATH}/no-cache
37
36
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}/perlmutter/no-cache
38
37
make -j
39
38
make install
42
41
with :
43
42
name : " ${{ github.job }}"
44
43
path : |-
45
- ${PDC_BUILD_PATH}/perlmutter/no-cache
46
- ${PDC_INSTALL_PATH}/perlmutter/no-cache
44
+ ${{ github.workspace }}/${{ github.run_id }}
47
45
48
46
perlmutter-no-cache-parallel-pdc :
49
47
needs : perlmutter-no-cache-build
@@ -65,10 +63,11 @@ jobs:
65
63
fetch-depth : 20
66
64
lfs : true
67
65
68
- - run : export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
69
- - run : cd ${PDC_BUILD_PATH}/perlmutter/no-cache
70
- - run : ctest -L parallel_pdc
71
- - run : rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
66
+ - run : |
67
+ export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
68
+ cd ${PDC_BUILD_PATH}/perlmutter/no-cache
69
+ ctest -L parallel_pdc
70
+ rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
72
71
73
72
perlmutter-no-cache-parallel-obj :
74
73
needs :
0 commit comments