Changeset 9525
- Timestamp:
- 2018-04-29T23:05:24+02:00 (7 years ago)
- Location:
- branches/2017/dev_merge_2017/NEMOGCM/SETTE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette.sh
r9518 r9525 152 152 export TEST_NAME="LONG" 153 153 cd ${CONFIG_DIR0} 154 . ./makenemo -m ${CMP_NAM} -n GYRE PIS_ST -r GYRE_PISCES -j 8 del_key ${DEL_KEYS}155 cd ${SETTE_DIR} 156 . ./param.cfg 157 . ./all_functions.sh 158 . ./prepare_exe_dir.sh 159 JOB_FILE=${EXE_DIR}/run_job.sh 160 NPROC= 32154 . ./makenemo -m ${CMP_NAM} -n GYRE_PISCES_ST -r GYRE_PISCES -j 8 del_key ${DEL_KEYS} 155 cd ${SETTE_DIR} 156 . ./param.cfg 157 . ./all_functions.sh 158 . ./prepare_exe_dir.sh 159 JOB_FILE=${EXE_DIR}/run_job.sh 160 NPROC=8 161 161 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 162 162 cd ${EXE_DIR} … … 166 166 set_namelist namelist_cfg nn_stock 60 167 167 set_namelist namelist_cfg ln_linssh .true. 168 set_namelist namelist_cfg jpni 4169 set_namelist namelist_cfg jpnj 8170 set_namelist namelist_cfg jpnij 32168 set_namelist namelist_cfg jpni 2 169 set_namelist namelist_cfg jpnj 4 170 set_namelist namelist_cfg jpnij 8 171 171 if [ ${USING_MPMD} == "yes" ] ; then 172 172 set_xio_using_server iodef.xml true … … 188 188 set_namelist namelist_cfg nn_rstctl 2 189 189 set_namelist namelist_cfg ln_linssh .true. 190 set_namelist namelist_cfg jpni 4191 set_namelist namelist_cfg jpnj 8192 set_namelist namelist_cfg jpnij 32190 set_namelist namelist_cfg jpni 2 191 set_namelist namelist_cfg jpnj 4 192 set_namelist namelist_cfg jpnij 8 193 193 set_namelist namelist_top_cfg ln_rsttr .true. 194 194 set_namelist namelist_top_cfg nn_rsttr 2 … … 217 217 218 218 ## Reproducibility tests for GYRE_PISCES 219 export TEST_NAME="REPRO_ 4_8"220 cd ${CONFIG_DIR0} 221 cd ${SETTE_DIR} 222 . ./param.cfg 223 . ./all_functions.sh 224 . ./prepare_exe_dir.sh 225 JOB_FILE=${EXE_DIR}/run_job.sh 226 NPROC= 32219 export TEST_NAME="REPRO_2_4" 220 cd ${CONFIG_DIR0} 221 cd ${SETTE_DIR} 222 . ./param.cfg 223 . ./all_functions.sh 224 . ./prepare_exe_dir.sh 225 JOB_FILE=${EXE_DIR}/run_job.sh 226 NPROC=8 227 227 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 228 228 cd ${EXE_DIR} … … 231 231 set_namelist namelist_cfg nn_itend 60 232 232 set_namelist namelist_cfg ln_linssh .true. 233 set_namelist namelist_cfg jpni 4234 set_namelist namelist_cfg jpnj 8235 set_namelist namelist_cfg jpnij 32233 set_namelist namelist_cfg jpni 2 234 set_namelist namelist_cfg jpnj 4 235 set_namelist namelist_cfg jpnij 8 236 236 if [ ${USING_MPMD} == "yes" ] ; then 237 237 set_xio_using_server iodef.xml true … … 245 245 246 246 cd ${SETTE_DIR} 247 export TEST_NAME="REPRO_ 8_4"248 . ./prepare_exe_dir.sh 249 JOB_FILE=${EXE_DIR}/run_job.sh 250 NPROC= 32247 export TEST_NAME="REPRO_4_2" 248 . ./prepare_exe_dir.sh 249 JOB_FILE=${EXE_DIR}/run_job.sh 250 NPROC=8 251 251 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 252 252 cd ${EXE_DIR} … … 255 255 set_namelist namelist_cfg nn_itend 60 256 256 set_namelist namelist_cfg ln_linssh .true. 257 set_namelist namelist_cfg jpni 8258 set_namelist namelist_cfg jpnj 4259 set_namelist namelist_cfg jpnij 32257 set_namelist namelist_cfg jpni 4 258 set_namelist namelist_cfg jpnj 2 259 set_namelist namelist_cfg jpnij 8 260 260 if [ ${USING_MPMD} == "yes" ] ; then 261 261 set_xio_using_server iodef.xml true … … 277 277 export TEST_NAME="LONG" 278 278 cd ${CONFIG_DIR0} 279 . ./makenemo -m ${CMP_NAM} -n ORCA2 LIM3PIS_ST -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS}279 . ./makenemo -m ${CMP_NAM} -n ORCA2_LIM3_PISCES_ST -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS} 280 280 cd ${SETTE_DIR} 281 281 . ./param.cfg … … 451 451 export TEST_NAME="LONG" 452 452 cd ${CONFIG_DIR0} 453 . ./makenemo -m ${CMP_NAM} -n ORCA2 OFFPIS_ST -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS}453 . ./makenemo -m ${CMP_NAM} -n ORCA2_OFF_PISCES_ST -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} 454 454 cd ${SETTE_DIR} 455 455 . ./param.cfg … … 728 728 export TEST_NAME="LONG" 729 729 cd ${CONFIG_DIR0} 730 . ./makenemo -m ${CMP_NAM} -n SAS_ST -r ORCA2_SAS_LIM3 -j 8 del_key ${DEL_KEYS}730 . ./makenemo -m ${CMP_NAM} -n ORCA2_SAS_LIM3_ST -r ORCA2_SAS_LIM3 -j 8 del_key ${DEL_KEYS} 731 731 cd ${SETTE_DIR} 732 732 . ./param.cfg … … 954 954 export TEST_NAME="LONG" 955 955 cd ${CONFIG_DIR0} 956 . ./makenemo -m ${CMP_NAM} -n AGRIF_ ST -r AGRIF_NORDIC -j 8 del_key "key_top"956 . ./makenemo -m ${CMP_NAM} -n AGRIF_NORDIC_ST -r AGRIF_NORDIC -j 8 del_key "key_top" 957 957 cd ${SETTE_DIR} 958 958 . ./param.cfg … … 1135 1135 fi 1136 1136 1137 ## test code corruption with AGRIF (phase 2) ==> Compile without key_agrif (to be compared with AGRIF_ST/ORCA2) 1137 1138 ## test code corruption with AGRIF (phase 2) ==> Compile without key_agrif (to be compared with AGRIF_NORDIC_ST/ORCA2) 1138 1139 if [ ${config} -eq 8 ] ; then 1139 1140 export TEST_NAME="ORCA2" 1140 1141 cd ${CONFIG_DIR0} 1141 . ./makenemo -m ${CMP_NAM} -n AGRIF_ ST_NOAGRIF-r AGRIF_NORDIC -j 8 del_key "key_top key_agrif"1142 . ./makenemo -m ${CMP_NAM} -n AGRIF_NORDIC_NOAGRIF_ST -r AGRIF_NORDIC -j 8 del_key "key_top key_agrif" 1142 1143 cd ${SETTE_DIR} 1143 1144 . ./param.cfg -
branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_rpt.sh
r9518 r9525 35 35 cd ${TOOLS_DIR}/REBUILD_NEMO 36 36 #SF echo "REBUILD LONG restart SAS files, without standard output" 37 ./rebuild_nemo -t 4 ../../CONFIG/ SAS_ST/LONG/SAS_00000240_restart_ice $NPROC > /dev/null 2>&137 ./rebuild_nemo -t 4 ../../CONFIG/ORCA2_SAS_LIM3_ST/LONG/SAS_00000240_restart_ice $NPROC > /dev/null 2>&1 38 38 #SF echo "REBUILD SHORT restart SAS files, without standard output" 39 ./rebuild_nemo -t 4 ../../CONFIG/ SAS_ST/SHORT/SAS_00000240_restart_ice $NPROC >&-39 ./rebuild_nemo -t 4 ../../CONFIG/ORCA2_SAS_LIM3_ST/SHORT/SAS_00000240_restart_ice $NPROC >&- 40 40 cd ${SAS_RESTART_DIR}/LONG 41 41 #SF echo "COPY rebuild restart files" … … 46 46 f2o=$vdir/$nam/$mach/$dorv/SHORT/SAS_00000240_restart_ice.nc 47 47 if [ ! -f $f1o ] && [ ! -f $f2o ] ; then 48 printf "%-2 0s %s\n" $nam " REBUILD SAS restart ice DOES NOT exists; incomplete test";48 printf "%-27s %s\n" $nam " REBUILD SAS restart ice DOES NOT exists; incomplete test"; 49 49 return; 50 50 fi … … 70 70 if [ $difi == 0 ]; then 71 71 if [ $pass == 0 ]; then 72 printf "%-2 0s %s %s\n" $nam " ice restarts are IDENTICAL passed : " $dorv72 printf "%-27s %s %s\n" $nam " ice restarts are IDENTICAL passed : " $dorv 73 73 fi 74 74 else 75 printf "%-2 0s %s %s\n" $nam " ice restarts are DIFFERENT FAILED : " $dorv75 printf "%-27s %s %s\n" $nam " ice restarts are DIFFERENT FAILED : " $dorv 76 76 # 77 77 # Offer view of differences on the second pass … … 87 87 fi 88 88 else 89 printf "%-2 0s %s\n" $nam " incomplete test";89 printf "%-27s %s\n" $nam " incomplete test"; 90 90 return; 91 91 fi … … 114 114 115 115 if [ ! -f $f1s ] && [ ! -f $f1t ] ; then 116 printf "%-2 0s %s\n" $nam " incomplete test";116 printf "%-27s %s\n" $nam " incomplete test"; 117 117 return; 118 118 fi 119 119 if [ ! -f $f2s ] && [ ! -f $f2t ] ; then 120 printf "%-2 0s %s\n" $nam " incomplete test";120 printf "%-27s %s\n" $nam " incomplete test"; 121 121 return; 122 122 fi … … 130 130 if [ $? == 0 ]; then 131 131 if [ $pass == 0 ]; then 132 printf "%-2 0s %s %s\n" $nam " run.stat restartability passed : " $dorv132 printf "%-27s %s %s\n" $nam " run.stat restartability passed : " $dorv 133 133 fi 134 134 else 135 printf "%-2 0s %s %s\n" $nam " run.stat restartability FAILED : " $dorv135 printf "%-27s %s %s\n" $nam " run.stat restartability FAILED : " $dorv 136 136 # 137 137 # Offer view of differences on the second pass … … 159 159 if [ $? == 0 ]; then 160 160 if [ $pass == 0 ]; then 161 printf "%-2 0s %s %s\n" $nam " tracer.stat restartability passed : " $dorv161 printf "%-27s %s %s\n" $nam " tracer.stat restartability passed : " $dorv 162 162 fi 163 163 else 164 printf "%-2 0s %s %s\n" $nam " tracer.stat restartability FAILED : " $dorv164 printf "%-27s %s %s\n" $nam " tracer.stat restartability FAILED : " $dorv 165 165 # 166 166 # Offer view of differences on the second pass … … 209 209 210 210 if [ ! -f $f1s ] && [ ! -f $f1t ] ; then 211 printf "%-2 0s %s\n" $nam " incomplete test";211 printf "%-27s %s\n" $nam " incomplete test"; 212 212 return; 213 213 fi 214 214 if [ ! -f $f2s ] && [ ! -f $f2t ] ; then 215 printf "%-2 0s %s\n" $nam " incomplete test";215 printf "%-27s %s\n" $nam " incomplete test"; 216 216 return; 217 217 fi … … 223 223 if [ $? == 0 ]; then 224 224 if [ $pass == 0 ]; then 225 printf "%-2 0s %s %s\n" $nam " run.stat reproducibility passed : " $dorv225 printf "%-27s %s %s\n" $nam " run.stat reproducibility passed : " $dorv 226 226 fi 227 227 else 228 printf "%-2 0s %s %s\n" $nam " run.stat reproducibility FAILED : " $dorv228 printf "%-27s %s %s\n" $nam " run.stat reproducibility FAILED : " $dorv 229 229 # 230 230 # Offer view of differences on the second pass … … 249 249 cmp -s $f1t $f2t 250 250 if [ $? == 0 ]; then 251 if [ $pass == 0 ]; then printf "%-2 0s %s %s\n" $nam " tracer.stat reproducibility passed : " $dorv251 if [ $pass == 0 ]; then printf "%-27s %s %s\n" $nam " tracer.stat reproducibility passed : " $dorv 252 252 fi 253 253 else 254 printf "%-2 0s %s %s\n" $nam " tracer.stat reproducibility FAILED : " $dorv254 printf "%-27s %s %s\n" $nam " tracer.stat reproducibility FAILED : " $dorv 255 255 # 256 256 # Offer view of differences on the second pass … … 291 291 f1o=$vdir/$nam/$mach/$dorv/$rep1/ocean.output 292 292 if [ ! -f $f1o ] ; then 293 printf "%-2 0s %s\n" $nam " ocean.output is MISSING : " $dorv293 printf "%-27s %s\n" $nam " ocean.output is MISSING : " $dorv 294 294 return; 295 295 else 296 296 nerr=`grep 'E R R O R' $f1o | wc -l` 297 297 if [[ $nerr > 0 ]]; then 298 printf "%-2 0s %s %s\n" $nam " run FAILED : " $dorv298 printf "%-27s %s %s\n" $nam " run FAILED : " $dorv 299 299 if [ $pass == 1 ]; then 300 300 echo "<return> to view end of ocean.output" … … 307 307 fi 308 308 else 309 printf "%-2 0s %s %s\n" $nam " directory is MISSING : " $dorv309 printf "%-27s %s %s\n" $nam " directory is MISSING : " $dorv 310 310 fi 311 311 } … … 327 327 dorv2=`echo $dorv2 | sed -e 's:.*/::'` 328 328 329 # rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ | tail -2l | head -1 `330 329 rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ | tail -1l` 331 rep2=`ls -1rt $vdir/$dir2/$mach/$dorv2/ | tail -1l` 330 #clem rep2=`ls -1rt $vdir/$dir2/$mach/$dorv2/ | tail -1l` 331 rep2=`ls -1rt $vdir/$dir1/$mach/$dorv1/ | tail -1l` 332 332 f1s=$vdir/$dir1/$mach/$dorv1/$rep1/run.stat 333 333 f2s=$vdir/$dir2/$mach/$dorv2/$rep2/run.stat 334 334 335 335 if [ ! -f $f1s ] && [ ! -f $f2s ] ; then 336 printf "%-2 0s %s\n" $dir1 $dir2 " incomplete test";336 printf "%-27s %s\n" $dir1 $dir2 " incomplete test"; 337 337 return; 338 338 fi … … 344 344 if [ $? == 0 ]; then 345 345 if [ $pass == 0 ]; then 346 printf "%- 20s %s %s %s %s\n" $rep1 $rep2 " AGRIF: run.stat unchanged - testpassed : " $dorv1 $dorv2346 printf "%-5s %s %-5s %s %s %s\n" $rep1 "AGRIF vs" $rep2 "NOAGRIF run.stat unchanged - passed : " $dorv1 $dorv2 347 347 fi 348 348 else 349 printf "%- 20s %s %s %s %s\n" $rep1 $rep2 " AGRIF: run.stat changed - testFAILED : " $dorv1 $dorv2349 printf "%-5s %s %-5s %s %s %s\n" $rep1 "AGRIF vs" $rep2 "NOAGRIF run.stat changed - FAILED : " $dorv1 $dorv2 350 350 # 351 351 # Offer view of differences on the second pass … … 362 362 fi 363 363 else 364 printf "%-2 0s %s\n" $dir1 $dir2 " incomplete test";364 printf "%-27s %s\n" $dir1 $dir2 " incomplete test"; 365 365 fi 366 366 } … … 387 387 COMPIL_DIR=${TOOLS_DIR}/COMPILE 388 388 NPROC=32 389 SAS_RESTART_DIR=${CONFIG_DIR0}/ SAS_ST389 SAS_RESTART_DIR=${CONFIG_DIR0}/ORCA2_SAS_LIM3_ST 390 390 # 391 391 # Show current revision tag and branch name … … 402 402 do 403 403 # 404 if [ $pass == 0 ]; then echo "!!---------------1st pass------------------!!";fi 405 if [ $pass == 1 ]; then echo "!!---------------2nd pass------------------!!";fi 404 if [ $pass == 0 ]; then 405 echo "" 406 echo "!!---------------1st pass------------------!!" 407 fi 408 if [ $pass == 1 ]; then 409 echo "" 410 echo "!!---------------2nd pass------------------!!" 411 fi 406 412 # 407 413 408 414 # Rebuild and restartability test for SAS 409 415 # clem: not needed anymore 410 # for restart_file in W SAS_ST416 # for restart_file in WORCA2_SAS_LIM3_ST 411 417 # do 412 418 # restfile $NEMO_VALID $restart_file $pass … … 414 420 # 415 421 # Restartability test 422 echo "" 416 423 echo " !----restart----! " 417 for restart_test in WGYRE PIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WAGRIF_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WWAD_ST WSAS_BIPER_ST424 for restart_test in WGYRE_PISCES_ST WORCA2_LIM3_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_LIM3_ST WAGRIF_NORDIC_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WWAD_ST WSAS_BIPER_ST 418 425 do 419 426 resttest $NEMO_VALID $restart_test $pass … … 421 428 # 422 429 # Reproducibility tests 430 echo "" 423 431 echo " !----repro----! " 424 for repro_test in WGYRE PIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WORCA2_LIM3_OBS_ST WAGRIF_ST WISOMIP_ST432 for repro_test in WGYRE_PISCES_ST WORCA2_LIM3_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_LIM3_ST WORCA2_LIM3_OBS_ST WAGRIF_NORDIC_ST WISOMIP_ST 425 433 do 426 434 reprotest $NEMO_VALID $repro_test $pass … … 429 437 430 438 # AGRIF special check to ensure results are unchanged with and without key_agrif 439 echo "" 431 440 echo " !----agrif check----! " 432 dir1=WAGRIF_ ST_NOAGRIF433 dir2=WAGRIF_ ST441 dir1=WAGRIF_NORDIC_NOAGRIF_ST 442 dir2=WAGRIF_NORDIC_ST 434 443 identictest $NEMO_VALID $dir1 $dir2 $pass 435 444 436 445 done 437 446 # 438 ## Additional checks for ORCA2AGUL/FIRST standalone AGRIF test439 ## still to be added440 441 442 447 443 448 exit
Note: See TracChangeset
for help on using the changeset viewer.