Ignore:
Timestamp:
12/09/08 10:08:51 (16 years ago)
Author:
sdipsl
Message:

ACa,SD : - We use IGCM_sys_Nb_files_archive new function to know if we need to manage *restart_????.nc or *restart.nc

  • Perhaps last commit on trunk before tag (some simulations log related commit to come and libsys for Vargas)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercureTX.ksh

    r40 r41  
    178178 
    179179#D-#================================================== 
     180#D-function IGCM_sys_Nb_files_archive 
     181#D-* Purpose: Count files on Archive filesystem 
     182#D-* Examples: 
     183#D- 
     184function IGCM_sys_Nb_files_archive { 
     185   ls ${@} 2>/dev/null | wc -l 
     186   if [ $? -gt 0 ] ; then 
     187       echo "IGCM_sys_RshArchive : erreur." 
     188   fi 
     189} 
     190 
     191#D-#================================================== 
    180192#D-function IGCM_sys_RshPost 
    181193#D-* Purpose: Master rsh command 
Note: See TracChangeset for help on using the changeset viewer.