- Timestamp:
- 09/12/12 17:05:43 (12 years ago)
- Location:
- TOOLS/PACK_IPSL
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/enlarge_my_files.sh
r1875 r1876 280 280 #----------------------------------- 281 281 # nbtries = number of lines from status file (first comment line gives 1 for the first try) 282 #nbtries=`wc -l $statusfile | cut -d' ' -f1`282 nbtries=`wc -l $statusfile | cut -d' ' -f1` 283 283 # echo "Nb of tries: $nbtries" 284 284 … … 364 364 #----------------------------------- 365 365 # nbtries = number of lines from status file (first comment line gives 1 for the first try) 366 #nbtries=`wc -l $statusfile | cut -d' ' -f1`366 nbtries=`wc -l $statusfile | cut -d' ' -f1` 367 367 # echo "Nb of tries: $nbtries" 368 368 … … 440 440 #----------------------------------- 441 441 # nbtries = number of lines from status file (first comment line gives 1 for the first try) 442 #nbtries=`wc -l $statusfile | cut -d' ' -f1`442 nbtries=`wc -l $statusfile | cut -d' ' -f1` 443 443 # echo "Nb of tries: $nbtries" 444 444 … … 516 516 #----------------------------------- 517 517 # nbtries = number of lines from status file (first comment line gives 1 for the first try) 518 #nbtries=`wc -l $statusfile | cut -d' ' -f1`518 nbtries=`wc -l $statusfile | cut -d' ' -f1` 519 519 # echo "Nb of tries: $nbtries" 520 520 … … 585 585 #----------------------------------- 586 586 # nbtries = number of lines from status file (first comment line gives 1 for the first try) 587 #nbtries=`wc -l $statusfile | cut -d' ' -f1`587 nbtries=`wc -l $statusfile | cut -d' ' -f1` 588 588 # echo "Nb of tries: $nbtries" 589 589 … … 627 627 done 628 628 fi 629 # if [ "$baseNameOfListFile" == "tar_full_simul.list" ] 629 630 630 for set in $( ls ${PATH_SIMU}/*.list | grep "tar_full_simul" ) 631 631 do … … 650 650 printf "====> " 651 651 tail -1 $statusfile 652 exit 0652 continue 653 653 fi 654 654 655 #----------------------------------- 656 # nbtries = number of lines from status file (first comment line gives 1 for the first try) 657 nbtries=`wc -l $statusfile | cut -d' ' -f1` 658 # echo "Nb of tries: $nbtries" 659 655 660 #----------------------------------- 656 661 # Set output file name from list name 657 662 # echo "PATH_SIMU=$PATH_SIMU" 658 663 dirOfOutputFile=`echo $PATH_SIMU | sed "s;${IGCM_DEM};${OUTPUT_STORE};" ` 659 fileout=${dirnameOfListFile}.tar 664 # echo "dirOfOutputFile=$dirOfOutputFile" 665 dirOfOutputFile_Up=$( dirname $dirOfOutputFile ) 666 PATH_SIMU_NAME=$( basename $dirOfOutputFile ) 667 fileout=${PATH_SIMU_NAME}.tar 660 668 # echo "dirnameOfListFile=$dirnameOfListFile" 661 outputfile=$dirOfOutputFile/${fileout} 662 mkdir -p $dirOfOutputFile 669 outputfile=$dirOfOutputFile_Up/${fileout} 670 # echo "outputfile=$outputfile" 671 # exit 1 # gpdebug : a virer 672 mkdir -p $dirOfOutputFile_Up 663 673 echo "Output file to write: $outputfile tar_full_simul" 664 674 -
TOOLS/PACK_IPSL/launch_ipsl_enlarge.sh
r1875 r1876 128 128 DEM_write_state ${IGCM_DEM}/config_card.liste ${CONFIG} TarRunning 129 129 export PATH_SIMU=$( dirname $CONFIG ) 130 ${EXE_DIR}/tar_full_simu.sh ${INPUT_DMF_DATA} ${OUTPUT_STORE} ${CONFIG}131 130 # ${EXE_DIR}/tar_full_simu.sh ${INPUT_DMF_DATA} ${OUTPUT_STORE} ${CONFIG} 131 ${EXE_DIR}/enlarge_my_files.sh ${INPUT_DMF_DATA} ${OUTPUT_STORE} ${CONFIG} 132 132 DEM_write_state ${IGCM_DEM}/config_card.liste ${CONFIG} TarDone 133 133 -
TOOLS/PACK_IPSL/showPackProgress.sh
r1871 r1876 250 250 nbOfListsNottreated=$(( $nbOfListsNottreated + 1 )) 251 251 simuOK=$(( $simuOK && 0 )) # marque une simu pas OK 252 simutreated=$(( $simutreated && 0 )) # marque une simu non completement traitee252 simutreated=$(( $simutreated && 0 )) # marque une simu non completement traitee 253 253 fi 254 254
Note: See TracChangeset
for help on using the changeset viewer.