#-Q- platine #!/usr/bin/ksh #-Q- platine ################## #-Q- platine ## PLATINE CEA ## #-Q- platine ################## #-Q- platine #BSUB -J ATL_ORCH # 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- sx8brodie ####################### #-Q- sx8brodie ## SX8BRODIE IDRIS ## #-Q- sx8brodie ####################### #-Q- sx8brodie #QSUB -r ATL_ORCH # Nom du job #-Q- sx8brodie #QSUB -lT 01: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 ATL_ORCH # 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 #set -vx #D- Low level debug : to bypass lib test checks and stack construction #D- Default : value from AA_job if any DEBUG_debug=${DEBUG_debug:=false} if [ ${DEBUG_debug} = true ] ; then echo $RUN_DIR_PATH MYWORK=$(echo $HOME | sed -e "s|home|scratchdir|") RUN_DIR_PATH=${MYWORK}/IGCM_OUT/${config_UserChoices_TagName}/${config_UserChoices_JobName}/MO2SE.${an_fin} fi ######################################################################## . ${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 R_ATLAS=ATLAS/SE_${YEARS} R_OUT_SRF=${R_SAVE}/SRF RUN_DIR=${RUN_DIR_PATH}/ATLAS_ORCHIDEE_${YEARS} IGCM_sys_MkdirWork ${RUN_DIR} IGCM_sys_Cd ${RUN_DIR} # -------------------------------------------- # Insert your commands between III...III lines # and precise produced directories to save # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IGCM_sys_Get ${R_OUT_SRF}/Analyse/SE/${config_UserChoices_JobName}_SE_${YEARS}_1M_sechiba_history.nc ${RUN_DIR} atlas -o ${RUN_DIR}/${R_ATLAS}/SRF -l ${FER_ATLAS}/atlas_p_ORCHIDEE_diag1_*.cfg \ ${FER_ATLAS}/atlas_p_SECHIBA_diag1_*.cfg \ ${FER_ATLAS}/atlas_p_ORCHIDEE_diag2_a.cfg ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_sechiba_history.nc # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII # Put ferret journal files together for file in $( ls ${R_ATLAS}/SRF/*/*jnl ) ; do echo -e "\n\n################################" ; echo -e "$file\n" ; cat $file ; done > ${R_ATLAS}/SRF/allferretscript.txt # Clear some files find . \( -name "*.stdout" -o -name "*.jnl" \) -print -exec rm -f {} \; # Save files IGCM_sys_Put_Dir ATLAS ${R_SAVE} IGCM_sys_Rm -Rf ATLAS IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_sechiba_history.nc # DODS copy [ -d ${R_SAVE}/${R_ATLAS} ] && IGCM_sys_Put_Dods ${R_ATLAS} date