Changeset 291 for palm/trunk/SCRIPTS
- Timestamp:
- Apr 16, 2009 12:07:26 PM (16 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r265 r291 179 179 # dvr application more user friendly 180 180 # 20/03/09 - Marcus - update of n1ge command for lctit 181 # 16/04/09 - Siggi - new option -y for precursor (uncoupled) ocean runs 182 # to be followed by a coupled atmosphere-ocean run 181 183 182 184 … … 417 419 # SHELLSCRIPT-OPTIONEN EINLESEN UND KOMMANDO NEU ZUSAMMENSETZEN, FALLS ES 418 420 # FUER FOLGEJOBS BENOETIGT WIRD 419 while getopts :a:AbBc:Cd:D:Fg:G:h:H:i:IkK:m:M:n:o:Op:P:q:r:R:s:St:T:u:U:vxX: Y: option421 while getopts :a:AbBc:Cd:D:Fg:G:h:H:i:IkK:m:M:n:o:Op:P:q:r:R:s:St:T:u:U:vxX:yY: option 420 422 do 421 423 case $option in … … 456 458 (x) do_trace=true;set -x; mc="$mc -x";; 457 459 (X) numprocs=$OPTARG; mc="$mc -X$OPTARG";; 460 (y) ocean_file_appendix=true; mc="$mc -y";; 458 461 (Y) run_coupled_model=true; coupled_dist=$OPTARG; mc="$mc -Y'$OPTARG'";; 459 462 (\?) printf "\n +++ unknown option $OPTARG \n" … … 473 476 then 474 477 (printf "\n *** mrun can be called as follows:\n" 475 printf "\n $mrun_script_name -b -c.. -d.. -D.. -f.. -F -h.. -i.. -I -K.. -m.. -o.. -p.. -r.. -R -s.. -t.. -T.. -v -x -X.. - Y.. <modus>\n"478 printf "\n $mrun_script_name -b -c.. -d.. -D.. -f.. -F -h.. -i.. -I -K.. -m.. -o.. -p.. -r.. -R -s.. -t.. -T.. -v -x -X.. -y -Y.. <modus>\n" 476 479 printf "\n Description of available options:\n" 477 480 printf "\n Option Description Default-Value" … … 511 514 printf "\n -x tracing of mrun for debug purposes ---" 512 515 printf "\n -X # of processors (on parallel machines) 1" 516 printf "\n -y add appendix \"_O\" to all local output" 517 printf "\n files (ocean precursor runs followed by" 518 printf "\n coupled atmosphere-ocean runs) ---" 513 519 printf "\n -Y run coupled model, \"#1 #2\" with" 514 520 printf "\n #1 atmosphere and #2 ocean processors \"#/2 #/2\" depending on -X" … … 2407 2413 then 2408 2414 printf " compiler is called via ssh on \"bicegate\" using module \"$mpilib\" \n" 2409 ssh 130.73.232.10 2-l $usern ". /usr/share/modules/init/bash; module load $mpilib; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" "2415 ssh 130.73.232.103 -l $usern ". /usr/share/modules/init/bash; module load $mpilib; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2410 2416 [[ ! -f a.out ]] && compile_error=true 2411 2417 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN … … 3097 3103 if [[ $run_coupled_model = false ]] 3098 3104 then 3099 echo "no_coupling" > runfile_atmos 3105 if [[ "$ocean_file_appendix" = true ]] 3106 then 3107 echo "precursor_ocean" > runfile_atmos 3108 else 3109 echo "precursor_atmos" > runfile_atmos 3110 fi 3100 3111 printf "\n\n" 3101 3112 if [[ $host = lcsgih || $host = lcsgib ]] … … 4098 4109 [[ $delete_temporary_catalog = false ]] && mrun_com=${mrun_com}" -B" 4099 4110 [[ $node_usage != default && "$(echo $node_usage | cut -c1-3)" != "sla" && $node_usage != novice ]] && mrun_com=${mrun_com}" -n $node_usage" 4111 [[ "$ocean_file_appendix" = true ]] && mrun_com=${mrun_com}" -y" 4100 4112 [[ $run_coupled_model = true ]] && mrun_com=${mrun_com}" -Y \"$coupled_dist\"" 4101 4113 if [[ $do_remote = true ]] -
palm/trunk/SCRIPTS/subjob
r259 r291 163 163 (bora) local_addres=130.75.105.103; local_host=lcmuk;; 164 164 (bicegate1) local_addres=130.73.232.102; local_host=lcsgib;; 165 (bicegate2) local_addres=130.73.232.103; local_host=lcsgib;; 165 166 (breg*-en0|berni*-en0) local_addres=130.73.230.10; local_host=ibmb;; 166 167 (breva) local_addres=130.75.105.98; local_host=lcmuk;; … … 319 320 (ibmy) queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 320 321 (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;; 321 (lcsgib) queue=smallq; remote_addres=130.73.232.10 2; submcom=/opt/moab/bin/msub;;322 (lcsgib) queue=smallq; remote_addres=130.73.232.103; submcom=/opt/moab/bin/msub;; 322 323 (lcsgih) queue=smallq; remote_addres=130.75.4.103; submcom=/opt/moab/bin/msub;; 323 324 (lctit) queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;;
Note: See TracChangeset
for help on using the changeset viewer.