Changeset 1206
- Timestamp:
- 06/05/15 17:28:35 (9 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 1 added
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_SE_Checker
r1114 r1206 223 223 224 224 IGCM_sys_MkdirWork ${POST_DIR} 225 IGCM_debug_Verif_Exit _Post225 IGCM_debug_Verif_Exit 226 226 IGCM_sys_QsubPost create_se 227 227 -
trunk/libIGCM/AA_TimeSeries_Checker
r1143 r1206 415 415 export Script_Post_Output=create_ts.${PeriodDateEnd}.${TsTask}.${CompToRead}.${NameToRead} 416 416 IGCM_sys_MkdirWork ${POST_DIR} 417 IGCM_debug_Verif_Exit _Post417 IGCM_debug_Verif_Exit 418 418 IGCM_sys_QsubPost create_ts 419 419 echo … … 480 480 export Script_Post_Output=create_ts.${PeriodDateEnd}.${TsTask} 481 481 IGCM_sys_MkdirWork ${POST_DIR} 482 IGCM_debug_Verif_Exit _Post482 IGCM_debug_Verif_Exit 483 483 IGCM_sys_QsubPost create_ts 484 484 echo … … 505 505 export Script_Post_Output=create_ts.${PeriodDateEnd}.${TsTask} 506 506 IGCM_sys_MkdirWork ${POST_DIR} 507 IGCM_debug_Verif_Exit _Post507 IGCM_debug_Verif_Exit 508 508 IGCM_sys_QsubPost create_ts 509 509 echo -
trunk/libIGCM/AA_additionnal
r1201 r1206 94 94 # Test if all was right before proceeding further 95 95 # ------------------------------------------------------------------ 96 IGCM_debug_Verif_Exit _Post96 IGCM_debug_Verif_Exit 97 97 98 98 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/AA_atlas_LMDZ
r1201 r1206 94 94 # Test if all was right before proceeding further 95 95 # ------------------------------------------------------------------ 96 IGCM_debug_Verif_Exit _Post96 IGCM_debug_Verif_Exit 97 97 98 98 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/AA_atlas_ORCA_LIM
r1201 r1206 94 94 # Test if all was right before proceeding further 95 95 # ------------------------------------------------------------------ 96 IGCM_debug_Verif_Exit _Post96 IGCM_debug_Verif_Exit 97 97 98 98 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/AA_atlas_ORCHIDEE
r1201 r1206 94 94 # Test if all was right before proceeding further 95 95 # ------------------------------------------------------------------ 96 IGCM_debug_Verif_Exit _Post96 IGCM_debug_Verif_Exit 97 97 98 98 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/AA_atlas_PISCES
r1201 r1206 94 94 # Test if all was right before proceeding further 95 95 # ------------------------------------------------------------------ 96 IGCM_debug_Verif_Exit _Post96 IGCM_debug_Verif_Exit 97 97 98 98 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/AA_create_multi_se
r1201 r1206 140 140 # Test if all was right before proceeding further 141 141 # ------------------------------------------------------------------ 142 IGCM_debug_Verif_Exit _Post142 IGCM_debug_Verif_Exit 143 143 144 144 if [ ${StandAlone} = true ] ; then … … 316 316 # 317 317 IGCM_sys_Get /l liste_file_se[*] ${RUN_DIR_PATH} 318 IGCM_debug_Verif_Exit _Post318 IGCM_debug_Verif_Exit 319 319 # Search of common list of variables to be treated 320 320 nbfile=0 … … 402 402 #D- Test if all was right before ATLAS 403 403 # -------------------------------------------------------------------- 404 IGCM_debug_Verif_Exit _Post404 IGCM_debug_Verif_Exit 405 405 406 406 if [ ${config_UserChoices_TagName} = "IPSLCM4_v1_OASIS3" ] || \ -
trunk/libIGCM/AA_create_se
r1201 r1206 147 147 # Test if all was right before proceeding further 148 148 # ------------------------------------------------------------------ 149 IGCM_debug_Verif_Exit _Post149 IGCM_debug_Verif_Exit 150 150 151 151 if [ ${StandAlone} = true ] ; then … … 341 341 # 342 342 IGCM_sys_Get /l liste_file_se[*] ${RUN_DIR_PATH} 343 IGCM_debug_Verif_Exit _Post343 IGCM_debug_Verif_Exit 344 344 345 345 # Apply IGCM_Patch if needed … … 401 401 # 402 402 IGCM_sys_Get /l liste_file_se[*] ${RUN_DIR_PATH} 403 IGCM_debug_Verif_Exit _Post403 IGCM_debug_Verif_Exit 404 404 405 405 # Apply IGCM_Patch if needed … … 464 464 # 465 465 IGCM_sys_Get /l liste_file_se[*] ${RUN_DIR_PATH} 466 IGCM_debug_Verif_Exit _Post466 IGCM_debug_Verif_Exit 467 467 468 468 # Apply IGCM_Patch if needed … … 560 560 #D- Test if all was right before ATLAS 561 561 # -------------------------------------------------------------------- 562 IGCM_debug_Verif_Exit _Post562 IGCM_debug_Verif_Exit 563 563 564 564 if [ ${config_UserChoices_TagName} = "IPSLCM4_v1_OASIS3" ] || \ -
trunk/libIGCM/AA_create_ts
r1205 r1206 167 167 # Test if all was right before proceeding further 168 168 # ------------------------------------------------------------------ 169 IGCM_debug_Verif_Exit _Post169 IGCM_debug_Verif_Exit 170 170 171 171 if [ ${StandAlone} = true ] ; then … … 238 238 #D- Test if all was right before entering the loop 239 239 # ------------------------------------------------------------------ 240 IGCM_debug_Verif_Exit _Post240 IGCM_debug_Verif_Exit 241 241 242 242 ######################################################################## … … 492 492 if [ X${file} != X${NULL_STR} ] ; then 493 493 IGCM_sys_Get /l liste_file[*] ${RUN_DIR_PATH}/${comp} 494 IGCM_debug_Verif_Exit _Post494 IGCM_debug_Verif_Exit 495 495 fi 496 496 done … … 671 671 # Get selected files 672 672 IGCM_sys_Get /l liste_file[*] ${RUN_DIR_PATH}/${comp} 673 IGCM_debug_Verif_Exit _Post673 IGCM_debug_Verif_Exit 674 674 675 675 # Apply IGCM_Patch if needed … … 679 679 for Patch in $( eval echo \${LISTE_PATCHES_${file}[*]} ); do 680 680 IGCM_${Patch} ${file_t} 681 IGCM_debug_Verif_Exit _Post681 IGCM_debug_Verif_Exit 682 682 done 683 683 done … … 716 716 file_out=${config_UserChoices_JobName}_${DATE_BUILD_END}_${FlagDir}_${var}.nc 717 717 IGCM_sys_ncrcat --hst -v ${liste_coord}${var} ${file1} ${liste_file_tmp[*]} ${file_out} 718 IGCM_debug_Verif_Exit _Post718 IGCM_debug_Verif_Exit 719 719 # 720 720 IGCM_sys_Rm ${file1} … … 728 728 file_out=${config_UserChoices_JobName}_${DATE_BUILD}_${FlagDir}_${var}.nc 729 729 IGCM_sys_ncrcat --hst -v ${liste_coord}${var} ${liste_file_tmp[*]} ${file_out} 730 IGCM_debug_Verif_Exit _Post730 IGCM_debug_Verif_Exit 731 731 fi 732 732 … … 752 752 # Put global history attribut 753 753 IGCM_sys_ncatted -Oh -a history,global,o,c,"build by libIGCM/create_ts" ${file_out_YE} 754 IGCM_debug_Verif_Exit _Post754 IGCM_debug_Verif_Exit 755 755 # 756 756 eval IGCM_sys_Put_Out ${file_out_YE} \${R_OUT_${comp}}/Analyse/TS_MO_YE/${file_out_YE} … … 799 799 #D- Test if all was right 800 800 # -------------------------------------------------------------------- 801 IGCM_debug_Verif_Exit _Post801 IGCM_debug_Verif_Exit 802 802 # -------------------------------------------------------------------- 803 803 #D- Submit MONITORING -
trunk/libIGCM/AA_metrics_LMDZ
r1203 r1206 95 95 # Test if all was right before proceeding further 96 96 # ------------------------------------------------------------------ 97 IGCM_debug_Verif_Exit _Post97 IGCM_debug_Verif_Exit 98 98 99 99 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/AA_monitoring
r1201 r1206 141 141 # Test if all was right before proceeding further 142 142 # ------------------------------------------------------------------ 143 IGCM_debug_Verif_Exit _Post143 IGCM_debug_Verif_Exit 144 144 145 145 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/AA_move-and-rename
r1059 r1206 225 225 # Test if all was right before proceeding further 226 226 # ------------------------------------------------------------------ 227 IGCM_debug_Verif_Exit _Post227 IGCM_debug_Verif_Exit 228 228 229 229 #DEFINE NEW_R_DODS -
trunk/libIGCM/AA_pack_debug
r1201 r1206 159 159 # Test if all was right before proceeding further 160 160 # ------------------------------------------------------------------ 161 IGCM_debug_Verif_Exit _Post161 IGCM_debug_Verif_Exit 162 162 163 163 if [ ${StandAlone} = true ] ; then … … 225 225 # Test if all was right before proceeding further 226 226 # ------------------------------------------------------------------ 227 IGCM_debug_Verif_Exit _Post227 IGCM_debug_Verif_Exit 228 228 229 229 # Init loop … … 262 262 # Test if all was right before proceeding cleaning 263 263 # ------------------------------------------------------------------ 264 IGCM_debug_Verif_Exit _Post264 IGCM_debug_Verif_Exit 265 265 # Clean links 266 266 cat ${RUN_DIR}/liste_pack_${date_begin_pack}_${date_end_pack}.txt | xargs rm -
trunk/libIGCM/AA_pack_output
r1201 r1206 136 136 # Test if all was right before proceeding further 137 137 # ------------------------------------------------------------------ 138 IGCM_debug_Verif_Exit _Post138 IGCM_debug_Verif_Exit 139 139 140 140 if [ ${StandAlone} = true ] ; then … … 185 185 # Test if all was right before proceeding further 186 186 # ------------------------------------------------------------------ 187 IGCM_debug_Verif_Exit _Post187 IGCM_debug_Verif_Exit 188 188 189 189 IGCM_debug_Print 1 "Check coherence between PackFrequency and PeriodLength" … … 192 192 # Test if all was right before proceeding further 193 193 # ------------------------------------------------------------------ 194 IGCM_debug_Verif_Exit _Post194 IGCM_debug_Verif_Exit 195 195 196 196 IGCM_debug_Print 1 "We must process ${NbPeriodPerFrequency} files for each pack" … … 263 263 # Test if all was right before proceeding further 264 264 # ------------------------------------------------------------------ 265 IGCM_debug_Verif_Exit _Post265 IGCM_debug_Verif_Exit 266 266 # Save it 267 267 IGCM_sys_Put_Out ${output} ${R_SAVE}/$( echo $dir | sed "s:${R_BUFR}/::" )/${output} … … 271 271 # Test if all was right before proceeding further 272 272 # ------------------------------------------------------------------ 273 IGCM_debug_Verif_Exit _Post273 IGCM_debug_Verif_Exit 274 274 # Clean files used by ncrcat 275 275 cat liste_pack_${myType}_${date_begin_pack}_${date_end_pack}.txt | xargs rm -
trunk/libIGCM/AA_pack_restart
r1201 r1206 159 159 # Test if all was right before proceeding further 160 160 # ------------------------------------------------------------------ 161 IGCM_debug_Verif_Exit _Post161 IGCM_debug_Verif_Exit 162 162 163 163 if [ ${StandAlone} = true ] ; then … … 218 218 # Test if all was right before proceeding further 219 219 # ------------------------------------------------------------------ 220 IGCM_debug_Verif_Exit _Post220 IGCM_debug_Verif_Exit 221 221 222 222 # Init loop … … 262 262 # Test if all was right before proceeding cleaning 263 263 # ------------------------------------------------------------------ 264 IGCM_debug_Verif_Exit _Post264 IGCM_debug_Verif_Exit 265 265 # Clean links 266 266 cat ${RUN_DIR}/liste_pack_${date_begin_pack}_${date_end_pack}.txt | xargs rm -
trunk/libIGCM/AA_rebuild_fromWorkdir
r1201 r1206 170 170 # Test if all was right before proceeding further 171 171 # ------------------------------------------------------------------ 172 IGCM_debug_Verif_Exit _Post172 IGCM_debug_Verif_Exit 173 173 174 174 if [ ${StandAlone} = true ] ; then -
trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh
r1190 r1206 1683 1683 echo "IGCM_sys_rebuild ${file_in} ${generic_file_name}_[0-9]*.nc" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1684 1684 fi 1685 echo "IGCM_debug_Verif_Exit _Post" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh1685 echo "IGCM_debug_Verif_Exit" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1686 1686 fi 1687 1687 # … … 1692 1692 echo ". ${libIGCM_POST}/libIGCM_post/IGCM_${Patch}.ksh" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1693 1693 echo "IGCM_${Patch} ${file_in} " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1694 echo "IGCM_debug_Verif_Exit _Post" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh1694 echo "IGCM_debug_Verif_Exit " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1695 1695 done 1696 1696 fi … … 1703 1703 rebuildedActionsList[${#rebuildedActionsList[*]}]="IGCM_sys_Put_Out ${file_in} ${file_out}" 1704 1704 fi 1705 rebuildedActionsList[${#rebuildedActionsList[*]}]="IGCM_debug_Verif_Exit _Post"1705 rebuildedActionsList[${#rebuildedActionsList[*]}]="IGCM_debug_Verif_Exit" 1706 1706 rebuildedActionsList[${#rebuildedActionsList[*]}]="IGCM_sys_Rm ${generic_file_name}_[0-9]*.nc" 1707 1707 fi … … 1725 1725 echo ". ${libIGCM_POST}/libIGCM_post/IGCM_${Patch}.ksh" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1726 1726 echo "IGCM_${Patch} ${file_in} " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1727 echo "IGCM_debug_Verif_Exit _Post" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh1727 echo "IGCM_debug_Verif_Exit " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1728 1728 done 1729 1729 # … … 1733 1733 echo "IGCM_sys_Put_Out ${file_in} ${file_out} " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1734 1734 fi 1735 echo "IGCM_debug_Verif_Exit _Post" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh1735 echo "IGCM_debug_Verif_Exit " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 1736 1736 # 1737 1737 fi -
trunk/libIGCM/libIGCM_date/libIGCM_date.ksh
r1118 r1206 886 886 *) 887 887 IGCM_debug_Exit "IGCM_date_DaysInPreviousPeriod " ${Period} " invalid PeriodLength : choose in *Y, *M, *D." 888 IGCM_debug_Verif_Exit _Post;;888 IGCM_debug_Verif_Exit ;; 889 889 esac 890 890 echo ${Length} … … 946 946 *) 947 947 IGCM_debug_Exit "IGCM_date_DaysInNextPeriod " ${Period} " invalid PeriodLength : choose in *Y, *M, *D." 948 IGCM_debug_Verif_Exit _Post;;948 IGCM_debug_Verif_Exit ;; 949 949 esac 950 950 echo ${Length} … … 1006 1006 *) 1007 1007 IGCM_debug_Exit "IGCM_date_DaysInCurrentPeriod " ${Period} " invalid PeriodLength : choose in *Y, *M, *D." 1008 IGCM_debug_Verif_Exit _Post;;1008 IGCM_debug_Verif_Exit ;; 1009 1009 esac 1010 1010 echo ${Length} -
trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
r1204 r1206 704 704 function IGCM_debug_Verif_Exit { 705 705 if ( ${ExitFlag} ) ; then 706 # Plan to send an email here with IGCM_sys_SendMail 707 if [ X${TaskType} != Xchecking ] ; then 706 echo "IGCM_debug_Verif_Exit : Something wrong happened previously." 707 # Only computing TaskType stops the job for now. 708 if [ X${TaskType} = Xcomputing ] ; then 708 709 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Fatal" 709 echo "IGCM_debug_Verif_Exit : Something wrong happened previously."710 710 echo "IGCM_debug_Verif_Exit : ERROR and EXIT keyword will help find out where." 711 711 echo " EXIT THE JOB." 712 712 echo 713 713 IGCM_debug_CallStack 714 fi 715 716 if [ X${ActivateBigBro} = Xtrue ] ; then 717 # RabbitMQ message code "EXIT THE JOBS BECAUSE ERROR(S) HAS BEEN TRIGGERED" 718 code=9999 719 # RabbitMQ message body 720 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 721 # To be sure we flush message buffer and clean up behind us before the end of the simulation 722 FlushAMQP=true 723 # Fill the rabbitMQ queue 724 IGCM_debug_sendAMQP 725 fi 726 727 # Mail notification 728 IGCM_sys_SendMail 729 730 # And Good Bye 731 date 732 exit 1 733 fi 734 } 735 736 #D-#================================================== 737 #D-function IGCM_debug_Verif_Exit_Post 738 #D-* Purpose: exit with number 1 if ExitFlag is true for Post-treatment 739 #D- 740 function IGCM_debug_Verif_Exit_Post { 741 if ( ${ExitFlag} ) ; then 742 echo "IGCM_debug_Verif_Exit_Post : Something wrong happened." 743 # If SpaceName is PROD then we stop if post_processing fails 744 # Plan to send an email here with IGCM_sys_SendMail 745 if [ X${config_UserChoices_SpaceName} = XPROD ] ; then 746 echo " EXIT THE JOB." 747 echo 714 715 if [ X${ActivateBigBro} = Xtrue ] ; then 716 # RabbitMQ message code "EXIT THE JOBS BECAUSE ERROR(S) HAS BEEN TRIGGERED" 717 code=9999 718 # RabbitMQ message body 719 Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 720 # To be sure we flush message buffer and clean up behind us before the end of the simulation 721 FlushAMQP=true 722 # Fill the rabbitMQ queue 723 IGCM_debug_sendAMQP 724 fi 725 748 726 # Mail notification 749 #IGCM_sys_SendMailPost 727 IGCM_sys_SendMail 728 750 729 # And Good Bye 751 730 date 752 731 exit 1 753 else 754 echo "Either inside config.card the variable SpaceName is not in PROD" 755 echo "or inside the main Job the variable JobType is not in RUN mode" 756 echo " SO WE DO NOT EXIT THE JOB." 757 echo 758 date 732 733 elif [ X${TaskType} = Xpost-processing ] ; then 734 # If SpaceName is PROD then we stop when post_processing failed 735 if [ X${config_UserChoices_SpaceName} = XPROD ] ; then 736 echo " EXIT THE JOB." 737 echo 738 # Mail notification? 739 #IGCM_sys_SendMailPost 740 # And Good Bye 741 date 742 exit 1 743 else 744 echo "Either inside config.card the variable SpaceName is not in PROD" 745 echo "or inside the main Job the variable JobType is not in RUN mode" 746 echo " SO WE DO NOT EXIT THE JOB." 747 echo 748 date 749 fi 750 elif [ X${TaskType} = Xchecking ] ; then 751 echo "Do nothing at the moment" 759 752 fi 760 753 fi -
trunk/libIGCM/libIGCM_post/IGCM_Patch_20070220_histcom_time_axis.ksh
r1045 r1206 62 62 IGCM_sys_ncatted -O --hst -a associate,${var},m,c,"${ATTNV}" ${file} 63 63 done 64 IGCM_debug_Verif_Exit_Post 64 # ------------------------------------------------------------------ 65 # Test if all was right before proceeding further 66 # ------------------------------------------------------------------ 67 IGCM_debug_Verif_Exit 68 65 69 IGCM_sys_Mv ${file} ${1} 66 70 IGCM_sys_Rm ${file}_ncdump-h -
trunk/libIGCM/libIGCM_post/IGCM_Patch_20090317_histcom__Fillvalue.ksh
r1059 r1206 31 31 [ ! X${miss} = X ] && IGCM_sys_ncatted -a missing_value,,c,f,${miss} ${file} 32 32 33 # ------------------------------------------------------------------ 34 # Test if all was right before proceeding further 35 # ------------------------------------------------------------------ 36 IGCM_debug_Verif_Exit 37 33 38 IGCM_sys_Mv ${file} ${1} 34 39 -
trunk/libIGCM/libIGCM_post/IGCM_Patch_20090407_histcom_time_axis.ksh
r1059 r1206 62 62 IGCM_sys_ncatted -O --hst -a associate,${var},m,c,"${ATTNV}" ${file} 63 63 done 64 IGCM_debug_Verif_Exit_Post 64 # ------------------------------------------------------------------ 65 # Test if all was right before proceeding further 66 # ------------------------------------------------------------------ 67 IGCM_debug_Verif_Exit 68 65 69 IGCM_sys_Mv ${file} ${1} 66 70 IGCM_sys_Rm ${file}_ncdump-h -
trunk/libIGCM/libIGCM_post/IGCM_Patch_20091030_histcom_time_axis.ksh
r1059 r1206 76 76 done 77 77 78 # ------------------------------------------------------------------ 79 # Test if all was right before proceeding further 80 # ------------------------------------------------------------------ 81 IGCM_debug_Verif_Exit 78 82 79 IGCM_debug_Verif_Exit_Post80 83 IGCM_sys_Mv ${file} ${1} 81 84 IGCM_sys_Rm ${file}_ncdump-h -
trunk/libIGCM/libIGCM_post/IGCM_Patch_20091116_ncks_ncra.ksh
r1059 r1206 49 49 rm -f O*_out.*.nc 50 50 51 # ------------------------------------------------------------------ 52 # Test if all was right before proceeding further 53 # ------------------------------------------------------------------ 54 IGCM_debug_Verif_Exit 55 51 56 #ls -s ${PREFIX}_*_cpl_*.nc 52 57 -
trunk/libIGCM/libIGCM_post/IGCM_Patch_20091118_mask.ksh
r1169 r1206 31 31 IGCM_debug_Exit "neither here ${R_SAVE}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc" 32 32 IGCM_debug_Exit "nor here ${R_BUFR}/OCE/Output/${config_UserChoices_JobName}_mesh_mask.nc" 33 IGCM_debug_Verif_Exit _Post33 IGCM_debug_Verif_Exit 34 34 fi 35 35 fi … … 140 140 IGCM_sys_ncks -Ah -v nav_lon,nav_lat ${filename} file_mask.nc 141 141 142 # ------------------------------------------------------------------ 143 # Test if all was right before proceeding further 144 # ------------------------------------------------------------------ 145 IGCM_debug_Verif_Exit 146 142 147 #============================================ 143 148 # Cleaning 144 IGCM_debug_Verif_Exit_Post145 149 IGCM_sys_Mv file_mask.nc ${filename} 146 150 IGCM_sys_Rm mask3D.nc mask2D.nc file1.nc -
trunk/libIGCM/libIGCM_post/libIGCM_post.ksh
r1113 r1206 202 202 # fi 203 203 echo "IGCM_sys_MkdirWork ${POST_DIR} " >> ${FunctionPath} 204 echo "IGCM_debug_Verif_Exit _Post" >> ${FunctionPath}204 echo "IGCM_debug_Verif_Exit " >> ${FunctionPath} 205 205 echo "IGCM_sys_QsubPost create_ts " >> ${FunctionPath} 206 206 # if [ X${MASTER} = Xtitane ] ; then … … 237 237 . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 238 238 IGCM_sys_MkdirWork ${POST_DIR} 239 IGCM_debug_Verif_Exit _Post239 IGCM_debug_Verif_Exit 240 240 IGCM_sys_QsubPost create_ts 241 241 EOF … … 318 318 # fi 319 319 echo "IGCM_sys_MkdirWork ${POST_DIR} " >> ${FunctionPath} 320 echo "IGCM_debug_Verif_Exit _Post" >> ${FunctionPath}320 echo "IGCM_debug_Verif_Exit " >> ${FunctionPath} 321 321 echo "IGCM_sys_QsubPost create_ts " >> ${FunctionPath} 322 322 # if [ X${MASTER} = Xtitane ] ; then … … 353 353 . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 354 354 IGCM_sys_MkdirWork ${POST_DIR} 355 IGCM_debug_Verif_Exit _Post355 IGCM_debug_Verif_Exit 356 356 IGCM_sys_QsubPost create_ts 357 357 EOF … … 416 416 # fi 417 417 echo "IGCM_sys_MkdirWork ${POST_DIR} " >> ${FunctionPath} 418 echo "IGCM_debug_Verif_Exit _Post" >> ${FunctionPath}418 echo "IGCM_debug_Verif_Exit " >> ${FunctionPath} 419 419 echo "IGCM_sys_QsubPost create_se " >> ${FunctionPath} 420 420 # if [ X${MASTER} = Xtitane ] ; then … … 446 446 . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 447 447 IGCM_sys_MkdirWork ${POST_DIR} 448 IGCM_debug_Verif_Exit _Post448 IGCM_debug_Verif_Exit 449 449 IGCM_sys_QsubPost create_se 450 450 EOF … … 497 497 . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 498 498 IGCM_sys_MkdirWork ${POST_DIR} 499 IGCM_debug_Verif_Exit _Post499 IGCM_debug_Verif_Exit 500 500 IGCM_sys_QsubPost ${script} 501 501 IGCM_debug_Verif_Exit … … 525 525 . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 526 526 IGCM_sys_MkdirWork ${POST_DIR} 527 IGCM_debug_Verif_Exit _Post527 IGCM_debug_Verif_Exit 528 528 IGCM_sys_QsubPost ${script} 529 529 IGCM_debug_Verif_Exit … … 558 558 # fi 559 559 echo "IGCM_sys_MkdirWork ${POST_DIR} " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 560 echo "IGCM_debug_Verif_Exit _Post" >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh560 echo "IGCM_debug_Verif_Exit " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 561 561 echo "IGCM_sys_QsubPost ${script} " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 562 562 # if [ X${MASTER} = Xtitane ] ; then … … 584 584 . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 585 585 IGCM_sys_MkdirWork ${POST_DIR} 586 IGCM_debug_Verif_Exit _Post586 IGCM_debug_Verif_Exit 587 587 IGCM_sys_QsubPost ${script} 588 588 IGCM_debug_Verif_Exit … … 638 638 . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 639 639 IGCM_sys_MkdirWork ${POST_DIR} 640 IGCM_debug_Verif_Exit _Post640 IGCM_debug_Verif_Exit 641 641 IGCM_sys_QsubPost ${script} 642 642 IGCM_debug_Verif_Exit
Note: See TracChangeset
for help on using the changeset viewer.