Changeset 2562


Ignore:
Timestamp:
2011-01-18T17:22:47+01:00 (10 years ago)
Author:
flavoni
Message:

add test in fcm_job.sh, see ticket #752

Location:
trunk/NEMOGCM/SETTE
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/SETTE/all_functions.sh

    r2546 r2562  
    9494                echo "`ls ${SETTE_DIR}/output.sette`" 
    9595        fi 
     96 
    9697        echo "executing script : set_namelist $@" >> ${SETTE_DIR}/output.sette 
    9798        echo "################" >> ${SETTE_DIR}/output.sette 
  • trunk/NEMOGCM/SETTE/fcm_job.sh

    r2553 r2562  
    1 ###################################################### 
     1##################################################### 
    22# Author : Simona Flavoni for NEMO 
    33# Contact : sflod@locean-ipsl.upmc.fr 
     
    8888           echo "`ls ${SETTE_DIR}/output.sette`" 
    8989   fi 
    90    echo "executing script : fcm_job $@" >> ${SETTE_DIR}/output.sette 
    91    echo "            " >> ${SETTE_DIR}/output.sette 
     90        
     91echo "date: `date`" >> ${SETTE_DIR}/output.sette 
     92echo "" >> ${SETTE_DIR}/output.sette 
     93echo "running config: ${NEW_CONF}" >> ${SETTE_DIR}/output.sette 
     94echo "" >> ${SETTE_DIR}/output.sette 
     95echo "list of cpp_keys: " >> ${SETTE_DIR}/output.sette 
     96echo "`more ../CONFIG/${NEW_CONF}/cpp_${NEW_CONF}.fcm`" >> ${SETTE_DIR}/output.sette 
     97echo "" >> ${SETTE_DIR}/output.sette 
     98echo "executing script : fcm_job $@" >> ${SETTE_DIR}/output.sette 
     99echo "            " >> ${SETTE_DIR}/output.sette 
    92100 
     101################################################################ 
    93102# SET INPUT 
    94103# get the input tarfile if needed 
     
    142151fi 
    143152################################################################ 
     153# SMALL DEBUG 
     154# echo "control that time.step exists 
     155if [ ! -r ${INPUT_DIR}/time.step ] 
     156    then 
     157    echo "file time.step does not exist"   >> ${SETTE_DIR}/output.sette 
     158    echo "some problems during execution of model"  >> ${SETTE_DIR}/output.sette  
     159    exit 1 
     160else 
     161    echo "file time.step exists"  >> ${SETTE_DIR}/output.sette 
     162    echo "ok model run"   >> ${SETTE_DIR}/output.sette 
     163fi 
     164################################################################ 
    144165 
    145166################################################################ 
    146 ## -- Save output files 
    147167 
    148 #- Save ocean output files 
    149 echo "saving ocean & ice output, debug & restarts files" >> ${SETTE_DIR}/output.sette 
     168################################################################ 
     169# SAVE OUTPUT, DEBUG & RESTART FILES 
     170echo "saving ocean & ice output, debug & restart files" >> ${SETTE_DIR}/output.sette 
    150171echo "            " >> ${SETTE_DIR}/output.sette 
    151172[ ! -d ${OUTPUT_DIR} ] && mkdir ${OUTPUT_DIR} 
  • trunk/NEMOGCM/SETTE/param.cfg

    r2545 r2562  
    11EXE_DIR=${CONFIG_DIR}      
    22#- forcing files storing  
    3 FORCING_DIR=~/FORCING 
     3FORCING_DIR=~/FORCING_CORE2 
    44#- input files storing  
    55INPUT_DIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 
  • trunk/NEMOGCM/SETTE/sette.sh

    r2546 r2562  
    108108#- 
    109109# 
    110 SETTE_DIR=/PATH/OF/SETTE 
     110SETTE_DIR=~/update_sette 
    111111 
    112112cd ${SETTE_DIR} 
Note: See TracChangeset for help on using the changeset viewer.