Changeset 1432 for trunk/libIGCM


Ignore:
Timestamp:
03/30/18 15:07:44 (6 years ago)
Author:
jgipsl
Message:

Added first version of sys_irene copied from sys_curie.
Tested as far without post-treatement only with SpaceName?=TEST. As far, only tested with LMDZOR and ORCHIDEE offline without post-processing, only at scratchdir.
c
ccc_mprun mode is default at irene.

Location:
trunk/libIGCM
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r1427 r1432  
    2323#-Q- curie BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 
    2424#-Q- curie set +x 
     25#-Q- irene #!/bin/ksh 
     26#-Q- irene ###################### 
     27#-Q- irene ## IRENE   TGCC/CEA ## 
     28#-Q- irene ###################### 
     29#-Q- irene #MSUB -r ::Jobname::        # Job Name 
     30#-Q- irene #MSUB -o Script_Output_::Jobname::.000001    # standard output 
     31#-Q- irene #MSUB -e Script_Output_::Jobname::.000001    # error output 
     32#-Q- irene #MSUB -eo 
     33#-Q- irene #MSUB -n ::JobNumProcTot::  # Number of MPI tasks (SPMD case) or cores (MPMD case) 
     34#-Q- irene #MSUB -c ::openMPthreads::  # Number of openMP threads. To specify only for SMPD 
     35#-Q- irene #MSUB -x                    # exclusive node. To specify only for MPMD together with the one below 
     36#-Q- irene #MSUB -E '--cpu_bind=none' 
     37#-Q- irene ##MSUB -E '--distribution cyclic'  
     38#-Q- irene #MSUB -T 86400              # Wall clock limit (seconds) 
     39#-Q- irene #MSUB -A gch0316 
     40#-Q- irene #MSUB -q skylake 
     41#-Q- irene #MSUB -m work,scratch 
     42#-Q- irene 
     43#-Q- irene BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 
     44#-Q- irene set +x 
    2545#-Q- ada #!/bin/ksh 
    2646#-Q- ada # ###################### 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys.ksh

    r1391 r1432  
    6161        SYSTEM=curie 
    6262        . ${libIGCM}/libIGCM_sys/libIGCM_sys_curie.ksh;; 
     63    irene*) 
     64        [ ! X${TaskType} = Xchecking ] && echo "Source machine dependent settings for irene Intel X-64 at TGCC" 
     65        CENTER=TGCC 
     66        SYSTEM=irene 
     67        . ${libIGCM}/libIGCM_sys/libIGCM_sys_irene.ksh;; 
    6368    airain*) 
    6469        [ ! X${TaskType} = Xchecking ] && echo "Source machine dependent settings for airain Intel X-64." 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_irene.ksh

    r1431 r1432  
    168168#==================================================== 
    169169#- RUN_DIR_PATH : Temporary working directory (=> TMP) 
    170 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${SCRATCHDIR}/RUN_DIR/${BRIDGE_MSUB_JOBID}_${$}} 
     170typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${CCCSCRATCHDIR}/RUN_DIR/${BRIDGE_MSUB_JOBID}_${$}} 
    171171 
    172172#==================================================== 
     
    206206#D-* Define R_OUT   : Output tree located on ARCHIVE 
    207207#D-* Define R_FIG   : Output tree located on STORAGE hosting figures (monitoring and atlas, and/or small files) 
    208 #D-* Define R_BUF   : Output tree located on SCRATCHDIR hosting files waiting for rebuild or pack processes 
    209 #D-* if SpaceName=TEST everything is stored on SCRATCHDIR 
     208#D-* Define R_BUF   : Output tree located on CCCSCRATCHDIR hosting files waiting for rebuild or pack processes 
     209#D-* if SpaceName=TEST everything is stored on CCCSCRATCHDIR 
    210210#D-* Examples: 
    211211#D- 
     
    236236    #==================================================== 
    237237    #- R_OUT 
    238     R_OUT=${SCRATCHDIR}/IGCM_OUT 
     238    R_OUT=${CCCSCRATCHDIR}/IGCM_OUT 
    239239 
    240240    #==================================================== 
    241241    #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 
    242     R_FIG=${SCRATCHDIR}/IGCM_OUT 
     242    R_FIG=${CCCSCRATCHDIR}/IGCM_OUT 
    243243 
    244244    IGCM_debug_Print 1 "SpaceName=TEST ==> OVERRULE destination path directories" 
     
    260260  #==================================================== 
    261261  #- R_BUF (ONLY FOR double copy an scratch) 
    262   R_BUF=${SCRATCHDIR}/IGCM_OUT 
     262  R_BUF=${CCCSCRATCHDIR}/IGCM_OUT 
    263263 
    264264  IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 
     
    11411141  elif [ ${executionType} -eq 2 ] ; then 
    11421142    # MPMD + MPI + OMP : mpirun/ccc_mprun/error 
    1143     if ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 
     1143    if ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 
    11441144      sed -e "/::openMPthreads::/d"                  \ 
    11451145          -e "s/::JobNumProcTot::/${coreNumber}/"    \ 
    11461146        ${file} > ${file}.tmp 
    1147     elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 
     1147    elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 
    11481148      sed -e "/::openMPthreads::/d"                  \ 
    11491149          -e "s/::JobNumProcTot::/${coreNumber}/"    \ 
     
    12781278      fi 
    12791279 
    1280     elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 
     1280    elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 
    12811281 
    12821282    # 2 MPI/OpenMP mpirun method 
     
    14001400      done 
    14011401 
    1402     elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 
     1402    elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 
    14031403 
    14041404    # 3 MPI/OpenMP ccc_mprun method 
     
    15571557  fi 
    15581558 
    1559   if ( [ X${RUN_DIR_PATH} = X${HOME} ] || [ X${RUN_DIR_PATH} = X${WORKDIR} ] || [ X${RUN_DIR_PATH} = X${SCRATCHDIR} ] || [ X${RUN_DIR_PATH} = X${CCCWORKDIR} ] || [ X${RUN_DIR_PATH} = X${CCCSTOREDIR} ] ) ; then 
     1559  if ( [ X${RUN_DIR_PATH} = X${HOME} ] || [ X${RUN_DIR_PATH} = X${CCCWORKDIR} ] || [ X${RUN_DIR_PATH} = X${CCCSCRATCHDIR} ] || [ X${RUN_DIR_PATH} = X${CCCSTOREDIR} ] ) ; then 
    15601560    IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 
    15611561    IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 
Note: See TracChangeset for help on using the changeset viewer.