Changeset 1099


Ignore:
Timestamp:
Feb 10, 2013 1:47:43 AM (9 years ago)
Author:
raasch
Message:

adjustments for Forwind cluster (lcflow) and Kuyshu University computing center (hayaka -lckyuh); further small adjustments for lckyut

Location:
palm/trunk/SCRIPTS
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/.mrun.config.forwind

    r1098 r1099  
    55%mainprog          palm.f90
    66%base_directory    $HOME/palm/current_version
    7 %base_data         $base_directory/JOBS
    8 %output_data       /data/work/fw/<replace by your username>/palm/current_version/JOBS
    9 # Replace <replace by your username> by your username on FLOW. Replace "/fw/" by "/iwes/" if
    10 # your user directory resides in /iwes/.
     7%base_data         ~/palm/current_version/jobs
     8################################################################################
     9# Replace <<REPLACE BY YOUR USERNAME> by your username on FLOW. Replace "/fw/"
     10# by "/iwes/" if your user directory resides in /iwes/.
     11################################################################################
     12%output_data       /data/work/fw/<REPLACE BY YOUR USERNAME>/palm/current_version/JOBS
    1113%source_path       $base_directory/trunk/SOURCE
    12 %add_source_path   $base_directory/USER_CODE/$fname
    13 %depository_path   $base_directory/MAKE_DEPOSITORY
     14%add_source_path   $base_directory/user_code/$fname
     15%depository_path   $base_directory/make_depository
    1416%use_makefile      true
    1517#
     
    1921%host_identifier       cfdh*            lcflow
    2022%host_identifier       cfdx*            lcflow
    21 #
     23
     24################################################################################
     25# Replace <YOUR_DESKTOP_HOSTNAME> by the hostname of your desktop
     26# an uncomment following line to enable job submission from you local desktop
     27################################################################################
     28#%host_identifier       <YOUR_DESKTOP_HOSTNAME>           lcfor
     29
     30################################################################################
     31# Configuration for Ubuntu Linux 12.04 LTS with gcc (4.6.3) and OpenMPI (1.4.3)
    2232#
    2333# The next block contains all informations for compiling the PALM code
    24 # and for generating and running the PALM executable using MPI. Replace <user-id>
     34# and for generating and running the PALM executable using MPI on a Linux machine
     35# with gcc and OpenMPI. Replace <LOCAL_USERNAME> with your username on your
     36# local machine
     37#
     38# NOTE: - Other hosts may require different settings.
     39#       - following packages are required:
     40#         openmpi-common, libopenmpi-dev, libopenmpi, libnetcdf, libnetcdf-dev,
     41#         gcc
     42#
     43################################################################################
     44%remote_username   <LOCAL_USERNAME>                                          lcfor parallel
     45%tmp_user_catalog  /tmp                                                      lcfor parallel
     46%tmp_data_catalog  /tmp                                                      lcfor parallel
     47%compiler_name     mpif90                                                    lcfor parallel
     48%compiler_name_ser gfortran                                                  lcfor parallel
     49%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__netcdf4:-D__parallel  lcfor parallel
     50%netcdf_inc        -I/opt/netcdf/4.2.1.1/include                             lcfor parallel
     51%netcdf_lib        -lnetcdff:-lnetcdf                                        lcfor parallel
     52%mopts             -j:4                                                      lcfor parallel
     53%fopts             -Ofast:-IPA:-mtune=native:-march=native:-cpp:-fdefault-real-8:-fbackslash:-fconvert=little-endian   lcfor parallel
     54%lopts             -Ofast:-IPA:-mtune=native:-march=native:-cpp:-fdefault-real-8:-fbackslash                           lcfor parallel
     55
     56################################################################################
     57# Configuration for FLOW
     58#
     59# The next block contains all informations for compiling the PALM code
     60# and for generating and running the PALM executable using MPI. Replace <USERNAME_FLOW>
    2561# with your username on FLOW and if necessary "/fw/" by "/iwes/".
    2662# The following 'lcflow parallel' block assumes PALM compilation and execution
    2763# on host flow. Please note that other hosts may require different settings.
    28 #
    29 %remote_username   <replace by your username>                                      lcflow parallel
    30 %tmp_user_catalog  /data/work/fw/<replace by your username>/tmp                    lcflow parallel
    31 %tmp_data_catalog  /data/work/fw/<replace by your username>/palm_restart_data      lcflow parallel
    32 %compiler_name     mpiifort                                                        lcflow parallel
    33 %compiler_name_ser ifort                                                           lcflow parallel
    34 %cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__lc:-D__parallel     lcflow parallel
    35 %netcdf_inc        -I$$NETCDFF_INCLUDE                                             lcflow parallel
    36 %netcdf_lib        -L$$NETCDFF_DIR:-lnetcdff:-L$$NETCDF_DIR:-lnetcdf               lcflow parallel
    37 %mopts             -j:4                                                            lcflow parallel
    38 %fopts             -xSSE4.2:-O3:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-ip:-nbs:-convert:little_endian                lcflow parallel
    39 %lopts             -xSSE4.2:-O3:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-ip:-nbs:-limf:-lm:-Vaxlib                               lcflow parallel
    40 %login_init_cmd    .:/cm/local/apps/environment-modules/3.2.6/Modules/3.2.6/init/bash\;:MODULEPATH=/cm/shared/modulefiles/   lcflow parallel
    41 %modules           netcdf/4.2.1.1/intel/64/2011.0.013:netcdf-fortran/4.2/intel/64/2011.0.013:intel/ics/64/2011.0.013:intel/impi/4.0.1.007/64:hdf5/1.8.9/intel/64/2011.0.013:qt4/4.8.2  lcflow parallel
     64################################################################################
     65%remote_username   <USERNAME_FLOW>                                                                                               lcflow parallel
     66%tmp_user_catalog  /data/work/fw/$remote_username/tmp                                                                            lcflow parallel
     67%tmp_data_catalog  /data/work/fw/$remote_username/palm_restart_data                                                              lcflow parallel
     68%compiler_name     mpiifort                                                                                                      lcflow parallel
     69%compiler_name_ser ifort                                                                                                         lcflow parallel
     70%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__netcdf4:-D__parallel  lcflow parallel
     71%netcdf_inc        -I/cm/shared/apps/netcdf-fortran/4.2/intel/64/2011.0.013/include                                              lcflow parallel
     72%netcdf_lib        -L/cm/shared/apps/netcdf-fortran/4.2/intel/64/2011.0.013/lib:-lnetcdff:-L/cm/shared/apps/netcdf/4.2.1.1/intel/64/2011.0.013/lib:-lnetcdf:-L/cm/shared/apps/hdf5/1.8.9/intel/64/2011.0.013/lib:-Wl,-rpath:/cm/shared/apps/hdf5/1.8.9/intel/64/2011.0.013/lib:-Wl,-rpath:/cm/shared/apps/netcdf/4.2.1.1/intel/64/2011.0.013/lib:-Wl,-rpath:/cm/shared/apps/netcdf-fortran/4.2/intel/64/2011.0.013/lib       lcflow parallel
     73%mopts             -j:8                                                                                                          lcflow parallel
     74%fopts             -xhost:-O3:-fpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-sqrt:-ip:-nbs:-convert:little_endian:-static-intel   lcflow parallel
     75%lopts             -xhost:-O3:-fpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-sqrt:-ip:-nbs:-static-intel:-Wl,-rpath:/cm/shared/apps/intel/ics-2011.0.013/composerxe-2011.0.084/compiler/lib/intel64          lcflow parallel
     76%login_init_cmd    .:/cm/local/apps/environment-modules/3.2.6/Modules/3.2.6/init/bash\;:MODULEPATH=/cm/shared/modulefiles/                     lcflow parallel
     77%modules           sge/6.2u5p2:netcdf/4.2.1.1/intel/64/2011.0.013:netcdf-fortran/4.2/intel/64/2011.0.013:intel/ics/64/2011.0.013:intel/impi/64/4.0.1.007:hdf5/1.8.9/intel/64/2011.0.013:qt4     lcflow parallel
     78%disc_space        50                                                                                                            lcflow parallel
    4279#
    4380#
  • palm/trunk/SCRIPTS/.mrun.config.tatara

    r1097 r1099  
    2525# required paths (given in <>) by the respective paths valid on your host.
    2626#
    27 %tmp_user_catalog  /tmp                                          lckyut parallel
     27%tmp_user_catalog  <replace by your preferred tmp directory>     lckyut parallel
    2828%compiler_name     mpifrt                                        lckyut parallel
    2929%compiler_name_ser frt                                           lckyut parallel
  • palm/trunk/SCRIPTS/batch_scp

    r1096 r1099  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# LANG variable is unset in some ssh calls to guarantee messages in English
    2525#
    2626# Former revisions:
     
    312312 if [[ $(echo $local_host | cut -c1-4) = gaia ]]
    313313 then
    314     ssh $SSH_PORTOPT $local_user@gaiad "ssh $SSH_PORTOPT $1 -l $remote_user \"cd $3; ls -1; echo '*** list complete'\" "  > $filelist  2>&1
     314    ssh $SSH_PORTOPT $local_user@gaiad "ssh $SSH_PORTOPT $1 -l $remote_user \"unset LANG; cd $3; ls -1; echo '*** list complete'\" "  > $filelist  2>&1
    315315 else
    316     ssh $SSH_PORTOPT $1 -l $remote_user "cd $3; ls -1; echo '*** list complete'" > $filelist  2>&1
     316    ssh $SSH_PORTOPT $1 -l $remote_user "unset LANG; cd $3; ls -1; echo '*** list complete'" > $filelist  2>&1
    317317 fi
    318318 ssh_status=$?
  • palm/trunk/SCRIPTS/mbuild

    r1096 r1099  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# adjustments for Forwind cluster (lcflow)
    2525#
    2626# Former revisions:
     
    454454       # IP-ADRESSE DES REMOTE-RECHNERS BESTIMMEN
    455455    case  $remote_host  in
     456        (lcflow)         remote_addres="flow.hpc.uni-oldenburg.de";;
    456457        (lckordi)        remote_adress=210.219.61.8;;
    457458        (lcmuk)          remote_addres=130.75.105.2;;
    458459        (lcrte)          remote_addres=133.5.185.60;;
    459         (lcsb)           remote_adress=147.46.30.151;;
     460        (lcsb)           remote_addres=147.46.30.151;;
    460461        (lcsgib)         remote_addres=130.73.232.102;;
    461462        (lcsgih)         remote_addres=130.75.4.101;;
     
    12591260          then
    12601261             . $modules
     1262          elif [[ $remote_host = lcflow ]]
     1263          then
     1264             eval `$MODULESHOME/bin/modulecmd ksh load ${modules}`
    12611265          else
    12621266             module load ${modules}
  • palm/trunk/SCRIPTS/mrun

    r1096 r1099  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# adjustments for Kyushu-University computing center (lckyuh - hayaka)
     25# and for Forwind cluster (lcflow)
     26# small further adjustments for lckyut
    2527#
    2628# Former revisions:
     
    3436#
    3537# 2013-02-02 07:06:13Z raasch
    36 # adjustments for Kyushu-University computing center (lckyut)
     38# adjustments for Kyushu-University computing center (lckyut - tatara)
    3739#
    3840# 1083 2013-01-04 10:22:09Z maronga
     
    514516    do_remote=true
    515517    case  $host  in
    516         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb)  true;;
     518        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lcflow|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    517519        (*)  printf "\n"
    518520             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    600602 fi
    601603
     604
     605    # WERTE VON MRUN-OPTIONEN SICHERN UND DAMIT GEGEBENENFALLS SPAETER DIE
     606    # IN DER KONFIGURAIONSDATEI ANGEGEBENEN WERTE UEBERSTEUERN
     607 mrun_memory=$memory
     608 mrun_group_number=$group_number
     609 mrun_cpumax=$cpumax
     610 mrun_numprocs=$numprocs
    602611
    603612
     
    678687                   do_remote=true
    679688                   case  $host  in
    680                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb)  true;;
     689                       (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    681690                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    682691                            printf "\n      is not available"
     
    817826%%END%%
    818827
    819        # WERTE VON MRUN-OPTIONEN SICHERN UND DAMIT GEGEBENENFALLS SPAETER DIE
    820        # IN DER KONFIGURAIONSDATEI ANGEGEBENEN WERTE UEBERSTEUERN
    821     mrun_memory=$memory
    822     mrun_group_number=$group_number
    823     mrun_cpumax=$cpumax
    824     mrun_numprocs=$numprocs
    825 
    826828    if [[ $localhost_realname = "sx-fep" ]]
    827829    then
     
    866868    rm  $interpreted_config_file
    867869
    868 
    869        # OPTIONSWERTE UEBERSTEUERN KONFIGURATIONSDATEI
    870     [[ $mrun_memory     != 0   ]]  &&  memory=$mrun_memory
    871     [[ "$mrun_group_number" != "none" ]]  &&  group_number=$mrun_group_number
    872     [[ $mrun_cpumax     != 0   ]]  &&  cpumax=$mrun_cpumax
    873     [[ "$mrun_numprocs" != ""  ]]  &&  numprocs=$mrun_numprocs
    874     [[ "$max_par_io_str" != "" ]]  &&  maximum_parallel_io_streams=$max_par_io_str
    875     [[ "$mrun_tasks_per_node" != "" ]]  &&  tasks_per_node=$mrun_tasks_per_node
    876 
    877  fi
     870 fi
     871
     872
     873    # OPTIONSWERTE UEBERSTEUERN KONFIGURATIONSDATEI
     874 [[ $mrun_memory     != 0   ]]  &&  memory=$mrun_memory
     875 [[ "$mrun_group_number" != "none" ]]  &&  group_number=$mrun_group_number
     876 [[ $mrun_cpumax     != 0   ]]  &&  cpumax=$mrun_cpumax
     877 [[ "$mrun_numprocs" != ""  ]]  &&  numprocs=$mrun_numprocs
     878 [[ "$max_par_io_str" != "" ]]  &&  maximum_parallel_io_streams=$max_par_io_str
     879 [[ "$mrun_tasks_per_node" != "" ]]  &&  tasks_per_node=$mrun_tasks_per_node
    878880
    879881
     
    962964    do_remote=true
    963965    case  $host  in
    964         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyut|lcsb)  true;;
     966        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lcflow|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb)  true;;
    965967        (*)  printf "\n"
    966968             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    11221124        (lckiaps)    queue=normal;;
    11231125        (lckyoto)    queue=ph;;
    1124         (lckyut)     queue=cx-dbg;;
     1126        (lckyuh)     queue=fx-single;;
     1127        (lckyut)     queue=cx-single;;
    11251128        (lcsgib)     queue=testq;;
    11261129        (lcsgih)     queue=testq;;
     
    18701873 lopts="$lopts $netcdf_lib $dvr_lib"
    18711874 ROPTS="$ropts"
    1872 # if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lckyoto  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxe6 ||  $host = lcxt5m || $host = lck || $host = lckiaps || $host = lckordi || $host = lcsb || $host )  &&  -n $numprocs ]]
     1875# if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lckyoto  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcflow  ||  $host = lcxe6 ||  $host = lcxt5m || $host = lck || $host = lckiaps || $host = lckordi || $host = lcsb || $host )  &&  -n $numprocs ]]
    18731876# then
    18741877    XOPT="-X $numprocs"
     
    35093512                # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT
    35103513                # DOES NOT EXIST
    3511              if [[ $host != lcsgih  &&  $host != lcsgib ]]
     3514             if [[ $host != lcsgih  &&  $host != lcsgib  &&  $host != lckyu* ]]
    35123515             then
    35133516                if [[ -f $hostfile ]]
     
    36303633                elif [[ $host = lckyu* ]]
    36313634                then
    3632                    mpiexec -n $ii   a.out  < runfile_atmos  $ROPTS
     3635                   mpiexec -n $ii  ./a.out  < runfile_atmos  $ROPTS
    36333636                else
    36343637                   mpiexec  -machinefile hostfile  -n $ii  a.out  < runfile_atmos  $ROPTS
     
    45274530          then
    45284531
    4529              if [[ $localhost = lcsgih  ||  $localhost = lcsgib  ||  $localhost = nech  ||  $localhost = ibmh  ||  $localhost = ibmkisti  ||  $localhost = ibmku  ||  $localhost = ibms ]]
     4532             if [[ $localhost = lcsgih  ||  $localhost = lcsgib  ||  $localhost = nech  ||  $localhost = ibmh  ||  $localhost = ibmkisti  ||  $localhost = ibmku  ||  $localhost = ibms  ||  $localhost = lcflow  ||  $localhost = lckyu* ]]
    45304533             then
    45314534                echo "*** ssh will be used to initiate restart-runs!"
     
    47714774          # ABSPEICHERN DER KONFIGURATIONSDATEI
    47724775          # ABDECKZEICHEN VERHINDERN, DASS ERSETZUNGEN ERFOLGEN
     4776          # Lines with #$ coming from the svn keyword substitution are
     4777          # removed from the config file in order to avoid problems
     4778          # with the SGE batch system
    47734779       echo  "cat > $config_file << \"%END%\""      >>  $jobfile
    4774        cat   $config_file                           >>  $jobfile
     4780       sed 's/#$.*//g'   $config_file               >>  $jobfile
    47754781       echo  "%END%"                                >>  $jobfile
    47764782       echo  " "                                    >>  $jobfile
     
    48354841    then
    48364842       echo  "export PALM_BIN=$PALM_BIN"                >>  $jobfile
     4843    elif [[ $host = lcflow  ||  $localhost = lcflow ]]
     4844    then
     4845       echo  "export PALM_BIN=$PALM_BIN" | sed -e 's:'$HOME':$HOME:'   >>  $jobfile
     4846       echo  "export PATH=\$PATH:\$PALM_BIN"              >>  $jobfile
    48374847    fi
    48384848
     
    48404850    echo  "set -x"                                      >>  $jobfile
    48414851    echo  "queue=$queue"                                >>  $jobfile
     4852#    echo  "echo \"*** shell test\" "                    >>  $jobfile
     4853#    echo  "which ksh"                                   >>  $jobfile
     4854#    echo  "ls -al /bin"                                 >>  $jobfile
    48424855    echo  "[[ \$execute_mrun = true ]]  &&  ./$mrun_com"  >>  $jobfile
    48434856
  • palm/trunk/SCRIPTS/subjob

    r1096 r1099  
    2323# Current revisions:
    2424# ------------------
    25 #
     25# adjustments for Kyushu-Univeristy computing center (lckyuh - hayaka)
     26# and for Forwind cluster (lcflow)
    2627#
    2728# Former revisions:
     
    3435#
    3536# 2013-02-02 07:06:13Z raasch
    36 # adjustments for Kyushu-University computing center (lckyut)
     37# adjustments for Kyushu-University computing center (lckyut - tatara)
    3738# old changelog messages removed
    3839#
     
    128129     (elephanta)             local_addres=130.75.105.6;   local_host=lcmuk;;
    129130     (fimm.bccs.uib.no)      local_addres=172.20.4.2;     local_host=lcfimm;;
     131     (flow01)                local_addres=10.141.255.71;  local_host=lcflow;;
     132     (flow02)                local_addres=10.141.255.72;  local_host=lcflow;;
    130133     (node*)                 local_addres=165.132.26.61   local_host=lck;;
    131134   #  (node*)                 local_addres=210.219.61.8    local_host=lckordi;;
     
    135138     (gregale)               local_addres=130.75.105.109; local_host=lcmuk;;
    136139     (hababai)               local_addres=130.75.105.108; local_host=lcmuk;;
     140     (hayaka*)               local_addres=133.5.4.33;     local_host=lckyuh;;
    137141     (hexagon.bccs.uib.no)   local_addres=129.177.20.113; local_host=lcxe6;;
    138142     (hd1)                   local_addres=130.75.4.104;   local_host=lcsgih;;
     
    150154     (login*)                local_addres=118.128.66.223; local_host=lckiaps;;
    151155     (maestro)               local_addres=130.75.105.2;   local_host=lcmuk;;
     156     (meller)                local_addres=134.106.74.155; local_host=lcfor;;
    152157     (meteo-login*)          local_addres=193.166.211.144;local_host=lcxt5m;;
    153158     (hexagon*)              local_addres=129.177.20.113; local_host=lcxe6;;
     
    156161     (ostria)                local_addres=130.75.105.106; local_host=lcmuk;;
    157162     (paesano)               local_addres=130.75.105.46;  local_host=lcmuk;;
     163     (pcj*)                  local_addres=172.31.120.1;   local_host=lckyut;;
    158164     (pingui)                local_addres=134.106.74.118; local_host=lcfor;;
    159165     (quanero)               local_addres=130.75.105.107; local_host=lcmuk;;
     
    297303        (ibmy)    queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
    298304        (lcfimm)  remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;;
     305        (lcflow)  remote_addres=10.140.1.71; submcom=/cm/shared/apps/sge/6.2u5p2/bin/lx26-amd64/qsub;;
    299306        (lckyoto) remote_addres=133.3.51.11; submcom=/thin/local/bin/qsub;;
    300307        (lcsgib)  queue=smallq; remote_addres=130.73.232.104; submcom=/opt/moab/bin/msub;;
     
    303310        (lckiaps) remote_addres=118.128.66.223; submcom=/cm/shared/apps/pbspro/11.0.2.110766/bin/qsub;;
    304311        (lckordi) remote_addres=210.219.61.8; submcom=/usr/torque/bin/qsub;;
     312        (lckyuh)  remote_addres=133.5.4.33; submcom=/usr/bin/pjsub;;
    305313        (lckyut)  remote_addres=133.5.4.37; submcom=/usr/bin/pjsub;;
    306314        (lcsb)    remote_addres=147.46.30.151; submcom=/usr/torque/bin/qsub;;
     
    349357                     (*)                                     error=true;;
    350358                 esac;;
     359        (lcflow) case  $ndq  in
     360                     (cfd_lom_long.q|cfd_him_long.q|cfd_lom_serl.q|cfd_lom_shrt.q|cfd_him_shrt.q)  error=false;;
     361                     (*)                                     error=true;;
     362                 esac;;
    351363        (lckiaps) case  $ndq  in
    352364                     (express|normal)                        error=false;;
     
    355367        (lckyoto) case  $ndq  in
    356368                     (eh|ph)                                 error=false;;
     369                     (*)                                     error=true;;
     370                 esac;;
     371        (lckyuh) case  $ndq  in
     372                     (fx-dbg|fx-single|fx-small|fx-middle|fx-large)  error=false;;
    357373                     (*)                                     error=true;;
    358374                 esac;;
     
    753769    fi
    754770
     771 elif [[ $remote_host = lcflow ]]
     772 then
     773    if [ $memory -gt 1900 ]; then
     774      use_himem=""
     775    else
     776      use_himem="#"
     777    fi
     778    if [[ $numprocs != 0 ]]
     779    then
     780      pe_set="#$ -pe impi $numprocs"
     781    else
     782      pe_set="#$ -pe impi 1"
     783    fi
     784    if [[ $queue = default ]]
     785    then
     786      queue_set=""
     787    else
     788      queue_set="#$ -q $queue"
     789    fi
     790    [[ "$disc_space" = "" ]]  &&  disc_space=50
     791
     792       cat > $job_to_send << %%END%%
     793#!/bin/bash
     794#$ -S /bin/bash
     795#$ -N $job_name
     796#$ -cwd
     797#$ -l h_rt=$timestring
     798#$ -l h_vmem=${memory}M
     799#$ -o $remote_dayfile
     800#$ -j y
     801$pe_set
     802#$ -R y
     803${use_himem}#$ -l highmem=true
     804#$ -l h_fsize=${disc_space}G
     805$queue_set
     806
     807%%END%%
     808
    755809 elif [[ $remote_host = lck || $remote_host = lckordi || $remote_host = lcsb ]]
    756810 then
     
    10291083    fi
    10301084
    1031  elif [[ $remote_host = lckyut ]]
     1085 elif [[ $remote_host = lckyuh ]]
    10321086 then
    10331087    cat > $job_to_send << %%END%%
    10341088#!/bin/bash
     1089#PJM -L "rscgrp=$queue"
     1090#PJM -L "node=$nodes"
     1091#PJM --mpi "proc=$numprocs"
     1092#PJM -L "elapse=$timestring"
     1093#PJM -o $remote_dayfile
     1094#PJM -j
     1095#PJM -X
     1096#PJM --no-stging
     1097
     1098export LANG=en_US.UTF-8
     1099%%END%%
     1100
     1101 elif [[ $remote_host = lckyut ]]
     1102 then
     1103    cat > $job_to_send << %%END%%
     1104#!/bin/bash
     1105#PJM -L "rscgrp=$queue"
    10351106#PJM -L "vnode=$numprocs"
    10361107#PJM -L "vnode-core=1"
    1037 #PJM -L "rscgrp=$queue"
    1038 #PJM --no-stging
    10391108#PJM -L "elapse=$timestring"
    10401109#PJM --mpi proc=$numprocs
    10411110#PJM -o $remote_dayfile
    10421111#PJM -j
     1112#PJM -X
     1113#PJM --no-stging
    10431114
    10441115export LANG=en_US.UTF-8
     
    11621233    echo "trap '"                               >>  $job_to_send
    11631234    echo "set +vx"                              >>  $job_to_send
    1164     if [[ $(echo $remote_host | cut -c1-3) = ibm  ||  $(echo $remote_host | cut -c1-5) = lcsgi  ||  $(echo $remote_host | cut -c1-3) = nec  ||  $remote_host = lckiaps  ||  $remote_host = lckyut ]]
     1235    if [[ $(echo $remote_host | cut -c1-3) = ibm  ||  $(echo $remote_host | cut -c1-5) = lcsgi  ||  $(echo $remote_host | cut -c1-3) = nec  ||  $remote_host = lcflow  ||  $remote_host = lckiaps  ||  $remote_host = lckyu* ]]
    11651236    then
    11661237       if [[ $remote_host = ibmh ]]
     
    11881259       then
    11891260          return_queue=express
     1261       elif [[ $remote_host = lckyuh ]]
     1262       then
     1263          return_queue=cx-single
    11901264       elif [[ $remote_host = lckyut ]]
    11911265       then
     
    12551329          echo "%%END%%"                           >>  $job_to_send
    12561330
     1331       elif [[ $remote_host = lckyuh ]]
     1332       then
     1333          echo "cat > scpjob.$kennung << %%END%%"  >>  $job_to_send
     1334          echo "#!/bin/bash"                       >>  $job_to_send
     1335          echo "#PJM -L \"node=1\""                >>  $job_to_send
     1336          echo "#PJM -L \"rscgrp=$return_queue\""  >>  $job_to_send
     1337          echo "#PJM --no-stging"                  >>  $job_to_send
     1338          echo "#PJM -L \"elapse=30:00\""          >>  $job_to_send
     1339          echo "#PJM -o \$HOME/job_queue/last_job_transfer_protocol"  >>  $job_to_send
     1340          echo "#PJM -j"                           >>  $job_to_send
     1341          echo " "                                 >>  $job_to_send
     1342          echo "export LANG=en_US.UTF-8"           >>  $job_to_send
     1343          echo "set -x"                            >>  $job_to_send
     1344          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_addres  $remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
     1345          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
     1346          echo "%%END%%"                           >>  $job_to_send
     1347
    12571348       elif [[ $remote_host = lckyut ]]
    12581349       then
     
    12881379          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
    12891380          echo "%%END%%"                           >>  $job_to_send
     1381
     1382       elif [[ $remote_host = lcflow ]]
     1383       then
     1384          echo "cat > scpjob.${kennung}.tmp << %%END%%"                  >>  $job_to_send
     1385          echo "#!/bin/bash"                                             >>  $job_to_send
     1386          echo "SGEPREFIX -S /bin/bash"                                  >>  $job_to_send
     1387          echo "SGEPREFIX -N transfer_$job_name"                         >>  $job_to_send
     1388          echo "SGEPREFIX -cwd"                                          >>  $job_to_send
     1389          echo "SGEPREFIX -l h_rt=01:00:00"                              >>  $job_to_send
     1390          echo "SGEPREFIX -l h_vmem=100M"                                >>  $job_to_send
     1391          echo "SGEPREFIX -j y"                                          >>  $job_to_send
     1392          echo "SGEPREFIX -o ${local_host}_${job_name}_scpjob_$kennung"  >>  $job_to_send
     1393          echo " "                                                       >>  $job_to_send
     1394          echo "set -x"                                                  >>  $job_to_send
     1395          echo "export PALM_BIN=$PALM_BIN" | sed -e 's:'$HOME':$HOME:'   >>  $job_to_send
     1396          echo "export PATH=\$PATH:\$PALM_BIN"                           >>  $job_to_send
     1397          echo ""                                 >>  $job_to_send         
     1398          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_addres  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
     1399          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
     1400          echo "rm -f scpjob.${kennung}"                                 >>  $job_to_send         
     1401          echo "%%END%%"                                                 >>  $job_to_send
     1402          echo "sed -e 's/SGEPREFIX/#$/g' scpjob.${kennung}.tmp > scpjob.${kennung}" >>  $job_to_send         
     1403          echo "rm -f scpjob.${kennung}.tmp"                             >>  $job_to_send         
    12901404
    12911405       else
     
    13341448          echo "ssh $SSH_PORTOPT ${remote_username}@${remote_addres}  \"$submcom ${job_catalog}/scpjob.$kennung\" "  >>  $job_to_send
    13351449          echo "rm  ${job_catalog}/scpjob.$kennung"          >>  $job_to_send
    1336        elif [[ $remote_host = lckyut ]]
     1450       elif [[ $remote_host = lckyu* ]]
    13371451       then
    13381452          echo "scp $PORTOPT scpjob.$kennung  ${remote_username}@${remote_addres}:job_queue"           >>  $job_to_send
    13391453          echo "ssh $SSH_PORTOPT ${remote_username}@${remote_addres}  \"cd job_queue; $submcom scpjob.$kennung; rm scpjob.$kennung\" "  >>  $job_to_send
     1454       elif [[ $remote_host = lcflow ]]
     1455       then
     1456          echo "mv  scpjob.$kennung  $job_catalog"           >>  $job_to_send
     1457          echo "ssh ${remote_username}@${remote_addres}  \"$init_cmds $module_calls cd $job_catalog; $submcom scpjob.$kennung\" "  >>  $job_to_send
    13401458       else
    13411459          echo "$submcom  scpjob.$kennung"      >>  $job_to_send
     
    13701488
    13711489    # remove job file
    1372  if [[ $remote_host = lctit  ||  $remote_host = ibmku ]]
     1490 if [[ $remote_host = lctit  ||  $remote_host = ibmku  ||  $remote_host = lcflow ]]
    13731491 then
    13741492    echo " "                               >>  $job_to_send
     
    14401558       then
    14411559          ssh  $SSH_PORTOPT $remote_addres  -l $remote_user  "cd $job_catalog; $submcom $job_on_remhost"
     1560       elif [[ $remote_host = lcflow ]]
     1561       then
     1562          ssh  $SSH_PORTOPT $remote_addres  -l $remote_user  "$init_cmds $module_calls cd $job_catalog; $submcom $job_on_remhost"
    14421563       else
    14431564          ssh  $SSH_PORTOPT $remote_addres  -l $remote_user  "cd $job_catalog; $submcom $job_on_remhost; rm $job_on_remhost"
     
    14501571       then
    14511572          eval  $submcom  $job_on_remhost
    1452        elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxe6  ||  $localhost = lck  || $localhost = lckordi ||  $localhost = lcyon || $localhost = lcsb  ||  $localhost = lckyut ]]
     1573       elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxe6  ||  $localhost = lck  || $localhost = lckordi ||  $localhost = lcyon || $localhost = lcsb  ||  $localhost = lckyu* ]]
    14531574       then
    14541575          chmod  u+x  $job_on_remhost
     
    14691590          # Jobfile must not be deleted on lctit/ibmku!! This will be done
    14701591          # only at the end of the job.
    1471        if [[ $local_host != lctit  &&  $local_host != ibmku ]]
     1592       if [[ $local_host != lctit  &&  $local_host != ibmku  &&  $local_host != lcflow ]]
    14721593       then
    14731594          rm  $job_on_remhost
     
    14831604 if [[ $no_submit = false ]]
    14841605 then
    1485     rm  $job_to_send
     1606    rm  -f $job_to_send
    14861607 fi
    14871608 [[ $verify = true ]]  &&  printf "\n\n *** SUBJOB finished \n\n"
Note: See TracChangeset for help on using the changeset viewer.