- Timestamp:
- 03/30/18 15:07:44 (6 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_job
r1427 r1432 23 23 #-Q- curie BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 24 24 #-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 25 45 #-Q- ada #!/bin/ksh 26 46 #-Q- ada # ###################### -
trunk/libIGCM/libIGCM_sys/libIGCM_sys.ksh
r1391 r1432 61 61 SYSTEM=curie 62 62 . ${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;; 63 68 airain*) 64 69 [ ! X${TaskType} = Xchecking ] && echo "Source machine dependent settings for airain Intel X-64." -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_irene.ksh
r1431 r1432 168 168 #==================================================== 169 169 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 170 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${ SCRATCHDIR}/RUN_DIR/${BRIDGE_MSUB_JOBID}_${$}}170 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${CCCSCRATCHDIR}/RUN_DIR/${BRIDGE_MSUB_JOBID}_${$}} 171 171 172 172 #==================================================== … … 206 206 #D-* Define R_OUT : Output tree located on ARCHIVE 207 207 #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 processes209 #D-* if SpaceName=TEST everything is stored on SCRATCHDIR208 #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 210 210 #D-* Examples: 211 211 #D- … … 236 236 #==================================================== 237 237 #- R_OUT 238 R_OUT=${ SCRATCHDIR}/IGCM_OUT238 R_OUT=${CCCSCRATCHDIR}/IGCM_OUT 239 239 240 240 #==================================================== 241 241 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 242 R_FIG=${ SCRATCHDIR}/IGCM_OUT242 R_FIG=${CCCSCRATCHDIR}/IGCM_OUT 243 243 244 244 IGCM_debug_Print 1 "SpaceName=TEST ==> OVERRULE destination path directories" … … 260 260 #==================================================== 261 261 #- R_BUF (ONLY FOR double copy an scratch) 262 R_BUF=${ SCRATCHDIR}/IGCM_OUT262 R_BUF=${CCCSCRATCHDIR}/IGCM_OUT 263 263 264 264 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" … … 1141 1141 elif [ ${executionType} -eq 2 ] ; then 1142 1142 # MPMD + MPI + OMP : mpirun/ccc_mprun/error 1143 if ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X " ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then1143 if ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 1144 1144 sed -e "/::openMPthreads::/d" \ 1145 1145 -e "s/::JobNumProcTot::/${coreNumber}/" \ 1146 1146 ${file} > ${file}.tmp 1147 elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X ccc_mprun" ] ) ; then1147 elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 1148 1148 sed -e "/::openMPthreads::/d" \ 1149 1149 -e "s/::JobNumProcTot::/${coreNumber}/" \ … … 1278 1278 fi 1279 1279 1280 elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X " ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then1280 elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 1281 1281 1282 1282 # 2 MPI/OpenMP mpirun method … … 1400 1400 done 1401 1401 1402 elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X ccc_mprun" ] ) ; then1402 elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 1403 1403 1404 1404 # 3 MPI/OpenMP ccc_mprun method … … 1557 1557 fi 1558 1558 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} ] ) ; then1559 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 1560 1560 IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 1561 1561 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.