Ignore:
Timestamp:
04/19/10 14:27:48 (14 years ago)
Author:
mafoipsl
Message:

Adapt libIGCM and jobs to new output Names : ${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName?} if SpaceName? and ExperimentName? are set into config.card. Still working with old types : ${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName}.
More information here : IPSLCM5A?
Add IPSLCM5A into atlas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_atlas_LMDZ

    r257 r263  
    2222#-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    2323#-Q- sx8brodie # @ notification = error 
    24 #-Q- sx8brodie # @ environment  = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER 
     24#-Q- sx8brodie # @ environment  = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER ; $libIGCM_SX 
    2525#-Q- sx8brodie # @ queue 
    2626#-Q- aix6 #!/bin/ksh 
     
    3838#-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    3939#-Q- aix6 # @ notification = error 
    40 #-Q- aix6 # @ environment  = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER 
     40#-Q- aix6 # @ environment  = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER ; $libIGCM_SX 
    4141#-Q- aix6 # @ queue 
    4242#-Q- sx8mercure #!/bin/ksh 
     
    106106#set -vx 
    107107 
     108IGCM_sys_MkdirWork ${RUN_DIR_PATH} 
     109IGCM_sys_Cd ${RUN_DIR_PATH} 
     110 
     111if [ ${StandAlone} = true ] ; then 
     112    CARD_DIR=${SUBMIT_DIR} 
     113else 
     114    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
     115    IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
     116fi 
     117# 
     118# First of all 
     119# 
     120IGCM_card_DefineArrayFromSection       ${CARD_DIR}/config.card UserChoices 
     121typeset option 
     122for option in ${config_UserChoices[*]} ; do 
     123    IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 
     124done 
     125 
     126# 
     127echo 
     128IGCM_debug_Print 1 "DefineArrayFromOption  : config_UserChoices" 
     129IGCM_debug_PrintVariables 3 config_UserChoices_JobName 
     130IGCM_debug_PrintVariables 3 config_UserChoices_LongName 
     131IGCM_debug_PrintVariables 3 config_UserChoices_TagName 
     132IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 
     133IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 
     134IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 
     135IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 
     136IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 
     137IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 
     138echo 
     139 
     140#================================== 
     141#R_SAVE : Job output directory 
     142if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 
     143    FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 
     144    R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
     145    R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
     146else 
     147    R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     148    R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     149fi 
     150# 
     151 
    108152R_ATLAS=ATLAS/SE_${YEARS} 
    109153R_OUT_ATM=${R_SAVE}/ATM 
Note: See TracChangeset for help on using the changeset viewer.