Changeset 4615 for CONFIG/UNIFORM


Ignore:
Timestamp:
07/15/19 15:24:50 (5 years ago)
Author:
acosce
Message:

modify config.card and lmdz.driver to work without .resol file and to use executable with resolution and option compilation in its name.

Location:
CONFIG/UNIFORM/v6/IPSLCM6.2
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/IPSLCM/pdControl_TEST/config.card

    r4413 r4615  
    3737#-- Source following file with module settings, only if it exists 
    3838EnvFile=`pwd`/../ARCH/arch.env 
     39#============================ 
     40#-- ResolAtm indicates the atmospheric resolution 
     41#   This variable is used in the executable name  
     42ResolAtm=144x142x79 
     43#============================ 
     44# OptMode indicates the optimization mode choosen during compilation 
     45# This variable is used in the executable name 
     46OptMode=prod 
    3947 
    4048#======================================================================== 
     
    174182[Executable] 
    175183#D- For each component, Real name of executable, Name of executable for oasis 
    176 ATM= (gcm.e, lmdz.x, 71MPI, 8OMP) 
     184ATM= (gcm_${ResolAtm}_${OptMode}.e, lmdz.x, 71MPI, 8OMP) 
    177185SRF= ("" ,"" ) 
    178186SBG= ("" ,"" ) 
     
    181189MBG= ("" ,"" ) 
    182190CPL= ("", "" ) 
    183 IOS= (xios_server.exe, xios.x, 1MPI) 
     191IOS= (xios_server_${OptMode}.exe, xios.x, 1MPI) 
    184192 
    185193#======================================================================== 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/IPSLCM/piControl_TEST/config.card

    r4413 r4615  
    3737#-- Source following file with module settings, only if it exists 
    3838EnvFile=`pwd`/../ARCH/arch.env 
     39#============================ 
     40#-- ResolAtm indicates the atmospheric resolution 
     41#   This variable is used in the executable name  
     42ResolAtm=144x142x79 
     43#============================ 
     44# OptMode indicates the optimization mode choosen during compilation 
     45# This variable is used in the executable name 
     46OptMode=prod 
    3947 
    4048#======================================================================== 
     
    174182[Executable] 
    175183#D- For each component, Real name of executable, Name of executable for oasis 
    176 ATM= (gcm.e, lmdz.x, 71MPI, 8OMP) 
     184ATM= (gcm_${ResolAtm}_${OptMode}.e, lmdz.x, 71MPI, 8OMP) 
    177185SRF= ("" ,"" ) 
    178186SBG= ("" ,"" ) 
     
    181189MBG= ("" ,"" ) 
    182190CPL= ("", "" ) 
    183 IOS= (xios_server.exe, xios.x, 1MPI) 
     191IOS= (xios_server_${OptMode}.exe, xios.x, 1MPI) 
    184192 
    185193#======================================================================== 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/IPSLESM/CO2/piControl_TEST/config.card

    r4468 r4615  
    3939#-- Source following file with module settings, only if it exists 
    4040EnvFile=`pwd`/../ARCH/arch.env 
     41#============================ 
     42#-- ResolAtm indicates the atmospheric resolution 
     43#   This variable is used in the executable name  
     44ResolAtm=144x142x79 
     45#============================ 
     46# OptMode indicates the optimization mode choosen during compilation 
     47# This variable is used in the executable name 
     48OptMode=prod 
    4149 
    4250#======================================================================== 
     
    176184[Executable] 
    177185#D- For each component, Real name of executable, Name of executable for oasis 
    178 ATM= (gcm.e, lmdz.x, 71MPI, 8OMP) 
     186ATM= (gcm_${ResolAtm}_${OptMode}.e, lmdz.x, 71MPI, 8OMP) 
    179187SRF= ("" ,"" ) 
    180188SBG= ("" ,"" ) 
     
    183191MBG= ("" ,"" ) 
    184192CPL= ("", "" ) 
    185 IOS= (xios_server.exe, xios.x, 1MPI) 
     193IOS= (xios_server_${OptMode}.exe, xios.x, 1MPI) 
    186194 
    187195#======================================================================== 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/LMDZOR/amip/config.card

    r4413 r4615  
    3232#-- Source following file with module settings, only if it exists 
    3333EnvFile=`pwd`/../ARCH/arch.env 
     34#============================ 
     35#-- ResolAtm indicates the atmospheric resolution 
     36#   This variable is used in the executable name  
     37ResolAtm=144x142x79 
     38#============================ 
     39# OptMode indicates the optimization mode choosen during compilation 
     40# This variable is used in the executable name 
     41OptMode=prod 
    3442 
    3543#======================================================================== 
     
    4856#D- Here is set 47MPI*8OMP which is suitable for resolution 144x142x79 
    4957#D- Change to 31MPI*4OMP for resolution 96x95x39 
    50 ATM= (gcm.e, lmdz.x, 71MPI, 8OMP) 
     58ATM= (gcm_${ResolAtm}_${OptMode}.e, lmdz.x, 71MPI, 8OMP) 
    5159SRF= ("", "") 
    5260SBG= ("", "") 
    53 IOS= (xios_server.exe, xios.x, 1MPI) 
     61IOS= (xios_server_${OptMode}.exe, xios.x, 1MPI) 
    5462 
    5563#======================================================================== 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/LMDZOR/clim_pdControl/config.card

    r4413 r4615  
    3232#-- Source following file with module settings, only if it exists 
    3333EnvFile=`pwd`/../ARCH/arch.env 
     34#============================ 
     35#-- ResolAtm indicates the atmospheric resolution 
     36#   This variable is used in the executable name  
     37ResolAtm=144x142x79 
     38#============================ 
     39# OptMode indicates the optimization mode choosen during compilation 
     40# This variable is used in the executable name 
     41OptMode=prod 
    3442 
    3543#======================================================================== 
     
    4856#D- Here is set 47MPI*8OMP which is suitable for resolution 144x142x79 
    4957#D- Change to 31MPI*4OMP for resolution 96x95x39 
    50 ATM= (gcm.e, lmdz.x, 71MPI, 8OMP) 
     58ATM= (gcm_${ResolAtm}_${OptMode}.e, lmdz.x, 71MPI, 8OMP) 
    5159SRF= ("", "") 
    5260SBG= ("", "") 
    53 IOS= (xios_server.exe, xios.x, 1MPI) 
     61IOS= (xios_server_${OptMode}.exe, xios.x, 1MPI) 
    5462 
    5563#======================================================================== 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/GENERAL/DRIVER/lmdz.driver

    r4468 r4615  
    55    IGCM_debug_PushStack "ATM_Initialize" 
    66 
    7     RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' | awk "-F-" '{print $1}') 
    8  
    9     [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x39 
     7    # Read the resolution from the variables ResolAtm set in config.card UserChoices section or from .resol file 
     8    if [ X$ResolAtm != X ] ; then 
     9        # ResolAtm is set in config.card 
     10        RESOL_ATM_3D=${ResolAtm} 
     11    elif [ -f ${SUBMIT_DIR}/../.resol ] ; then 
     12        # ResolAtm was not set in config.card, try to read .resol file 
     13        eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x39 
     14    else 
     15        IGCM_debug_Exit "ResolAtm is not set in config.card and the .resol file does not exist." 
     16        IGCM_debug_Verif_Exit 
     17    fi 
     18     
     19    IGCM_debug_Print 1 "The atomsopheric resolution is ${RESOL_ATM_3D} "  
    1020 
    1121    RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' ) 
Note: See TracChangeset for help on using the changeset viewer.