Ignore:
Timestamp:
2011-01-11T11:21:18+01:00 (10 years ago)
Author:
flavoni
Message:

change test in fcm_job.sh, see ticket #752

File:
1 edited

Legend:

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

    • Property svn:keywords set to Id
    r2545 r2546  
    22# Author : Simona Flavoni for NEMO 
    33# Contact : sflod@locean-ipsl.upmc.fr 
     4# 
     5# ---------------------------------------------------------------------- 
     6# NEMO/SETTE , NEMO Consortium (2010) 
     7# Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     8# ---------------------------------------------------------------------- 
    49# 
    510# Some scripts called by sette.sh  
     
    122127cd ${INPUT_DIR} 
    123128NB_PROC=$2 
    124  if [ ${NB_PROC} == 1 ] ; then 
     129if [! -r ${INPUT_DIR}/opa ] 
     130   then 
     131   echo "executable opa does not exist" 
     132   exit 1 
     133fi 
     134if [ ${NB_PROC} == 1 ] ; then 
    125135 opa_command='./opa'  # !! to test if executable is created 
    126136          type ${opa_command} 
Note: See TracChangeset for help on using the changeset viewer.