Changeset 291 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Apr 16, 2009 12:07:26 PM (15 years ago)
Author:
raasch
Message:

changes for coupling with independent precursor runs; z_i calculation with Sullivan criterion

Location:
palm/trunk/SCRIPTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r265 r291  
    179179     #                     dvr application more user friendly
    180180     # 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
    181183
    182184 
     
    417419    # SHELLSCRIPT-OPTIONEN EINLESEN UND KOMMANDO NEU ZUSAMMENSETZEN, FALLS ES
    418420    # 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: option
     421 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
    420422 do
    421423   case  $option  in
     
    456458       (x)   do_trace=true;set -x; mc="$mc -x";;
    457459       (X)   numprocs=$OPTARG; mc="$mc -X$OPTARG";;
     460       (y)   ocean_file_appendix=true; mc="$mc -y";;
    458461       (Y)   run_coupled_model=true; coupled_dist=$OPTARG; mc="$mc -Y'$OPTARG'";;
    459462       (\?)  printf "\n  +++ unknown option $OPTARG \n"
     
    473476 then
    474477   (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"
    476479    printf "\n      Description of available options:\n"
    477480    printf "\n      Option  Description                              Default-Value"
     
    511514    printf "\n        -x    tracing of mrun for debug purposes       ---"
    512515    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)           ---"
    513519    printf "\n        -Y    run coupled model, \"#1 #2\" with"
    514520    printf "\n              #1 atmosphere and #2 ocean processors    \"#/2 #/2\" depending on -X"
     
    24072413       then
    24082414          printf "      compiler is called via ssh on \"bicegate\" using module \"$mpilib\" \n"
    2409           ssh  130.73.232.102  -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\" "
    24102416          [[ ! -f a.out ]]  &&  compile_error=true
    24112417          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
     
    30973103             if [[ $run_coupled_model = false ]]
    30983104             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
    31003111                printf "\n\n"
    31013112                if [[ $host = lcsgih  ||  $host = lcsgib ]]
     
    40984109    [[ $delete_temporary_catalog = false ]]  &&  mrun_com=${mrun_com}" -B"
    40994110    [[ $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"
    41004112    [[ $run_coupled_model = true ]]  &&  mrun_com=${mrun_com}" -Y \"$coupled_dist\""
    41014113    if [[ $do_remote = true ]]
  • palm/trunk/SCRIPTS/subjob

    r259 r291  
    163163     (bora)                  local_addres=130.75.105.103; local_host=lcmuk;;
    164164     (bicegate1)             local_addres=130.73.232.102; local_host=lcsgib;;
     165     (bicegate2)             local_addres=130.73.232.103; local_host=lcsgib;;
    165166     (breg*-en0|berni*-en0)  local_addres=130.73.230.10;  local_host=ibmb;;
    166167     (breva)                 local_addres=130.75.105.98;  local_host=lcmuk;;
     
    319320        (ibmy)    queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    320321        (lcfimm)  remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
    321         (lcsgib)  queue=smallq; remote_addres=130.73.232.102; submcom=/opt/moab/bin/msub;;
     322        (lcsgib)  queue=smallq; remote_addres=130.73.232.103; submcom=/opt/moab/bin/msub;;
    322323        (lcsgih)  queue=smallq; remote_addres=130.75.4.103; submcom=/opt/moab/bin/msub;;
    323324        (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.