Ignore:
Timestamp:
10/10/12 18:01:47 (12 years ago)
Author:
aclsce
Message:
  • Added TaskType? variable in jobs to specify the type of the job (computing or post-processing).
  • Added the use of TaskType? variable in Curie libsys to source the appropriate .atlas_env* configuration file.
File:
1 edited

Legend:

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

    r711 r712  
    9090# Set environment tools (ferret, nco, cdo) 
    9191#==================================================== 
    92 . /ccc/cont003/home/dsm/p86ipsl/.atlas_env_curie_ksh 
     92if [ X${TaskType} = Xcomputing ] ; then 
     93  . /ccc/cont003/home/dsm/p86ipsl/.atlas_env_calcul_curie_ksh 
     94else 
     95  . /ccc/cont003/home/dsm/p86ipsl/.atlas_env_post_curie_ksh 
     96fi 
    9397 
    9498#==================================================== 
     
    173177#==================================================== 
    174178#- RUN_DIR_PATH : Temporary working directory (=> TMP) 
    175 if [ ! X${BRIDGE_MSUB_NPROC} = X1 ] ; then 
     179if [ X${TaskType} = Xcomputing ] ; then 
    176180  typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${SCRATCHDIR}/RUN_DIR/${BRIDGE_MSUB_JOBID}} 
    177181else 
Note: See TracChangeset for help on using the changeset viewer.