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_mercure.ksh

    r40 r41  
    143143 
    144144#D-#================================================== 
     145#D-function IGCM_sys_Nb_files_archive 
     146#D-* Purpose: Count files on Archive filesystem 
     147#D-* Examples: 
     148#D- 
     149function IGCM_sys_Nb_files_archive { 
     150   ls ${@} 2>/dev/null | wc -l 
     151   if [ $? -gt 0 ] ; then 
     152       echo "IGCM_sys_RshArchive : erreur." 
     153   fi 
     154} 
     155 
     156#D-#================================================== 
    145157#D-function IGCM_sys_RshPost 
    146158#D-* Purpose: Post-process rsh command 
Note: See TracChangeset for help on using the changeset viewer.