Changeset 1271 for trunk/libIGCM/ins_job


Ignore:
Timestamp:
11/18/15 10:27:30 (9 years ago)
Author:
jgipsl
Message:

Now ins_job only treats the config.card in the directory from where the script is launched. See ticket #269

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1259 r1271  
    168168F_CFG_ENS='ensemble.card'; 
    169169SUBMIT_DIR_ENS=$( pwd ) 
    170 for i in $(find ${d_n}/../config -name ${F_CFG} -print) 
     170for i in $( pwd )/config.card  
    171171do 
     172  if [ ! -f $i ] ; then 
     173    echo "" 
     174    echo "################## WARNING ##################" 
     175    echo "No config.card available in current directory" 
     176    echo "" 
     177    continue  
     178  fi  
     179 
     180 
    172181  j=$(cd ${i%/*};/bin/pwd;) 
    173182  n_f=${F_RCI##*/}; 
Note: See TracChangeset for help on using the changeset viewer.