Changeset 616 for trunk/libIGCM/AA_pack_debug
- Timestamp:
- 03/29/12 10:56:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_pack_debug
r590 r616 79 79 #-Q- sx9mercure #!/bin/ksh 80 80 #-Q- sx9mercure ###################### 81 #-Q- sx9mercure ## CESIUM CEA##81 #-Q- sx9mercure ## SX9MERCURE CCRT ## 82 82 #-Q- sx9mercure ###################### 83 #-Q- sx9mercure # MSUB -r PACKDEBUG# Nom du job84 #-Q- sx9mercure # MSUB -N 1 # Reservation du noeud85 #-Q- sx9mercure # MSUB -n 1 # Reservation du processus86 #-Q- sx9mercure # MSUB -T 86400 # Limite de temps elapsed du job87 #-Q- sx9mercure # MSUB -E "-j o"88 #-Q- sx9mercure # MSUB -E "-S /bin/ksh"83 #-Q- sx9mercure #PBS -N PACKDEBUG # Nom du job 84 #-Q- sx9mercure #PBS -j o # regroupement des stdout et stderr 85 #-Q- sx9mercure #PBS -S /usr/bin/ksh # shell de soumission 86 #-Q- sx9mercure #PBS -l memsz_job=1gb # Limite memoire a 1 Go 87 #-Q- sx9mercure #PBS -l elapstim_req=24:00:00 # Limite temps a 1 heures 88 #-Q- sx9mercure #PBS -q scalaire 89 89 #-Q- titane #!/bin/ksh 90 90 #-Q- titane ###################### … … 220 220 else 221 221 CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 222 # warning! we copy useless files : Job_xxx, Script_output_xxx, .... 222 223 IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 223 224 fi … … 276 277 # Clear txt file lists 277 278 rm -f ${RUN_DIR}/liste_debug_files.txt 279 rm -f ${RUN_DIR}/liste_out_files.txt 278 280 rm -f ${RUN_DIR}/new_liste_debug_files.txt 279 281 rm -f ${RUN_DIR}/liste_pack_*.txt … … 282 284 find ${R_BUFR}/*/Debug -type f | sort >> ${RUN_DIR}/liste_debug_files.txt 283 285 284 # Rename debug files we will work with using symlinks 286 # Rename debug files we will work with using symlinks. use ???_ prefix ie NF-2 285 287 #gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("cp --preserve " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 286 288 gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 287 289 288 # List renamed debug files 289 find ${RUN_DIR} -name "???_*${JobName}*" -ls | sort -k 11 > ${RUN_DIR}/new_liste_debug_files.txt 290 # Add out_ : output of execution files 291 find ${R_BUFR}/Out -type f -name '*out_*' | sort >> ${RUN_DIR}/liste_out_files.txt 292 293 # Rename out files we will work with using symlinks. use Out_ prefix ie NF-1 294 gawk -F/ '{dest_name=$(NF-1)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_out_files.txt 295 296 # List renamed debug files. Exclude Job_xxx files. 297 find ${RUN_DIR} -name "???_*${JobName}*" -ls | grep -v Job_ | sort -k 11 > ${RUN_DIR}/new_liste_debug_files.txt 290 298 291 299 # ------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.