Changeset 1519 for trunk/libIGCM
- Timestamp:
- 02/25/20 13:31:41 (4 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_job
r1509 r1519 43 43 #-Q- irene BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 44 44 #-Q- irene set +x 45 #-Q- irene-amd #!/bin/ksh 46 #-Q- irene-amd ###################### 47 #-Q- irene-amd ## IRENE-AMD TGCC/CEA ## 48 #-Q- irene-amd ###################### 49 #-Q- irene-amd #MSUB -r ::Jobname:: # Job Name 50 #-Q- irene-amd #MSUB -o Script_Output_::Jobname::.000001 # standard output 51 #-Q- irene-amd #MSUB -e Script_Output_::Jobname::.000001 # error output 52 #-Q- irene-amd #MSUB -eo 53 #-Q- irene-amd #MSUB -n ::JobNumProcTot:: # Number of MPI tasks (SPMD case) or cores (MPMD case) 54 #-Q- irene-amd #MSUB -c ::openMPthreads:: # Number of openMP threads. To specify only for SMPD 55 #-Q- irene-amd #MSUB -x # exclusive node. To specify only for MPMD together with the one below 56 #-Q- irene-amd #MSUB -T 86400 # Wall clock limit (seconds) 57 #-Q- irene-amd #MSUB -A ::default_project:: 58 #-Q- irene-amd #MSUB -q rome 59 #-Q- irene-amd #MSUB -m store,work,scratch 60 #-Q- irene-amd 61 #-Q- irene-amd BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 62 #-Q- irene-amd set +x 45 63 #-Q- jeanzay #!/bin/ksh 46 64 #-Q- jeanzay ###################### -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_irene-amd.ksh
r1518 r1519 1154 1154 -e "s/::JobNumProcTot::/${coreNumber}/" \ 1155 1155 -e "/#MSUB -x/d" \ 1156 -e "/--cpu_bind=none/d" \1157 1156 ${file} > ${file}.tmp 1158 1157 1159 1158 elif [ ${executionType} -eq 2 ] ; then 1160 # MPMD + MPI + OMP : mpirun/ccc_mprun/error 1161 if ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 1162 sed -e "/::openMPthreads::/d" \ 1163 -e "s/::JobNumProcTot::/${coreNumber}/" \ 1164 ${file} > ${file}.tmp 1165 elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 1166 sed -e "/::openMPthreads::/d" \ 1167 -e "s/::JobNumProcTot::/${coreNumber}/" \ 1168 -e "/--cpu_bind=none/d" \ 1169 ${file} > ${file}.tmp 1170 else 1171 IGCM_debug_Print 1 "You have to set ExecutionModeOnCurie=ccc_mprun or mpirun in config.card" 1172 IGCM_debug_Exit "IGCM_sys_updateHeaders" 1173 fi 1159 # MPMD + MPI + OMP :ccc_mprun 1160 sed -e "/::openMPthreads::/d" \ 1161 -e "s/::JobNumProcTot::/${coreNumber}/" \ 1162 ${file} > ${file}.tmp 1163 1174 1164 elif [ ${executionType} -eq 3 ] ; then 1175 1165 # SPMD + MPI/OMP … … 1177 1167 -e "s/::JobNumProcTot::/${mpiTasks}/" \ 1178 1168 -e "/#MSUB -x/d" \ 1179 -e "/--cpu_bind=none/d" \1180 1169 ${file} > ${file}.tmp 1181 1170 … … 1185 1174 -e "/::openMPthreads::/d" \ 1186 1175 -e "/#MSUB -x/d" \ 1187 -e "/--cpu_bind=none/d" \1188 1176 ${file} > ${file}.tmp 1189 1177 … … 1193 1181 -e "/::JobNumProcTot::/d" \ 1194 1182 -e "/#MSUB -x/d" \ 1195 -e "/--cpu_bind=none/d" \1196 1183 ${file} > ${file}.tmp 1197 1184 … … 1201 1188 -e "/::openMPthreads::/d" \ 1202 1189 -e "/#MSUB -x/d" \ 1203 -e "/--cpu_bind=none/d" \1204 1190 ${file} > ${file}.tmp 1205 1191
Note: See TracChangeset
for help on using the changeset viewer.