- Timestamp:
- 07/03/20 15:16:53 (4 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_job
r1519 r1536 36 36 #-Q- irene #MSUB -x # exclusive node. To specify only for MPMD together with the one below 37 37 #-Q- irene #MSUB -E '--cpu_bind=none' 38 #-Q- irene #MSUB -T 86400# Wall clock limit (seconds)38 #-Q- irene #MSUB -T ::WallTime:: # Wall clock limit (seconds) 39 39 #-Q- irene #MSUB -A ::default_project:: 40 40 #-Q- irene #MSUB -q skylake … … 54 54 #-Q- irene-amd #MSUB -c ::openMPthreads:: # Number of openMP threads. To specify only for SMPD 55 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)56 #-Q- irene-amd #MSUB -T ::WallTime:: # Wall clock limit (seconds) 57 57 #-Q- irene-amd #MSUB -A ::default_project:: 58 58 #-Q- irene-amd #MSUB -q rome … … 71 71 #-Q- jeanzay #SBATCH --cpus-per-task=::openMPthreads:: # Number of openMP threads. 72 72 #-Q- jeanzay #SBATCH --hint=nomultithread # 1 processus MPI par par physical core (no hyperthreading) 73 #-Q- jeanzay #SBATCH --time= 00:30:00 # Wall clock limit (seconds)73 #-Q- jeanzay #SBATCH --time=::WallTime:: # Wall clock limit (minutes) 74 74 #-Q- jeanzay #SBATCH --account ::default_project::@cpu 75 75 #-Q- jeanzay -
trunk/libIGCM/ins_job
r1533 r1536 40 40 on ada only : 41 41 - m MPI environment : add default MPI environment (Intel MPI or IBM MPI) 42 -t wall time : change default wall time 42 43 " 43 44 } … … 83 84 x_c=false; 84 85 x_m=false; 85 while getopts :hvefc:p:m:q:s: V ; do 86 x_t=false; 87 while getopts :hvefc:p:m:q:s:t: V ; do 86 88 case $V in 87 89 (h) ins_job_Usage; exit 0;; … … 97 99 (m) x_m=true 98 100 MPIEnvironment=${OPTARG} ;; 101 (t) x_t=true 102 WallTime=${OPTARG} ;; 99 103 (:) echo ${b_n}" : -"${OPTARG}" option : missing value" 1>&2; 100 104 exit 2;; … … 239 243 #- ProjectCore is set (option or answer) 240 244 245 #- set WallTime if required 246 if ( ! ${x_t} ) ; then 247 #- default WallTime 1800 s 248 WallTime=1800 249 answer="" 250 print - "Hit Enter or give required wall time in seconds for computing job (default is \"${WallTime}\" seconds, maximum is 86400 seconds) " 251 read answer 252 253 if [ "X${answer}" != "X" ] ; then 254 WallTime=${answer} 255 fi 256 257 fi # if ( ! ${x_t} ) 258 259 echo Wall time limit is ${WallTime} minutes 260 241 261 elif [ X"${SYSTEM}" == "Xirene-amd" ] ; then 242 262 … … 315 335 #- ProjectCore is set (option or answer) 316 336 337 #- set WallTime if required 338 if ( ! ${x_t} ) ; then 339 #- default WallTime 1800 s 340 WallTime=1800 341 answer="" 342 print - "Hit Enter or give required wall time in seconds for computing job (default is \"${WallTime}\" seconds, maximum is 86400 seconds) " 343 read answer 344 345 if [ "X${answer}" != "X" ] ; then 346 WallTime=${answer} 347 fi 348 349 fi # if ( ! ${x_t} ) 350 351 echo Wall time limit is ${WallTime} minutes 352 317 353 elif [ X"${SYSTEM}" == "Xjeanzay" ] ; then 318 354 … … 332 368 fi # if ( ! ${x_p} ) 333 369 334 ProjectID=${ProjectID}335 370 echo ProjectID is ${ProjectID} at Jean-Zay 371 372 #- set WallTime if required 373 if ( ! ${x_t} ) ; then 374 #- default WallTime 30 minutes 375 WallTime=30 376 answer="" 377 print - "Hit Enter or give required wall time in minutes for computing job (default is \"${WallTime}\" minutes, maximum is 1200 minutes) " 378 read answer 379 380 if [ "X${answer}" != "X" ] ; then 381 WallTime=${answer} 382 fi 383 384 fi # if ( ! ${x_t} ) 385 386 echo Wall time limit is ${WallTime} minutes 336 387 337 388 elif [ X"${SYSTEM}" == "Xada" ] ; then … … 511 562 -e "s/::Jobname::/${JobName}/" \ 512 563 -e "s/::default_project::/${ProjectID}/" \ 564 -e "s/::WallTime::/${WallTime}/" \ 513 565 ${F_JOB} > ${j}'/'${n_f} 514 566 chmod u+x ${j}'/'${n_f}
Note: See TracChangeset
for help on using the changeset viewer.