Changeset 2365 for palm/trunk/SCRIPTS/subjob
- Timestamp:
- Aug 21, 2017 2:59:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/subjob
r2295 r2365 28 28 # ----------------- 29 29 # $Id$ 30 # Added lckea & lckeam. KIT/IMK-IFU Garmisch cluster. LRZ (SadiqHuq) 31 # 32 # 2295 2017-06-27 14:25:52Z raasch 30 33 # adjustments for using lcgeohu (cirrus @ HUB) 31 34 # … … 252 255 (inferno) local_address=130.75.105.5; local_host=lcmuk;; 253 256 (irifi) local_address=130.75.105.104; local_host=lcmuk;; 257 # (i*) local_address=129.187.11.197; local_host=ibmmuc;; 254 258 (jaboticaba) local_address=150.163.25.181; local_host=lcbr;; 259 (kea*) local_address=172.27.80.109; local_host=lckeal;; 255 260 (sno) local_address=130.75.105.113; local_host=lcmuk;; 256 261 (kuma) local_address=130.75.105.115; local_host=lcmuk;; 257 262 (levanto) local_address=130.75.105.45; local_host=lcmuk;; 258 263 (login*) local_address=118.128.66.201; local_host=lckiaps;; 264 # (login*) local_address=129.187.11.197; local_host=ibmmuc;; 265 (lm*) local_address=129.187.11.197; local_host=ibmmuc;; 266 (lx*) local_address=129.187.20.240; local_host=lclrz;; 267 (mpp2*) local_address=129.187.20.105; local_host=lclrz;; 259 268 (maestro) local_address=130.75.105.2; local_host=lcmuk;; 260 269 (meller) local_address=134.106.74.155; local_host=lcfor;; … … 278 287 (tc*) local_address="ocean"; local_host=lcocean;; 279 288 (t2a*) local_address=10.1.6.165; local_host=lctit;; 289 (uc1n*) local_address=129.13.82.89; local_host=lcbwuni;; 280 290 (urban*) local_address=147.46.30.151 local_host=lcsb;; 281 291 (vinessa) local_address=130.75.105.112; local_host=lcmuk;; … … 409 419 (ibmku) queue=s4; remote_address=133.5.4.129; submcom=/usr/local/bin/llsubmit;; 410 420 (ibms) queue=p_normal; remote_address=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 421 (ibmmuc) remote_address=129.187.11.197; submcom=/usr/bin/llsubmit;; 422 (lcbwuni) queue=develop; remote_address=129.13.82.89; submcom=/opt/moab/bin/msub;; 411 423 (lcbullhh) queue=compute; remote_address=136.172.50.13; submcom=/usr/bin/sbatch;; 412 424 (lccrayb) queue=mpp1testq; remote_address=130.73.233.1; submcom="/opt/moab/default/bin/msub -E";; … … 417 429 (lckyoto) remote_address=133.3.51.11; submcom=/thin/local/bin/qsub;; 418 430 (lck) remote_address=165.132.26.61; submcom=/usr/torque/bin/qsub;; 431 (lckeal) queue=ivy; remote_address=172.27.80.109; submcom=/usr/bin/sbatch;; 419 432 (lckiaps) remote_address=118.128.66.201; submcom=/opt/pbs/default/bin/qsub;; 420 433 (lckordi) remote_address=210.219.61.8; submcom=/usr/torque/bin/qsub;; 421 434 (lckyuh) remote_address=133.5.4.33; submcom=/usr/bin/pjsub;; 422 435 (lckyut) remote_address=133.5.4.37; submcom=/usr/bin/pjsub;; 436 (lclrz) remote_address=129.187.20.240; submcom=/usr/bin/sbatch;; 423 437 (lcocean) remote_address="ocean"; submcom=qsub;; 424 438 (lcsb) remote_address=147.46.30.151; submcom=/usr/torque/bin/qsub;; … … 459 473 (*) error=true;; 460 474 esac;; 475 (ibmmuc*) case $ndq in 476 (test|micro|general|large|fat|fattest|special|tmp1|tmp2) error=false;; 477 (*) error=true;; 478 esac;; 461 479 (lcbullhh) case $ndq in 462 480 (compute|compute2|shared) error=false;; 463 481 (*) error=true;; 464 482 esac;; 483 (lcbwuni) case $ndq in 484 (develop|singlenode|multinode|verylong|fat) error=false;; 485 (*) error=true;; 486 esac;; 465 487 (lccrayb) case $ndq in 466 488 (dataq|mpp1q|mpp1testq|mpp2q|mpp2testq|smp1q|smp1testq|specialm1q) error=false;; … … 493 515 (lckyut) case $ndq in 494 516 (cx-dbg|cx-single|cx-small|cx-middle|cx-large) error=false;; 517 (*) error=true;; 518 esac;; 519 (lclrz) case $ndq in 520 (mpp1|mpp2|iuv2|myri) error=false;; 495 521 (*) error=true;; 496 522 esac;; … … 744 770 then 745 771 746 if [[ $remote_host != ibmkisti ]] 772 if [[ $remote_host == ibmmuc* ]] 773 then 774 cat > $job_to_send << %%END%% 775 776 #!/bin/bash 777 # @ job_type = parallel 778 # @ job_name = $job_name 779 # @ output = $remote_dayfile 780 # @ error = $remote_dayfile 781 # @ wall_clock_limit = $timestring 782 $class 783 $mcm_affinity_options 784 $task_affinity 785 $notify_user 786 # @ network.MPI = sn_all,not_shared,us 787 # @ notification = always 788 # @ energy_policy_tag = table_kit_ifu 789 # @ minimize_time_to_solution = yes 790 # @ node = $nodes 791 # @ total_tasks = $numprocs 792 # @ node_topology = island 793 # @ island_count = 1,2 794 # @ environment = LD_LIBRARY_PATH=/lrz/sys/libraries/netcdf/4.2.1.1_impi4/lib:/lrz/sys/libraries/hdf5/1.8.15/ibmmpi/lib:/lrz/sys/libraries/fftw/3.3.3/avx/lib/ 795 # @ queue 796 797 %%END%% 798 799 elif [[ $remote_host != ibmkisti ]] 747 800 then 748 801 … … 1248 1301 submcom="$submcom -W group_list=$group_number -N $job_name -l walltime=$timestring -l select=$nodes:ncpus=$processes_per_node:mpiprocs=$tasks_per_node:mem=${Memory}gb -l place=scatter -o $remote_dayfile -j oe -et 1 -q $queue " 1249 1302 fi 1303 1304 elif [[ $remote_host = lclrz ]] 1305 then 1306 cat > $job_to_send << %%END%% 1307 #!/bin/bash 1308 #SBATCH -J $job_name 1309 #SBATCH -t $timestring 1310 #SBATCH -N $nodes 1311 #SBATCH --ntasks-per-node=$processes_per_node 1312 #SBATCH --get-user-env 1313 #SBATCH -o $remote_dayfile 1314 #SBATCH -e $remote_dayfile 1315 #SBATCH --mail-user=${email_notification} 1316 #SBATCH --clusters=$queue 1317 1318 $init_cmds 1319 1320 $module_calls 1321 1322 %%END%% 1323 1324 elif [[ $remote_host = lckea* ]] 1325 then 1326 keal_tasks_per_core=1 1327 1328 if [[ $queue = haswell || $queue = ivy* ]] 1329 then 1330 if (( tasks_per_node > 20 )) 1331 then 1332 keal_tasks_per_core=2 1333 fi 1334 fi 1335 1336 cat > $job_to_send << %%END%% 1337 #!/bin/bash 1338 #SBATCH -J $job_name 1339 #SBATCH -t $timestring 1340 #SBATCH -N $nodes 1341 #SBATCH --ntasks-per-node=$processes_per_node 1342 #SBATCH --ntasks-per-core=$keal_tasks_per_core 1343 #SBATCH --mem-per-cpu=${memory}mb 1344 #SBATCH --get-user-env 1345 #SBATCH -o $remote_dayfile 1346 #SBATCH -e $remote_dayfile 1347 #SBATCH --mail-user=${email_notification} 1348 #SBATCH --mail-type=ALL 1349 #SBATCH --partition=$queue 1350 1351 export MV2_ENABLE_AFFINITY=0 1352 1353 $init_cmds 1354 1355 $module_calls 1356 1357 %%END%% 1358 1359 elif [[ $remote_host=lcbwuni ]] 1360 then 1361 if [[ $email_notification = none ]] 1362 then 1363 email_directive="" 1364 else 1365 email_directive="#PBS -M $email_notification" 1366 fi 1367 cat > $job_to_send << %%END%% 1368 #!/bin/ksh 1369 #PBS -N $job_name 1370 #PBS -l walltime=$timestring 1371 #PBS -l nodes=${nodes}:ppn=$processes_per_node 1372 #PBS -l pmem=${memory}mb 1373 #PBS -m abe 1374 #PBS -o $remote_dayfile 1375 #PBS -j oe 1376 #PBS -q $queue 1377 $email_directive 1378 %%END%% 1250 1379 1251 1380 else … … 1615 1744 eval $submcom $job_on_remhost 1616 1745 fi 1746 elif [[ $local_host = lclrz || $local_host = lckea* ]] 1747 then 1748 eval $submcom $job_on_remhost 1749 elif [[ $local_host = lcbwuni ]] 1750 then 1751 msub -q $queue $job_on_remhost 1617 1752 else 1618 1753 qsub $job_on_remhost
Note: See TracChangeset
for help on using the changeset viewer.