Ignore:
Timestamp:
09/05/22 16:20:13 (20 months ago)
Author:
ssenesi
Message:

Handle C-ESM-EP atlas in post-processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_CESMEP/ins_job

    r1547 r1554  
    653653   
    654654fi 
     655# 
     656# Install a light copy of C-ESM-EP in SUBMIT_DIR/Cesmep and create a 
     657# C-ESM-EP launch script there. 
     658# 
     659[ ${new_struct} == yes ] && prefix="$JobName/"   
     660IGCM_card_DefineVariableFromOption ${prefix}config.card Post Cesmep 
     661 
     662# Compute mail adress - inspired by libIGCM_post.ksh - should be turned in a function  
     663if [ ! -z ${config_UserChoices_MailName} ] ; then 
     664    MailAdress=${config_UserChoices_MailName} 
     665elif [ -f ~/.forward ] ; then 
     666    MailAdress=$( cat ~/.forward ) 
     667else 
     668    MailAdress=${USER} 
     669fi 
     670 
     671# 
     672if [ ${config_Post_Cesmep} != FALSE ]; then 
     673    if [ X"${SYSTEM}" == "Xirene" ] ; then 
     674       IGCM_card_DefineVariableFromOption ${prefix}config.card Post CesmepCode 
     675       IGCM_card_DefineVariableFromOption ${prefix}config.card Post CesmepComparison 
     676       IGCM_card_DefineVariableFromOption ${prefix}config.card UserChoices DateBegin 
     677       # Need R_SAVE  
     678       IGCM_config_CommonConfiguration ${prefix}config.card 
     679       ${config_Post_CesmepCode}/libIGCM_install.sh $(pwd)/${prefix} \ 
     680                   ${config_Post_CesmepComparison} $JobName ${R_SAVE} ${ProjectID} \ 
     681                   ${MailAdress} ${config_UserChoices_DateBegin} ${config_Post_Cesmep}  
     682   else 
     683       echo "\nERROR Cannot yet handle CESMEP on this computer system" 
     684       echo "=> Variable Cesmep in config.card's section Post must be set to FALSE" 
     685       exit 5 
     686   fi 
     687fi 
    655688#- 
    656689[[ ${x_v} = 'verbose' ]] && print - ""; 
Note: See TracChangeset for help on using the changeset viewer.