Ignore:
Timestamp:
10/19/12 14:31:44 (12 years ago)
Author:
sdipsl
Message:
  • bugfix. Need to source libIGCM_config to have access to IGCM_config_CommonConfiguration
File:
1 edited

Legend:

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

    r728 r731  
    246246  # and PeriodNb through config.card 
    247247  R_INIT=${config_UserChoices_R_INIT:=${R_IN}/INIT} 
     248  echo 
    248249  IGCM_debug_Print 2 "(Re)Define R_INIT, R_BC and PeriodNb" 
    249250  IGCM_debug_Print 3 "R_INIT=${R_INIT}" 
     
    352353  *Y|*y) 
    353354    PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | sed -e 's/[yY]//' ) 
     355    echo 
    354356    IGCM_debug_Print 2 "Number of years for PeriodLength : ${PeriodLengthInYears}" 
    355357    PeriodLengthInDays=0 
     
    362364  *M|*m) 
    363365    PeriodLengthInMonths=$( echo ${config_UserChoices_PeriodLength} | sed -e 's/[mM]//' ) 
     366    echo 
    364367    IGCM_debug_Print 2 "Number of months for PeriodLength : ${PeriodLengthInMonths}" 
    365368    PeriodLengthInDays=0 
     
    376379  *D|*d) 
    377380    PeriodLengthInMonths=0 
    378     PeriodLengthInDays=$( echo ${config_UserChoices_PeriodLength} | sed -e 's/[dD]//' );; 
     381    PeriodLengthInDays=$( echo ${config_UserChoices_PeriodLength} | sed -e 's/[dD]//' ) 
     382    echo 
     383    IGCM_debug_Print 2 "Number of days for PeriodLength : ${PeriodLengthInDays}";; 
    379384  *) 
    380385    IGCM_debug_Exit "IGCM_config_Analyse_PeriodLength " ${config_UserChoices_PeriodLength} " invalid period length : choose in *Y, *M, *D." 
     
    472477 
    473478  #check to be sure there is enough space on temporary filesystems to run 
     479  echo 
    474480  IGCM_debug_Print 1 "Check if there is enough space on temporary filesystem" 
    475481  IGCM_sys_check_quota 
     
    629635 
    630636  # Debug Print : 
     637  echo 
    631638  IGCM_debug_Print 1 "IGCM_config_PeriodStart : Before Execution" 
    632639  IGCM_debug_Print 1 "Year of simulation      : ${year}" 
Note: See TracChangeset for help on using the changeset viewer.