Changeset 1197 for palm/trunk/SCRIPTS
- Timestamp:
- Jul 4, 2013 6:19:45 AM (11 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r1100 r1197 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # adjustments for CSC Helsinki (lccrayf) 25 25 # 26 26 # Former revisions: … … 1250 1250 1251 1251 # workaround for lcxe6 1252 if [[ $remote_host = lcxe6 ]]1253 then 1254 1255 eval $init_cmds 1252 if [[ $remote_host = lcxe6 || $remote_host = lccrayf ]] 1253 then 1254 1255 eval $init_cmds > /dev/null 2>&1 1256 1256 1257 1257 fi -
palm/trunk/SCRIPTS/mrun
r1191 r1197 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # adjustments for CSC Helsinki (lccrayf) 25 25 # 26 26 # Former revisions: … … 553 553 do_remote=true 554 554 case $host in 555 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lc flow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;;555 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 556 556 (*) printf "\n" 557 557 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 724 724 do_remote=true 725 725 case $host in 726 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lc flow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;;726 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 727 727 (*) printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" 728 728 printf "\n is not available" … … 1001 1001 do_remote=true 1002 1002 case $host in 1003 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lc flow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;;1003 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lccrayf|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb) true;; 1004 1004 (*) printf "\n" 1005 1005 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 2818 2818 [[ ! -f a.out ]] && compile_error=true 2819 2819 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2820 # elif [[ $localhost = lccrayf ]] 2821 # then 2822 # printf " compiler is called via ssh on \"sisu-login1\" \n" 2823 # ssh $SSH_PORTOPT sisu-login1 -l $usern "$init_cmds $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2824 # [[ ! -f a.out ]] && compile_error=true 2825 # continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2820 2826 elif [[ $localhost = lcsgib ]] 2821 2827 then … … 2836 2842 [[ ! -f a.out ]] && compile_error=true 2837 2843 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2844 elif [[ $localhost = lccrayf ]] 2845 then 2846 module list 2847 make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT="$cpp_options" F90FLAGS="$fopts" LDFLAGS="$lopts" 2838 2848 else 2839 2849 [[ "$init_cmds" != "" ]] && eval $init_cmds … … 3563 3573 # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT 3564 3574 # DOES NOT EXIST 3565 if [[ $host != lc sgih && $host != lcsgib && $host != lckyuh && $host != lckyut ]]3575 if [[ $host != lccrayf && $host != lcsgih && $host != lcsgib && $host != lckyuh && $host != lckyut ]] 3566 3576 then 3567 3577 if [[ -f $hostfile ]] … … 3670 3680 mpirun -np $ii inspxe-cl -r result -collect mi3 -- ./a.out < runfile_atmos 3671 3681 fi 3682 elif [[ $host = lccrayf ]] 3683 then 3684 echo "aprun -n $ii -N $tasks_per_node -m ${memory}M a.out $ROPTS < runfile_atmos" 3685 aprun -n $ii -N $tasks_per_node -m ${memory}M a.out $ROPTS < runfile_atmos 3672 3686 elif [[ $host = lcxe6 || $host = lcxt5m ]] 3673 3687 then … … 3718 3732 fi 3719 3733 3720 elif [[ $host = lc xe6 || $host = lcxt5m ]]3734 elif [[ $host = lccrayf || $host = lcxe6 || $host = lcxt5m ]] 3721 3735 then 3722 3736 … … 3751 3765 fi 3752 3766 3753 elif [[ $host = lc xe6 || $host = lcxt5m ]]3767 elif [[ $host = lccrayf || $host = lcxe6 || $host = lcxt5m ]] 3754 3768 then 3755 3769 -
palm/trunk/SCRIPTS/subjob
r1185 r1197 23 23 # Current revisions: 24 24 # ------------------ 25 # 25 # adjustments for CSC Helsinki (lccrayf) 26 26 # 27 27 # Former revisions: … … 134 134 (caurus) local_addres=130.75.105.19; local_host=lcmuk;; 135 135 (climate*) local_addres=165.132.26.68; local_host=lcyon;; 136 (clogin*) local_addres=86.50.166.21; local_host=lccrayf;; 136 137 (compute-*.local) local_addres=172.20.4.2; local_host=lcfimm;; 137 138 (cs*) local_addres=136.172.44.131; local_host=nech;; … … 174 175 (quanero) local_addres=130.75.105.107; local_host=lcmuk;; 175 176 (rte*) local_addres=133.5.185.60; local_host=lcrte;; 177 (r1*) local_addres=130.75.4.102; local_host=lcsgih;; 178 (r2*) local_addres=130.73.232.102; local_host=lcsgib;; 176 179 (scirocco) local_addres=172.20.25.41; local_host=lcmuk;; 180 (sisu-login*) local_addres=86.50.166.21; local_host=lccrayf;; 177 181 (solano) local_addres=130.75.105.110; local_host=lcmuk;; 178 182 (sugoka*) local_addres=172.31.120.1; local_host=lckyut;; 179 183 (sun1|sun2) local_addres=130.75.6.1; local_host=unics;; 180 184 (sx-*) local_addres=172.16.1.131; local_host=necriam;; 181 (r1*) local_addres=130.75.4.102; local_host=lcsgih;;182 (r2*) local_addres=130.73.232.102; local_host=lcsgib;;183 185 (t2a*) local_addres=10.1.6.165; local_host=lctit;; 184 186 (urban*) local_addres=147.46.30.151 local_host=lcsb;; … … 313 315 (ibms) queue=p_normal; remote_addres=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 314 316 (ibmy) queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 317 (lccrayf) queue=small; remote_addres=86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;; 315 318 (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;; 316 319 (lcflow) remote_addres=10.140.1.71; submcom=/cm/shared/apps/sge/6.2u5p2/bin/lx26-amd64/qsub;; … … 366 369 (ibmy) case $ndq in 367 370 (parallel) error=false;; 371 (*) error=true;; 372 esac;; 373 (lccrayf) case $ndq in 374 (usup|test*|small|large) error=false;; 368 375 (*) error=true;; 369 376 esac;; … … 751 758 %%END%% 752 759 760 elif [[ $remote_host = lccrayf ]] 761 then 762 763 if [[ $numprocs != 0 ]] 764 then 765 cat > $job_to_send << %%END%% 766 #!/bin/bash -l 767 #SBATCH -J $job_name 768 #SBATCH -t $timestring 769 #SBATCH -N $nodes 770 #SBATCH --ntasks-per-node=$processes_per_node 771 #SBATCH -p $queue 772 #SBATCH -o $remote_dayfile 773 #SBATCH -e $remote_dayfile 774 775 $init_cmds 776 $module_calls 777 778 %%END%% 779 780 else 781 cat > $job_to_send << %%END%% 782 #!/bin/bash -l 783 #SBATCH -J $job_name 784 #SBATCH -t $timestring 785 #SBATCH -l ncpus=1 786 #SBATCH -l pmem=${memory}mb 787 #SBATCH -m abe 788 #SBATCH -o $remote_dayfile 789 #SBATCH -e $remote_dayfile 790 791 $init_cmds 792 $module_calls 793 794 %%END%% 795 796 fi 797 753 798 elif [[ $remote_host = lcfimm ]] 754 799 then
Note: See TracChangeset
for help on using the changeset viewer.