Changeset 693 for palm/trunk/SCRIPTS/subjob
- Timestamp:
- Mar 8, 2011 8:27:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/subjob
r678 r693 127 127 # institute of technology (lctit) 128 128 # 02/02/11 - Siggi - further asjustments for Tsubame concerning openMP 129 # 06/03/11 - Siggi - adjustments for ibmkisti 129 130 130 131 … … 204 205 (bicegate2) local_addres=130.73.232.103; local_host=lcsgib;; 205 206 (caurus) local_addres=130.75.105.19; local_host=lcmuk;; 207 (climate*) local_addres=165.132.26.68; local_host=lcyon;; 206 208 (compute-*.local) local_addres=172.20.4.2; local_host=lcfimm;; 207 209 (cs*) local_addres=136.172.44.131; local_host=nech;; … … 209 211 (fimm.bccs.uib.no) local_addres=172.20.4.2; local_host=lcfimm;; 210 212 (node*) local_addres=165.132.26.61 local_host=lck;; 213 (gaia*) local_addres=150.183.146.24; local_host=ibmkisti;; 211 214 (gallego) local_addres=130.75.105.10; local_host=lcmuk;; 212 215 (gfdl5) local_addres=165.132.26.58; local_host=ibmy;; … … 297 300 printf "\n -D only the job-file will be created ---" 298 301 printf "\n -h execution host, available hosts: $remote_host" 299 printf "\n ibm, ibmh, ibmk u, ibms, ibmy, lc...,"302 printf "\n ibm, ibmh, ibmkisti, ibmku, ibms, ibmy, lc...," 300 303 printf "\n lctit, nech, necriam, unics" 301 304 printf "\n -m memory demand per process in MByte ---" … … 363 366 (ibm) queue=p690_standard; remote_addres=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 364 367 (ibmh) queue=no_class; remote_addres=136.172.40.15; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 368 (ibmkisti) queue=class.32plus; remote_addres=150.183.146.24; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 365 369 (ibmku) queue=s4; remote_addres=133.5.4.129; submcom=/usr/local/bin/llsubmit;; 366 370 (ibms) queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; … … 374 378 (lcxt4) remote_addres=129.177.20.113; submcom=/opt/torque/2.4.9-snap.201005191035/bin/qsub;; 375 379 (lcxt5m) remote_addres=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;; 380 (lcyon) remote_addres=165.132.26.68; submcom=/usr/torque/bin/qsub;; 376 381 (nech) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=136.172.44.147; submcom="/usr/local/bin/qsub";; 377 382 (necriam) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres=172.16.1.131; submcom="/usr/bin/nqsII/qsub";; … … 396 401 (ibmh) case $ndq in 397 402 (no_class) error=false;; 403 (*) error=true;; 404 esac;; 405 (ibmkisti) case $ndq in 406 (class.32plus|class.1-2|class.2-32) error=false;; 398 407 (*) error=true;; 399 408 esac;; … … 589 598 else 590 599 remote_dayfile=/dev/null 591 if [[ $(echo $remote_host | cut -c1-3) = ibm ]]592 then593 notification='# @ notification = never'594 fi595 600 fi 596 601 … … 610 615 data_limit="# @ data_limit = 1.76gb" 611 616 image_size="# @ image_size = 50" 612 617 wall_clock_limit="# @ wall_clock_limit = ${timestring},$timestring" 618 619 if [[ $email_notification = none ]] 620 then 621 notify_user="" 622 else 623 notify_user="# @ notify_user = $email_notification" 624 if [[ $delete_dayfile = true ]] 625 then 626 notification='# @ notification = never' 627 fi 628 fi 613 629 614 630 if [[ $remote_host = ibmh ]] … … 618 634 class="" 619 635 environment="" 636 elif [[ $remote_host = ibmkisti ]] 637 then 638 network_to_use="# @ network.MPI = sn_all,shared,US" 639 wall_clock_limit="# @ wall_clock_limit = $timestring" 640 rset="# @ rset = RSET_MCM_AFFINITY" 641 mcm_affinity_options="# @ mcm_affinity_options = mcm_mem_pref mcm_sni_none mcm_distribute" 642 environment="" 643 use_shell="" 644 data_limit="" 645 image_size="" 620 646 elif [[ $remote_host = ibmku ]] 621 647 then … … 641 667 642 668 # @ job_type = parallel 643 # @ job_name = palm 644 # @ wall_clock_limit = ${timestring},$timestring 669 # @ job_name = $job_name 645 670 # @ resources = ConsumableCpus($threads_per_task) $consumable_memory 646 671 # @ output = $remote_dayfile 647 672 # @ error = $remote_dayfile 673 $wall_clock_limit 648 674 $image_size 649 675 $class … … 651 677 $network_to_use 652 678 $data_limit 679 $rset 680 $mcm_affinity_options 653 681 $notification 682 $notify_user 654 683 655 684 %%END%% … … 658 687 then 659 688 660 cat >> $job_to_send << %%END%% 689 if [[ $remote_host != ibmkisti ]] 690 then 691 692 cat >> $job_to_send << %%END%% 661 693 # @ node = $nodes 662 694 # @ tasks_per_node = $processes_per_node … … 665 697 666 698 %%END%% 699 700 else 701 702 cat >> $job_to_send << %%END%% 703 # @ total_tasks = $numprocs 704 # @ blocking = unlimited 705 # @ queue 706 707 %%END%% 708 709 fi 667 710 668 711 else … … 762 805 763 806 mpd & 807 808 %%END%% 809 810 else 811 cat > $job_to_send << %%END%% 812 #!/bin/ksh 813 #PBS -N $job_name 814 #PBS -l walltime=$timestring 815 #PBS -l ncpus=1 816 #PBS -l pmem=${memory}mb 817 #PBS -o $remote_dayfile 818 #PBS -j oe 819 820 %%END%% 821 822 fi 823 824 elif [[ $remote_host = lcyon ]] 825 then 826 827 if [[ $numprocs != 0 ]] 828 then 829 cat > $job_to_send << %%END%% 830 #!/bin/ksh 831 #PBS -N $job_name 832 #PBS -l walltime=$timestring 833 #PBS -l ncpus=$numprocs 834 #PBS -l pmem=${memory}mb 835 #PBS -o $remote_dayfile 836 #PBS -j oe 764 837 765 838 %%END%% … … 1080 1153 then 1081 1154 return_queue=c1 1155 elif [[ $remote_host = ibmkisti ]] 1156 then 1157 return_queue=class.1-2 1082 1158 elif [[ $remote_host = ibmku ]] 1083 1159 then … … 1332 1408 then 1333 1409 eval $submcom $job_on_remhost 1334 elif [[ $local_host = lcfimm || $local_host = lctit || $localhost = lcxt4 || $localhost = lck]]1410 elif [[ $local_host = lcfimm || $local_host = lctit || $localhost = lcxt4 || $localhost = lck || $localhost = lcyon ]] 1335 1411 then 1336 1412 chmod u+x $job_on_remhost
Note: See TracChangeset
for help on using the changeset viewer.