Changeset 1326 for TOOLS/AA_stomate_flux_correction
- Timestamp:
- 03/01/11 16:17:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/AA_stomate_flux_correction
r1322 r1326 66 66 #-Q- ulam # @ environment = $CURRENT_LOOP ; $imin ; $imax 67 67 #-Q- ulam # @ queue 68 #-Q- sx8mercure #!/bin/ksh69 #-Q- sx9mercure #########################70 #-Q- sx9mercure ## CESIUM FOR SX9 CEA ##71 #-Q- sx9mercure #########################72 #-Q- sx9mercure #MSUB -r SBGcorr # Nom du job73 #-Q- sx9mercure #MSUB -N 1 # Reservation du noeud74 #-Q- sx9mercure #MSUB -n 1 # Reservation du processus75 #-Q- sx9mercure #MSUB -T 86400 # Limite de temps elapsed du job76 #-Q- sx9mercure #MSUB -E "-j o"77 #-Q- sx9mercure #MSUB -E "-S /bin/ksh"78 68 #-Q- sx8mercure ###################### 79 69 #-Q- sx8mercure ## SX8MERCURE CEA ## … … 135 125 # 136 126 # This script is only used for correction of stomate_ipcc_history files created 137 # with orchidee_1_9_5 version of ORCHIDEE model checkouted before 0 1/0127 # with orchidee_1_9_5 version of ORCHIDEE model checkouted before 05/08/10 : 138 128 # Version of ORCHIDEE/src_stomate/stomate_lpj.f90 before CVS 1.26 had a bug 139 129 # that give a wrong Land Cover Change (fLuc) variable and a wrong nbp balance variable. … … 141 131 # You must read 'Documentation' paragraph below to parameter the chain of jobs for 142 132 # specific schedulers. 133 # 134 # To protect IPCC history files if this script crash, we first move original files 135 # in SAVE_${loopmmin} directories. 136 # YOU have to destroy them by hand after corrected all your run. 137 # 143 138 # This script must only be used in a libIGCM directory 144 139 # (but submit from a CONFIG directory). 140 # 145 141 # Default parameters in this job are given for mercure CCRT X64 frontend. 146 142 # … … 311 307 312 308 echo "###############################################################" 313 echo " LOOP : " ${CURRENT_LOOP}309 echo "CURRENT_LOOP : " ${CURRENT_LOOP} 314 310 echo "imin/imax : " $imin " / " $imax 315 311 … … 353 349 354 350 # chmod sur dépÃŽt 355 IGCM_sys_RshArchive "chmod u+w ${liste_file_ipcc[@]}" 351 IGCM_sys_RshArchive "mkdir ${file_path}/SAVE_${imin}" 352 IGCM_sys_RshArchive "mv ${liste_file_ipcc[@]} ${file_path}/SAVE_${imin}" 356 353 357 354 # Faire le nco/ncap2 … … 405 402 else 406 403 if [ ${CURRENT_LOOP} -eq ${NBRE_TOUR} ] ; then 407 echo " Dernier tour: "404 echo "Last loop : " 408 405 if [ ${NBRE_FILE_TOT}%${UNIX_MAX_LIMIT} -eq 0 ] ; then 409 echo "imin NEW = " ${imax}410 406 (( imax = imax + ${NbFilesLOOP} )) 411 echo "imax NEW = " ${imax}412 407 else 413 echo "imin NEW = " ${imax}414 408 (( imax = imax + ( NBRE_FILE_TOT % UNIX_MAX_LIMIT ) / 2 )) 415 echo "imax NEW = " ${imax}416 409 fi 417 410 fi 418 411 fi 412 echo "imin NEW = " ${imin} 413 echo "imax NEW = " ${imax} 414 echo "CURRENT_LOOP = " ${CURRENT_LOOP} 415 419 416 if ( [ ${CURRENT_LOOP} -le ${NBRE_TOUR} ] && \ 420 417 [ ${CURRENT_LOOP0} -gt ${LOOP_MAX} ] ) ; then
Note: See TracChangeset
for help on using the changeset viewer.