Changeset 1607
- Timestamp:
- 12/08/23 11:00:25 (5 months ago)
- Location:
- trunk/libIGCM
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_job
r1596 r1607 176 176 #D- -1. PLACE FOR USER MODIFICATION 177 177 #D- - Job Verbosity 178 #D- - PeriodNb178 #D- - NbPeriodsPerJob 179 179 #D- - Experience type : DEB(ug), DEV(elopment), RUN 180 180 #D--------------------------------------------------------------------== … … 200 200 201 201 #D- Number of execution in one job 202 PeriodNb=1202 NbPeriodsPerJob=1 203 203 204 204 #D- … … 395 395 396 396 PeriodContinue=false 397 if [ ${Period} -le ${ PeriodNb} ]; then397 if [ ${Period} -le ${NbPeriodsPerJob} ]; then 398 398 PeriodContinue=true 399 399 fi … … 401 401 402 402 echo 403 echo "Starting iteration ${Period} / ${ PeriodNb}"403 echo "Starting iteration ${Period} / ${NbPeriodsPerJob}" 404 404 405 405 #D- … … 637 637 638 638 PeriodContinue=false 639 if [ ${Period} -le ${ PeriodNb} ]; then639 if [ ${Period} -le ${NbPeriodsPerJob} ]; then 640 640 PeriodContinue=true 641 641 fi -
trunk/libIGCM/libIGCM.card
r373 r1607 10 10 #************************************************************** 11 11 12 #D- You MUST change cards (and first config.card) parameters to obe compatible12 #D- You MUST change cards (and first config.card) parameters to be compatible 13 13 #D- with your modifications here. 14 14 [UserChanges] 15 PeriodNb=215 NbPeriodsPerJob=2 16 16 #config_UserChoices_DateEnd=1900-02-03 17 17 #config_UserChoices_PeriodLength= 1D -
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1606 r1607 450 450 451 451 # Here we offer the possibility to redefine R_INIT, R_BC 452 # and PeriodNb through config.card452 # and NbPeriodsPerJob through config.card 453 453 R_INIT=${config_UserChoices_R_INIT:=${R_IN}/INIT} 454 454 echo 455 IGCM_debug_Print 2 "(Re)Define R_INIT, R_BC and PeriodNb"455 IGCM_debug_Print 2 "(Re)Define R_INIT, R_BC and NbPeriodsPerJob" 456 456 IGCM_debug_Print 3 "R_IN=${R_IN}" 457 457 IGCM_debug_Print 3 "R_INIT=${R_INIT}" 458 458 R_BC=${config_UserChoices_R_BC:=${R_IN}/BC} 459 459 IGCM_debug_Print 3 "R_BC=${R_BC}" 460 PeriodNb=${config_UserChoices_PeriodNb:=${PeriodNb}}461 IGCM_debug_Print 3 "Loop in main Job with ${ PeriodNb} period(s)"462 460 NbPeriodsPerJob=${config_UserChoices_NbPeriodsPerJob:=${NbPeriodsPerJob}} 461 IGCM_debug_Print 3 "Loop in main Job with ${NbPeriodsPerJob} period(s)" 462 463 463 # SD ADA SPECIFIC # 464 464 # TO FIX # 465 465 #IGCM_sys_TestDirArchive ${R_IN} 466 466 #[ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" 467 467 468 468 if ( ${FirstInitialize} ) ; then 469 469 IGCM_sys_MkdirArchive ${R_SAVE} … … 1411 1411 consumeHoursPerWholeSimulation=$( echo "scale=6;${consumeHoursPerPeriod}/${PeriodLengthInDays}*${ExperienceLengthInDays}" | bc ) 1412 1412 1413 recommended PeriodNb=$( echo "scale=6;${jobWarningDelay}/3600/${consumeHoursPerPeriod}*${coreNumber}" | bc )1414 1413 recommendedNbPeriodsPerJob=$( echo "scale=6;${jobWarningDelay}/3600/${consumeHoursPerPeriod}*${coreNumber}" | bc ) 1414 1415 1415 IGCM_sys_SendMail Accounting 1416 1416 fi … … 1459 1459 IGCM_debug_Print 1 "Change config_UserChoices_PeriodLength=${config_UserChoices_PeriodLength}" 1460 1460 ;; 1461 PeriodNb)1462 IGCM_debug_Print 1 "Loop in main Job with ${ PeriodNb} period(s)"1461 NbPeriodsPerJob) 1462 IGCM_debug_Print 1 "Loop in main Job with ${NbPeriodsPerJob} period(s)" 1463 1463 ;; 1464 1464 config_Post_RebuildFrequency) -
trunk/libIGCM/libIGCM_ensemble/ENSEMBLE_DOC.txt
r1475 r1607 89 89 90 90 This will create all the directories of the ensemble and Qsub.xxx.sh, a shell file 91 containing all command to submit all jobs ( PeriodNb=60 for all simulations).91 containing all command to submit all jobs (NbPeriodsPerJob=10 for all simulations). 92 92 93 93 The Qclean.PeriodLength.xxx.sh is bash file to use clean_PeriodLength script for -
trunk/libIGCM/libIGCM_ensemble/libIGCM_ensemble.ksh
r1565 r1607 50 50 Job_Period=${answer} 51 51 fi 52 print "\n PeriodNb in ensemble Jobs is ${Job_Period}"52 print "\nNbPeriodsPerJob in ensemble Jobs is ${Job_Period}" 53 53 54 54 IGCM_debug_Print 1 "Ens_PERTURB ACTIVE = ${ensemble_Ens_PERTURB_active}" … … 181 181 sed -e "s/\(#.*Script_Output_\)${config_UserChoices_JobName}\(\.*\)/\1${MemberDir}\2/" \ 182 182 -e "s/\(#.*\)${config_UserChoices_JobName}\(\.*\)/\1${MemberDir} \2/" \ 183 -e "s/^ PeriodNb=.*/PeriodNb=${Job_Period}/" \183 -e "s/^NbPeriodsPerJob=.*/NbPeriodsPerJob=${Job_Period}/" \ 184 184 ${SUBMIT_DIR}/${StartDir}/${MemberDir}/Job_${MemberDir} > Job_${MemberDir}.tmp 185 185 IGCM_sys_Mv Job_${MemberDir}.tmp ${SUBMIT_DIR}/${StartDir}/${MemberDir}/Job_${MemberDir} -
trunk/libIGCM/libIGCM_sys/jobAccounting.mail
r1262 r1607 5 5 The whole simulation will consume around ${consumeHoursPerWholeSimulation} hours. To be compared with your project allocation. 6 6 7 For your case \(a job duration of ${jobWarningDelay} seconds\) the recommended PeriodNb is around ${recommendedPeriodNb}. To be compare with the current setting \(Job_${config_UserChoices_JobName} parameter\) : PeriodNb=${PeriodNb}7 For your case \(a job duration of ${jobWarningDelay} seconds\) the recommended NbPeriodsPerJob is around ${recommendedNbPeriodsPerJob}. To be compare with the current setting \(Job_${config_UserChoices_JobName} parameter\) : NbPeriodsPerJob=${NbPeriodsPerJob} 8 8 9 9 Greetings!
Note: See TracChangeset
for help on using the changeset viewer.