Changeset 922 for trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
- Timestamp:
- 08/14/13 14:17:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r920 r922 420 420 # DateBegin + CumulPeriod*PeriodLength = PeriodDateBegin 421 421 echo 422 422 423 423 case ${config_UserChoices_PeriodLength} in 424 424 *Y|*y) … … 1108 1108 fi 1109 1109 1110 # Send some accounting element to the user if CumulPeriod=3 1111 if [ ${CumulPeriod} -eq 3 ] ; then 1112 echo 1113 IGCM_debug_Print 1 "Send email containing some accounting information : " 1114 1115 RealCpuTime=$( echo ${ExeCpuLog} | gawk '{print $3}' ) 1116 1117 consumeHoursPerPeriod=$( echo "scale=6;${RealCpuTime}*${PROCESSUS_NUMBER}/3600" | bc ) 1118 1119 consumeHoursPerWholeSimulation=$( echo "scale=6;${consumeHoursPerPeriod}/${PeriodLengthInDays}*${ExperienceLengthInDays}" | bc ) 1120 1121 recommendedPeriodNb=$( echo "scale=6;24/${consumeHoursPerPeriod}*${PROCESSUS_NUMBER}" | bc ) 1122 1123 IGCM_sys_SendMail Accounting 1124 fi 1125 1110 1126 #=================================================# 1111 1127 # Modification of libIGCM behaviour # … … 1280 1296 1281 1297 IGCM_debug_Print 1 "Submit next job" 1282 # SUBMIT NEXT JOB from SUBMIT_DIR and come back in RUN_DIR 1283 IGCM_sys_Cd ${SUBMIT_DIR} 1298 # SUBMIT NEXT JOB from SUBMIT_DIR and come back in RUN_DIR 1299 IGCM_sys_Cd ${SUBMIT_DIR} 1284 1300 # Keep only the 5 latest ${Script_Output_Prefix}_${config_UserChoices_JobName} 1285 1301 ScriptTot=$( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? 2>/dev/null | wc -l )
Note: See TracChangeset
for help on using the changeset viewer.