New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 4049 for branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/prepare_job.sh – NEMO

Ignore:
Timestamp:
2013-10-03T11:07:09+02:00 (11 years ago)
Author:
clevy
Message:

Configuration setting/bugfixes for SETTE see ticket:#1074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/prepare_job.sh

    r4044 r4049  
    119119   echo "NB of tarfiles ${NBTAR} " >> ${SETTE_DIR}/output.sette 
    120120# loop on tarfiles 
    121    for nbtar_file in ${NBTAR} ; do 
    122 # read file name and directory in FORCING dir 
    123       read tar_file dir_conf_forc < ${SETTE_DIR}/$INPUTARFILE 
     121# read file name and directory 
     122while read tar_file dir_conf_forc  
     123do 
    124124      echo looking for tarfile ${tar_file} and directory ${FORCING_DIR}/${dir_conf_forc} ; echo looking for tarfile ${tar_file} and directory ${FORCING_DIR}/${dir_conf_forc} >> ${SETTE_DIR}/output.sette 
    125125      if [ -f ${FORCING_DIR}/${tar_file} ] && [ -d ${FORCING_DIR}/${dir_conf_forc} ] ; then 
     
    144144           [ -f ${EXE_DIR}/${fida} ] || ln -s ${FORCING_DIR}/${dir_conf_forc}/${fida} ${EXE_DIR}/${fida} 
    145145         done 
    146     done 
     146    done < ${SETTE_DIR}/$INPUTARFILE 
    147147 
    148148else 
Note: See TracChangeset for help on using the changeset viewer.