Ignore:
Timestamp:
03/29/12 10:56:09 (12 years ago)
Author:
sdipsl
Message:
  • Merge libIGCM_MPI_OpenMP branch within the trunk
  • trunk will shortly be tagged libIGCM_2.0_beta
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_pack_debug

    r590 r616  
    7979#-Q- sx9mercure #!/bin/ksh 
    8080#-Q- sx9mercure ###################### 
    81 #-Q- sx9mercure ## CESIUM   CEA ## 
     81#-Q- sx9mercure ## SX9MERCURE  CCRT ## 
    8282#-Q- sx9mercure ###################### 
    83 #-Q- sx9mercure #MSUB -r PACKDEBUG    # Nom du job 
    84 #-Q- sx9mercure #MSUB -N 1              # Reservation du noeud 
    85 #-Q- sx9mercure #MSUB -n 1              # Reservation du processus 
    86 #-Q- sx9mercure #MSUB -T 86400          # Limite de temps elapsed du job 
    87 #-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 
    8989#-Q- titane #!/bin/ksh 
    9090#-Q- titane ###################### 
     
    220220else 
    221221    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 
     222    # warning! we copy useless files : Job_xxx, Script_output_xxx, .... 
    222223    IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 
    223224fi 
     
    276277# Clear txt file lists 
    277278rm -f ${RUN_DIR}/liste_debug_files.txt 
     279rm -f ${RUN_DIR}/liste_out_files.txt 
    278280rm -f ${RUN_DIR}/new_liste_debug_files.txt 
    279281rm -f ${RUN_DIR}/liste_pack_*.txt 
     
    282284find ${R_BUFR}/*/Debug -type f | sort >> ${RUN_DIR}/liste_debug_files.txt 
    283285 
    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 
    285287#gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("cp --preserve " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 
    286288gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 
    287289 
    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 
     291find ${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 
     294gawk -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. 
     297find ${RUN_DIR} -name "???_*${JobName}*" -ls | grep -v Job_ | sort -k 11 > ${RUN_DIR}/new_liste_debug_files.txt 
    290298 
    291299# ------------------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.