#-Q- platine #!/usr/bin/ksh #-Q- platine ################## #-Q- platine ## PLATINE CEA ## #-Q- platine ################## #-Q- platine #BSUB -J MONITORING # Nom du job #-Q- platine #BSUB -N # message a la fin du job #-Q- platine #BSUB -n 1 # reservation des processeurs pour le job #-Q- platine #BSUB -W 1:00 # Limite temps #-Q- platine #BSUB -q post # Passage en queue post #-Q- sx8brodie ####################### #-Q- sx8brodie ## SX8BRODIE IDRIS ## #-Q- sx8brodie ####################### #-Q- sx8brodie #QSUB -r MONITORING # Nom du job #-Q- sx8brodie #QSUB -lT 1:00:00 # limite en temps total #-Q- sx8brodie #QSUB -eo # rassemble standard error et output #-Q- sx8brodie #QSUB -J m #-Q- sx8brodie #QSUB -l mpp_p=4 #-Q- sx8brodie #QSUB -s /bin/ksh # shell du job #-Q- sx8mercure #!/bin/ksh #-Q- sx8mercure ###################### #-Q- sx8mercure ## SX8MERCURE CEA ## #-Q- sx8mercure ###################### #-Q- sx8mercure #PBS -N MONITORING # Nom du job #-Q- sx8mercure #PBS -j o # regroupement des stdout et stderr #-Q- sx8mercure #PBS -S /usr/bin/ksh # shell de soumission #-Q- sx8mercure #PBS -l memsz_job=1gb # Limite memoire a 1 Go #-Q- sx8mercure #PBS -l cputim_job=1:00:00 # Limite temps a 2 heures #-Q- sx8mercure #PBS -q scalaire #-Q- default #!/bin/ksh #-Q- default ################## #-Q- default ## DEFAULT HOST ## #-Q- default ################## # $Date$ # $Author$ # $Revision$ # IPSL (2006) # This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC date #-Q- sx8brodie export OMP_NUM_THREADS=1 ###################################################################### . ${libIGCM}/libIGCM_debug/libIGCM_debug.ksh ; . ${libIGCM}/libIGCM_sys/libIGCM_sys.ksh ; #IGCM_debug_Check . ${libIGCM}/libIGCM_card/libIGCM_card.ksh ; #IGCM_card_Check ###################################################################### #set -vx #=========================================== cd ${RUN_DIR_PATH} if [ ${StandAlone} = true ] ; then CARD_DIR=${SUBMIT_DIR} else CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} fi # # First of all # IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices typeset option for option in ${config_UserChoices[*]} ; do IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} done IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} # IGCM_sys_Get_Dir ${R_SAVE}/MONITORING ${RUN_DIR_PATH} # -------------------------------------------- # Insert your commands between III...III lines # and precise produced directories to save # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII for comp in ${config_ListOfComponents[*]} ; do liste_file_monitoring="" IGCM_card_DefineArrayFromOption ${CARD_DIR}/config.card ListOfComponents ${comp} eval compname=\${config_ListOfComponents_${comp}[0]} > /dev/null 2>&1 eval monitoring_file=monitoring01_${compname}_\${RESOL_${comp}}.cfg > /dev/null 2>&1 # [ -f ${FER_ATLAS}/${monitoring_file} ] && liste_file_monitoring=$( monitoring01 -q -l2 ${FER_ATLAS}/${monitoring_file} ${R_SAVE}/${comp}/Analyse/TS_MO ) # if [ ! "X${liste_file_monitoring}" = X ] ; then IGCM_sys_Get /l liste_file_monitoring ${RUN_DIR_PATH} monitoring01 -q -p ${comp} -t "${config_UserChoices_JobName} monitoring" -o ${RUN_DIR_PATH}/MONITORING ${FER_ATLAS}/${monitoring_file} ${RUN_DIR_PATH} fi # done # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII # Save files IGCM_sys_Put_Dir MONITORING ${R_SAVE} # Dods copy IGCM_sys_Put_Dods MONITORING exit