Ignore:
Timestamp:
2015-07-03T17:05:52+02:00 (5 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Add script to install 'trusting' directory for a branch (checkout requested dirs && compile rebuild_nemo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh

    r5529 r5542  
    4444    echo 'Last time step of standard run: '${LAST_TIME_STEP} 
    4545 
    46 #    if [ $( find -name "*${LAST_TIME_STEP}_restart*.nc" -print -quit ) ]; then 
    4746    if [ $( find -regex ".*_0+${LAST_TIME_STEP}_restart.*\.nc" -print -quit ) ]; then 
    48 #  base_name=$( find -name "*${LAST_TIME_STEP}_restart*.nc" -print -quit | awk -F/ '{print $NF}' \ 
    49 #               | sed "s/^\(.*\)$LAST_TIME_STEP\_restart.*/\1$LAST_TIME_STEP\_/"                  ) 
    5047   base_name=$( find -regex ".*_0+${LAST_TIME_STEP}_restart.*\.nc" -print -quit | awk -F/ '{print $NF}' \ 
    5148                | sed "s/^\(.*\)$LAST_TIME_STEP\_restart.*/\1$LAST_TIME_STEP\_/"                         ) 
     
    196193    ERR=$1 
    197194 
     195    cd ${TEST_DIR} 
    198196    printf "Status\n$ST\n"  > mesg_02_status_${CFG_USER}_${CFG_ARCH}.txt 
    199197 
    200198    if [ "$ST" == 'FAILED' ]; then 
    201    cd ${TEST_DIR} 
    202  
    203199   if [ ! -e mesg_09_inputs_${CFG_USER}_${CFG_ARCH}.txt ]; then 
    204200       printf "Input files\n\n"   > mesg_09_inputs_${CFG_USER}_${CFG_ARCH}.txt 
Note: See TracChangeset for help on using the changeset viewer.