File tree 1 file changed +10
-13
lines changed
1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 91
91
spack
92
92
~/.spack
93
93
work_oasis3-mct
94
- key : spack2 -${{ runner.os }}-${{ env.cache_key }}-${{ hashFiles('ww3/model/ci/spack_gnu.yaml') }}
94
+ key : spack -${{ runner.os }}-${{ env.cache_key }}-${{ hashFiles('ww3/model/ci/spack_gnu.yaml') }}
95
95
96
96
- name : build-ww3
97
97
run : |
@@ -102,10 +102,10 @@ jobs:
102
102
export CC=mpicc
103
103
export FC=mpif90
104
104
export OASISDIR=${GITHUB_WORKSPACE}/work_oasis3-mct
105
- # mkdir build && cd build
105
+ # mkdir build && cd build
106
106
export LD_LIBRARY_PATH="/home/runner/work/WW3/WW3/spack/var/spack/environments/ww3-gnu/.spack-env/view/:$LD_LIBRARY_PATH"
107
- # cmake -DSWITCH=${GITHUB_WORKSPACE}/ww3/regtests/unittests/data/switch.io -DCMAKE_BUILD_TYPE=Debug ..
108
- # make -j2 VERBOSE=1
107
+ # cmake -DSWITCH=${GITHUB_WORKSPACE}/ww3/regtests/unittests/data/switch.io -DCMAKE_BUILD_TYPE=Debug ..
108
+ # make -j2 VERBOSE=1
109
109
cd ${GITHUB_WORKSPACE}/ww3
110
110
ls -l
111
111
${GITHUB_WORKSPACE}/ww3/model/bin/ww3_from_ftp.sh -k
@@ -116,18 +116,15 @@ jobs:
116
116
cd work_PR1_MPI
117
117
pwd
118
118
ls -l
119
- ncdump -h out_pnt.ww3.nc > ncdump_out.txt
120
- cat ncdump_out.txt
121
- pwd
122
- cat ${GITHUB_WORKSPACE}/ww3/regtests/ww3_tp2.5/out_pnt_ncdump.txt
123
- cmp ${GITHUB_WORKSPACE}/ww3/regtests/ww3_tp2.5/out_pnt_ncdump.txt ncdump_out.txt
124
-
119
+ # ncdump -h out_pnt.ww3.nc > ncdump_out.txt
120
+ # cat ncdump_out.txt
121
+ # pwd
122
+ # cat ${GITHUB_WORKSPACE}/ww3/regtests/ww3_tp2.5/out_pnt_ncdump.txt
123
+ # cmp ${GITHUB_WORKSPACE}/ww3/regtests/ww3_tp2.5/out_pnt_ncdump.txt ncdump_out.txt
124
+
125
125
- name : cache-data
126
126
id : cache-data
127
127
uses : actions/cache@v3
128
128
with :
129
129
path : ww3/ww3_from_ftp.v7.14.1.tar.gz
130
130
key : ww3_from_ftp.v7.14.1
131
-
132
-
133
-
You can’t perform that action at this time.
0 commit comments