Changeset 1870
- Timestamp:
- 09/07/12 15:33:32 (12 years ago)
- Location:
- TOOLS/PACK_IPSL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/loadParameters.sh
r1865 r1870 3 3 # nombre de listes a verifier par l'outil "check_ncrcat_list.sh" 4 4 export nbListsToCheck=2 5 6 # Voulez vous le check ? 7 export doYouWantCheck="no" -
TOOLS/PACK_IPSL/parallelPack.sh
r1866 r1870 71 71 exit 1 72 72 fi 73 73 } 74 75 function checkParameters 76 { 77 isCheckVarOK=`echo $doYouWantCheck | grep -E '^(yes|no)$' | wc -l ` 78 if [ "x${isCheckVarOK}" == "x0" ] 79 then 80 echo "La variable 'doYouWantCheck' doit etre yes ou no" 81 exit 1 82 fi 74 83 } 75 84 … … 105 114 echo "force restart from the beginning ..." 106 115 ;; 116 -h|--help|-help) 117 echo "---------------------------------------------------" 118 echo "Usage: parallelPack.sh [-f]" 119 echo "Description:" 120 echo " Launches the simultaneous treatments (ncrcat, tar, cap) of" 121 echo " file lists contained in the IGCM_DEM directory." 122 echo " In case of machine crash, this script handle restarts from the point" 123 echo " the machine crashed." 124 echo 125 echo "Options:" 126 echo " -h, --help, -help" 127 echo " Print this manual" 128 echo " -f" 129 echo " Force to restart the treatments from the beginning" 130 echo "---------------------------------------------------" 131 exit 132 ;; 107 133 esac 108 134 shift … … 119 145 # On charge les parametres 120 146 . loadParameters.sh 147 148 checkParameters 121 149 122 150
Note: See TracChangeset
for help on using the changeset viewer.