Changeset 10698
- Timestamp:
- 2019-02-19T16:23:31+01:00 (4 years ago)
- Location:
- NEMO/branches/2019/fix_sette_ticket2239
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-IBM_EKMAN_INGV
r9576 r10698 82 82 fi 83 83 # 84 post_test_tidyup 84 # 85 # run post processing of sette only is run normally or expected error 86 NEMOEXIT=$? 87 case $NEMOEXIT in 88 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 89 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 90 esac 85 91 86 92 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-PW6_CALYPSO
r9576 r10698 74 74 fi 75 75 # 76 post_test_tidyup 76 # 77 # run post processing of sette only is run normally or expected error 78 NEMOEXIT=$? 79 case $NEMOEXIT in 80 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 81 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 82 esac 77 83 78 84 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-PW7_METO
r9576 r10698 84 84 85 85 # 86 post_test_tidyup 86 # 87 # run post processing of sette only is run normally or expected error 88 NEMOEXIT=$? 89 case $NEMOEXIT in 90 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 91 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 92 esac 87 93 88 94 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-PW7_MONSOON
r9576 r10698 83 83 84 84 # 85 post_test_tidyup 85 # 86 # run post processing of sette only is run normally or expected error 87 NEMOEXIT=$? 88 case $NEMOEXIT in 89 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 90 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 91 esac 86 92 87 93 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_ADA
r9696 r10698 76 76 77 77 # 78 post_test_tidyup 78 # 79 # run post processing of sette only is run normally or expected error 80 NEMOEXIT=$? 81 case $NEMOEXIT in 82 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 83 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 84 esac 79 85 80 86 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_IRENE
r10427 r10698 66 66 67 67 # 68 post_test_tidyup 68 # 69 # run post processing of sette only is run normally or expected error 70 NEMOEXIT=$? 71 case $NEMOEXIT in 72 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 73 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 74 esac 69 75 70 76 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_IRENE_DEBUG
r10427 r10698 66 66 67 67 # 68 post_test_tidyup 68 # 69 # run post processing of sette only is run normally or expected error 70 NEMOEXIT=$? 71 case $NEMOEXIT in 72 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 73 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 74 esac 69 75 70 76 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_MOBILIS
r10632 r10698 88 88 fi 89 89 # 90 post_test_tidyup 90 # 91 # run post processing of sette only is run normally or expected error 92 NEMOEXIT=$? 93 case $NEMOEXIT in 94 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 95 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 96 esac 97 91 98 # END_BODY 92 99 # Don't remove neither change the previous line -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-XC40_METO
r9988 r10698 84 84 85 85 # 86 post_test_tidyup 86 # 87 # run post processing of sette only is run normally or expected error 88 NEMOEXIT=$? 89 case $NEMOEXIT in 90 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 91 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 92 esac 93 87 94 # END_BODY 88 95 # Don't remove neither change the previous line -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-XC_ARCHER_INTEL
r9576 r10698 90 90 fi 91 91 # 92 post_test_tidyup 92 # 93 # run post processing of sette only is run normally or expected error 94 NEMOEXIT=$? 95 case $NEMOEXIT in 96 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 97 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 98 esac 99 93 100 # END_BODY 94 101 # Don't remove neither change the previous line -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-ifort_athena
r9576 r10698 74 74 fi 75 75 # 76 post_test_tidyup 76 # 77 # run post processing of sette only is run normally or expected error 78 NEMOEXIT=$? 79 case $NEMOEXIT in 80 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 81 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 82 esac 77 83 78 84 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-ifort_athena_xios
r9576 r10698 100 100 fi 101 101 # 102 post_test_tidyup 102 # 103 # run post processing of sette only is run normally or expected error 104 NEMOEXIT=$? 105 case $NEMOEXIT in 106 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 107 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 108 esac 103 109 104 110 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-macport_osx
r9576 r10698 75 75 76 76 # 77 post_test_tidyup 77 # 78 # run post processing of sette only is run normally or expected error 79 NEMOEXIT=$? 80 case $NEMOEXIT in 81 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 82 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 83 esac 78 84 79 85 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-macport_osx_debug
r9576 r10698 75 75 76 76 # 77 post_test_tidyup 77 # 78 # run post processing of sette only is run normally or expected error 79 NEMOEXIT=$? 80 case $NEMOEXIT in 81 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 82 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 83 esac 78 84 79 85 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-openmpi_KARA_MERCATOR_XIOS
r9576 r10698 67 67 68 68 # 69 post_test_tidyup 69 # 70 # run post processing of sette only is run normally or expected error 71 NEMOEXIT=$? 72 case $NEMOEXIT in 73 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 74 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 75 esac 70 76 71 77 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-openmpi_NAVITI_MERCATOR
r9576 r10698 67 67 68 68 # 69 post_test_tidyup 69 # 70 # run post processing of sette only is run normally or expected error 71 NEMOEXIT=$? 72 case $NEMOEXIT in 73 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 74 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 75 esac 70 76 71 77 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/sette_batch_template
r9576 r10698 75 75 76 76 # 77 post_test_tidyup 77 # 78 # run post processing of sette only is run normally or expected error 79 NEMOEXIT=$? 80 case $NEMOEXIT in 81 0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 82 *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 83 esac 78 84 79 85 # END_BODY -
NEMO/branches/2019/fix_sette_ticket2239/all_functions.sh
r10687 r10698 90 90 usage=" Usage : set_namelist input_namelist variable_name value" 91 91 usage=" if value is a string ths is neede syntax : ./set_namelist namelist_name var_name \"new_value\" " 92 93 # define validation dir 94 set_valid_dir () { 95 LANG=en_US 96 REVISION_NB=`LC_MESSAGES=${LANG} svn info ${SETTE_DIR}/.. | grep "Last Changed Rev" | awk '{print $NF}'` 97 if [ ${#REVISION_NB} -eq 0 ] 98 then 99 echo "some problems with svn info command" 100 echo "some problems with svn info command" >> ${SETTE_DIR}/output.sette 101 REVISION_NB=`date +%Y%m%d` 102 echo "put in ${REVISION_NB} date" 103 echo "put in ${REVISION_NB} date" >> ${SETTE_DIR}/output.sette 104 else 105 echo "value of revision number of NEMOGCM: ${REVISION_NB}" 106 fi 107 NEMO_VALID=${NEMO_VALIDATION_DIR}/W${NEW_CONF}/${CMP_NAM}/${REVISION_NB}/${TEST_NAME} 108 } 109 110 # clean valid dir (move old ocean_output/run.stat and tracer to avoid checking them in case something wrong happen. 111 clean_valid_dir () { 112 set_valid_dir 113 echo "validation directory is : $NEMO_VALID" 114 if [ -d $NEMO_VALID ] ; then 115 [ -f ${NEMO_VALID}/ocean.output ] && mv ${NEMO_VALID}/ocean.output ${NEMO_VALID}/ocean.output_old 116 [ -f ${NEMO_VALID}/run.stat ] && mv ${NEMO_VALID}/run.stat ${NEMO_VALID}/run.stat_old 117 [ -f ${NEMO_VALID}/tracer.stat ] && mv ${NEMO_VALID}/tracer.stat ${NEMO_VALID}/tracer.stat_old 118 fi 119 } 92 120 93 121 # function to set namelists parameters … … 179 207 then 180 208 grep "E R R O R" ${EXE_DIR}/ocean.output && echo "Some ERRORS at execution time, see ${EXE_DIR}/ocean.output" 181 exit 2209 # exit 2 Error now catch in the report 182 210 fi 183 211 … … 186 214 echo "file time.step does not exist" >> ${SETTE_DIR}/output.sette 187 215 echo "some problems during execution of model" >> ${SETTE_DIR}/output.sette 188 exit 1216 # exit 1 Error now catch in the report 189 217 else 190 218 echo "file time.step exists" >> ${SETTE_DIR}/output.sette … … 195 223 196 224 ################################################################ 225 # 197 226 # Creation of NEMO_VALIDATION tree 198 LANG=en_US 199 REVISION_NB=`LC_MESSAGES=${LANG} svn info ${SETTE_DIR}/.. | grep "Last Changed Rev" | awk '{print $NF}'` 200 if [ ${#REVISION_NB} -eq 0 ] 201 then 202 echo "some problems with svn info command" 203 echo "some problems with svn info command" >> ${SETTE_DIR}/output.sette 204 REVISION_NB=`date +%Y%m%d` 205 echo "put in ${REVISION_NB} date" 206 echo "put in ${REVISION_NB} date" >> ${SETTE_DIR}/output.sette 207 else 208 echo "value of revision number of NEMOGCM: ${REVISION_NB}" 209 fi 210 cd ${NEMO_VALIDATION_DIR} 211 `mkdir -p ${NEMO_VALIDATION_DIR}/W${NEW_CONF}/${CMP_NAM}/${REVISION_NB}/${TEST_NAME}` 212 NEMO_VALID=${NEMO_VALIDATION_DIR}/W${NEW_CONF}/${CMP_NAM}/${REVISION_NB}/${TEST_NAME} 227 set_valid_dir 228 mkdir -p ${NEMO_VALID} 213 229 if [ -d ${NEMO_VALID} ] ; then 214 230 echo "created ${NEMO_VALID} directory" >> ${SETTE_DIR}/output.sette … … 218 234 exit 1 219 235 fi 220 # Save output & debug files in NEMO_VALIDATION tree 236 # 237 # Save output & debug files in NEMO_VALIDATION tree 221 238 echo "saving ocean & ice output, run.stat, tracer.stat files ...." >> ${SETTE_DIR}/output.sette 222 239 echo " " >> ${SETTE_DIR}/output.sette -
NEMO/branches/2019/fix_sette_ticket2239/param.cfg
r10687 r10698 2 2 # 3 3 # Compiler among those in NEMOGCM/ARCH 4 COMPILER=X 64_ADA4 COMPILER=XC40_METO_perso 5 5 # 6 6 # BATCH command 7 BATCH_CMD= llsubmit7 BATCH_CMD=qsub 8 8 # 9 9 #- FORCING files storing 10 FORCING_DIR= $WORKDIR/FORCING10 FORCING_DIR=/projects/jomp/pmathiot/SETTE_FORCING/v4.0 11 11 # 12 12 #- INPUT files storing … … 14 14 # 15 15 #- VALIDATION files storing 16 NEMO_VALIDATION_DIR= $WORKDIR/NEMO_VALIDATION16 NEMO_VALIDATION_DIR=/projects/jomp/pmathiot/NEMO/NEMO_dev/NEMO/trunk/sette_ticket2239/NEMO_VALIDATION 17 17 # 18 18 # REFERENCE run.stat tracer.stat you want to compare with 19 19 # (if no change to the default, no check on result change will be done) 20 NEMO_VALIDATION_REF=/p ath/to/reference/sette/results21 NEMO_REV_REF= 000020 NEMO_VALIDATION_REF=/projects/jomp/pmathiot/NEMO/NEMO_dev/NEMO/trunk/sette_ticket2239/NEMO_VALIDATION 21 NEMO_REV_REF=10691 22 22 # 23 23 # CMD for svn (some people use git svn) -
NEMO/branches/2019/fix_sette_ticket2239/prepare_exe_dir.sh
r10631 r10698 68 68 mkdir -p ${NEW_CONF}/${TEST_NAME} 69 69 70 # PREPARE EXEC_DIR 71 #================== 70 72 export EXE_DIR=${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME} 71 73 -
NEMO/branches/2019/fix_sette_ticket2239/sette_cfg-ref.sh
r10687 r10698 66 66 # in sette.sh. (each test in executed in its own directory) 67 67 # 68 # clean_valid_dir : rename ocean.output/run.stat and tracer.stat to avoid checking them in the report 69 # ( not doing it could lead to false positive ) 70 # 68 71 # prepare_job.sh : to generate the script run_job.sh 69 72 # … … 164 167 . ./all_functions.sh 165 168 . ./prepare_exe_dir.sh 169 clean_valid_dir 166 170 JOB_FILE=${EXE_DIR}/run_job.sh 167 171 NPROC=8 … … 190 194 export TEST_NAME="SHORT" 191 195 . ./prepare_exe_dir.sh 196 clean_valid_dir 192 197 cd ${EXE_DIR} 193 198 set_namelist namelist_cfg cn_exp \"GYREPIS_SHORT\" … … 231 236 . ./all_functions.sh 232 237 . ./prepare_exe_dir.sh 238 clean_valid_dir 233 239 JOB_FILE=${EXE_DIR}/run_job.sh 234 240 NPROC=8 … … 258 264 export TEST_NAME="REPRO_4_2" 259 265 . ./prepare_exe_dir.sh 266 clean_valid_dir 260 267 JOB_FILE=${EXE_DIR}/run_job.sh 261 268 NPROC=8 … … 296 303 . ./all_functions.sh 297 304 . ./prepare_exe_dir.sh 305 clean_valid_dir 298 306 JOB_FILE=${EXE_DIR}/run_job.sh 299 307 NPROC=32 … … 348 356 export TEST_NAME="SHORT" 349 357 . ./prepare_exe_dir.sh 358 clean_valid_dir 350 359 cd ${EXE_DIR} 351 360 set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" … … 421 430 . ./all_functions.sh 422 431 . ./prepare_exe_dir.sh 432 clean_valid_dir 423 433 JOB_FILE=${EXE_DIR}/run_job.sh 424 434 NPROC=32 … … 472 482 export TEST_NAME="REPRO_8_4" 473 483 . ./prepare_exe_dir.sh 484 clean_valid_dir 474 485 JOB_FILE=${EXE_DIR}/run_job.sh 475 486 NPROC=32 … … 533 544 . ./all_functions.sh 534 545 . ./prepare_exe_dir.sh 546 clean_valid_dir 535 547 JOB_FILE=${EXE_DIR}/run_job.sh 536 548 NPROC=32 … … 573 585 export TEST_NAME="SHORT" 574 586 . ./prepare_exe_dir.sh 587 clean_valid_dir 575 588 cd ${EXE_DIR} 576 589 set_namelist namelist_cfg cn_exp \"OFFP_SHORT\" … … 623 636 . ./all_functions.sh 624 637 . ./prepare_exe_dir.sh 638 clean_valid_dir 625 639 JOB_FILE=${EXE_DIR}/run_job.sh 626 640 NPROC=32 … … 664 678 export TEST_NAME="REPRO_8_4" 665 679 . ./prepare_exe_dir.sh 680 clean_valid_dir 666 681 JOB_FILE=${EXE_DIR}/run_job.sh 667 682 NPROC=32 … … 715 730 . ./all_functions.sh 716 731 . ./prepare_exe_dir.sh 732 clean_valid_dir 717 733 JOB_FILE=${EXE_DIR}/run_job.sh 718 734 NPROC=32 … … 739 755 export TEST_NAME="SHORT" 740 756 . ./prepare_exe_dir.sh 757 clean_valid_dir 741 758 cd ${EXE_DIR} 742 759 set_namelist namelist_cfg cn_exp \"AMM12_SHORT\" … … 774 791 . ./all_functions.sh 775 792 . ./prepare_exe_dir.sh 793 clean_valid_dir 776 794 JOB_FILE=${EXE_DIR}/run_job.sh 777 795 NPROC=32 … … 799 817 export TEST_NAME="REPRO_4_8" 800 818 . ./prepare_exe_dir.sh 819 clean_valid_dir 801 820 JOB_FILE=${EXE_DIR}/run_job.sh 802 821 if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi … … 834 853 . ./all_functions.sh 835 854 . ./prepare_exe_dir.sh 855 clean_valid_dir 836 856 JOB_FILE=${EXE_DIR}/run_job.sh 837 857 NPROC=32 … … 859 879 export TEST_NAME="SHORT" 860 880 . ./prepare_exe_dir.sh 881 clean_valid_dir 861 882 cd ${EXE_DIR} 862 883 set_namelist namelist_cfg cn_exp \"SAS\" … … 896 917 . ./all_functions.sh 897 918 . ./prepare_exe_dir.sh 919 clean_valid_dir 898 920 JOB_FILE=${EXE_DIR}/run_job.sh 899 921 NPROC=32 … … 921 943 export TEST_NAME="REPRO_8_4" 922 944 . ./prepare_exe_dir.sh 945 clean_valid_dir 923 946 JOB_FILE=${EXE_DIR}/run_job.sh 924 947 NPROC=32 … … 960 983 . ./all_functions.sh 961 984 . ./prepare_exe_dir.sh 985 clean_valid_dir 962 986 JOB_FILE=${EXE_DIR}/run_job.sh 963 987 NPROC=32 … … 1012 1036 export TEST_NAME="REPRO_8_4" 1013 1037 . ./prepare_exe_dir.sh 1038 clean_valid_dir 1014 1039 JOB_FILE=${EXE_DIR}/run_job.sh 1015 1040 NPROC=32 … … 1074 1099 . ./all_functions.sh 1075 1100 . ./prepare_exe_dir.sh 1101 clean_valid_dir 1076 1102 JOB_FILE=${EXE_DIR}/run_job.sh 1077 1103 NPROC=16 … … 1118 1144 export TEST_NAME="SHORT" 1119 1145 . ./prepare_exe_dir.sh 1146 clean_valid_dir 1120 1147 cd ${EXE_DIR} 1121 1148 set_namelist namelist_cfg cn_exp \"AGRIF_SHORT\" … … 1193 1220 . ./all_functions.sh 1194 1221 . ./prepare_exe_dir.sh 1222 clean_valid_dir 1195 1223 JOB_FILE=${EXE_DIR}/run_job.sh 1196 1224 NPROC=32 … … 1243 1271 export TEST_NAME="REPRO_8_4" 1244 1272 . ./prepare_exe_dir.sh 1273 clean_valid_dir 1245 1274 JOB_FILE=${EXE_DIR}/run_job.sh 1246 1275 NPROC=32 … … 1297 1326 . ./all_functions.sh 1298 1327 . ./prepare_exe_dir.sh 1328 clean_valid_dir 1299 1329 JOB_FILE=${EXE_DIR}/run_job.sh 1300 1330 NPROC=32 … … 1333 1363 . ./all_functions.sh 1334 1364 . ./prepare_exe_dir.sh 1365 clean_valid_dir 1335 1366 JOB_FILE=${EXE_DIR}/run_job.sh 1336 1367 NPROC=32 … … 1368 1399 . ./all_functions.sh 1369 1400 . ./prepare_exe_dir.sh 1401 clean_valid_dir 1370 1402 JOB_FILE=${EXE_DIR}/run_job.sh 1371 1403 NPROC=32 … … 1394 1426 export TEST_NAME="SHORT" 1395 1427 . ./prepare_exe_dir.sh 1428 clean_valid_dir 1396 1429 cd ${EXE_DIR} 1397 1430 set_namelist namelist_cfg cn_exp \"S12_SHORT\" … … 1431 1464 . ./all_functions.sh 1432 1465 . ./prepare_exe_dir.sh 1466 clean_valid_dir 1433 1467 JOB_FILE=${EXE_DIR}/run_job.sh 1434 1468 NPROC=32 … … 1457 1491 export TEST_NAME="REPRO_8_4" 1458 1492 . ./prepare_exe_dir.sh 1493 clean_valid_dir 1459 1494 JOB_FILE=${EXE_DIR}/run_job.sh 1460 1495 NPROC=32 -
NEMO/branches/2019/fix_sette_ticket2239/sette_rpt.sh
r10687 r10698 287 287 pass=$5 288 288 # 289 # check if reference directory is present 290 if [ ! -d $vdirref/$nam/$mach/$dorvref ]; then 291 printf "%s\n" " REFERENCE directory $vdirref/$nam/$mach/$dorvref is MISSING" 292 return 293 fi 294 # 289 295 if [ -d $vdir/$nam ]; then 290 296 dorv=`ls -1rt $vdir/$nam/$mach/ | tail -1l ` … … 369 375 f1o=$vdir/$nam/$mach/$dorv/$rep1/ocean.output 370 376 if [ ! -f $f1o ] ; then 371 if [ $pass == 0 ]; then printf "%-27s %s %s \n" $nam " ocean.output is MISSING : " $dorv; fi377 if [ $pass == 0 ]; then printf "%-27s %s %s %s\n" $nam " ocean.output MISSING : " $dorv " ( run did not start / finish correctly ) " ; fi 372 378 return; 373 379 else 374 380 nerr=`grep 'E R R O R' $f1o | wc -l` 375 381 if [[ $nerr > 0 ]]; then 376 printf "%-27s %s %s \n" $nam " run FAILED : " $dorv382 printf "%-27s %s %s %s\n" $nam " run FAILED : " $dorv " ( E R R O R in ocean.output) " 377 383 if [ $pass == 1 ]; then 378 384 echo "<return> to view end of ocean.output" … … 385 391 fi 386 392 else 387 if [ $pass == 0 ]; then printf "%-27s %s %s \n" $nam " directory is MISSING : " $dorv; fi393 if [ $pass == 0 ]; then printf "%-27s %s %s %s\n" $nam " directory MISSING : " $dorv " ( run did not start / finish correctly ) "; fi 388 394 fi 389 395 } -
NEMO/branches/2019/fix_sette_ticket2239/sette_test-cases.sh
r10690 r10698 60 60 # (run.stat and ocean.output) in it after execution of test. 61 61 # 62 # clean_valid_dir : rename ocean.output/run.stat and tracer.stat to avoid checking them in the report 63 # ( not doing it could lead to false positive ) 64 # 62 65 # VALIDATION tree is: 63 66 # … … 166 169 . ./all_functions.sh 167 170 . ./prepare_exe_dir.sh 171 clean_valid_dir 168 172 JOB_FILE=${EXE_DIR}/run_job.sh 169 173 NPROC=1 … … 188 192 export TEST_NAME="SHORT" 189 193 . ./prepare_exe_dir.sh 194 clean_valid_dir 190 195 cd ${EXE_DIR} 191 196 set_namelist namelist_cfg cn_exp \"OVF_SHORT\" … … 226 231 . ./all_functions.sh 227 232 . ./prepare_exe_dir.sh 233 clean_valid_dir 228 234 JOB_FILE=${EXE_DIR}/run_job.sh 229 235 NPROC=1 … … 257 263 . ./all_functions.sh 258 264 . ./prepare_exe_dir.sh 265 clean_valid_dir 259 266 JOB_FILE=${EXE_DIR}/run_job.sh 260 267 NPROC=1 … … 279 286 export TEST_NAME="SHORT" 280 287 . ./prepare_exe_dir.sh 288 clean_valid_dir 281 289 cd ${EXE_DIR} 282 290 set_namelist namelist_cfg cn_exp \"LOCK_SHORT\" … … 317 325 . ./all_functions.sh 318 326 . ./prepare_exe_dir.sh 327 clean_valid_dir 319 328 JOB_FILE=${EXE_DIR}/run_job.sh 320 329 NPROC=1 … … 349 358 . ./all_functions.sh 350 359 . ./prepare_exe_dir.sh 360 clean_valid_dir 351 361 JOB_FILE=${EXE_DIR}/run_job.sh 352 362 NPROC=6 … … 380 390 export TEST_NAME="SHORT" 381 391 . ./prepare_exe_dir.sh 392 clean_valid_dir 382 393 cd ${EXE_DIR} 383 394 set_namelist namelist_cfg cn_exp \"VORTEX_SHORT\" … … 431 442 . ./all_functions.sh 432 443 . ./prepare_exe_dir.sh 444 clean_valid_dir 433 445 JOB_FILE=${EXE_DIR}/run_job.sh 434 446 NPROC=6 … … 468 480 export TEST_NAME="REPRO_3_2" 469 481 . ./prepare_exe_dir.sh 482 clean_valid_dir 470 483 JOB_FILE=${EXE_DIR}/run_job.sh 471 484 NPROC=6 … … 518 531 . ./all_functions.sh 519 532 . ./prepare_exe_dir.sh 533 clean_valid_dir 520 534 JOB_FILE=${EXE_DIR}/run_job.sh 521 535 NPROC=6 … … 549 563 export TEST_NAME="SHORT" 550 564 . ./prepare_exe_dir.sh 565 clean_valid_dir 551 566 cd ${EXE_DIR} 552 567 set_namelist namelist_cfg cn_exp \"ICE_AGRIF_SHORT\" … … 609 624 . ./all_functions.sh 610 625 . ./prepare_exe_dir.sh 626 clean_valid_dir 611 627 JOB_FILE=${EXE_DIR}/run_job.sh 612 628 NPROC=6 … … 646 662 export TEST_NAME="REPRO_3_2" 647 663 . ./prepare_exe_dir.sh 664 clean_valid_dir 648 665 JOB_FILE=${EXE_DIR}/run_job.sh 649 666 NPROC=6 … … 695 712 . ./all_functions.sh 696 713 . ./prepare_exe_dir.sh 714 clean_valid_dir 697 715 JOB_FILE=${EXE_DIR}/run_job.sh 698 716 NPROC=15 … … 719 737 export TEST_NAME="SHORT" 720 738 . ./prepare_exe_dir.sh 739 clean_valid_dir 721 740 cd ${EXE_DIR} 722 741 set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" … … 755 774 . ./all_functions.sh 756 775 . ./prepare_exe_dir.sh 776 clean_valid_dir 757 777 JOB_FILE=${EXE_DIR}/run_job.sh 758 778 NPROC=21 … … 780 800 export TEST_NAME="REPRO_8_4" 781 801 . ./prepare_exe_dir.sh 802 clean_valid_dir 782 803 JOB_FILE=${EXE_DIR}/run_job.sh 783 804 NPROC=32
Note: See TracChangeset
for help on using the changeset viewer.