Ignore:
Timestamp:
12/08/23 11:00:25 (6 months ago)
Author:
nillod
Message:

Replace job 'PeriodNb?' with 'NbPeriodsPerJob?' to be more explicit for users.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1606 r1607  
    450450 
    451451  # Here we offer the possibility to redefine R_INIT, R_BC 
    452   # and PeriodNb through config.card 
     452  # and NbPeriodsPerJob through config.card 
    453453  R_INIT=${config_UserChoices_R_INIT:=${R_IN}/INIT} 
    454454  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" 
    456456  IGCM_debug_Print 3 "R_IN=${R_IN}" 
    457457  IGCM_debug_Print 3 "R_INIT=${R_INIT}" 
    458458  R_BC=${config_UserChoices_R_BC:=${R_IN}/BC} 
    459459  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   
    463463  # SD ADA SPECIFIC # 
    464464  #      TO FIX     # 
    465465  #IGCM_sys_TestDirArchive ${R_IN} 
    466466  #[ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" 
    467  
     467   
    468468  if ( ${FirstInitialize} ) ; then 
    469469    IGCM_sys_MkdirArchive   ${R_SAVE} 
     
    14111411    consumeHoursPerWholeSimulation=$( echo "scale=6;${consumeHoursPerPeriod}/${PeriodLengthInDays}*${ExperienceLengthInDays}" | bc ) 
    14121412 
    1413     recommendedPeriodNb=$( echo "scale=6;${jobWarningDelay}/3600/${consumeHoursPerPeriod}*${coreNumber}" | bc ) 
    1414  
     1413    recommendedNbPeriodsPerJob=$( echo "scale=6;${jobWarningDelay}/3600/${consumeHoursPerPeriod}*${coreNumber}" | bc ) 
     1414     
    14151415    IGCM_sys_SendMail Accounting 
    14161416  fi 
     
    14591459        IGCM_debug_Print 1  "Change config_UserChoices_PeriodLength=${config_UserChoices_PeriodLength}" 
    14601460        ;; 
    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)" 
    14631463        ;; 
    14641464      config_Post_RebuildFrequency) 
Note: See TracChangeset for help on using the changeset viewer.