Changeset 615


Ignore:
Timestamp:
03/29/12 10:19:21 (12 years ago)
Author:
sdipsl
Message:
  • on SX9 find needs -print to do something
  • Bugfix with a print
Location:
trunk/libIGCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r599 r615  
    2424  typeset comp compname comptagname CompatibilityTag auxprint card_UserChoices first_option option i j 
    2525  for comp in ${config_ListOfComponents[*]} ; do 
    26     # Debug Print 
    27     IGCM_debug_Print 1 "Initialize ${comp} : ${compname} component." 
    2826 
    2927    # Define component  
     
    3129    eval compname=\${config_ListOfComponents_${comp}[0]} > /dev/null 2>&1 
    3230    eval comptagname=\${config_ListOfComponents_${comp}[1]} > /dev/null 2>&1 
     31 
     32    # Debug Print 
     33    IGCM_debug_Print 1 "Initialize ${comp} : ${compname} component." 
    3334 
    3435    # Read libIGCM compatibility version in ${compname}.card 
     
    750751            # Look after the tar file we want if we did not found it already 
    751752            if [ X${IsMatching} = X ] ; then 
    752               for PotentialTarFile in $( find ${R_SAVE}/RESTART -name "${config_UserChoices_JobName}_*_restart.tar" ) ; do 
     753              for PotentialTarFile in $( find ${R_SAVE}/RESTART -name "${config_UserChoices_JobName}_*_restart.tar" -print ) ; do 
    753754                IsMatching=$( echo $( basename ${PotentialTarFile} ) | sed "s:^${config_UserChoices_JobName}_::" | sed "s:\.restart\.tar$::" | gawk -F_ -v restartdate=${LastPeriodDateEnd} '{if (($1 < restartdate) && ($2 >= restartdate)) {print $1"_"$2}}' ) 
    754755                if [ ! X${IsMatching} = X ] ; then 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercure.ksh

    r591 r615  
    135135#==================================================== 
    136136#- RUN_DIR_PATH : Temporary working directory (=> TMP) 
    137 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${CSCRATCHDIR}/TMPDIR_IGCM/${JOBID}} 
     137#typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${CSCRATCHDIR}/TMPDIR_IGCM/${JOBID}} 
     138typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${TMPDIR}} 
    138139 
    139140#==================================================== 
Note: See TracChangeset for help on using the changeset viewer.