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/libIGCM_config/libIGCM_config.ksh

    r230 r263  
    161161    #==================================================== 
    162162    #R_SAVE : Job output directory 
    163     R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     163    if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 
     164        FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 
     165        R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
     166        R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
     167    else 
     168        R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     169        R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     170    fi 
     171    echo MAF $R_SAVE $R_DODS 
    164172 
    165173    if [ ! -f ${SUBMIT_DIR}/run.card ]; then  
Note: See TracChangeset for help on using the changeset viewer.