Changeset 693
- Timestamp:
- Mar 8, 2011 8:27:49 AM (14 years ago)
- Location:
- palm/trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/batch_scp
r306 r693 45 45 # 25/10/05 - Siggi - put of catalogs realized 46 46 # 27/04/09 - Marcus- use option -p for all scp calls 47 # 08/03/11 - Siggi - adjustments for ibmkisti: this machine allows 48 # outgoing ssh/scp connections only from the 49 # interactive nodes (gaiad). All ssh/scp traffic is 50 # done via this interactive node. 47 51 48 52 … … 60 64 get=false 61 65 local_host=`hostname` 66 local_user=$USER 67 local_wdir=`pwd` 62 68 locat=normal 63 69 make_catalog=false … … 286 292 287 293 # VERZEICHNISLSTE DES ZIELRECHNERS ERSTELLEN 288 ssh $1 -l $remote_user "cd $3; ls -1; echo '*** list complete'" > $filelist 2>&1 294 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 295 then 296 ssh $local_user@gaiad "ssh $1 -l $remote_user \"cd $3; ls -1; echo '*** list complete'\" " > $filelist 2>&1 297 else 298 ssh $1 -l $remote_user "cd $3; ls -1; echo '*** list complete'" > $filelist 2>&1 299 fi 289 300 ssh_status=$? 290 301 … … 491 502 then 492 503 rm -rf $filelist 493 ssh $1 -l $remote_user "cd $3" > $filelist 504 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 505 then 506 ssh $local_user@gaiad "ssh $1 -l $remote_user \"cd $3\" " > $filelist 507 else 508 ssh $1 -l $remote_user "cd $3" > $filelist 509 fi 494 510 if [[ $? != 0 ]] 495 511 then … … 542 558 scp -p -r -q -v $2 $remote_user@$1:$catalog_name$4$zyklusnr 543 559 fi 560 elif [[ $(echo $local_host | cut -c1-4) = gaia ]] 561 then 562 if [[ $catalog_copy = false ]] 563 then 564 ssh $local_user@gaiad "cd $local_wdir; scp -p $2 $remote_user@$1:$catalog_name$4$zyklusnr" > /dev/null 565 else 566 ssh $local_user@gaiad "cd $local_wdir; scp -p -r $2 $remote_user@$1:$catalog_name$4$zyklusnr" > /dev/null 567 fi 544 568 else 545 569 if [[ $catalog_copy = false ]] … … 559 583 local_size=`echo $local_size | cut -d" " -f5` 560 584 561 remote_size=`ssh $1 -l $remote_user "ls -al $catalog_name$4$zyklusnr"` 585 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 586 then 587 remote_size=`ssh $local_user@gaiad "ssh $1 -l $remote_user \"ls -al $catalog_name$4$zyklusnr\" "` 588 else 589 remote_size=`ssh $1 -l $remote_user "ls -al $catalog_name$4$zyklusnr"` 590 fi 562 591 remote_size=`echo $remote_size | cut -d" " -f5` 563 592 … … 571 600 fi 572 601 else 573 scp -p $2 $remote_user@$1:${catalog_name}batch_scp_append_file.$random > /dev/null 602 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 603 then 604 ssh $local_user@gaiad "cd $local_wdir; scp -p $2 $remote_user@$1:${catalog_name}batch_scp_append_file.$random" > /dev/null 605 else 606 scp -p $2 $remote_user@$1:${catalog_name}batch_scp_append_file.$random > /dev/null 607 fi 574 608 if [[ $? != 0 ]] 575 609 then … … 579 613 local_size=`echo $local_size | cut -d" " -f5` 580 614 581 remote_size=`ssh $1 -l $remote_user "ls -al ${catalog_name}batch_scp_append_file.$random"` 615 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 616 then 617 remote_size=`ssh $local_user@gaiad "ssh $1 -l $remote_user \"ls -al ${catalog_name}batch_scp_append_file.$random\" "` 618 else 619 remote_size=`ssh $1 -l $remote_user "ls -al ${catalog_name}batch_scp_append_file.$random"` 620 fi 582 621 remote_size=`echo $remote_size | cut -d" " -f5` 583 622 … … 593 632 rm $filelist 594 633 595 ssh $1 -l $remote_user "cd $3; cat batch_scp_append_file.$random >> $4$zyklusnr; rm batch_scp_append_file.$random; echo '*** append complete'" > $filelist 634 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 635 then 636 ssh $local_user@gaiad "ssh $1 -l $remote_user \"cd $3; cat batch_scp_append_file.$random >> $4$zyklusnr; rm batch_scp_append_file.$random; echo '*** append complete'\" " > $filelist 637 else 638 ssh $1 -l $remote_user "cd $3; cat batch_scp_append_file.$random >> $4$zyklusnr; rm batch_scp_append_file.$random; echo '*** append complete'" > $filelist 639 fi 596 640 if [[ $? != 0 ]] 597 641 then … … 608 652 fi 609 653 else 610 ssh $1 -l $remote_user "mkdir -p $3" 654 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 655 then 656 ssh $local_user@gaiad "ssh $1 -l $remote_user \"mkdir -p $3\" " 657 else 658 ssh $1 -l $remote_user "mkdir -p $3" 659 fi 611 660 if [[ $? != 0 ]] 612 661 then 613 662 locat=ssh_failed_4; exit 614 663 fi 615 scp -p $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null 664 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 665 then 666 ssh $local_user@gaiad "cd $local_wdir; scp -p $2 $remote_user@$1:$catalog_name$4$zyklusnr" > /dev/null 667 else 668 scp -p $2 $remote_user@$1:$catalog_name$4$zyklusnr > /dev/null 669 fi 616 670 if [[ $? != 0 ]] 617 671 then … … 632 686 else 633 687 634 scp -p $remote_user@$1:$catalog_name$4$zyklusnr $2 > /dev/null 688 if [[ $(echo $local_host | cut -c1-4) = gaia ]] 689 then 690 ssh $local_user@gaiad "cd $local_wdir; scp -p $remote_user@$1:$catalog_name$4$zyklusnr $2" > /dev/null 691 else 692 scp -p $remote_user@$1:$catalog_name$4$zyklusnr $2 > /dev/null 693 fi 635 694 if [[ $? != 0 ]] 636 695 then -
palm/trunk/SCRIPTS/mbuild
r691 r693 117 117 # 14/12/10 - Siggi - adjustments for new Tsubame system at Tokyo 118 118 # institute of technology (lctit) 119 # 04/03/11 - BjörnM- re-adjustments for lcxt4 119 # 04/03/11 - BjornM- re-adjustments for lcxt4 120 # 06/03/11 - Siggi - adjustments for ibmkisti 120 121 121 122 … … 479 480 (decalpha) remote_addres=165.132.26.56;; 480 481 (ibmh) remote_addres=136.172.40.15;; 482 (ibmkisti) remote_addres=150.183.146.24;; 481 483 (ibmku) remote_addres=133.5.4.129;; 482 484 (ibms) remote_addres=150.183.5.101;; … … 1063 1065 fi 1064 1066 1065 if [[ $remote_host = ibm s || $remote_host = ibmy ]]1067 if [[ $remote_host = ibmkisti || $remote_host = ibms || $remote_host = ibmy ]] 1066 1068 then 1067 1069 -
palm/trunk/SCRIPTS/mrun
r683 r693 219 219 # 02/02/10 - Siggi - further adjustments on Tsubame and concerning openMP 220 220 # usage 221 # 09/02/10 - Siggi - mpt bugfix for netCDF4 usage 221 # 09/02/10 - Siggi - adjustments for ibmkisti, mpt bugfix for netCDF4 222 # usage, totalview usage extended 222 223 223 224 … … 304 305 then 305 306 return_addres=133.5.185.60 306 echo "+++ WARNING: return_addres changed to $return_addres !!!!!" 307 echo "+++ WARNING: fixed return_addres = $return_addres is used !!!!!" 308 elif [[ `hostname` = climate0 ]] 309 then 310 return_addres=165.132.26.68 311 echo "+++ WARNING: fixed return_addres = $return_addres is used !!!!!" 307 312 else 308 313 return_addres=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{print $2}') … … 670 675 do_remote=true 671 676 case $host in 672 (ibm|ibmh|ibmk u|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxt4|lcxt5m|lck) true;;677 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxt4|lcxt5m|lck) true;; 673 678 (*) printf "\n" 674 679 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 834 839 do_remote=true 835 840 case $host in 836 (ibm|ibmh|ibmk u|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxt4|lcxt5m|lck) true;;841 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxt4|lcxt5m|lck) true;; 837 842 (*) printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" 838 843 printf "\n is not available" … … 1099 1104 # GLOBALE REVISIONSNUMMER ERMITTELN (FORTSETZUNGSLAEUFEN WIRD DIESE 1100 1105 # DURCH OPTION -G MITGETEILT) 1101 if [[ "$global_revision" = "" ]]1106 if [[ "$global_revision" = "" && $host != "ibmkisti" ]] 1102 1107 then 1103 1108 global_revision=`svnversion $source_path 2>/dev/null` … … 1116 1121 do_remote=true 1117 1122 case $host in 1118 (ibm|ibmh|ibmk u|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxt4|lcxt5m|lck) true;;1123 (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxt4|lcxt5m|lck) true;; 1119 1124 (*) printf "\n" 1120 1125 printf "\n +++ sorry: execution of batch jobs on remote host \"$host\"" … … 1145 1150 # DEFAULT-WERT SETZEN) UND OB SIE EIN GANZZAHLIGER TEILER DER 1146 1151 # GESAMTPROZESSORANZAHL IST 1147 if [[ $host = nech || $host = necriam || $host = ibmh || $host = ibm s ]]1152 if [[ $host = nech || $host = necriam || $host = ibmh || $host = ibmkisti || $host = ibms ]] 1148 1153 then 1149 1154 [[ "$tasks_per_node" = "" ]] && tasks_per_node=6 … … 1258 1263 case $host in 1259 1264 (ibmh) queue=no_class;; 1265 (ibmkisti) queue=class.32plus;; 1260 1266 (ibmy) queue=parallel;; 1261 1267 (lckyoto) queue=ph;; … … 2990 2996 fi 2991 2997 2998 if [[ "$totalview" = true ]] 2999 then 3000 printf "\n *** totalview debugger will be used" 3001 tv_opt="-tv" 3002 else 3003 tv_opt="" 3004 fi 3005 2992 3006 if [[ "$cond1" = debug || "$cond2" = debug ]] 2993 3007 then … … 3063 3077 then 3064 3078 printf "\n running totalview debugger" 3065 mpiexec_mpt -tv-n $ii ./a.out $ROPTS < runfile_atmos3079 mpiexec_mpt $tv_opt -n $ii ./a.out $ROPTS < runfile_atmos 3066 3080 else 3067 3081 mpiexec_mpt -np $ii ./a.out $ROPTS < runfile_atmos … … 3075 3089 then 3076 3090 printf "\n running totalview debugger" 3077 mpiexec -tv./a.out $ROPTS < runfile_atmos3091 mpiexec $tv_opt ./a.out $ROPTS < runfile_atmos 3078 3092 else 3079 3093 mpiexec ./a.out $ROPTS < runfile_atmos … … 3097 3111 then 3098 3112 # SETUP THE IBM MPI ENVIRONMENT 3099 if [[ $host != ibmh ]]3113 if [[ $host != ibmh && $host != ibmkisti ]] 3100 3114 then 3101 3115 export MP_SHARED_MEMORY=yes … … 3112 3126 [[ $node_usage = not_shared ]] && export MP_SINGLE_THREAD=yes 3113 3127 fi 3128 3129 if [[ $host = ibmkisti ]] 3130 then 3131 export LANG=en_US 3132 export MP_SHARED_MEMORY=yes 3133 export MP_SINGLE_THREAD=yes 3134 export MEMORY_AFFINITY=MCM 3135 fi 3136 3114 3137 if [[ "$LOADLBATCH" = yes ]] 3115 3138 then … … 3141 3164 then 3142 3165 poe a.out -procs $numprocs -nodes 1 -rmpool 0 $ROPTS 3143 elif [[ $localhost = ibmk u || $localhost = ibmy ]]3166 elif [[ $localhost = ibmkisti || $localhost = ibmku || $localhost = ibmy ]] 3144 3167 then 3145 3168 if [[ -f $hostfile ]] … … 3313 3336 export MPI_GROUP_MAX=64 3314 3337 echo "*** MPI_GROUP_MAX=$MPI_GROUP_MAX" 3315 mpiexec_mpt -np $ii ./a.out $ROPTS < runfile_atmos 3338 if [[ $use_openmp = true ]] 3339 then 3340 echo " mpiexec -npernode $tasks_per_node ./a.out $ROPTS < runfile_atmos" 3341 mpiexec -npernode $tasks_per_node $tv_opt ./a.out $ROPTS < runfile_atmos 3342 else 3343 mpiexec_mpt -np $ii $tv_opt ./a.out $ROPTS < runfile_atmos 3344 fi 3316 3345 3317 3346 # next is test for openmp usage … … 3340 3369 then 3341 3370 echo " mpiexec -npernode $tasks_per_node ./a.out $ROPTS < runfile_atmos" 3342 mpiexec -npernode $tasks_per_node ./a.out $ROPTS < runfile_atmos3371 mpiexec -npernode $tasks_per_node $tv_opt ./a.out $ROPTS < runfile_atmos 3343 3372 else 3344 mpiexec -np $ii ./a.out $ROPTS < runfile_atmos3373 mpiexec -np $ii $tv_opt ./a.out $ROPTS < runfile_atmos 3345 3374 fi 3346 3375 fi … … 4236 4265 then 4237 4266 4238 if [[ $localhost = lcsgih || $localhost = lcsgib || $localhost = nech || $localhost = ibmh || $localhost = ibmk u || $localhost = ibms ]]4267 if [[ $localhost = lcsgih || $localhost = lcsgib || $localhost = nech || $localhost = ibmh || $localhost = ibmkisti || $localhost = ibmku || $localhost = ibms ]] 4239 4268 then 4240 4269 echo "*** ssh will be used to initiate restart-runs!" … … 4245 4274 ssh $return_addres -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/muksoft/packages/intel/Compiler/11.0/083/lib/intel64/;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc " 4246 4275 else 4247 ssh $return_addres -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc " 4276 if [[ $localhost = ibmkisti ]] 4277 then 4278 ssh $usern@gaiad "ssh $return_addres -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" " 4279 else 4280 ssh $return_addres -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc " 4281 fi 4248 4282 fi 4249 4283 else … … 4333 4367 4334 4368 # MRUN-BEFEHL FUER REMOTE-MASCHINE ZUSAMMENSTELLEN 4335 mrun_com="$mrun_script_name -a $afname -c $config_file -d $fname -h $host -H $fromhost -m $memory -t $cpumax -q $queue -R $return_addres -U $return_username -u $remote_username"4369 mrun_com="$mrun_script_name -a $afname -c $config_file -d $fname -h $host -H $fromhost -m $memory -t $cpumax -q \$queue -R $return_addres -U $return_username -u $remote_username" 4336 4370 [[ "$cpp_opts" != "" ]] && mrun_com=${mrun_com}" -D \"$cpp_opts\"" 4337 4371 [[ "$global_revision" != "" ]] && mrun_com=${mrun_com}" -G \"$global_revision\"" … … 4385 4419 # BEREITSTELLUNG VON QUELLTEXTEN, MRUN-SCRIPTS UND KONFIGURATIONS- 4386 4420 # DATEI FUER DEN JOB 4387 if [[ $( echo $host | cut -c1-5 ) = lcsgi ]]4421 if [[ $( echo $host | cut -c1-5 ) = lcsgi || $host = ibmkisti ]] 4388 4422 then 4389 4423 … … 4397 4431 4398 4432 # SOURCE-VERZEICHNIS VOM LOKALEN RECHNER PER SCP TRANSFERIEREN 4433 # (BEI JOBS AUF LOKALEM RECHNER REICHT CP) 4399 4434 echo "set -x" >> $jobfile 4400 echo "scp -r $return_username@$return_addres:$working_directory/SOURCES_FOR_RUN_$fname ." >> $jobfile 4435 if [[ $host = $localhost ]] 4436 then 4437 echo "cp -r $working_directory/SOURCES_FOR_RUN_$fname ." >> $jobfile 4438 else 4439 if [[ $host != ibmkisti ]] 4440 then 4441 echo "scp -r $return_username@$return_addres:$working_directory/SOURCES_FOR_RUN_$fname ." >> $jobfile 4442 else 4443 # on KISTI's IBM firewall is only opened on interactive node 4444 echo "localdir=\`pwd\`" >> $jobfile 4445 echo "ssh $remote_username@gaiad \"cd \$localdir; scp -r $return_username@$return_addres:$working_directory/SOURCES_FOR_RUN_$fname .\" " >> $jobfile 4446 fi 4447 fi 4401 4448 echo "export SOURCES_COMPLETE=true" >> $jobfile 4402 4449 … … 4456 4503 # ABSPEICHERN DER AKTUELLEN MRUN-VERSION 4457 4504 # ABDECKZEICHEN VERHINDERN, DASS ERSETZUNGEN ERFOLGEN 4458 echo "cat > $mrun_script_name <<\"%END%\"" >> $jobfile4459 cat ${PALM_BIN}/$mrun_script_name >> $jobfile4460 echo "%END%" >> $jobfile4505 echo "cat > $mrun_script_name <<\"%END%\"" >> $jobfile 4506 cat ${PALM_BIN}/$mrun_script_name >> $jobfile 4507 echo "%END%" >> $jobfile 4461 4508 echo "chmod u+x $mrun_script_name" >> $jobfile 4462 4509 echo "execute_mrun=true" >> $jobfile … … 4514 4561 fi 4515 4562 4516 # MRUN AUF ZIELRECHNER AUFRUFEN 4563 # MRUN AUF ZIELRECHNER AUFRUFEN (queue is workaround for ibmkisti) 4517 4564 echo "set -x" >> $jobfile 4565 echo "queue=$queue" >> $jobfile 4518 4566 echo "[[ \$execute_mrun = true ]] && ./$mrun_com" >> $jobfile 4519 4567 -
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 -
palm/trunk/SOURCE/pres.f90
r682 r693 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! bugfix: weighting coefficient added to ibm branch 6 7 ! 7 8 ! Former revisions: … … 291 292 ENDDO 292 293 293 localsum = ( localsum + threadsum ) * dt_3d 294 localsum = ( localsum + threadsum ) * dt_3d * & 295 weight_pres(intermediate_timestep_count) 296 294 297 !$OMP END PARALLEL 295 298 #else
Note: See TracChangeset
for help on using the changeset viewer.