Ignore:
Timestamp:
06/17/19 17:41:07 (5 years ago)
Author:
jgipsl
Message:

Do for other hosts what already was done for irene: now read EnvFile? from config.card and source this file if it exists, otherwise source default file. Also some homogenization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_irene.ksh

    r1482 r1485  
    9393#==================================================== 
    9494if [ X${TaskType} = Xcomputing ] ; then 
    95   IGCM_debug_Print 1 "Module will be loaded once we know the compiler version" 
     95  IGCM_debug_Print 1 "Modules will be loaded later in IGCM_sys_activ_variables." 
    9696else 
    9797  module purge > /dev/null 2>&1 
     
    10801080# -------------------------------------------------------------------- 
    10811081  # Source the file EnvFile containing all module load needed to run the model. 
    1082   # Use default a default file on the shared account or use an optional file specified in config.card. 
     1082  # EnvFile can be specified in config.card. If this is the case and if the file exists,  
     1083  # it will be used. Otherwise a default file will be used. 
    10831084  if [ ! X${config_UserChoices_EnvFile} = X ] && [ -f ${config_UserChoices_EnvFile} ] ; then 
    10841085      # EnvFile is set in config.card and the file exists 
     
    11021103  IGCM_debug_Print 1 "IGCM_sys_active_variables : Now loaded modules for Irene. " 
    11031104  module list 
    1104  
    1105   # Keep track of this 
    1106   [ ! X${TaskType} = Xchecking ] && IGCM_debug_Print 1 "List of loaded modules:" 
    1107   [ ! X${TaskType} = Xchecking ] && module list 
    11081105 
    11091106# -------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.