Index: palm/trunk/SCRIPTS/.mrun.config.csc_sisu
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.csc_sisu	(revision 2693)
+++ 	(revision )
@@ -1,177 +1,0 @@
-#$Id: .mrun.config.lcxe6 1044 2012-11-07 10:30:58Z maronga $
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-#%executable        $HOME/palm/current_version/MAKE_DEPOSITORY_parallel/palm
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   sisu-login*  lccrayf
-%host_identifier   clogin*      lccrayf
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-# Also replace <hi> by your host identifier (see above) in each line!
-# Compilernames, cpp-options and compiler-options are assuming
-# an Intel-Compiler and mpich2 on this host! Please change
-# appropriately, if you are using a different compiler / MPI-Version.
-#
-%tmp_user_catalog    /wrk/<replace_by_your_sisu-username>               lccrayf parallel
-%tmp_data_catalog    /wrk/<replace_by_your_sisu-username>/restart_data  lccrayf parallel
-%compiler_name       crayftn                                            lccrayf parallel
-%compiler_name_ser   crayftn                                            lccrayf parallel
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__intel_openmp_bug lccrayf parallel
-%netcdf_inc          -I:/opt/cray/netcdf/4.2.1.1/cray/81/include  lccrayf parallel
-%netcdf_lib          -L/opt/cray/netcdf/4.2.1.1/cray/81/lib:-lnetcdff:-lnetcdf  lccrayf parallel
-%mopts               -j:4                                               lccrayf parallel
-%fopts               -em:-s:real64:-O2                                  lccrayf parallel
-%lopts               -em:-s:real64:-O2                                  lccrayf parallel
-%remote_username     <replace_by_your_sisu-username>                    lccrayf parallel
-%memory              1500                                               lccrayf parallel
-%login_init_cmd      .:/opt/modules/default/init/ksh\;:.:/etc/bash.bashrc.local\;:module:list  lccrayf parallel
-%modules             cray-netcdf                                        lccrayf parallel
-%create_executable_for_batch  true                                      lccrayf parallel
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $base_data/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.cuhk
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.cuhk	(revision 2693)
+++ 	(revision )
@@ -1,181 +1,0 @@
-#$Id: .mrun.config.cuhk 1231 2013-09-20 11:25:45Z knoop $
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   <replace_with_your_hostname>  lccuhk
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI.
-# Compilernames, cpp-options and compiler-options are assuming
-# an GNU-Compiler and mpich2 on this host! Please change
-# appropriately, if you are using a different compiler / MPI-Version.
-#
-# CUHK
-%remote_username   student                                       lccuhk parallel
-%tmp_user_catalog  $HOME/palm/tmp                                lccuhk parallel
-%compiler_name     mpif90                                        lccuhk parallel
-%compiler_name_ser gfortran                                      lccuhk parallel
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel:-D__gfortran   lccuhk parallel
-%netcdf_inc        -I:$HOME/opt/netcdf-3.6.3/include             lccuhk parallel
-%netcdf_lib        -L:$HOME/opt/netcdf-3.6.3/lib:-lnetcdf        lccuhk parallel
-%mopts             -j:8                                          lccuhk parallel
-%fopts             -Ofast                                        lccuhk parallel
-%lopts             -Ofast                                        lccuhk parallel
-#
-# CUHK debug/trace mode
-%remote_username   student                                       lccuhk parallel trace
-%tmp_user_catalog  $HOME/palm/tmp                                lccuhk parallel trace
-%compiler_name     mpif90                                        lccuhk parallel trace
-%compiler_name_ser gfortran                                      lccuhk parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel:-D__gfortran   lccuhk parallel trace
-%netcdf_inc        -I:$HOME/opt/netcdf-3.6.3/include             lccuhk parallel trace
-%netcdf_lib        -L:$HOME/opt/netcdf-3.6.3/lib:-lnetcdf        lccuhk parallel trace
-%mopts             -j:8                                          lccuhk parallel trace
-%fopts             -O0:-Wall:-fbacktrace                         lccuhk parallel trace
-%lopts             -O0:-Wall:-fbacktrace                         lccuhk parallel trace
-#
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $base_data/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $base_data/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.dkrz
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.dkrz	(revision 2693)
+++ 	(revision )
@@ -1,184 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-#%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   mlogin1*    lcbullhh
-%host_identifier   m1*         lcbullhh
-#
-# DKRZ Hamburg
-%project_account     <replace_by_your_DKRZ_project_account>                                                lcbullhh parallel
-%tmp_user_catalog    /work/<replace_by_your_DKRZ_project_account>/<replace_by_your_DKRZ_username>          lcbullhh parallel
-%tmp_data_catalog    /work/<replace_by_your_DKRZ_project_account>/<replace_by_your_DKRZ_username>/JOBS     lcbullhh parallel
-%compiler_name       mpif90                                                                                lcbullhh parallel
-%compiler_name_ser   ifort                                                                                 lcbullhh parallel
-%fftw_inc          -I:/sw/rhel6-x64/numerics/fftw-3.3.4-bullxmpi-gcc48/include                             lcbullhh parallel
-%fftw_lib          -L/sw/rhel6-x64/numerics/fftw-3.3.4-bullxmpi-gcc48/lib:-lfftw3                          lcbullhh parallel
-%netcdf_inc        -I:/sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-parallel-bullxmpi-intel14/include          lcbullhh parallel
-%netcdf_lib        -L/sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-parallel-bullxmpi-intel14/lib:-lnetcdff     lcbullhh parallel
-%cpp_options         -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__parallel:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__intel_compiler:-D__fftw=__fftw lcbullhh parallel
-%mopts               -j:4                                                                                  lcbullhh parallel
-%fopts               -O3:-nbs:-convert:little_endian                                                       lcbullhh parallel
-%lopts               -O3:-nbs:-convert:little_endian:-lc:-lm:-Wl,-rpath=/sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-parallel-bullxmpi-intel14/lib:-Wl,-rpath=/sw/rhel6-x64/numerics/fftw-3.3.4-bullxmpi-gcc48/lib             lcbullhh parallel
-%remote_username     <replace_by_your_DKRZ_username>                                                       lcbullhh parallel
-%memory              1500                                                                                  lcbullhh parallel
-%modules             intel:mxm:fca:bullxmpi_mlx:nag                                                        lcbullhh parallel
-#
-# HLRN-III Hannover debug/trace mode
-%project_account     <replace_by_your_DKRZ_project_account>                                                lcbullhh parallel trace
-%tmp_user_catalog    /work/<replace_by_your_DKRZ_project_account>/<replace_by_your_DKRZ_username>          lcbullhh parallel trace
-%tmp_data_catalog    /work/<replace_by_your_DKRZ_project_account>/<replace_by_your_DKRZ_username>/JOBS     lcbullhh parallel trace
-%compiler_name       mpif90                                                                                lcbullhh parallel trace
-%compiler_name_ser   ifort                                                                                 lcbullhh parallel trace
-%fftw_inc          -I:/sw/rhel6-x64/numerics/fftw-3.3.4-bullxmpi-gcc48/include                             lcbullhh parallel trace
-%fftw_lib          -L/sw/rhel6-x64/numerics/fftw-3.3.4-bullxmpi-gcc48/lib:-lfftw3                          lcbullhh parallel trace
-%netcdf_inc        -I:/sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-parallel-bullxmpi-intel14/include          lcbullhh parallel trace
-%netcdf_lib        -L/sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-parallel-bullxmpi-intel14/lib:-lnetcdff     lcbullhh parallel trace
-%cpp_options         -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__parallel:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__intel_compiler:-D__fftw=__fftw lcbullhh parallel trace
-%mopts               -j:4                                                                                  lcbullhh parallel trace
-%fopts             -O0:-nbs:-convert:little_endian:-fpe0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-align:all     lcbullhh parallel trace
-%lopts             -O0:-nbs:-convert:little_endian:-fpe0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-align:all:-lc:-lm:-Wl,-rpath=/sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-parallel-bullxmpi-intel14/lib:-Wl,-rpath=/sw/rhel6-x64/numerics/fftw-3.3.4-bullxmpi-gcc48/lib             lcbullhh parallel trace
-%remote_username     <replace_by_your_DKRZ_username>                                                       lcbullhh parallel trace
-%memory              1500                                                                                  lcbullhh parallel trace
-%modules             intel:mxm:fca:bullxmpi_mlx:nag                                                        lcbullhh parallel trace
-#
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl      nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.forwind_eddy
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.forwind_eddy	(revision 2693)
+++ 	(revision )
@@ -1,188 +1,0 @@
-#$Id: .mrun.config.forwind_eddy $
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-################################################################################
-# Replace abcd1234 by your username on Eddy.
-################################################################################
-%output_data       /gss/work/abcd1234/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-#
-%host_identifier       hpcl*            lceddy
-%host_identifier       cfd*             lceddy
-%host_identifier       mpc*             lceddy
-
-################################################################################
-# Configuration for Eddy
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace abcd1234
-# with your username on Eddy.
-# The following 'lceddy parallel' block assumes PALM compilation and execution
-# on host Eddy. Please note that other hosts may require different settings.
-################################################################################
-%remote_username   abcd1234                                                                                                      lceddy parallel
-%tmp_user_catalog  /gss/work/$remote_username/palm/tmp                                                                           lceddy parallel
-%tmp_data_catalog  /gss/work/$remote_username/palm/palm_restart_data                                                             lceddy parallel
-%compiler_name     mpifort                                                                                                       lceddy parallel
-%compiler_name_ser gfortran                                                                                                      lceddy parallel
-%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__netcdf4:-D__parallel:-D__gfortran  lceddy parallel
-%netcdf_inc        -I/cm/shared/uniol/software/netCDF-Fortran/4.4.4-goolf-5.2.01/include                                         lceddy parallel
-%netcdf_lib        -lnetcdff:-lnetcdf                                                                                            lceddy parallel
-%mopts             -j:4                                                                                                          lceddy parallel
-%fopts             -Ofast:-mtune=native:-march=native:-cpp:-ffree-line-length-none:-fconvert=little-endian                       lceddy parallel
-%lopts             -Ofast:-mtune=native:-march=native:-lpthread                                                                  lceddy parallel
-%login_init_cmd                                                                                                                  lceddy parallel
-%modules           PALMDependencies/.gcc                                                                                         lceddy parallel
-%memory            2333                                                                                                          lceddy parallel
-%disc_space        50                                                                                                            lceddy parallel 
-#
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f:rec  $tmp_data_catalog/$fname/RESTART   _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART   _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $output_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $output_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $output_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $output_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $output_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $output_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $output_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $output_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF     in:locopt     xzf      $output_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $output_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF     in:locopt     yzf      $output_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF           in:locopt     3df      $output_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF        in:locopt     3df      $output_data/$fname/OUTPUT  _3d_av  nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $output_data/$fname/OUTPUT  _prt    nc
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-TURBINE_PARAMETERS05   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters05
-TURBINE_PARAMETERS06   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters06
-TURBINE_PARAMETERS07   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters07
-TURBINE_PARAMETERS08   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters08
-TURBINE_PARAMETERS09   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters09
-TURBINE_PARAMETERS10   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters10
-#
-DATA_1D_FL_NETCDF      out:loc    fl#:flf   $output_data/$fname/OUTPUT  _fl      nc
-DATA_1D_PR_NETCDF      out:loc    pr#       $output_data/$fname/OUTPUT  _pr      nc
-DATA_1D_PR_NETCDF      out:loc    prf       $output_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF      out:loc    sp#       $output_data/$fname/OUTPUT  _sp      nc
-DATA_1D_SP_NETCDF      out:loc    spf       $output_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF      out:loc    ts#       $output_data/$fname/OUTPUT  _ts      nc
-DATA_1D_TS_NETCDF      out:loc    tsf       $output_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF     out:loc    pts#      $output_data/$fname/OUTPUT  _pts     nc
-DATA_1D_PTS_NETCDF     out:loc    ptsf      $output_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF      out:loc    xy#:xyf   $output_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF   out:loc    xy#:xyf   $output_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF      out:loc    xz#:xzf   $output_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF   out:loc    xz#:xzf   $output_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF      out:loc    yz#:yzf   $output_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF   out:loc    yz#:yzf   $output_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF         out:loc    3d#:3df   $output_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF      out:loc    3d#:3df   $output_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF        out:loc:pe prt#:prtf $output_data/$fname/OUTPUT  _prt     nc
-DATA_DVR               out:loc:pe dvr       $output_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.forwind_hlrnIII
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.forwind_hlrnIII	(revision 2693)
+++ 	(revision )
@@ -1,285 +1,0 @@
-#$Id:$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%output_data       /gfs1/work/<replace_by_your_HLRN-III_username>/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-#
-%host_identifier   hlogin*      lccrayh
-%host_identifier   hxc*         lccrayh
-%host_identifier   blogin*      lccrayb
-%host_identifier   bxc*         lccrayb
-#
-################################################################################
-# Replace <eplace_with_your_local_hostname> by the hostname of your desktop
-# an uncomment following line to enable job submission from you local desktop
-################################################################################
-#%host_identifier       <replace_with_your_local_hostname>           lcfor
-#
-################################################################################
-# Configuration for Ubuntu Linux 12.04 LTS with gcc (4.6.3) and OpenMPI (1.4.3)
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI on a Linux machine
-# with gcc and OpenMPI. Replace <replace_with_your_local_username> with your
-# username on your
-# local machine
-#
-# NOTE: - Other hosts may require different settings.
-#       - following packages are required:
-#         openmpi-common, libopenmpi-dev, libopenmpi, libnetcdf, libnetcdf-dev,
-#         gcc
-#       - depending on where you installed netcdf, you may have to adjust the paths
-#         given in %netcdf_inc and %netcdf_lib
-#
-################################################################################
-%remote_username   <replace_with_your_local_username>                        lcfor parallel
-%tmp_user_catalog  /tmp                                                      lcfor parallel
-%tmp_data_catalog  /tmp                                                      lcfor parallel
-%compiler_name     mpif90                                                    lcfor parallel
-%compiler_name_ser gfortran                                                  lcfor parallel
-%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__netcdf4:-D__parallel:-D__gfortran  lcfor parallel
-%netcdf_inc        -I/usr/include                                            lcfor parallel
-%netcdf_lib        -L/usr/lib:-lnetcdff:-lnetcdf                             lcfor parallel
-%mopts             -j:4                                                      lcfor parallel
-%fopts             -Ofast:-IPA:-mtune=native:-march=native:-cpp:-fdefault-real-8:-fbackslash:-fconvert=little-endian   lcfor parallel
-%lopts             -Ofast:-IPA:-mtune=native:-march=native:-cpp:-fdefault-real-8:-fbackslash                           lcfor parallel
-#
-# HLRN-III Hannover
-%tmp_user_catalog    /gfs1/tmp/<replace_by_your_HLRN-III_username>                     lccrayh parallel
-%tmp_data_catalog    /gfs1/work/<replace_by_your_HLRN-III_username>/palm_restart_data  lccrayh parallel
-%compiler_name       ftn                                                               lccrayh parallel
-%compiler_name_ser   ftn                                                               lccrayh parallel
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel
-%mopts               -j:4                                                              lccrayh parallel
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic                lccrayh parallel
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic       lccrayh parallel
-%remote_username     <replace_by_your_HLRN-III_username>                               lccrayh parallel
-%memory              2300                                                              lccrayh parallel
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel                  lccrayh parallel
-%login_init_cmd      module:unload:cray-netcdf                                         lccrayh parallel
-#
-# HLRN-III Hannover debug/trace mode
-%tmp_user_catalog    /gfs1/tmp/<replace_by_your_HLRN-III_username>                     lccrayh parallel trace
-%tmp_data_catalog    /gfs1/work/<replace_by_your_HLRN-III_username>/palm_restart_data  lccrayh parallel trace
-%compiler_name       ftn                                                               lccrayh parallel trace
-%compiler_name_ser   ftn                                                               lccrayh parallel trace
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel trace
-%mopts               -j:4                                                              lccrayh parallel trace
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc                    lccrayh parallel trace
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc                    lccrayh parallel trace
-%remote_username     <replace_by_your_HLRN-III_username>                               lccrayh parallel trace
-%memory              2300                                                              lccrayh parallel trace
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel                  lccrayh parallel trace
-%login_init_cmd      module:unload:cray-netcdf                                         lccrayh parallel trace
-#
-# HLRN-III Hannover haswell
-%tmp_user_catalog    /gfs1/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel has
-%tmp_data_catalog    /gfs1/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel has
-%compiler_name       ftn                                                lccrayh parallel has
-%compiler_name_ser   ftn                                                lccrayh parallel has
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel has
-%feature             mpp2                                               lccrayh parallel has
-%mopts               -j:4                                               lccrayh parallel has
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic lccrayh parallel has
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic   lccrayh parallel has
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel has
-%memory              2300                                               lccrayh parallel has
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel:craype-haswell   lccrayh parallel has
-%login_init_cmd      module:unload:cray-netcdf:craype-ivybridge         lccrayh parallel has
-#
-# HLRN-III Berlin
-%tmp_user_catalog    /gfs1/tmp/<replace_by_your_HLRN-III_username>                     lccrayb parallel
-%tmp_data_catalog    /gfs1/work/<replace_by_your_HLRN-III_username>/palm_restart_data  lccrayb parallel
-%compiler_name       ftn                                                               lccrayb parallel
-%compiler_name_ser   ftn                                                               lccrayb parallel
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayb parallel
-%mopts               -j:4                                                              lccrayb parallel
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic                lccrayb parallel
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic       lccrayb parallel
-%remote_username     <replace_by_your_HLRN-III_username>                               lccrayb parallel
-%memory              2300                                                              lccrayb parallel
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel                  lccrayb parallel
-%login_init_cmd      module:unload:cray-netcdf                                         lccrayb parallel
-#
-# HLRN-III Berlin debug/trace mode
-%tmp_user_catalog    /gfs1/tmp/<replace_by_your_HLRN-III_username>                     lccrayb parallel trace
-%tmp_data_catalog    /gfs1/work/<replace_by_your_HLRN-III_username>/palm_restart_data  lccrayb parallel trace
-%compiler_name       ftn                                                               lccrayb parallel trace
-%compiler_name_ser   ftn                                                               lccrayb parallel trace
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayb parallel trace
-%mopts               -j:4                                                              lccrayb parallel trace
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc                    lccrayb parallel trace
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc                    lccrayb parallel trace
-%remote_username     <replace_by_your_HLRN-III_username>                               lccrayb parallel trace
-%memory              2300                                                              lccrayb parallel trace
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel                  lccrayb parallel trace
-%login_init_cmd      module:unload:cray-netcdf                                         lccrayb parallel trace
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-IC:[[ \$localhost = lccrayb ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-IC:[[ \$localhost = lccrayh ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f:rec:cycfill  $tmp_data_catalog/$fname/RESTART   _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART   _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $output_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $output_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $output_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $output_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $output_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $output_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $output_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $output_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF     in:locopt     xzf      $output_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $output_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF     in:locopt     yzf      $output_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF           in:locopt     3df      $output_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF        in:locopt     3df      $output_data/$fname/OUTPUT  _3d_av  nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $output_data/$fname/OUTPUT  _prt    nc
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-TURBINE_PARAMETERS05   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters05
-TURBINE_PARAMETERS06   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters06
-TURBINE_PARAMETERS07   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters07
-TURBINE_PARAMETERS08   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters08
-TURBINE_PARAMETERS09   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters09
-TURBINE_PARAMETERS10   out:loc:tr    d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters10
-#
-DATA_1D_FL_NETCDF      out:loc    fl#:flf   $base_data/$fname/OUTPUT    _fl      nc
-DATA_1D_PR_NETCDF      out:loc    pr#       $output_data/$fname/OUTPUT  _pr      nc
-DATA_1D_PR_NETCDF      out:loc    prf       $output_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF      out:loc    sp#       $output_data/$fname/OUTPUT  _sp      nc
-DATA_1D_SP_NETCDF      out:loc    spf       $output_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF      out:loc    ts#       $output_data/$fname/OUTPUT  _ts      nc
-DATA_1D_TS_NETCDF      out:loc    tsf       $output_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF     out:loc    pts#      $output_data/$fname/OUTPUT  _pts     nc
-DATA_1D_PTS_NETCDF     out:loc    ptsf      $output_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF      out:loc    xy#:xyf   $output_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF   out:loc    xy#:xyf   $output_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF      out:loc    xz#:xzf   $output_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF   out:loc    xz#:xzf   $output_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF      out:loc    yz#:yzf   $output_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF   out:loc    yz#:yzf   $output_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF         out:loc    3d#:3df   $output_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF      out:loc    3d#:3df   $output_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc    ma#:maf   $output_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF        out:loc:pe prt#:prtf $output_data/$fname/OUTPUT  _prt     nc
-DATA_DVR               out:loc:pe dvr       $output_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.gfortran
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.gfortran	(revision 2693)
+++ 	(revision )
@@ -1,196 +1,0 @@
-#$Id: .mrun.config.gfortran 1446 2014-08-07 10:08:56Z knoop $
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   <replace_with_your_hostname>  <hi>
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-# Also replace <hi> by your host identifier (for example "lcmy")
-# in each line!
-# Compilernames, cpp-options and compiler-options are assuming
-# an GNU-Compiler and mpich2 on this host! Please change
-# appropriately, if you are using a different compiler / MPI-Version.
-#
-#
-%remote_username   <replace_with_your_local_username>            <hi> parallel
-%tmp_user_catalog  $HOME/palm/tmp                                <hi> parallel
-%compiler_name     mpif90                                        <hi> parallel
-%compiler_name_ser gfortran                                      <hi> parallel
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel:-D__gfortran   <hi> parallel
-%netcdf_inc        -I:<replace_by_netcdf_include_path>           <hi> parallel
-%netcdf_lib        -L:<replace_by_netcdf_library_path>:-lnetcdf  <hi> parallel
-%mopts             -j:4                                          <hi> parallel
-%fopts             -Ofast                                        <hi> parallel
-%lopts             -Ofast                                        <hi> parallel
-# if you want to use your own hostfile, uncomment next line
-#%hostfile          $base_directory/.hostfile                    <hi> parallel
-# if you want to load modules on the remote host, use the following line
-#%modules           <replace_by_the_modules_to_be_loaded>        <hi> parallel
-# if you want to perform initial commands on ssh connections, use the following line
-#%login_init_cmd    <replace_by_the_inital_commands>             <hi> parallel
-#
-#
-%remote_username   <replace_with_your_local_username>            <hi> parallel trace
-%tmp_user_catalog  $HOME/palm/tmp                                <hi> parallel trace
-%compiler_name     mpif90                                        <hi> parallel trace
-%compiler_name_ser gfortran                                      <hi> parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__lc:-D__netcdf:-D__parallel:-D__gfortran   <hi> parallel trace
-%netcdf_inc        -I:<replace_by_netcdf_include_path>           <hi> parallel trace
-%netcdf_lib        -L:<replace_by_netcdf_library_path>:-lnetcdf  <hi> parallel trace
-%mopts             -j:4                                          <hi> parallel trace
-%fopts             -O0:-Wall:-fbacktrace                         <hi> parallel trace
-%lopts             -O0:-Wall:-fbacktrace                         <hi> parallel trace
-# if you want to use your own hostfile, uncomment next line
-#%hostfile          $base_directory/.hostfile                    <hi> parallel trace
-# if you want to load modules on the remote host, use the following line
-#%modules           <replace_by_the_modules_to_be_loaded>        <hi> parallel trace
-# if you want to perform initial commands on ssh connections, use the following line
-#%login_init_cmd    <replace_by_the_inital_commands>             <hi> parallel trace
-#
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $base_data/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $base_data/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.hayaka
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.hayaka	(revision 2693)
+++ 	(revision )
@@ -1,169 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-%host_identifier   hayaka*     lckyuh
-%host_identifier   pcj*        lckyuh
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-#
-%tmp_user_catalog  <replace_by_your_preferred_tmp_directory>     lckyuh parallel
-%tmp_data_catalog  <replace_by_your_preferred_data_directory>    lckyuh parallel
-%compiler_name     mpifrtpx                                      lckyuh parallel
-%compiler_name_ser frtpx                                         lckyuh parallel
-%cpp_options       -Cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf   lckyuh parallel
-%netcdf_inc        -I:/home/usr1/g70491a/netcdf-4.1.3/include  lckyuh parallel
-%netcdf_lib        -L/home/usr1/g70491a/netcdf-4.1.3/lib:-lnetcdff:-lnetcdf  lckyuh parallel
-%mopts             -j:4                                          lckyuh parallel
-%memory            1000                                          lckyuh parallel
-%fopts             -Kfast:-Ad:-Knooptmsg                         lckyuh parallel
-%lopts             -Kfast:-Ad                                    lckyuh parallel
-%scp_port          22                                            lckyuh parallel
-%remote_username   <replace_by_your_hayaka_username>             lckyuh parallel
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.hlrnIII
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.hlrnIII	(revision 2693)
+++ 	(revision )
@@ -1,252 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   hlogin*      lccrayh
-%host_identifier   hxc*         lccrayh
-%host_identifier   blogin*      lccrayb
-%host_identifier   bxc*         lccrayb
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-# Also replace <hi> by your host identifier (see above) in each line!
-# Compilernames, cpp-options and compiler-options are assuming
-# an Intel-Compiler and mpich2 on this host! Please change
-# appropriately, if you are using a different compiler / MPI-Version.
-#
-# HLRN-III Hannover
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel
-%compiler_name       ftn                                                lccrayh parallel
-%compiler_name_ser   ftn                                                lccrayh parallel
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel
-%mopts               -j:4                                               lccrayh parallel
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic           lccrayh parallel
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic  lccrayh parallel
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel
-%memory              2300                                               lccrayh parallel
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayh parallel
-%login_init_cmd      module:unload:cray-netcdf                          lccrayh parallel
-#
-# HLRN-III Hannover debug/trace mode
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel trace
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel trace
-%compiler_name       ftn                                                lccrayh parallel trace
-%compiler_name_ser   ftn                                                lccrayh parallel trace
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel trace
-%mopts               -j:4                                               lccrayh parallel trace
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayh parallel trace
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayh parallel trace
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel trace
-%memory              2300                                               lccrayh parallel trace
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayh parallel trace
-%login_init_cmd      module:unload:cray-netcdf                          lccrayh parallel trace
-#
-# HLRN-III Hannover haswell
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel has
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel has
-%compiler_name       ftn                                                lccrayh parallel has
-%compiler_name_ser   ftn                                                lccrayh parallel has
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel has
-%feature             mpp2                                               lccrayh parallel has
-%mopts               -j:4                                               lccrayh parallel has
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic lccrayh parallel has
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic   lccrayh parallel has
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel has
-%memory              2300                                               lccrayh parallel has
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel:craype-haswell   lccrayh parallel has
-%login_init_cmd      module:unload:cray-netcdf:craype-ivybridge         lccrayh parallel has
-#
-# HLRN-III Berlin
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayb parallel
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayb parallel
-%compiler_name       ftn                                                lccrayb parallel
-%compiler_name_ser   ftn                                                lccrayb parallel
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayb parallel
-%mopts               -j:4                                               lccrayb parallel
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic           lccrayb parallel
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic  lccrayb parallel
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayb parallel
-%memory              2300                                               lccrayb parallel
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayb parallel
-%login_init_cmd      module:unload:cray-netcdf                          lccrayb parallel
-#
-# HLRN-III Berlin debug/trace mode
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayb parallel trace
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayb parallel trace
-%compiler_name       ftn                                                lccrayb parallel trace
-%compiler_name_ser   ftn                                                lccrayb parallel trace
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayb parallel trace
-%mopts               -j:4                                               lccrayb parallel trace
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayb parallel trace
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayb parallel trace
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayb parallel trace
-%memory              2300                                               lccrayb parallel trace
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayb parallel trace
-%login_init_cmd      module:unload:cray-netcdf                          lccrayb parallel trace
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-IC:[[ \$localhost = lccrayb ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-IC:[[ \$localhost = lccrayh ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f:cycfill  $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl      nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.ibmh
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.ibmh	(revision 2693)
+++ 	(revision )
@@ -1,182 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-
-%host_identifier   blizzard1   ibmh
-%host_identifier   p0*         ibmh
-%host_identifier   p1*         ibmh
-%host_identifier   p2*         ibmh
-#
-# IBM at DKRZ in Hamburg
-%compiler_name     mpxlf95_r                                  ibmh parallel
-%compiler_name_ser xlf95                                      ibmh parallel
-%cpp_options       -qsuffix=cpp=f90:-WF,-DMPI_REAL=MPI_DOUBLE_PRECISION,-D__netcdf=__netcdf,-D__netcdf_64bit=__netcdf_64bit,-D__fftw=__fftw ibmh parallel
-%fftw_inc          -I:/sw/aix61/fftw-3.3.3/include            ibmh parallel
-%fftw_lib          -L/sw/aix61/fftw-3.3.3/lib:-lfftw3         ibmh parallel
-%netcdf_inc        -I:/sw/aix53/netcdf-3.6.3-ibm/include      ibmh parallel
-%netcdf_lib        -L/sw/aix53/netcdf-3.6.3-ibm/lib:-lnetcdf  ibmh parallel
-%fopts             -O3:-g:-qfloat=nomaf:-Q:-q64:-qmaxmem=-1:-qtune=pwr6:-qarch=pwr6:-qnosave:-qnoescape    ibmh parallel
-%lopts             -O3:-g:-qfloat=nomaf:-Q:-q64:-qmaxmem=-1:-qtune=pwr6:-qarch=pwr6:-qnosave:-qnoescape:-lesslsmp   ibmh parallel
-%memory            1500                                       ibmh parallel
-%cpumax            1000                                       ibmh parallel
-%remote_username   <replace_by_username_on_ibmh>              ibmh parallel
-%tmp_data_catalog  /work/<replace_by_project>/$remote_username/palm_restart_data    ibmh parallel
-%tmp_user_catalog  /work/<replace_by_project>/$remote_username                      ibmh parallel
-%output_data       /work/<replace_by_project>/$remote_username/$fname/OUTPUT        ibmh parallel
-#
-#
-# IBM at DKRZ in Hamburg with debug options
-%compiler_name     mpxlf95_r                                  ibmh parallel trace
-%compiler_name_ser xlf95                                      ibmh parallel trace
-%cpp_options       -qsuffix=cpp=f90:-WF,-DMPI_REAL=MPI_DOUBLE_PRECISION,-D__netcdf=__netcdf,-D__netcdf_64bit=__netcdf_64bit,-D__fftw=__fftw  ibmh parallel trace
-%fftw_inc          -I:/sw/aix61/fftw-3.3.3/include            ibmh parallel trace
-%fftw_lib          -L/sw/aix61/fftw-3.3.3/lib:-lfftw3         ibmh parallel trace
-%netcdf_inc        -I:/sw/aix53/netcdf-3.6.3-ibm/include      ibmh parallel trace
-%netcdf_lib        -L/sw/aix53/netcdf-3.6.3-ibm/lib:-lnetcdf  ibmh parallel trace
-%fopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap    ibmh parallel trace
-%lopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap:-lesslsmp  ibmh parallel trace
-%memory            1500                                       ibmh parallel trace
-%cpumax            1000                                       ibmh parallel trace
-%remote_username   b380021                                    ibmh parallel trace
-%remote_username   <replace_by_username_on_ibmh>              ibmh parallel trace
-%tmp_data_catalog  /work/<replace_by_project>/$remote_username/palm_restart_data    ibmh parallel trace
-%tmp_user_catalog  /work/<replace_by_project>/$remote_username                      ibmh parallel trace
-%output_data       /work/<replace_by_project>/$remote_username/$fname/OUTPUT        ibmh parallel trace
-#
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $output_data   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $output_data   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $output_data   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $output_data   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $output_data   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $output_data   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $output_data   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $output_data   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $output_data   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $output_data   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $output_data  _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT    _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $output_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $output_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $output_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $output_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $output_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $output_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $output_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $output_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $output_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $output_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $output_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $output_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $output_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $output_data/$fname/OUTPUT  _prt    nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $output_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $output_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $output_data/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.idefix
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.idefix	(revision 2693)
+++ 	(revision )
@@ -1,184 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         $base_directory/JOBS
-%input_path        $base_directory/JOBS/$fname/INPUT
-%output_path       $base_directory/JOBS/$fname/OUTPUT
-%monitoring_path   $base_directory/JOBS/$fname/MONITORING
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%tmp_user_catalog  /work/<replace_by_your_IDEFIX_username>
-%tmp_data_catalog  /work/<replace_by_your_IDEFIX_username>
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-%host_identifier   idefix*        lcidefix
-
-
-#IDEFIX normal mode
-%remote_username   <replace_by_your_IDEFIX_username>                            lcidefix parallel
-%compiler_name     mpif90                                                       lcidefix parallel
-%compiler_name_ser ifort                                                        lcidefix parallel
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw:-D__intel_compiler            lcidefix parallel
-%netcdf_inc        -I/opt/netcdf4_hdf5parallel/4411c_443f/intel/include         lcidefix parallel
-%netcdf_lib        -L/opt/netcdf4_hdf5parallel/4411c_443f/intel/lib:-L/opt/hdf5-parallel/1.10.0-patch1/intel/lib:-lnetcdf:-lnetcdff        lcidefix parallel
-%fftw_inc          -I:/opt/fftw/3.3.6-pl1/mvapich2-intel/include                lcidefix parallel
-%fftw_lib          -L/opt/fftw/3.3.6-pl1/mvapich2-intel/lib:-lfftw3             lcidefix parallel
-%mopts             -j:4                                                         lcidefix parallel
-%fopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291            lcidefix parallel
-%lopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,829             lcidefix parallel
-%modules           intel-compiler/2017.1.132:mvapich2/2.2/intel:fftw/3.3.6-pl1/mvapich2-intel:hdf5-parallel/1.10.0-patch1/intel:netcdf4_hdf5parallel/4411c_443f/intel        lcidefix parallel
-
-#IDEFIX trace/debug mode
-%remote_username   <replace_by_your_IDEFIX_username>                            lcidefix parallel trace
-%compiler_name     mpif90                                                       lcidefix parallel trace
-%compiler_name_ser ifort                                                        lcidefix parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw:-D__intel_compiler            lcidefix parallel trace
-%netcdf_inc        -I/opt/netcdf4_hdf5parallel/4411c_443f/intel/include         lcidefix parallel trace
-%netcdf_lib        -L/opt/netcdf4_hdf5parallel/4411c_443f/intel/lib:-L/opt/hdf5-parallel/1.10.0-patch/intel/lib:-lnetcdf:-lnetcdff        lcidefix parallel trace
-%fftw_inc          -I:/opt/fftw/3.3.6-pl1/mvapich2-intel/include                lcidefix parallel trace
-%fftw_lib          -L/opt/fftw/3.3.6-pl1/mvapich2-intel/lib:-lfftw3             lcidefix parallel trace
-%mopts             -j:4                                                         lcidefix parallel trace
-%fopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-gen-interfaces:-warn:interfaces:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian:-diag-disable:8290,8291            lcidefix parallel trace
-%lopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-gen-interfaces:-warn:interfaces:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-limf:-lm:-Vaxlib            lcidefix parallel trace
-%modules           intel-compiler/2017.1.132:mvapich2/2.2/intel:fftw/3.3.6-pl1/mvapich2-intel:hdf5-parallel/1.10.0-patch/intel:netcdf4_hdf5parallel/4411c_443f/intel        lcidefix parallel trace
-
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-IC:[[ \$localhost = lcidefix ]]  &&  export MV2_ENABLE_AFFINITY=0
-IC:[[ \$localhost = lcidefix ]]  &&  export MV2_SHOW_CPU_BINDING=1
-IC:[[ \$localhost = lcidefix ]]  &&  export MV2_CPU_BINDING_POLICY=scatter
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_00000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-#
-#
-PARIN                    in:job        d3#      $input_path    _p3d
-PARIN                    in:job        d3f      $input_path    _p3df
-NUDGING_DATA             in:locopt     d3#:d3f  $input_path    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $input_path    _lsf
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $input_path    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $input_path    _topo_nc
-PLANT_CANOPY_DATA_3D     in:locopt     d3#:d3f  $input_path    _canopy
-URBAN_SURFACE            in:locopt     d3#:d3f  $input_path    _urbsurf
-SURFACE_PARAMETERS       in:locopt     d3#:d3f  $input_path    _surfpar
-STG_PROFILES             in:locopt     d3#:d3f  $input_path    _stgpr
-#
-#
-DATA_1D_FL_NETCDF        in:locopt     flf      $output_path   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $output_path   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $output_path   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $output_path   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $output_path   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $output_path   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $output_path   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $output_path   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $output_path   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $output_path   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $output_path   _prt
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-#
-RUN_CONTROL       out:loc:tr   d3#     $monitoring_path  _rc
-RUN_CONTROL       out:loc:tra  d3f     $monitoring_path  _rc
-HEADER            out:loc:tr   d3#     $monitoring_path  _header
-HEADER            out:loc:tra  d3f     $monitoring_path  _header
-CPU_MEASURES      out:loc:tr   d3#     $monitoring_path  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $monitoring_path  _cpu
-#
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $output_path  _fl      nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $output_path  _pr      nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $output_path  _sp      nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $output_path  _ts      nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $output_path  _pts     nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $output_path  _xy      nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $output_path  _xy_av   nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $output_path  _xz      nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $output_path  _xz_av   nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $output_path  _yz      nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $output_path  _yz_av   nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $output_path  _3d      nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $output_path  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $output_path  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $output_path  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $output_path  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $output_path  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $output_path  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $output_path  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $output_path  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $output_path  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $output_path  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $output_path  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $output_path  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $output_path  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $output_path  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $output_path  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $output_path  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $output_path  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $output_path  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $output_path  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $output_path  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $output_path  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $output_path  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $output_path  _prt     nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $output_path  _prt     nc
-DATA_DVR             out:loc:trpe dvr       $output_path  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $monitoring_path  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $monitoring_path  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $monitoring_path  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $monitoring_path  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $output_path      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.ifort
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.ifort	(revision 2693)
+++ 	(revision )
@@ -1,196 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   <replace_by_your_hostname>  lcmy
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-# Also replace <hi> by your host identifier (see above <hi> example "lcmy")
-# in each line!
-# Compilernames, cpp-options and compiler-options are assuming
-# an Intel-Compiler and mpich2 on this host! Please change
-# appropriately, if you are using a different compiler / MPI-Version.
-#
-#
-%remote_username   <replace_with_your_local_username>            <hi> parallel
-%tmp_user_catalog  $HOME/palm/tmp                                <hi> parallel
-%compiler_name     mpif90                                        <hi> parallel
-%compiler_name_ser ifort                                         <hi> parallel
-%cpp_options       -cpp:-D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__intel_compiler   <hi> parallel
-%netcdf_inc        -I:<replace_by_netcdf_include_path>           <hi> parallel
-%netcdf_lib        -L:<replace_by_netcdf_library_path>:-lnetcdf  <hi> parallel
-%mopts             -j:4                                          <hi> parallel
-%fopts             -I:<replace_by_mpi_include path>:-fpe0:-O3:-xHost:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291   <hi> parallel
-%lopts             -L:<replace_by_mpi_library path>:-fpe0:-O3:-xHost:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291   <hi> parallel
-# if you want to use your own hostfile, uncomment next line
-#%hostfile          $base_directory/.hostfile                    <hi> parallel
-# if you want to load modules on the remote host, use the following line
-#%modules           <replace_by_the_modules_to_be_loaded>        <hi> parallel
-# if you want to perform initial commands on ssh connections, use the following line
-#%login_init_cmd    <replace_by_the_inital_commands>             <hi> parallel
-#
-#
-%remote_username   <replace_with_your_local_username>            <hi> parallel trace
-%tmp_user_catalog  $HOME/palm/tmp                                <hi> parallel trace
-%compiler_name     mpif90                                        <hi> parallel trace
-%compiler_name_ser ifort                                         <hi> parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__intel_compiler   <hi> parallel trace
-%netcdf_inc        -I:<replace_by_netcdf_include_path>           <hi> parallel trace
-%netcdf_lib        -L:<replace_by_netcdf_library_path>:-lnetcdf  <hi> parallel trace
-%mopts             -j:4                                          <hi> parallel trace
-%fopts             -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs  <hi> parallel trace
-%lopts             -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs  <hi> parallel trace
-# if you want to use your own hostfile, uncomment next line
-#%hostfile          $base_directory/.hostfile                    <hi> parallel trace
-# if you want to load modules on the remote host, use the following line
-#%modules           <replace_by_the_modules_to_be_loaded>        <hi> parallel trace
-# if you want to perform initial commands on ssh connections, use the following line
-#%login_init_cmd    <replace_by_the_inital_commands>             <hi> parallel trace
-#
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.imuk
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.imuk	(revision 2693)
+++ 	(revision )
@@ -1,174 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-#%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   <replace_by_your_IMUK_hostname>     lcmuk
-#
-# IMUK
-%remote_username   <replace_by_your_IMUK_username>                             lcmuk parallel
-%tmp_data_catalog  /localdata                                                  lcmuk parallel
-%tmp_user_catalog  /localdata                                                  lcmuk parallel
-%compiler_name     mpif90                                                      lcmuk parallel
-%compiler_name_ser ifort                                                       lcmuk parallel
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__fftw:-D__intel_compiler  lcmuk parallel
-%netcdf_inc        -I:/muksoft/packages/netcdf/4_intel/include                 lcmuk parallel
-%netcdf_lib        -L/muksoft/packages/netcdf/4_intel/lib:-lnetcdf:-lnetcdff   lcmuk parallel
-%fftw_inc          -I:/muksoft/packages/fftw/3.3.4/include                     lcmuk parallel
-%fftw_lib          -L/muksoft/packages/fftw/3.3.4/lib64:-lfftw3                lcmuk parallel
-%mopts             -j:4                                                        lcmuk parallel
-%fopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291  lcmuk parallel
-%lopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291  lcmuk parallel
-#
-# IMUK debug/trace mode
-%remote_username   <replace_by_your_IMUK_username>                             lcmuk parallel trace
-%tmp_data_catalog  /localdata                                                  lcmuk parallel trace
-%tmp_user_catalog  /localdata                                                  lcmuk parallel trace
-%compiler_name     mpif90                                                      lcmuk parallel trace
-%compiler_name_ser ifort                                                       lcmuk parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__fftw:-D__intel_compiler   lcmuk parallel trace
-%netcdf_inc        -I:/muksoft/packages/netcdf/4_intel/include                 lcmuk parallel trace
-%netcdf_lib        -L/muksoft/packages/netcdf/4_intel/lib:-lnetcdf:-lnetcdff   lcmuk parallel trace
-%fftw_inc          -I:/muksoft/packages/fftw/3.3.4/include                     lcmuk parallel trace
-%fftw_lib          -L/muksoft/packages/fftw/3.3.4/lib64:-lfftw3                lcmuk parallel trace
-%fopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian:-diag-disable:8290,8291  lcmuk parallel trace
-%lopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-limf:-lm:-Vaxlib       lcmuk parallel trace
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl      nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.imuk_gpu
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.imuk_gpu	(revision 2693)
+++ 	(revision )
@@ -1,184 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-#
-%host_identifier   inferno      lcmuk
-#
-# pure MPI version
-%remote_username   <replace_by_your_IMUK_username>               lcmuk parallel pgi
-%tmp_user_catalog  /localdata                                    lcmuk parallel pgi
-%compiler_name     mpif90                                        lcmuk parallel pgi
-%compiler_name_ser pgf90                                         lcmuk parallel pgi
-%cpp_options       -Mpreprocess:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__nopointer   lcmuk parallel pgi
-%mopts             -j:4                                          lcmuk parallel pgi
-%fopts             -Mcray=pointer:-fastsse:-r8                   lcmuk parallel pgi
-%lopts             -Mcray=pointer:-fastsse:-r8                   lcmuk parallel pgi
-#
-# pure MPI version with debug options
-%remote_username   <replace_by_your_IMUK_username>               lcmuk parallel pgidbg
-%tmp_user_catalog  /localdata                                    lcmuk parallel pgidbg
-%compiler_name     mpif90                                        lcmuk parallel pgidbg
-%compiler_name_ser pgf90                                         lcmuk parallel pgidbg
-%cpp_options       -Mpreprocess:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__nopointer   lcmuk parallel pgidbg
-%mopts             -j:4                                          lcmuk parallel pgidbg
-%fopts             -Mcray=pointer:-O0:-C:-g:-Mbounds:-Mchkstk:-traceback:-r8   lcmuk parallel pgidbg
-%lopts             -Mcray=pointer:-O0:-C:-g:-Mbounds:-Mchkstk:-traceback:-r8   lcmuk parallel pgidbg
-#
-# pure GPU version
-%remote_username   <replace_by_your_IMUK_username>                       lcmuk pgigpu
-%tmp_user_catalog  /localdata                                            lcmuk pgigpu
-%compiler_name     pgf90                                                 lcmuk pgigpu
-%compiler_name_ser pgf90                                                 lcmuk pgigpu
-%cpp_options       -Mpreprocess:-D__nopointer:-D__openacc:-D__cuda_fft   lcmuk pgigpu
-%mopts             -j:4                                                  lcmuk pgigpu
-%fopts             -acc:-ta=nvidia,5.0,nocache:-Minfo=acc:-Mcray=pointer:-fastsse:-r8:-Mcuda=cuda5.0    lcmuk pgigpu
-%lopts             -acc:-ta=nvidia,5.0,nocache:-Minfo=acc:-Mcray=pointer:-fastsse:-r8:-Mcuda=cuda5.0:-L/muksoft/packages/pgi/2013-133/linux86-64/2013/cuda/5.0/l
-ib64:-lcufft    lcmuk pgigpu
-#
-# MPI+GPU
-%remote_username   <replace_by_your_IMUK_username>               lcmuk parallel pgigpu
-%tmp_user_catalog  /localdata                                    lcmuk parallel pgigpu
-%compiler_name     mpif90                                        lcmuk parallel pgigpu
-%compiler_name_ser pgf90                                         lcmuk parallel pgigpu
-%cpp_options       -Mpreprocess:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__nopointer:-D__openacc:-D__cuda_fft   lcmuk parallel pgigpu
-%mopts             -j:4                                          lcmuk parallel pgigpu
-%fopts             -acc:-ta=nvidia,5.0,nocache:-Minfo=acc:-Mcray=pointer:-fastsse:-r8:-Mcuda=cuda5.0    lcmuk parallel pgigpu
-%lopts             -acc:-ta=nvidia,5.0,nocache:-Minfo=acc:-Mcray=pointer:-fastsse:-r8:-Mcuda=cuda5.0:-L/muksoft/packages/pgi/2013-133/linux86-64/2013/cuda/5.0/l
-ib64:-lcufft   lcmuk parallel pgigpu
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $base_data/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $base_data/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl      nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.imuk_hlrnIII
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.imuk_hlrnIII	(revision 2693)
+++ 	(revision )
@@ -1,267 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-#%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   <replace_by_your_IMUK_hostname>         lcmuk
-%host_identifier   hlogin*      lccrayh
-%host_identifier   hxc*         lccrayh
-%host_identifier   blogin*      lccrayb
-%host_identifier   bxc*         lccrayb
-#
-# IMUK
-%remote_username   <replace_by_your_IMUK_username>                             lcmuk parallel
-%tmp_user_catalog  /localdata                                                  lcmuk parallel
-%compiler_name     mpif90                                                      lcmuk parallel
-%compiler_name_ser ifort                                                       lcmuk parallel
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__fftw:-D__intel_compiler  lcmuk parallel
-%netcdf_inc        -I:/muksoft/packages/netcdf/4_intel/include                 lcmuk parallel
-%netcdf_lib        -L/muksoft/packages/netcdf/4_intel/lib:-lnetcdf:-lnetcdff   lcmuk parallel
-%fftw_inc          -I:/muksoft/packages/fftw/3.3.4/include                     lcmuk parallel
-%fftw_lib          -L/muksoft/packages/fftw/3.3.4/lib64:-lfftw3                lcmuk parallel
-%mopts             -j:4                                                        lcmuk parallel
-%fopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291  lcmuk parallel
-%lopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291  lcmuk parallel
-#
-# IMUK debug/trace mode
-%remote_username   <replace_by_your_IMUK_username>                             lcmuk parallel trace
-%tmp_user_catalog  /localdata                                                  lcmuk parallel trace
-%compiler_name     mpif90                                                      lcmuk parallel trace
-%compiler_name_ser ifort                                                       lcmuk parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__fftw:-D__intel_compiler   lcmuk parallel trace
-%netcdf_inc        -I:/muksoft/packages/netcdf/4_intel/include                 lcmuk parallel trace
-%netcdf_lib        -L/muksoft/packages/netcdf/4_intel/lib:-lnetcdf:-lnetcdff   lcmuk parallel trace
-%fftw_inc          -I:/muksoft/packages/fftw/3.3.4/include                     lcmuk parallel trace
-%fftw_lib          -L/muksoft/packages/fftw/3.3.4/lib64:-lfftw3                lcmuk parallel trace
-%fopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian:-diag-disable:8290,8291  lcmuk parallel trace
-%lopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-limf:-lm:-Vaxlib       lcmuk parallel trace
-#
-# HLRN-III Hannover
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel
-%compiler_name       ftn                                                lccrayh parallel
-%compiler_name_ser   ftn                                                lccrayh parallel
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel
-%mopts               -j:4                                               lccrayh parallel
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic           lccrayh parallel
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic  lccrayh parallel
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel
-%memory              2300                                               lccrayh parallel
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayh parallel
-%login_init_cmd      module:unload:cray-netcdf                          lccrayh parallel
-#
-# HLRN-III Hannover debug/trace mode
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel trace
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel trace
-%compiler_name       ftn                                                lccrayh parallel trace
-%compiler_name_ser   ftn                                                lccrayh parallel trace
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel trace
-%mopts               -j:4                                               lccrayh parallel trace
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayh parallel trace
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayh parallel trace
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel trace
-%memory              2300                                               lccrayh parallel trace
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayh parallel trace
-%login_init_cmd      module:unload:cray-netcdf                          lccrayh parallel trace
-#
-# HLRN-III Hannover haswell
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel has
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel has
-%compiler_name       ftn                                                lccrayh parallel has
-%compiler_name_ser   ftn                                                lccrayh parallel has
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayh parallel has
-%feature             mpp2                                               lccrayh parallel has
-%mopts               -j:4                                               lccrayh parallel has
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic lccrayh parallel has
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic   lccrayh parallel has
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel has
-%memory              2300                                               lccrayh parallel has
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel:craype-haswell   lccrayh parallel has
-%login_init_cmd      module:unload:cray-netcdf:craype-ivybridge         lccrayh parallel has
-#
-# HLRN-III Berlin
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>     lccrayb parallel
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayb parallel
-%compiler_name       ftn                                                lccrayb parallel
-%compiler_name_ser   ftn                                                lccrayb parallel
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayb parallel
-%mopts               -j:4                                               lccrayb parallel
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic           lccrayb parallel
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic  lccrayb parallel
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayb parallel
-%memory              2300                                               lccrayb parallel
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayb parallel
-%login_init_cmd      module:unload:cray-netcdf                          lccrayb parallel
-#
-# HLRN-III Berlin debug/trace mode
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>     lccrayb parallel trace
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayb parallel trace
-%compiler_name       ftn                                                lccrayb parallel trace
-%compiler_name_ser   ftn                                                lccrayb parallel trace
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw   lccrayb parallel trace
-%mopts               -j:4                                               lccrayb parallel trace
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayb parallel trace
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc     lccrayb parallel trace
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayb parallel trace
-%memory              2300                                               lccrayb parallel trace
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayb parallel trace
-%login_init_cmd      module:unload:cray-netcdf                          lccrayb parallel trace
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-IC:[[ \$localhost = lccrayb ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-IC:[[ \$localhost = lccrayh ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f:cycfill  $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl      nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.imuk_hlrnIII_rrtmg
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.imuk_hlrnIII_rrtmg	(revision 2693)
+++ 	(revision )
@@ -1,257 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-#%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   <replace_by_your_IMUK_hostname>         lcmuk
-%host_identifier   hlogin*      lccrayh
-%host_identifier   hxc*         lccrayh
-%host_identifier   blogin*      lccrayb
-%host_identifier   bxc*         lccrayb
-#
-# IMUK
-%remote_username   <replace_by_your_IMUK_username>                             lcmuk parallel rrtmg
-%tmp_user_catalog  /localdata                                                  lcmuk parallel rrtmg
-%tmp_data_catalog  /localdata                                                  lcmuk parallel rrtmg
-%compiler_name     mpif90                                                      lcmuk parallel rrtmg
-%compiler_name_ser ifort                                                       lcmuk parallel rrtmg
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__fftw:-D__intel_compiler:-D__rrtmg  lcmuk parallel rrtmg
-%netcdf_inc        -I:/muksoft/packages/netcdf/4_intel/include                 lcmuk parallel rrtmg
-%netcdf_lib        -L/muksoft/packages/netcdf/4_intel/lib:-lnetcdf:-lnetcdff   lcmuk parallel rrtmg
-%fftw_inc          -I:/muksoft/packages/fftw/3.3.4/include                     lcmuk parallel rrtmg
-%fftw_lib          -L/muksoft/packages/fftw/3.3.4/lib64:-lfftw3                lcmuk parallel rrtmg
-%mopts             -j:4                                                        lcmuk parallel rrtmg
-%fopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291:-I:/home/<replace_by_your_IMUK_username>/rrtmg/shared/include  lcmuk parallel rrtmg
-%lopts             -fpe0:-O3:-cpp:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291:-L/home/<replace_by_your_IMUK_username>/rrtmg/shared/lib:-lrrtmg  lcmuk parallel rrtmg
-#
-# IMUK debug/trace mode
-%remote_username   <replace_by_your_IMUK_username>                             lcmuk parallel trace_rrtmg
-%tmp_user_catalog  /localdata                                                  lcmuk parallel trace_rrtmg
-%tmp_data_catalog  /localdata                                                  lcmuk parallel trace_rrtmg
-%compiler_name     mpif90                                                      lcmuk parallel trace_rrtmg
-%compiler_name_ser ifort                                                       lcmuk parallel trace_rrtmg
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__fftw:-D__intel_compiler:-D__rrtmg   lcmuk parallel trace_rrtmg
-%netcdf_inc        -I:/muksoft/packages/netcdf/4_intel/include                 lcmuk parallel trace_rrtmg
-%netcdf_lib        -L/muksoft/packages/netcdf/4_intel/lib:-lnetcdf:-lnetcdff   lcmuk parallel trace_rrtmg
-%fftw_inc          -I:/muksoft/packages/fftw/3.3.4/include                     lcmuk parallel trace_rrtmg
-%fftw_lib          -L/muksoft/packages/fftw/3.3.4/lib64:-lfftw3                lcmuk parallel trace_rrtmg
-%fopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian:-diag-disable:8290,8291:-I:/home/<replace_by_your_IMUK_username>/rrtmg/static_trace/include  lcmuk parallel trace_rrtmg
-%lopts             -fpe0:-C:-check:nooutput_conversion:-debug:-traceback:-g:-w:-xT:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-limf:-lm:-Vaxlib:-L/home/<replace_by_your_IMUK_username>/rrtmg/static_trace/lib:-lrrtmg       lcmuk parallel trace_rrtmg
-#
-# HLRN-III Hannover
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel rrtmg
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel rrtmg
-%compiler_name       ftn                                                lccrayh parallel rrtmg
-%compiler_name_ser   ftn                                                lccrayh parallel rrtmg
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw:-D__rrtmg   lccrayh parallel rrtmg
-%mopts               -j:4                                               lccrayh parallel rrtmg
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-I:/home/h/<replace_by_your_HLRN_username>/rrtmg/shared/include              lccrayh parallel rrtmg
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic:-L/home/h/<replace_by_your_HLRN_username>/rrtmg/shared/lib:-lrrtmg  lccrayh parallel rrtmg
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel rrtmg
-%memory              2300                                               lccrayh parallel rrtmg
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayh parallel rrtmg
-%login_init_cmd      module:unload:cray-netcdf                          lccrayh parallel rrtmg
-#
-# HLRN-III Hannover debug/trace mode
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayh parallel trace_rrtmg
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayh parallel trace_rrtmg
-%compiler_name       ftn                                                lccrayh parallel trace_rrtmg
-%compiler_name_ser   ftn                                                lccrayh parallel trace_rrtmg
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw:-D__rrtmg   lccrayh parallel trace_rrtmg
-%mopts               -j:4                                               lccrayh parallel trace_rrtmg
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc:-I:/home/h/<replace_by_your_HLRN_username>/rrtmg/static_trace/include  lccrayh parallel trace_rrtmg
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc:-L/home/h/<replace_by_your_HLRN_username>/rrtmg/static_trace/lib:-lrrtmg             lccrayh parallel trace_rrtmg
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayh parallel trace_rrtmg
-%memory              2300                                               lccrayh parallel trace_rrtmg
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayh parallel trace_rrtmg
-%login_init_cmd      module:unload:cray-netcdf                          lccrayh parallel trace_rrtmg
-#
-# HLRN-III Berlin
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayb parallel rrtmg
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayb parallel rrtmg
-%compiler_name       ftn                                                lccrayb parallel rrtmg
-%compiler_name_ser   ftn                                                lccrayb parallel rrtmg
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw:-D__rrtmg   lccrayb parallel rrtmg
-%mopts               -j:4                                               lccrayb parallel rrtmg
-%fopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-I:/home/b/<replace_by_your_HLRN_username>/rrtmg/shared/include              lccrayb parallel rrtmg
-%lopts               -em:-K:trap=fp:-O3:-hnoomp:-hnoacc:-hfp3:-hdynamic:-dynamic:-L/home/h/<replace_by_your_HLRN_username>/rrtmg/shared/lib:-lrrtmg  lccrayb parallel rrtmg
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayb parallel rrtmg
-%memory              2300                                               lccrayb parallel rrtmg
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayb parallel rrtmg
-%login_init_cmd      module:unload:cray-netcdf                          lccrayb parallel rrtmg
-#
-# HLRN-III Berlin debug/trace mode
-%tmp_user_catalog    /gfs2/tmp/<replace_by_your_HLRN-III_username>      lccrayb parallel trace_rrtmg
-%tmp_data_catalog    /gfs2/work/<replace_by_your_HLRN-III_username>/palm_restart_data     lccrayb parallel trace_rrtmg
-%compiler_name       ftn                                                lccrayb parallel trace_rrtmg
-%compiler_name_ser   ftn                                                lccrayb parallel trace_rrtmg
-%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__netcdf4_parallel:-D__fftw:-D__rrtmg   lccrayb parallel trace_rrtmg
-%mopts               -j:4                                               lccrayb parallel trace_rrtmg
-%fopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc:-I:/home/b/<replace_by_your_HLRN_username>/rrtmg/static_trace/include   lccrayb parallel trace_rrtmg
-%lopts               -eD:-em:-g:-R:b:-K:trap=fp:-O0:-hnoomp:-hnoacc:-L/home/h/<replace_by_your_HLRN_username>/rrtmg/static_trace/lib:-lrrtmg             lccrayb parallel trace_rrtmg
-%remote_username     <replace_by_your_HLRN-III_username>                lccrayb parallel trace_rrtmg
-%memory              2300                                               lccrayb parallel trace_rrtmg
-%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayb parallel trace_rrtmg
-%login_init_cmd      module:unload:cray-netcdf                          lccrayb parallel trace_rrtmg
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-IC:[[ \$localhost = lccrayb ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayb ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayb ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-IC:[[ \$localhost = lccrayh ]]  &&  export ATP_ENABLED=1
-IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_LIMITS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export APRUN_XFER_STACK_LIMIT=0
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -v unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  ulimit -s unlimited
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS_DISPLAY=1
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_STATS=1
-#IC:[[ \$localhost = lccrayh ]]  &&  E8="=8"
-#IC:[[ \$localhost = lccrayh ]]  &&  export MPICH_MPIIO_HINTS="*DATA_**:striping_factor"\$E8
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-rrtmg_lw.nc              in:locopt     d3#:d3f  $base_data/$fname/INPUT    _rlw nc
-rrtmg_sw.nc              in:locopt     d3#:d3f  $base_data/$fname/INPUT    _rsw nc
-RAD_SND_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _rsnd nc
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f:cycfill  $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl      nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr      nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp      nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts      nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts     nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy      nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av   nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz      nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av   nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz      nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av   nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d      nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av   nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.imuknb
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.imuknb	(revision 2693)
+++ 	(revision )
@@ -1,180 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   <replace_with_your_hostname>  lcmuknb
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI.
-# Compilernames, cpp-options and compiler-options are assuming
-# an Intel-Compiler and mpich2 on this host! Please change
-# appropriately, if you are using a different compiler / MPI-Version.
-#
-%remote_username   palm                                          lcmuknb parallel
-%tmp_user_catalog  /home/palm/tmp                                lcmuknb parallel
-%compiler_name     mpif90                                        lcmuknb parallel
-%compiler_name_ser ifort                                         lcmuknb parallel
-%cpp_options       -cpp:-D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__intel_compiler   lcmuknb parallel
-%netcdf_inc        -I:/opt/netcdf-3.6.3/include                  lcmuknb parallel
-%netcdf_lib        -L/opt/netcdf-3.6.3/lib64:-lnetcdf            lcmuknb parallel
-%mopts             -j:4                                          lcmuknb parallel
-%fopts             -fpe0:-O3:-xHost:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291:-I:/opt/mpich2-1.5/include   lcmuknb parallel
-%lopts             -fpe0:-O3:-xHost:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-diag-disable:8290,8291:-L:/opt/mpich2-1.5/lib64     lcmuknb parallel
-#
-#
-%remote_username   palm                                          lcmuknb parallel trace
-%tmp_user_catalog  /home/palm/tmp                                lcmuknb parallel trace
-%compiler_name     mpif90                                        lcmuknb parallel trace
-%compiler_name_ser ifort                                         lcmuknb parallel trace
-%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__intel_compiler   lcmuknb parallel trace
-%netcdf_inc        -I:/opt/netcdf-3.6.3/include                  lcmuknb parallel trace
-%netcdf_lib        -L/opt/netcdf-3.6.3/lib64:-lnetcdf            lcmuknb parallel trace
-%mopts             -j:4                                          lcmuknb parallel trace
-%fopts             -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcmuknb parallel trace
-%lopts             -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-O0:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs                         lcmuknb parallel trace
-#
-#
-%write_binary                true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $base_data/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $base_data/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.kiaps
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.kiaps	(revision 2693)
+++ 	(revision )
@@ -1,169 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-%host_identifier    login* lckiaps
-%host_identifier    node*  lckiaps
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-#
-%modules             intel/2016.1:PrgEnv-intel/2016.1:mvapich2/1.8.1:netcdf/4.1.3   lckiaps parallel
-%tmp_user_catalog    /home/<replace by your kiaps username>/data                 lckiaps parallel
-%tmp_data_catalog    /home/<replace by your kiaps username>/data                 lckiaps parallel
-%compiler_name       mpif90                            lckiaps parallel
-%compiler_name_ser   ifort                             lckiaps parallel
-%cpp_options         -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4 lckiaps parallel
-%netcdf_inc          -I:/app/compilers/intel_2015/applib1/NETCDF4/4.1.3/include  lckiaps parallel
-%netcdf_lib          -L/app/compilers/intel_2015/applib1/NETCDF4/4.1.3/lib:-lnetcdf:-lnetcdff  lckiaps parallel
-%mopts               -j:4                              lckiaps parallel
-%fopts               -fpe0:-O3:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs  lckiaps parallel
-%lopts               -fpe0:-O3:-fp-model:source:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs  lckiaps parallel
-%remote_username     <replace by your kiaps username>  lckiaps parallel
-%memory              1500                              lckiaps parallel
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.lcxe6
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.lcxe6	(revision 2693)
+++ 	(revision )
@@ -1,193 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-# The next line is just an example. Add your own line below or replace this line.
-%host_identifier   hexagon*  lcxe6
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-# Also replace <hi> by your host identifier (see above) in each line!
-# Compilernames, cpp-options and compiler-options are assuming
-# an Intel-Compiler and mpich2 on this host! Please change
-# appropriately, if you are using a different compiler / MPI-Version.
-#
-# Additional hints: during mrun error messages will occur related to the
-# "module swap" command. You can simply ignore those messages. If you do not
-# know your project account, check the output of the "cost" command on hexagon
-#
-%tmp_user_catalog    /work/<replace_by_your_CrayXE6_username>                                                         lcxe6 parallel
-%tmp_data_catalog    /work/<replace_by_your_CrayXE6_username>/tmp/                                                    lcxe6 parallel
-%compiler_name       ftn                                                                                              lcxe6 parallel
-%compiler_name_ser   ftn                                                                                              lcxe6 parallel
-%cpp_options         -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__fftw:-D__netcdf:-D__intel_openmp_bug lcxe6 parallel
-%mopts               -j:4                                                                                             lcxe6 parallel
-%fopts               -O3:-r8:-fp-model:source:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcxe6 parallel
-%lopts               -O3:-r8:-fp-model:source:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib lcxe6 parallel
-%remote_username      <replace_by_your_CrayXE6_username>                                                              lcxe6 parallel
-%memory              1000                                                                                             lcxe6 parallel
-%project_account     <replace_by_your_project_account>                                                                lcxe6 parallel
-%modules             modules:Base-opts:pmi:cray-mpich:netcdf-hdf5parallel:xtpe-network-gemini:gni-headers:fftw           lcxe6 parallel
-%login_init_cmd      .:/opt/modules/default/init/ksh\;:.:/etc/bash.bashrc.local\;:module:swap:PrgEnv-cray:PrgEnv-intel\;:module:unload:xtpe-interlagos     lcxe6 parallel
-%email_notification  <replace_by_your_email_address>                                                                  lcxe6 parallel
-#
- %tmp_user_catalog    /work/<replace_by_your_CrayXE6_username>                                                         lcxe6 parallel trace
-%tmp_data_catalog    /work/<replace_by_your_CrayXE6_username>/tmp/                                                    lcxe6 parallel trace
-%compiler_name       ftn                                                                                              lcxe6 parallel trace
-%compiler_name_ser   ftn                                                                                              lcxe6 parallel trace
-%cpp_options         -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__fftw:-D__netcdf:-D__intel_openmp_bug lcxe6 parallel trace
-%mopts               -j:4                                                                                             lcxe6 parallel trace
-%fopts               -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-O0:-r8:-fp-model:source:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian lcxe6 parallel trace
-%lopts               -C:-check:nooutput_conversion:-fpe0:-debug:-traceback:-g:-w:-O0:-r8:-fp-model:source:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib                       lcxe6 parallel trace
-%remote_username      <replace_by_your_CrayXE6_username>                                                              lcxe6 parallel trace
-%memory              1000                                                                                             lcxe6 parallel trace
-%project_account     <replace_by_your_project_account>                                                                lcxe6 parallel trace
-%modules             modules:Base-opts:pmi:cray-mpich:netcdf-hdf5parallel:xtpe-network-gemini:gni-headers:fftw           lcxe6 parallel trace
-%login_init_cmd      .:/opt/modules/default/init/ksh\;:.:/etc/bash.bashrc.local\;:module:swap:PrgEnv-cray:PrgEnv-intel\;:module:unload:xtpe-interlagos     lcxe6 parallel trace
-%email_notification  <replace_by_your_emai_address>                                                                  lcxe6 parallel trace
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $tmp_data_catalog/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $tmp_data_catalog/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $tmp_data_catalog/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.mrun.config.tatara
===================================================================
--- palm/trunk/SCRIPTS/.mrun.config.tatara	(revision 2693)
+++ 	(revision )
@@ -1,168 +1,0 @@
-#$Id$
-#column 1          column 2                                   column 3
-#name of variable  value of variable (~ must not be used)     scope
-#----------------------------------------------------------------------------
-%mainprog          palm.f90
-%base_directory    $HOME/palm/current_version
-%base_data         ~/palm/current_version/JOBS
-%source_path       $base_directory/trunk/SOURCE
-%add_source_path   $base_directory/USER_CODE/$fname
-%depository_path   $base_directory/MAKE_DEPOSITORY
-%use_makefile      true
-#
-# Enter your own host below by adding another line containing in the second
-# column your hostname (as provided by the unix command "hostname") and in the
-# third column the host identifier. Depending on your operating system, the
-# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
-# (IBM-AIX), or "nec" (NEC-SX), respectively.
-#
-%host_identifier   sugoka*     lckyut
-%host_identifier   pcj*        lckyut
-#
-#
-# The next block contains all informations for compiling the PALM code
-# and for generating and running the PALM executable using MPI. Replace all
-# required paths (given in <>) by the respective paths valid on your host.
-#
-%tmp_user_catalog  <replace_by_your_preferred_tmp_directory>     lckyut parallel
-%compiler_name     mpifrt                                        lckyut parallel
-%compiler_name_ser frt                                           lckyut parallel
-%cpp_options       -Cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4   lckyut parallel
-%netcdf_inc        -I:/usr/local/netcdf/4.1.1/include                 lckyut parallel
-%netcdf_lib        -L/usr/local/netcdf/4.1.1/lib:-lnetcdf:-lnetcdff   lckyut parallel
-%mopts             -j:4                                          lckyut parallel
-%memory            1000                                          lckyut parallel
-%fopts             -Kfast:-Ad:-Knooptmsg                         lckyut parallel
-%lopts             -Kfast:-Ad                                    lckyut parallel
-%scp_port          22                                            lckyut parallel
-%remote_username   <replace_by_your_tatara_username>             lckyut parallel
-#
-%write_binary        true                             restart
-#
-#----------------------------------------------------------------------------
-# INPUT-commands, executed before running PALM - lines must start with "IC:"
-#----------------------------------------------------------------------------
-#IC:
-#
-#----------------------------------------------------------------------------
-# ERROR-commands - executed when program terminates abnormally
-#----------------------------------------------------------------------------
-EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
-EC:pwd; ls -al
-#
-#----------------------------------------------------------------------------
-# OUTPUT-commands - executed when program terminates normally
-#----------------------------------------------------------------------------
-#
-# Combine 1D- and 3D-profile output (these files are not usable for plotting)
-OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
-OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
-#
-# Combine all particle information files
-OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
-#
-#----------------------------------------------------------------------------
-# List of input-files
-#----------------------------------------------------------------------------
-PARIN                    in:job        d3#      $base_data/$fname/INPUT    _p3d
-PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
-TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
-TOPOGRAPHY_DATA_NC       in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo_nc
-NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
-LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
-WTM_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _wtm
-STG_PROFILES             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _stgpr
-BININ                    in:loc:lnpe   d3f      $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_IN in:loc:lnpe   prtf     $base_data/$fname/RESTART  _rprt
-DATA_1D_FL_NETCDF        in:locopt     flf      $base_data/$fname/OUTPUT   _fl     nc
-DATA_1D_PR_NETCDF        in:locopt     prf      $base_data/$fname/OUTPUT   _pr     nc
-DATA_1D_SP_NETCDF        in:locopt     spf      $base_data/$fname/OUTPUT   _sp     nc
-DATA_1D_TS_NETCDF        in:locopt     tsf      $base_data/$fname/OUTPUT   _ts     nc
-DATA_1D_PTS_NETCDF       in:locopt     ptsf     $base_data/$fname/OUTPUT   _pts    nc
-DATA_2D_XY_NETCDF        in:locopt     xyf      $base_data/$fname/OUTPUT   _xy     nc
-DATA_2D_XY_AV_NETCDF     in:locopt     xyf      $base_data/$fname/OUTPUT   _xy_av  nc
-DATA_2D_XZ_NETCDF        in:locopt     xzf      $base_data/$fname/OUTPUT   _xz     nc
-DATA_2D_YZ_NETCDF        in:locopt     yzf      $base_data/$fname/OUTPUT   _yz     nc
-DATA_3D_NETCDF           in:locopt     3df      $base_data/$fname/OUTPUT   _3d     nc
-DATA_PRT_NETCDF          in:locopt:pe  prtf     $base_data/$fname/OUTPUT   _prt
-#
-#----------------------------------------------------------------------------
-# List of output-files
-#----------------------------------------------------------------------------
-BINOUT                    out:loc:lnpe restart   $base_data/$fname/RESTART  _d3d
-PARTICLE_RESTART_DATA_OUT out:loc:lnpe prt#:prtf $base_data/$fname/RESTART  _rprt
-#
-RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
-RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
-HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
-HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
-CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-TURBINE_PARAMETERS01  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters01
-TURBINE_PARAMETERS02  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters02
-TURBINE_PARAMETERS03  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters03
-TURBINE_PARAMETERS04  out:loc:tr  d3#:d3f   $base_data/$fname/MONITORING  _turbine_parameters04
-#
-DATA_1D_FL_NETCDF    out:loc:tr   fl#:flf   $base_data/$fname/OUTPUT  _fl     nc
-DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
-#
-DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-PARTICLE_DATA     out:loc:lnpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
-# A BLANK LINE MUST FOLLOW
Index: palm/trunk/SCRIPTS/.palm.iofiles
===================================================================
--- palm/trunk/SCRIPTS/.palm.iofiles	(revision 2693)
+++ palm/trunk/SCRIPTS/.palm.iofiles	(revision 2696)
@@ -1,10 +1,14 @@
 #
-#------------------------------------------------------------------------------------------
+#-------------------------------------------------------------------------------------------
 # List of input-files
-#------------------------------------------------------------------------------------------
+#-------------------------------------------------------------------------------------------
 PARIN                    in:tr      d3#      $base_data/$fname/INPUT          _p3d*
 PARIN                    in:tr      d3r      $base_data/$fname/INPUT          _p3dr*
 PARIN                    in:tr      pcr      $base_data/$fname/INPUT          _pcr
 TOPOGRAPHY_DATA          inopt:tr   d3#:d3r  $base_data/$fname/INPUT          _topo*
+PIDS_STATIC              inopt:tr   d3#:d3r  $base_data/$fname/INPUT          _static*
+PIDS_DYNAMIC             inopt:tr   d3#:d3r  $base_data/$fname/INPUT          _dynamic*
+rrtmg_lw.nc              inopt:tr   d3#:d3r  $base_data/$fname/INPUT          _rlw
+rrtmg_sw.nc              inopt:tr   d3#:d3r  $base_data/$fname/INPUT          _rsw
 WTM_DATA                 inopt:tr   d3#:d3r  $base_data/$fname/INPUT          _wtm
 BININ                    in:lnpe    d3r:rec  $fast_io_catalog/$fname/RESTART  _d3d
@@ -17,5 +21,7 @@
 DATA_2D_XY_AV_NETCDF     inopt      xyr      $base_data/$fname/OUTPUT         _xy_av*    nc
 DATA_2D_XZ_NETCDF        inopt      xzr      $base_data/$fname/OUTPUT         _xz*       nc
+DATA_2D_XZ_AV_NETCDF     inopt      xzr      $base_data/$fname/OUTPUT         _xz_av*    nc
 DATA_2D_YZ_NETCDF        inopt      yzr      $base_data/$fname/OUTPUT         _yz*       nc
+DATA_2D_YZ_AV_NETCDF     inopt      yzr      $base_data/$fname/OUTPUT         _yz_av*    nc
 DATA_3D_NETCDF           inopt      3dr      $base_data/$fname/OUTPUT         _3d*       nc
 DATA_3D_AV_NETCDF        inopt      3dr      $base_data/$fname/OUTPUT         _3d*       nc
@@ -24,7 +30,7 @@
 DATA_PRT_NETCDF          inopt:pe   prtr     $base_data/$fname/OUTPUT         _prt*      nc
 #
-#------------------------------------------------------------------------------------------
+#-------------------------------------------------------------------------------------------
 # List of output-files
-#------------------------------------------------------------------------------------------
+#-------------------------------------------------------------------------------------------
 BINOUT*                    out:lnpe restart   $fast_io_catalog/$fname/RESTART  _d3d
 PARTICLE_RESTART_DATA_OUT* out:lnpe prt#:prtr $fast_io_catalog/$fname/RESTART  _rprt
Index: palm/trunk/SCRIPTS/batch_scp
===================================================================
--- palm/trunk/SCRIPTS/batch_scp	(revision 2693)
+++ palm/trunk/SCRIPTS/batch_scp	(revision 2696)
@@ -4,5 +4,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -17,5 +17,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/compile_tutorial
===================================================================
--- palm/trunk/SCRIPTS/compile_tutorial	(revision 2693)
+++ palm/trunk/SCRIPTS/compile_tutorial	(revision 2696)
@@ -2,5 +2,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/document_changes
===================================================================
--- palm/trunk/SCRIPTS/document_changes	(revision 2693)
+++ palm/trunk/SCRIPTS/document_changes	(revision 2696)
@@ -1,5 +1,5 @@
 #!/bin/ksh
 #------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the 
Index: palm/trunk/SCRIPTS/generate_documentation
===================================================================
--- palm/trunk/SCRIPTS/generate_documentation	(revision 2693)
+++ palm/trunk/SCRIPTS/generate_documentation	(revision 2696)
@@ -1,5 +1,5 @@
 #!/bin/bash
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -14,5 +14,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/img2stereo
===================================================================
--- palm/trunk/SCRIPTS/img2stereo	(revision 2693)
+++ palm/trunk/SCRIPTS/img2stereo	(revision 2696)
@@ -2,5 +2,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/img2video
===================================================================
--- palm/trunk/SCRIPTS/img2video	(revision 2693)
+++ palm/trunk/SCRIPTS/img2video	(revision 2696)
@@ -2,5 +2,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/mbuild
===================================================================
--- palm/trunk/SCRIPTS/mbuild	(revision 2693)
+++ 	(revision )
@@ -1,1501 +1,0 @@
-#!/bin/bash
-
-# mbuild - script for compiling the PALM code and its utility programs
-
-#--------------------------------------------------------------------------------#
-# This file is part of PALM.
-#
-# PALM is free software: you can redistribute it and/or modify it under the terms
-# of the GNU General Public License as published by the Free Software Foundation,
-# either version 3 of the License, or (at your option) any later version.
-#
-# PALM is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# PALM. If not, see <http://www.gnu.org/licenses/>.
-#
-# Copyright 1997-2014  Leibniz Universitaet Hannover
-#--------------------------------------------------------------------------------#
-#
-# Current revisions:
-# ------------------
-# 
-# 
-# Former revisions:
-# -----------------
-# $Id$
-# Added lckea & lckeam. KIT/IMK-IFU Garmisch cluster. LRZ (SadiqHuq)
-# 
-# 2316 2017-07-20 07:53:42Z maronga
-# Removed qmake block as mrungui now runs as a python script
-# 
-# 2257 2017-06-07 14:07:05Z witha
-# adjustments for lceddy, removed lcflow-specific code
-# 
-# 1945 2016-06-15 07:17:24Z raasch
-#
-# 1944 2016-06-15 06:29:00Z raasch
-# adjustments for using HLRN ssh-keys
-#
-# 1841 2016-04-07 19:14:06Z raasch
-# script now running under bash
-# 
-# 1817 2016-04-06 15:44:20Z maronga
-# Bugfix: Makefile_check removed (parameter file check)
-# 
-# 1804 2016-04-05 16:30:18Z maronga
-# Removed parameter file check
-# 
-# 1652 2015-09-17 08:12:24Z raasch
-# bugfix for terminal output of configuration settings removed,
-# output of login init commands
-#
-# 1621 2015-07-17 11:39:33Z heinze
-# adjustments for Mistral at DKRZ Hamburg (lcbullhh)
-#
-# 1613 2015-07-08 14:53:29Z maronga
-# nc2vdf removed
-# 
-# 1547 2015-01-29 15:09:12Z witha
-# adjustments for ForWind computing cluster (lcflow)
-# 
-# 1487 2014-10-25 14:36:28Z raasch
-# bash compatibility adjustments: output formatting with printf instead
-# of "typeset -L/-R", print replaced by echo
-#
-# 1468 2014-09-24 14:06:57Z maronga
-# Typo removed (addres->address)
-# Adjustments for lcxe6
-# 
-# 1390 2014-05-06 07:57:37Z maronga
-# disabled compilation of parameter file check (currently not working),
-# adjustments for lcxe6
-# 
-# 1388 2014-05-06 07:42:38Z maronga
-# small adjustments for lcxe6
-# 
-# 1350 2014-04-04 13:01:30Z maronga
-# init_cmds is now executed before module calls in case of compilation on local 
-# host
-#
-# 1289 2014-03-04 07:12:34Z raasch
-# comments translated from German to English
-# fimm-, scirocco-, ibmy-, and sgi-specific code removed
-#
-# 1274 2014-01-09 13:14:54Z heinze
-# adjustments for lccrayh
-#
-# 1255 2013-11-07 14:43:35Z raasch
-# further adjustments for lccrayb remote access
-#
-# 1229 2013-09-20 06:55:19Z raasch
-# adjustments for lccrayb
-#
-# 1216 2013-08-26 09:31:42Z raasch
-# RCS renamed SOURCES
-#
-# 1210 2013-08-14 10:58:20Z raasch
-# fftw support added
-#
-# 1197 2013-07-04 06:19:45Z raasch
-# adjustments for CSC Helsinki (lccrayf)
-#
-# 1099 2013-02-10 01:47:43Z raasch
-# adjustments for Forwind cluster (lcflow)
-#
-# 1096 2013-02-03 01:52:12Z raasch
-# decalpha parts (yonsei) removed
-#
-# 2013-02-02 07:06:13Z raasch
-# adjustments for Kyushu-University computing center (lckyut)
-# old changelog messages removed
-#
-# 1083 2013-01-04 10:22:09Z maronga
-# bugfix in parameter file check (in case that no preprocessor flag, i.e. -cpp was
-# set in %cpp_options, the last directive in the variable was processed.
-#
-# 1081 2013-01-03 08:44:36Z maronga
-# loader options set for parameter file check_depository_path
-#
-# 1069 2012-11-28 16:18:43Z maronga
-# added copy of nc2vdf tools to remote host_found
-#
-# 1046 2012-11-09 14:38:45Z maronga
-# code put under GPL (PALM 3.9) 
-# 
-# 12/06/02 - Siggi - first version finished
-# 06/05/02 - Siggi - script development started
-#
-#--------------------------------------------------------------------------------#
-# mbuild - script for compiling the PALM code and its utility programs
-#
-# Procedure to compile code on local and remote hosts using the
-# make-mechanism. The source code must be provided on the local host.
-#
-# @note This script does not work on MAC OS
-#--------------------------------------------------------------------------------#
-
-
-    # VARIABLE DECLARATIONS + DEFAULT VALUES
- block_conditions=none
- block_conditions_found=false
- calltime=""
- column1=""
- column2=""
- compile_utility_programs=false
- config_file=.mrun.config
- host=all
- host_found=false
- locat=normal
- makefile=""
- module_calls=""
- util_compiled_localhost=false
- silent=false
- suf=f90
- update=false
- version="MBUILD  2.1  Rev$Rev$"
- working_directory=`pwd`
-
- typeset -i  ih ihost=0
-
-
-    # ERROR HANDLING
-    # IN CASE OF EXIT:
- trap 'rm -rf  $working_directory/tmp_mbuild
-       if [[ $locat != normal ]]
-       then
-          printf "\n\n +++ mbuild killed \n\n"
-       else
-          printf "\n\n *** mbuild finished \n\n"
-       fi' exit
-
-
-    # IN CASE OF TERMINAL-BREAK:
- trap 'rm -rf  $working_directory/tmp_mbuild
-       printf "\n\n +++ mbuild killed by \"^C\" \n\n"
-       exit
-      ' 2
-
-
- tmp_mbuild=${working_directory}/tmp_mbuild
-
-    # READ SHELLSCRIPT-OPTIONS
- while  getopts  :c:h:K:m:s:uv  option
- do
-   case  $option  in
-       (c)   config_file=$OPTARG;;
-       (h)   host=$OPTARG;;
-       (K)   block_conditions=$OPTARG;;
-       (m)   makefile=$OPTARG;;
-       (s)   suf=$OPTARG;;
-       (u)   compile_utility_programs=true;;
-       (v)   silent=true;;
-       (\?)  printf "\n  +++ unknown option $OPTARG \n";
-             locat=parameter; exit;;
-   esac
- done
-
-
-
-    # CHECK, IF CONFIGURATION-FILE EXISTS
- if [[ ! -f $config_file ]]
- then
-    printf "\n  +++ configuration file: "
-    printf "\n           $config_file"
-    printf "\n      does not exist"
-    locat=configuration; exit  
- fi
-
-
-
-    # DETERMINE THE LOCAL HOST
- local_host_real_name=$(hostname)
- local_address=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{echo $2}')
-
-
-
-    # DETERMINE HOST-IDENTIFIER (local_host) FROM THE CONFIG-FILE
- line=""
- grep  "%host_identifier"  $config_file  >  $tmp_mbuild
- while read line
- do
-    if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-    then
-       HOSTNAME=`echo $line | cut -d" " -s -f2`
-       host_identifier=`echo $line | cut -d" " -s -f3`
-       if [[ $local_host_real_name = $HOSTNAME ]]
-       then
-          local_host=$host_identifier
-          break
-       fi
-    fi
- done < $tmp_mbuild
-
- if [[ "$local_host" = "" ]]
- then
-    printf "\n  +++ no host identifier found in configuration file \"$config_file\""
-    printf "\n      for local host \"$local_host_real_name\"."
-    printf "\n      Please add line"
-    printf "\n      \"\%host_identifier $local_host_real_name <identifier>\""
-    printf "\n      to the configuration file."
-    locat=local_host; exit
- fi
-
-
- if [[ $local_host != ibms ]]
- then
-    config_file=$PWD/$config_file
- else
-    config_file=`pwd`/$config_file
- fi
-
-
-    # DETERMINE THE BLOCK CONDITIONS
- if [[ $block_conditions != none ]]
- then
-    block_condition1=`echo $block_conditions | cut -d" " -f1`
-    block_condition2=`echo $block_conditions | cut -d" " -f2`
-    if [[ "$block_condition2" = "$block_condition1" ]]
-    then
-       block_condition2=""
-    fi
- fi
-
- 
-    # DETERMINE USER NAME ON LOCAL HOST FROM THE CONFIG-FILE
- line=""
- grep  " $local_host" $config_file | grep "%remote_username"  >  $tmp_mbuild
- while read line
- do
-    if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-    then
-       local_username=`echo $line | cut -d" " -s -f2`
-    fi
- done < $tmp_mbuild
-
-
- if [[ "$local_username" = "" ]]
- then
-    printf "\n  +++ no user name found in configuration file"
-    printf "\n      for local host \"$local_host\" "
-    locat=config_file; exit
- fi
-
-
-    # DETERMINE LOCAL SOURCE-CODE PATH.
-    # FIRST CHECK, IF A GLOBAL SOURCE-CODE PATH HAS BEEN DECLARED FOR ALL HOSTS.
-    # THEREFORE, FIRST SET ALL GLOBAL VARIABLES DECLARED IN THE CONFIG-FILE,
-    # BECAUSE THEY MAY BE USED AS PART OF THE PATH NAME.
- line=""
- grep "%" $config_file  >  $tmp_mbuild
- while read line
- do
-    if [[ "$line" != ""  &&  "$(echo $line | cut -d" " -s -f3)" = ""  &&  $(echo $line | cut -c1) != "#" ]]
-    then
-       var=`echo $line | cut -d" " -s -f1 | cut -c2-`
-       value=`echo $line | cut -d" " -s -f2`
-       eval export $var=\$value
-    fi
- done < $tmp_mbuild
-
-    # NOW CHECK, IF A GLOBAL SOURCE-CODE-PATH HAS BEEN DECLARED
- line=""
- grep "%source_path" $config_file  >  $tmp_mbuild
- while read line
- do
-    if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-    then
-       if [[ "$(echo $line | cut -d" " -s -f3)" = "" ]]
-       then
-          global_source_path=`echo $line | cut -d" " -s -f2`
-       fi
-    fi
- done < $tmp_mbuild
-
- line=""
- grep  " $local_host" $config_file | grep "%source_path"  >  $tmp_mbuild
- while read line
- do
-    if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-    then
-       local_source_path=`echo $line | cut -d" " -s -f2`
-    fi
- done < $tmp_mbuild
-
- if [[ "$local_source_path" = "" ]]
- then
-    if [[ "$global_source_path" != "" ]]
-    then
-       local_source_path=$global_source_path
-    else
-       printf "\n  +++ no source path found in configuration file"
-       printf "\n      for local host \"$local_host\" "
-       printf "\n      please set \"\%source_path\" in configuration file"
-       locat=config_file; exit
-    fi
- fi
- eval local_source_path=$local_source_path
- eval local_source_path=$local_source_path
-
-
-
-    # DETERMINE GLOBAL DEPOSITORY-PATH
- line=""
- grep "%depository_path" $config_file  >  $tmp_mbuild
- while read line
- do
-    if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-    then
-       if [[ "$(echo $line | cut -d" " -s -f3)" = "" ]]
-       then
-          global_depository_path=`echo $line | cut -d" " -s -f2`
-       fi
-    fi
- done < $tmp_mbuild
-
- if [[ $found = false ]]
- then
-    printf "\n  +++ no \%depository_path found in" 
-    printf "\n                            $config_file"
-    locat=depository_path; exit
-  fi
-
-    # CHECK, IF A MAIN PROGRAM HAS BEEN DEFINED IN THE CONFIG-FILE
- if [[ $(grep -c "%mainprog" $config_file) != 1 ]]
- then
-    printf "\n  +++ no main program or more than one main program defined"
-    printf "\n      in configuration file"
-    locat=configuration; exit
- else
-    line=`grep "%mainprog" $config_file`
-    if [[ "$line" = ""  ||  $(echo $line | cut -c1) = "#" ]]
-    then
-       printf "\n  +++ no main program defined in configuration file"
-       locat=configuration; exit
-    fi
-    mainprog=`echo $line | cut -d" " -s -f2 | cut -d"." -f1`
- fi
-
-
-
-    # CHECK IF MAKEFILE EXITS
- [[ "$makefile" = "" ]]  &&  makefile=$local_source_path/Makefile
- if [[ ! -f $makefile ]]
- then
-    printf "\n  +++ makefile: "
-    printf "\n           $makefile"
-    printf "\n      does not exist"
-    locat=makefile; exit  
- fi
-
-
-    # HEADER-OUTPUT (PART1: MESSAGES CONCERNING THE LOCAL HOST)
- calltime=$(date)
- printf "\n"
- printf "#------------------------------------------------------------------------# \n"
- printf "| %-40s%30s | \n" "$version" "$calltime"
- printf "|                                                                        | \n"
- printf "| %-20s%-50s | \n" "called on:" "$local_host_real_name"
- printf "| %-20s%-50s | \n" "local username:" "$local_username"
- printf "| %-20s%-50s | \n" "local IP-address:" "$local_address"
- column2=$(echo $config_file | cut -c1-50 )
- printf "| %-20s%-50s | \n" "config file:" "$column2"
- line=$(echo "$config_file" | cut -c51-)
- while [[ "$line" != "" ]]
- do
-    column1=""
-    column2=$(echo $line | cut -c1-50 )
-    printf "| %-20s%-50s | \n" "$column1" "$column2"
-    line=$(echo "$line" | cut -c51-)
- done
- column2=$(echo $makefile | cut -c1-50 )
- printf "| %-20s%-50s | \n" "makefile:" "$column2"
- line=$(echo "$makefile" | cut -c51-)
- while [[ "$line" != "" ]]
- do
-    column1=""
-    column2=$(echo $line | cut -c1-50 )
-    printf "| %-20s%-50s | \n" "$column1" "$column2"
-    line=$(echo "$line" | cut -c51-)
- done
- column2=$(echo $local_source_path | cut -c1-50 )
- printf "| %-20s%-50s | \n" "local source path:" "$column2"
- line=$(echo "$local_source_path" | cut -c51-)
- while [[ "$line" != "" ]]
- do
-    column1=""
-    column2=$(echo $line | cut -c1-50 )
-    printf "| %-20s%-50s | \n" "$column1" "$column2"
-    line=$(echo "$line" | cut -c51-)
- done
- printf "#------------------------------------------------------------------------# \n"
-
-
- if [[ $compile_utility_programs = false ]]
- then
-
-       # IN ANY CASE, GIVE ALL FILES WRITE-PERMIT, IN ORDER TO AVOID PROBLEMS
-       # WITH OVERWRITING FILES ON THE REMOTE HOST
-    cd  $local_source_path
-    printf "\n\n  *** tar of makefile and source files in $local_source_path"  
-    tar -cf  ${mainprog}_sources.tar  Makefile  *.$suf
-    printf "\n"
-
- else
-    cd  $local_source_path
-    printf "\n\n  *** tar of makefile and source files in $local_source_path"  
-    printf "\n"
- fi
-
-
-
-    # GET CONFIRMATION TO CONTINUE
- if [[ $host = all ]]
- then
-    printf "\n  *** updates will be made for ALL hosts found in"
-    printf "\n      the configuration file"
- else
-    printf "\n  *** update will be made for host \"$host\" "
- fi
-
- if [[ $silent = false ]]
- then
-    answer=dummy
-    printf "\n\n"
-    while [[ "$answer" != y  &&  "$answer" != Y  &&  "$answer" != n  &&  "$answer" != N ]]
-    do
-       printf " >>> continue (y/n) ?  "
-       read  answer
-    done
-    if [[ $answer = n  ||  $answer = N ]]
-    then
-       locat=user_abort; exit
-    fi
- fi
- 
- 
-
-    
-    # GENERATE MODEL-VERSIONS FOR ALL HOST-BLOCKS
-    # FOUND IN THE CONFIGURATION-FILE
- printf "\n  *** scanning configuration file for host(s) ..."
-
- grep  %fopts  $config_file  >  $tmp_mbuild
- while read line
- do
-       # SKIP COMMENT-LINES
-    [[ $(echo $line | cut -c1) = "#" ]]  &&  continue
-    (( ihost = ihost + 1 ))
-    hostline[$ihost]="$line"
- done < $tmp_mbuild
-
- 
- while (( ih < ihost ))
- do
-
-    (( ih = ih + 1 ))
-
-       # DETERMINE REMOTE HOST AND CONDITIONS FOR THE RESPECTIVE BLOCK
-       # CONTINUE, ONLY IF THIS HOST HAS BEEN CHOSEN VIA -h OPTION AND IF
-       # CONDITIONS HAVE BEEN CHOSEN VIA -K OPTION
-    remote_host_string=`echo ${hostline[$ih]} | cut -d" " -s -f3-`
-    remote_host=`echo $remote_host_string | cut -d" " -f1`
-    if [[ $host != all ]]
-    then
-       [[ $remote_host != $host ]]  &&  continue
-    fi
-    host_found=true
-    condition1=`echo $remote_host_string | cut -d" " -s -f2`
-    if [[ $condition1 = $remote_host ]]
-    then
-       condition1=""
-    else
-       condition2=`echo $remote_host_string | cut -d" " -s -f3`
-    fi
-
-    if [[ $block_conditions != none ]]
-    then
-       if [[ "$condition1" != "$block_condition1"  || "$condition2" != "$block_condition2" ]]
-       then
-          continue
-       fi
-       block_conditions_found=true
-    fi
-
-    fftw_inc=""
-    fftw_lib=""
-    modules=""
-    netcdf_inc=""
-    netcdf_lib=""
-    make_options=""
-
-       # DETERMINE IP-ADDRES OF THE REMOTE-HOST
-    case  $remote_host  in
-        (lcbwuni)        remote_address="129.13.82.89";;
-        (lcbullhh)       remote_address=136.172.50.13;;
-        (lccrayb)        remote_address=130.73.233.1;;
-        (lccrayh)        remote_address=130.75.4.1;;
-        (lckordi)        remote_adress=210.219.61.8;;
-        (lcmuk)          remote_address=130.75.105.2;;
-        (lcrte)          remote_address=133.5.185.60;;
-        (lcsb)           remote_address=147.46.30.151;;
-        (lck)            remote_address=165.132.26.61;;
-        (lckiaps)        remote_address=118.128.66.223;;
-        (lckyut)         remote_address=133.5.4.37;;
-        (lclrz)          remote_address=129.187.20.240;;
-        (lckea*)         remote_address=172.27.80.109;;
-        (lctit)          remote_address=10.1.6.170;;
-        (lcxe6)          remote_address=129.177.20.113;;
-        (lcxt5m)         remote_address=193.166.211.144;;
-        (ibmh)           remote_address=136.172.40.15;;
-        (ibmkisti)       remote_address=150.183.146.24;;
-        (ibmku)          remote_address=133.5.4.129;;
-        (ibmmuc)         remote_address=129.187.11.197;;
-        (ibms)           remote_address=150.183.5.101;;
-        (nech)           remote_address=136.172.44.192;;
-        (neck)           remote_address=133.5.178.11;;
-        (ground.yonsei.ac.kr) remote_address=134.75.155.33;;
-        (*)              if [[ $local_host != $remote_host ]]
-                         then
-                            printf "\n  +++ remote host \"$remote_host\" unknown";
-                            printf "\n      please inform PALM group support!"
-                            locat=remote_host; exit
-                         fi;;
-    esac
-
-
-       # DETERMINE REMOTE-USERNAME
-    line=""
-    found=false
-    grep  "$remote_host_string" $config_file | grep "%remote_username"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          remote_username=`echo $line | cut -d" " -s -f2`
-          found=true
-       fi
-
-    done < $tmp_mbuild
-
-    if [[ $found = false ]]
-    then
-       printf "\n  +++ no remote username found in configuration file"
-       printf "\n      for \"$remote_host_string\" "
-       locat=config_file; exit
-    fi
-
-
-       # DETERMINE REMOTE-SOURCE-CODE-PATH
-    line=""
-    remote_source_path=""
-    grep  "$remote_host_string" $config_file | grep "%source_path"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          remote_source_path=`echo $line | cut -d" " -s -f2`
-       fi
-
-    done < $tmp_mbuild
-
-    if [[ "$remote_source_path" = "" ]]
-    then
-       if [[ "$global_source_path" != "" ]]
-       then
-          remote_source_path=$global_source_path
-       else
-          printf "\n  +++ no source path found in configuration file"
-          printf "\n      for \"$remote_host_string\" "
-          locat=config_file; exit
-       fi
-    fi
-
-    remote_ud=${remote_source_path}/../UTIL
-    remote_ud=$(eval echo $remote_ud)
-
-
-       # DETERMINE REMOTE-PATH FOR MAKE-DEPOSITORY
-    remote_md=""
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%depository_path"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          remote_md=`echo $line | cut -d" " -s -f2`
-       fi
-
-    done < $tmp_mbuild
-
-    if [[ "$remote_md" = "" ]]
-    then
-       if [[ "$global_depository_path" != "" ]]
-       then
-          remote_md=$global_depository_path
-       else
-          printf "\n  +++ no depository path found in configuration file"
-          printf "\n      for \"$remote_host_string\" "
-          printf "\n      please set \"\%depository_path\" in configuration file"
-          locat=config_file; exit
-       fi
-    fi
-
-    remote_md=$(eval echo $remote_md)
-    block=""
-    [[ "$condition1" != "" ]]  &&  block=_$condition1
-    [[ "$condition2" != "" ]]  &&  block=${block}_$condition2
-    remote_md=${remote_md}$block
-
-
-       # DETERMINE COMPILERNAME
-    line=""
-    found=false
-    grep  "$remote_host_string" $config_file | grep "%compiler_name "  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          compiler_name=`echo $line | cut -d" " -s -f2`
-          found=true
-       fi
-
-    done < $tmp_mbuild
-
-    if [[ $found = false ]]
-    then
-       printf "\n  +++ no compiler name found in configuration file"
-       printf "\n      for \"$remote_host_string\" "
-       locat=config_file; exit
-    fi
-
-
-       # DETERMINE SSH-KEY TO BE USED
-    ssh_key=""
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%ssh_key "  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          ssh_key="-i $HOME/.ssh/`echo $line | cut -d" " -s -f2`"
-       fi
-
-    done < $tmp_mbuild
-
-
-
-       # IN CASE OF PARALLEL EXECUTION (COMPILER FOR PARALLEL EXECUTION),
-       # A SERIAL COMPILERNAME MUST BE DETERMINED ALSO
-    if [[ $(echo $remote_host_string | grep -c parallel) = 1 ]]
-    then
-       line=""
-       found=false
-       grep  "$remote_host_string" $config_file | grep "%compiler_name_ser"  >  $tmp_mbuild
-       while read line1
-       do
-
-          if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-          then
-             line="$line1"
-          fi
-
-          if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-          then
-             compiler_name_ser=`echo $line | cut -d" " -s -f2`
-             found=true
-          fi
-
-       done < $tmp_mbuild
-
-       if [[ $found = false ]]
-       then
-          printf "\n  +++ no serial compiler name found in configuration file"
-          printf "\n      for \"$remote_host_string\" "
-          locat=config_file; exit
-       fi
-    else
-       compiler_name_ser=$compiler_name
-    fi
-
-
-
-       # DETERMINE PREPROCESSOR-OPTIONS AND DIRECTIVES
-    line=""
-    found=false
-    grep  "$remote_host_string" $config_file | grep "%cpp_options"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          cpp_options=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-          found=true
-       fi
-
-    done < $tmp_mbuild
-
-    if [[ $found = false ]]
-    then
-       printf "\n  +++ no preprocessor options found in configuration file"
-       printf "\n      for \"$remote_host_string\" "
-       locat=config_file; exit
-    fi
-
-
-       # ADD HOST-SPECIFIC PREPROCESSOR-DIRECTIVES
-    for  string  in  $remote_host_string
-    do
-       if [[ $(echo $remote_host | cut -c1-2) = lc  &&  $(echo $string | cut -c1-2) = lc ]]
-       then
-          cpp_options="$cpp_options -D__lc "
-       elif [[ $(echo $remote_host | cut -c1-3) = ibm  &&  $(echo $string | cut -c1-3) = ibm ]]
-       then
-          if [[ $remote_host = ibmmuc ]]
-          then
-             cpp_options="${cpp_options}"
-          else
-             cpp_options="${cpp_options},-D__ibm"
-          fi
-       elif [[ $(echo $remote_host | cut -c1-3) = nec  &&  $(echo $string | cut -c1-3) = nec ]]
-       then
-          cpp_options="${cpp_options} -D__nec"
-       else
-          if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
-          then
-             if [[ $remote_host = ibmmuc ]]
-             then
-                cpp_options="${cpp_options} -D__parallel"
-             else
-                cpp_options="${cpp_options},-D__$string"
-             fi
-          else
-             cpp_options="$cpp_options -D__$string "
-          fi
-       fi
-    done
-
-
-
-       # GET netCDF OPTIONS
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%netcdf_inc"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          netcdf_inc=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-       fi
-
-    done < $tmp_mbuild
-
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%netcdf_lib"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          netcdf_lib=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-       fi
-
-    done < $tmp_mbuild
-
-
-
-       # GET FFTW OPTIONS
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%fftw_inc"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          fftw_inc=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-       fi
-
-    done < $tmp_mbuild
-
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%fftw_lib"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          fftw_lib=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-       fi
-
-    done < $tmp_mbuild
-
-
-
-       # GET MAKE OPTIONS
-    line=""
-    found=false
-    grep  "$remote_host_string" $config_file | grep "%mopts"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          make_options=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-
-       fi
-
-    done < $tmp_mbuild
-
-
-
-       # GET COMPILER OPTIONS
-    line=""
-    found=false
-    grep  "$remote_host_string" $config_file | grep "%fopts"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          compiler_options=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-          found=true
-
-             # ADD INCLUDE PATHS FOR netCDF AND FFTW
-          compiler_options="$compiler_options $netcdf_inc $fftw_inc"
-       fi
-
-    done < $tmp_mbuild
-
-    if [[ $found = false ]]
-    then
-       printf "\n  +++ no compiler options found in configuration file"
-       printf "\n      for \"$remote_host_string\" "
-       locat=config_file; exit
-    fi
-
-
-       # GET LOGIN INIT COMMANDS
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%login_init_cmd"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          init_cmds=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-          init_cmds="${init_cmds};"
-       fi
-    done < $tmp_mbuild
-
-
-       # GET MODULES TO BE LOADED
-    line=""
-    grep  "$remote_host_string" $config_file | grep "%modules"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          modules=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-       fi
-
-    done < $tmp_mbuild
-
-
-       # GET LINKER OPTIONS
-    line=""
-    found=false
-    grep  "$remote_host_string" $config_file | grep "%lopts"  >  $tmp_mbuild
-    while read line1
-    do
-
-       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
-       then
-          line="$line1"
-       fi
-
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-             # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY
-          loader_options=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-          found=true
-
-             # ADD netCDF- AND FFTW-LIBRARY
-          loader_options="$loader_options $netcdf_lib $fftw_lib"
-       fi
-
-    done < $tmp_mbuild
-
-    if [[ $found = false ]]
-    then
-       printf "\n  +++ no loader options found in configuration file"
-       printf "\n      for \"$remote_host_string\" "
-       locat=config_file; exit
-    fi
-
-
-    printf "\n\n#------------------------------------------------------------------------# \n"
-    if [[ $remote_host = $local_host ]]
-    then
-       column2="$remote_host (= local host!)"
-    else
-       column2=$remote_host
-    fi
-    printf "| %-20s%-50s | \n" "remote_host:" "$column2"
-    printf "|                                                                        | \n"
-    printf "| %-20s%-50s | \n" "conditions:" "$condition1 $condition2"
-    column2=$(echo "$remote_md" | cut -c1-50 )
-    printf "| %-20s%-50s | \n" "make depository:" "$column2"
-    line=$(echo "$remote_md" | cut -c51-)
-    while [[ "$line" != "" ]]
-    do
-       column1=""
-       column2=$(echo "$line" | cut -c1-50 )
-       printf "| %-20s%-50s | \n" "$column1" "$column2"
-       line=$(echo "$line" | cut -c51-)
-    done
-    if [[ $compile_utility_programs = true ]]
-    then
-       column2=$(echo "$remote_ud" | cut -c1-50 )
-       printf "| %-20s%-50s | \n" "utility directory:" "$column2"
-       line=$(echo "$remote_ud" | cut -c51-)
-       while [[ "$line" != "" ]]
-       do
-          column1=""
-          column2=$(echo "$line" | cut -c1-50 )
-          printf "| %-20s%-50s | \n" "$column1" "$column2"
-          line=$(echo "$line" | cut -c51-)
-       done
-    fi
-    printf "| %-20s%-50s | \n" "username:" "$remote_username"
-    printf "| %-20s%-50s | \n" "address:" "$remote_address"
-    printf "| %-20s%-50s | \n" "compiler:" "$compiler_name"
-    if [[ $compile_utility_programs = true ]]
-    then
-       printf "| %-20s%-50s | \n" "serial compiler:" "$compiler_name_ser"
-    fi
-    if [[ "$make_options" != "" ]]
-    then
-       printf "| %-20s%-50s | \n" "make options:" "$make_options"
-    fi
-    column2=$(echo $cpp_options | cut -c1-50 )
-    printf "| %-20s%-50s | \n" "cpp options:" "$column2"
-    line=$(echo "$cpp_options" | cut -c51-)
-    while [[ "$line" != "" ]]
-    do
-       column1=""
-       column2=$(echo $line | cut -c1-50 )
-       printf "| %-20s%-50s | \n" "$column1" "$column2"
-       line=$(echo "$line" | cut -c51-)
-    done
-    column2=$(echo $compiler_options | cut -c1-50 )
-    printf "| %-20s%-50s | \n" "compiler options:" "$column2"
-    line=$(echo "$compiler_options" | cut -c51-)
-    while [[ "$line" != "" ]]
-    do
-       column1=""
-       column2=$(echo $line | cut -c1-50 )
-       printf "| %-20s%-50s | \n" "$column1" "$column2"
-       line=$(echo "$line" | cut -c51-)
-    done
-    column2=$(echo $loader_options | cut -c1-50 )
-    printf "| %-20s%-50s | \n" "loader options:" "$column2"
-    line=$(echo "$loader_options" | cut -c51-)
-    while [[ "$line" != "" ]]
-    do
-       column1=""
-       column2=$(echo $line | cut -c1-50 )
-       printf "| %-20s%-50s | \n" "$column1" "$column2"
-       line=$(echo "$line" | cut -c51-)
-    done
-    if [[ $init_cmds != "" ]]
-    then
-       column2=$(echo $init_cmds | cut -c1-50 )
-       printf "| %-20s%-50s | \n" "login init command:" "$column2"
-       line=$(echo "$init_cmds" | cut -c51-)
-       while [[ "$line" != "" ]]
-       do
-          column1=""
-          column2=$(echo $line | cut -c1-50 )
-          printf "| %-20s%-50s | \n" "$column1" "$column2"
-          line=$(echo "$line" | cut -c51-)
-       done
-    fi
-    if [[ $modules != "" ]]
-    then
-       column2=$(echo $modules | cut -c1-50 )
-       printf "| %-20s%-50s | \n" "modules to be load:" "$column2"
-       line=$(echo "$modules" | cut -c51-)
-       while [[ "$line" != "" ]]
-       do
-          column1=""
-          column2=$(echo $line | cut -c1-50 )
-          printf "| %-20s%-50s | \n" "$column1" "$column2"
-          line=$(echo "$line" | cut -c51-)
-       done
-    fi
-    printf "#------------------------------------------------------------------------# \n"
-
-    if [[ $silent = false ]]
-    then
-       answer=dummy
-       printf "\n\n"
-       while [[ "$answer" != y  &&  "$answer" != Y  && "$answer" != c  &&  "$answer" != C  && "$answer" != s  &&  "$answer" != S  &&  "$answer" != a  &&  "$answer" != A ]]
-       do
-          printf " >>> continue (y(es)/c(ontinue)/a(bort)/s(skip)) ?  "
-          read  answer
-       done
-       if [[ $answer = a  ||  $answer = A ]]
-       then
-          locat=user_abort; exit
-       fi
-       if [[ $answer = c  ||  $answer = C ]]
-       then
-          silent=true
-       fi
-       if [[ $answer = s  ||  $answer = S ]]
-       then
-          continue
-       fi
-    fi
-
-
-       # MAKE ON REMOTE HOST
-    if [[ $remote_host != $local_host ]]
-    then
-       if [[ $compile_utility_programs = false ]]
-       then
-
-             # COPY CURRENT SOURCE CODE TO SOURCE-CODE DIRECTORY ON THE REMOTE HOST
-             # CREATE THIS DIRECTORY, IF IT DOES NOT EXIST
-          echo "  *** copying \"${mainprog}_sources.tar\" to \"${remote_address}:${remote_md}/\" "
-          if [[ $remote_host != lctit ]]
-          then
-             ssh  $ssh_key  ${remote_username}@${remote_address} "[[ ! -d ${remote_md} ]]  &&  (echo \"  *** ${remote_md} will be created\"; mkdir -p  ${remote_md})"
-          else
-                # USING PIPE, BECAUSE TIT ALLOWS SSH TO EXECUTE ONLY SOME SELECTED COMMANDS
-             echo "[[ ! -d ${remote_md} ]]  &&  (echo \"  *** ${remote_md} will be created\"; mkdir -p  ${remote_md})"  |  ssh ${remote_username}@${remote_address}  2>&1
-          fi
-
-          scp  $ssh_key ${local_source_path}/${mainprog}_sources.tar  ${remote_username}@${remote_address}:${remote_md}/${mainprog}_sources.tar
-
-
-
-             # UNTAR PREVIOUS UPDATE ON REMOTE HOST, IF EXISTING
-          echo "  *** untar previous update on remote host, if existing"
-          if [[ $remote_host != lctit ]]
-          then
-             ssh  $ssh_key  ${remote_username}@${remote_address}  "cd ${remote_md}; [[ -f ${mainprog}_current_version.tar ]]  &&  tar -xf  ${mainprog}_current_version.tar"
-          else
-                # USING PIPE, BECAUSE TIT ALLOWS SSH TO EXECUTE ONLY SOME SELECTED COMMANDS
-             echo "cd ${remote_md}; [[ -f ${mainprog}_current_version.tar ]]  &&  tar -xf  ${mainprog}_current_version.tar"  |  ssh  ${remote_username}@${remote_address}  2>&1
-          fi
-
-
-             # UNTAR CURRENT SOURCES ON REMOTE HOST
-          echo "  *** untar current sources on remote host"
-          if [[ $remote_host != lctit ]]
-          then
-             ssh  $ssh_key  ${remote_username}@${remote_address}  "cd ${remote_md}; tar -xf  ${mainprog}_sources.tar"
-          else
-                # USING PIPE, BECAUSE TIT ALLOWS SSH TO EXECUTE ONLY SOME SELECTED COMMANDS
-             echo  "cd ${remote_md}; tar -xf  ${mainprog}_sources.tar"  |  ssh  ${remote_username}@${remote_address}  2>&1
-          fi
-
-
-             # EXECUTE MAKE WITH THOSE OPTIONS DETERMINED ABOVE
-             # COMMANDS WILL BE COMMUNICATED TO SSH VIA PIPE, SINCE THIS WAY THE SYSTEM- AND
-             # USER-PROFILES OF THE SHELL ARE COMPLETELY EXECUTED (OTHERWISE, MAKE
-             # WILL E.G. MISS THE COMPILER-PATHS)
-          echo "  *** execute \"make\" on remote host"
-
-
-             # GENERATE MAKE CALL WITH MAKE OPTIONS
-          if [[ $remote_host = nech ]]
-          then
-             make_call_string="sxmake  $make_options  PROG=$mainprog  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$compiler_options\"  LDFLAGS=\"$loader_options\" "
-          else
-             make_call_string="make  $make_options  PROG=$mainprog  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$compiler_options\"  LDFLAGS=\"$loader_options\" "
-          fi
-
-             # GENERATE COMMAND TO LOAD MODULES, IF MODULES ARE GIVEN
-          if [[ "$modules" != "" ]]
-          then
-             if [[ $remote_host = lctit ]]
-             then
-                module_calls=". $modules"
-             else
-                module_calls="module load ${modules};"
-             fi
-          else
-             module_calls=""
-          fi
-
-          if [[ $remote_host = ibmkisti  ||  $remote_host = ibms ]]
-          then
-
-             ssh  ${remote_username}@${remote_address}  "$init_cmds $module_calls cd ${remote_md}; echo '$make_call_string' > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll
-
-          elif [[ $remote_host = ibmh ]]
-          then
-
-             echo "$init_cmds $module_calls export OBJECT_MODE=64; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_address} 2>&1 | tee ${remote_host}_last_make_protokoll
-
-          elif [[ $remote_host = lctit ]]
-          then
-
-             echo  " "  >  ${remote_host}_last_make_protokoll
-             while [[ $(cat ${remote_host}_last_make_protokoll | grep -c "Forwarding to N1GE") = 0 ]]
-             do
-                echo "cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_address} 2>&1 | tee ${remote_host}_last_make_protokoll
-             done
-
-          elif [[ $remote_host = lcxe6 ]]
-          then
-
-             ssh  ${remote_username}@${remote_address} "$init_cmds $module_calls cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll
-
-          else
-
-             echo "$init_cmds $module_calls cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  $ssh_key  ${remote_username}@${remote_address} 2>&1 | tee ${remote_host}_last_make_protokoll
-
-          fi
-
-          if [[ $(grep -c MAKE_ERROR ${remote_host}_last_make_protokoll) != 0 ]]
-          then
-             printf "\a\n  +++ error(s) occurred during compiling or linking on host \"$remote_host\" "
-             if [[ $silent = false ]]
-             then
-                answer=dummy
-                printf "\n"
-                while [[ "$answer" != c  &&  "$answer" != k ]]
-                do
-                   printf "  >>> continue / list errors / kill mbuild (c/l/k) ? "
-                   read  answer
-                   if [[ "$answer" = l ]]
-                   then
-                      more ${remote_host}_last_make_protokoll
-                   fi
-                done
-                if [[ $answer = k ]]
-                then
-                   locat=user_abort; exit
-                fi
-             fi
-          fi
-
-
-
-             # TAR UPDATED VERSION ON THE REMOTE HOST
-          printf "\n  *** tar update on remote host ..."
-          if [[ $remote_host != lctit ]]
-          then
-             ssh  $ssh_key  ${remote_username}@${remote_address}  "cd ${remote_md}; chmod u+w *; tar -cf  ${mainprog}_current_version.tar  ${mainprog}  *.f90 *.o *.mod"
-          else
-                # USING PIPE, BECAUSE TIT ALLOWS SSH TO EXECUTE ONLY SOME SELECTED COMMANDS
-             echo  "cd ${remote_md}; chmod u+w *; tar -cf  ${mainprog}_current_version.tar  ${mainprog}  *.f90 *.o *.mod"  |  ssh  ${remote_username}@${remote_address}  2>&1
-          fi
-
-
-
-          # DO THE SAME THINGS FOR THE UTILITY-ROUTINES:
-          # COPY CURRENT SOURCE CODE TO SOURCE-CODE DIRECTORY ON THE REMOTE HOST
-          # CREATE THIS DIRECTORY, IF IT DOES NOT EXIST
-       elif [[ $compile_utility_programs = true ]]
-       then
-
-          printf "\n\n"
-          echo "  *** copying scripts and utility programs to \"${remote_address}:${remote_ud}/\" "
-          cd  ${local_source_path}/../SCRIPTS
-
-          if [[ $remote_host != lctit ]]
-          then
-             ssh  $ssh_key  ${remote_username}@${remote_address} "[[ ! -d ${remote_ud} ]]  &&  (echo \"  *** ${remote_ud} will be created\"; mkdir -p  ${remote_ud}); [[ ! -d ${remote_ud}/../SCRIPTS ]]  &&  (echo \"  *** ${remote_ud}/../SCRIPTS will be created\"; mkdir -p ${remote_ud}/../SCRIPTS)"
-          else
-                # USING PIPE, BECAUSE TIT ALLOWS SSH TO EXECUTE ONLY SOME SELECTED COMMANDS
-             echo "[[ ! -d ${remote_ud} ]]  &&  (echo \"  *** ${remote_ud} will be created\"; mkdir -p  ${remote_ud}); [[ ! -d ${remote_ud}/../SCRIPTS ]]  &&  (echo \"  *** ${remote_ud}/../SCRIPTS will be created\"; mkdir -p  ${remote_ud}/../SCRIPTS)"  |  ssh ${remote_username}@${remote_address}  2>&1
-          fi
-
-             # COPY SHELL-SCRIPTS
-          scp  $ssh_key  batch_scp mbuild mrun process_dvr_output .dvrserver.config subjob ${remote_username}@${remote_address}:${remote_ud}/../SCRIPTS  >  /dev/null
-
-          cd  -  > /dev/null
-          cd  ${local_source_path}/../UTIL
-
-
-             # COPY UTILITY-ROUTINES
-          scp  $ssh_key  Makefile  *.f90  ${remote_username}@${remote_address}:${remote_ud}  >  /dev/null
-
-
-
-             # EXECUTE MAKE WITH THOSE OPTIONS DETERMINED ABOVE
-             # COMMANDS WILL BE COMMUNICATED TO SSH VIA PIPE, SINCE THIS WAY THE SYSTEM- AND
-             # USER-PROFILES OF THE SHELL ARE COMPLETELY EXECUTED (OTHERWISE, MAKE
-             # WILL E.G. MISS THE COMPILER-PATHS)
-          echo "  *** execute \"make\" on remote host"
-
-          if [[ $remote_host = nech ]]
-          then
-             make_call_string="sxmake  $make_options  BLOCK=$block  F90=$compiler_name  F90_SER=$compiler_name_ser  COPT=\"$cpp_options\"  F90FLAGS=\"$compiler_options\"  LDFLAGS=\"$loader_options\" "
-          else
-             make_call_string="make  $make_options  BLOCK=$block  F90=$compiler_name  F90_SER=$compiler_name_ser  COPT=\"$cpp_options\"  F90FLAGS=\"$compiler_options\"  LDFLAGS=\"$loader_options\" "
-          fi
-
-             # GENERATE COMMAND TO LOAD MODULES, IF MODULES ARE GIVEN
-          if [[ "$modules" != "" ]]
-          then
-             if [[ $remote_host = lctit ]]
-             then
-                module_calls=". $modules"
-             else
-                module_calls="module load ${modules};"
-             fi
-          else
-             module_calls=""
-          fi
-
-
-          if [[ $remote_host = ibms ]]
-          then
-
-             ssh  ${remote_username}@${remote_address}  "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR"
-
-          elif [[ $remote_host = ibmh ]]
-          then
-
-             echo "$init_cmds $module_calls export OBJECT_MODE=64; cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_address}
-
-          elif [[ $remote_host = lctit ]]
-          then
-
-             echo  " "  >  ${remote_host}_last_make_protokoll
-             while [[ $(cat ${remote_host}_last_make_protokoll | grep -c "Forwarding to N1GE") = 0 ]]
-             do
-                echo "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_address} 2>&1 | tee ${remote_host}_last_make_protokoll
-             done
-
-          elif [[ $remote_host = lcxe6 ]]
-          then
-
-             ssh  ${remote_username}@${remote_address} "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll
-
-          else
-
-             echo "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  $ssh_key  ${remote_username}@${remote_address} 2>&1 | tee ${remote_host}_last_make_protokoll
-
-          fi
-
-       fi    # END OF COMPILING UTILITY-ROUTINES
-
-       rm -rf  ${remote_host}_last_make_protokoll
-
-       # MAKE ON LOCAL HOST
-    else
-
-          # INIT WORKAROUND FOR lcxe6
-       if [[ $remote_host = lcxe6  ||  $remote_host = lccrayb  ||  $remote_host = lccrayf ||  $remote_host = lccrayh ]]
-       then
-
-          eval $init_cmds  >  /dev/null  2>&1
-
-       fi
-
-       # FIRST LOAD MODULES, IF GIVEN
-       if [[ "$modules" != "" ]]
-       then
-          if [[ $remote_host = lctit ]]
-          then
-             . $modules
-	  elif [[ $remote_host = lceddy ]]
-          then
-             eval `$MODULESHOME/libexec/lmod load ${modules}`	
-          else
-             eval init_cmds=$init_cmds
-             module load ${modules}
-          fi
-       fi
-
-
-       if [[ $compile_utility_programs = false ]]
-       then
-
-             # CREATE MAKE-DEPOSITORY, IF IT DOES NOT EXIST
-          eval remote_md=$remote_md
-          if [[ ! -d $remote_md ]]
-          then
-             if  mkdir $remote_md
-             then
-                printf "\n\n  *** directory for make depository:"
-                printf "\n           $remote_md"
-                printf "\n      was created\n"
-             else
-                printf "\n  +++ directory for make depository:"
-                printf "\n           $remote_md"
-                printf "\n      cannot be created"
-                locat=local_depository_path; exit
-             fi
-          fi
-
-             # COPY SOURCE-CODE FROM REPOSITORY TO MAKE-DEPOSITORY
-          echo " "
-          echo "  *** updating sources in $remote_md"
-          cd  $remote_md
-          cp  $local_source_path/${mainprog}_sources.tar  .
-          tar xf  ${mainprog}_sources.tar
-
-             # CALL MAKE ON LOCAL HOST USING THE  OPTIONS DETERMINED FURTHER ABOVE
-          echo " "
-          echo "  *** execute \"make\" on local host"
-
-          make  $make_options  PROG=$mainprog  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$compiler_options"  LDFLAGS="$loader_options"  2>&1 | tee ${remote_host}_last_make_protokoll
-
-          if [[ $? != 0 ]]
-          then
-             printf "\a\n  +++ error(s) occurred during compiling or linking on host \"$remote_host\" "
-             if [[ $silent = false ]]
-             then
-                answer=dummy
-                printf "\n"
-                while [[ "$answer" != c  &&  "$answer" != k ]]
-                do
-                   printf "  >>> continue / list errors / kill mbuild (c/l/k) ? "
-                   read  answer
-                   if [[ "$answer" = l ]]
-                   then
-                      more ${remote_host}_last_make_protokoll
-                   fi
-                done
-                if [[ $answer = k ]]
-                then
-                   locat=user_abort; exit
-                fi
-             fi
-          fi
-
-
-             # TAR NEW VERSION ON LOCAL HOST
-          printf "\n  *** tar update on local host ..."
-          tar -cf  ${mainprog}_current_version.tar  *.$suf *.o *.mod
-
-
-          # COMPILE THE UTILITY PROGRAMS
-       elif [[ $compile_utility_programs = true ]]
-       then
-          printf "\n\n"
-          echo "  *** compiling the utility programs ..."
-          cd ${local_source_path}/../UTIL
-
-             # TOUCH FILES IN ORDER TO FORCE COMPILATION FOR EVERY BLOCK
-          touch  *.f90
-          eval init_cmds=$init_cmds
-          make  $make_options  BLOCK=$block  F90=$compiler_name  F90_SER=$compiler_name_ser  COPT="$cpp_options"  F90FLAGS="$compiler_options"  LDFLAGS="$loader_options"
-       fi
-    fi
- done
-
-
- if [[ $host_found = false ]]
- then
-    if [[ $host = all ]]
-    then
-       printf "\n  +++ no hosts found in configuration file"
-    else
-       printf "\n  +++ host \"$host\" not found in configuration file"
-    fi
-    locat=config_file; exit
- fi
-
- if [[ "$block_conditions" != none  &&  $block_conditions_found = false ]]
- then
-    printf "\n  +++ block conditions \"$block_conditions\" not found for host \"$host\""
- fi
-
-
-    # FINAL WORK
- rm -f  hosts_found_in_config_file
Index: palm/trunk/SCRIPTS/mrun
===================================================================
--- palm/trunk/SCRIPTS/mrun	(revision 2693)
+++ 	(revision )
@@ -1,4054 +1,0 @@
-#!/bin/bash
-
-# mrun - script for running PALM jobs
-
-#--------------------------------------------------------------------------------#
-# This file is part of PALM.
-#
-# PALM is free software: you can redistribute it and/or modify it under the terms
-# of the GNU General Public License as published by the Free Software Foundation,
-# either version 3 of the License, or (at your option) any later version.
-#
-# PALM is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# PALM. If not, see <http://www.gnu.org/licenses/>.
-#
-# Copyright 1997-2015  Leibniz Universitaet Hannover
-#--------------------------------------------------------------------------------#
-#
-# Current revisions:
-# ------------------
-# 
-# 
-# Former revisions:
-# -----------------
-# $Id$
-# Added lckea & lckeam. KIT/IMK-IFU Garmisch cluster. LRZ (SadiqHuq)
-# Vertical grid nesting: set vnested_mode. -N Procs for fine and coarse grid.
-# 
-# 2303 2017-07-04 12:26:18Z raasch
-# bugfix: setting default value for write_binary
-# 
-# 2298 2017-06-29 09:28:18Z raasch
-# write_binary in ENVPAR has type LOGICAL now,
-# MPI2 coupling removed
-# 
-# 2297 2017-06-28 14:35:57Z scharf
-# adjustments for using lcgeohu (cirrus @ HUB)
-# cpp_opts removed
-# 
-# 2290 2017-06-19 11:03:06Z raasch
-# further test output removed
-# 
-# 2286 2017-06-15 13:31:57Z raasch
-# test output for cycle number removed
-# 
-# 2268 2017-06-09 10:34:09Z raasch
-# bugfix for calculating cycle numbers for output files in r2261
-# 
-# 2262 2017-06-08 14:52:23Z raasch
-# bugfix for r2261
-# 
-# 2261 2017-06-08 14:25:57Z raasch
-# unified cycle numbers for output files are used,
-# paths and filenames are allowed to contain arbitrary numbers of dots ".",
-# creation of file OUTPUT_FILE_CONNECTIONS removed,
-# archive feature completely removed from the script,
-# nech related parts completely removed
-# 
-# 2257 2017-06-07 14:07:05Z witha
-# adjustments for lceddy, removed lcflow-specific code
-# 
-# 2186 2017-03-21 05:36:31Z raasch
-#
-# 2185 2017-03-21 05:09:29Z raasch
-# adjustment for lykyo*-hosts (PJM_ENVIRONMENT defines BATCH)
-#
-# 2148 2017-02-09 16:56:42Z scharf
-# changed allocation of resources for lcbullhh in srun command
-# 
-# 2141 2017-02-06 10:19:32Z gronemeier
-# made check for existing files language independent
-# 
-# 1944 2016-06-15 06:29:00Z raasch
-# adjustments for using HLRN ssh-keys
-#
-# 1940 2016-06-14 05:15:20Z raasch $
-# adjustments for lckiaps
-#
-# 1866 2016-04-15 06:50:59Z raasch
-# adjusted for lcocean
-# 
-# 1841 2016-04-07 19:14:06Z raasch
-# script now running under bash
-# 
-# 1804 2016-04-05 16:30:18Z maronga
-# test: implementing an execute mechanism where the execute command is given in the
-# configuration file
-# ROPTS removed from execution commands
-# Warnings about missing optional files or user code changed to informative messages
-# Removed parameter file check
-# 
-# 1755 2016-02-22 13:53:39Z maronga
-# Minor bugfix to last commit
-# 
-# 1753 2016-02-22 13:49:49Z maronga
-# Bugfix: use random job number when PBS job nummer retrieval fails on lccray*
-# 
-# 1622 2015-07-20 06:21:36Z heinze 
-# bugfix for Mistral (lcbullhh)
-#
-# 1621 2015-07-17 11:39:33Z heinze
-# adjustments for Mistral at DKRZ Hamburg (lcbullhh)
-#
-# 1609 2015-07-03 15:37:58Z maronga
-# Modified the random number of the temporary working directory to match the 
-# queuing system number on HLRN-III (lccray*).
-# 
-# 1604 2015-06-23 15:48:03Z suehring
-# Enable coupled runs for lcmuk
-#
-# 1598 2015-05-29 06:45:40Z raasch
-# bugfix for creating hostfile and total number of MPI tasks if run in openmp-mode on one node
-# 
-# 1549 2015-01-30 14:26:16Z suehring
-# Enable interactive debug sessions with allinea debugger
-#
-# 1547 2015-01-29 15:09:12Z witha
-# adjustments for ForWind computing cluster (lcflow)
-# 
-# 1491 2014-11-12 08:12:57Z heinze
-# correct setting of batch_job allowed for ibm-machines
-#
-# 1468 2014-09-24 14:06:57Z maronga
-# Typo removed (addres->address)
-# Bugfix: returning files to IMUK via ssh did not work for lccrayh and lcycrayb
-# Added support for restart runs (remote) for lcxe6
-# 
-# 1442 2014-07-28 07:09:10Z raasch
-# default queues for HLRN-III (lccrayb/lccrayh) defined
-#
-# 1422 2014-07-02 10:01:25Z kanani
-# automatic restarts enabled for lccrayb,
-# adjustment of path to compilervars.sh at IMUK (see automatic restarts) 
-#
-# 1420 2014-06-10 06:24:14Z raasch
-# -j1 option added to aprung command for lccrayf (CSC)
-#
-# 1402 2014-05-09 14:25:13Z raasch
-# batch_job added to envpar-NAMELIST
-#
-# 1357 2014-04-11 15:02:03Z witha
-# adjustments for lccrayh (automatic restarts on lccrayh outside of IMUK are now
-# possible)
-# 
-# 1320 2014-03-20 08:40:49Z raasch
-# check namelist file set false by default
-# 
-# 1304 2014-03-12 10:29:42Z raasch
-# ulimit option changed from -Ss to -s
-#
-# bugfix: missing "fi" in r1289
-#
-# 1289 2014-03-04 07:12:34Z raasch
-# comments translated to English
-# necriam-, fimm-, ibmy-, and sgi-specific code removed
-# export of variables for palm and interpret_config removed
-#
-# 1281 2014-02-01 07:55:49Z raasch
-# rsync-copy restricted to Cray machines, since command is unavailable on some
-# other systems
-#
-# 1279 2014-01-28 12:10:14Z raasch
-# tasks_per_node must not be an integral divisor of numprocs any more. This was done
-# in order to remove annoying restrictions concerning the number of processors which
-# appear on machines with larger nodes (e.g. containing 24 cores). Now without this
-# restriction, one of the nodes will be filled with less than the given number of
-# tasks per node. A respective warning is given.
-#
-# 1274 2014-01-09 13:14:54Z heinze
-# adjustments for lccrayh
-#
-# 1272 2014-01-08 10:19:32Z witha
-# small adjustment for lcflow
-#
-# 1270 2013-12-16 11:05:01Z fricke
-# call of combine_plot_fields adjusted for lccrayb/lccrayh
-#
-# 1255 2013-11-07 14:43:35Z raasch
-# further adjustments for lccrayb remote access
-#
-# 1241 2013-10-30 11:36:58Z heinze
-# Enable use of nudging input and input of large scale forcing from 
-# external files
-#
-# 1229 2013-09-20 06:55:19Z raasch
-# further adjustments for lccrayb
-#
-# 1224 2013-09-16 07:27:23Z raasch
-# first adjustments for lccrayb
-#
-# 1210 2013-08-14 10:58:20Z raasch
-# fftw support added
-#
-# 1201 2013-07-10 16:17:59Z witha
-# adjustments for Forwind cluster (lcflow)
-#
-# 1199 2013-07-05 14:52:22Z raasch
-# adjustments for CSC Helsinki (lccrayf),
-# executables for batch jobs can be created in advance, in order to avoid calling
-# the compiler within the batch job (only works if batch jobs are submitted on
-# local host)
-#
-# 1190 2013-06-25 09:39:21Z heinze
-# enable use of automatic restarts for ibmh
-# use of cluster/express queue enabled (ibmh)
-#
-# 1124 2013-04-09 15:46:52Z raasch
-# variable "memory" is exported via typeset option -x, because otherwise an unknown
-# side effect may lead to data loss while getopts is reading the script-option arguments
-#
-# 1122 2013-04-09 08:37:16Z heinze
-# Bugfix: change type of variable last_char
-#
-# 1119 2013-04-05 15:11:19Z raasch
-# Bugfix for setting -T option for subjob
-#
-# 1108 2013-03-05 07:03:32Z raasch
-# bugfix for coupled runs on lckyut/lckyuh
-#
-# 1106 2013-03-04 05:31:38Z raasch
-# --stdin argument for mpiexec on lckyuh
-# -y and -Y settings output to header
-#
-# 1103 2013-02-20 02:15:53Z raasch
-# default script runs again under ksh, because of unsolved problems with read
-# from stdin: when bash script is called from a ksh, message "read error: 0:
-# Resource temporarily unavailable" appears and script does not stop,
-# further bash compatibility adjustments,
-# shebang line replaced by /bin/bash when running jobs on lckyuh; no restarts
-# on lckyuh, but mrun does not terminate and issues a warning instead
-#
-# 1101 2013-02-17 10:20:21Z raasch
-# script now running under bash instead of ksh, which required small adjustments
-# (output formatting with printf instead "typeset -L/-R", print replaced by echo,
-# read from stdin),
-# cross compilername on lckyuh compute nodes replaced by real compiler name
-#
-# 1099 2013-02-10 01:47:43Z raasch
-# adjustments for Kyushu-University computing center (lckyuh - hayaka)
-# and for Forwind cluster (lcflow)
-# small further adjustments for lckyut
-#
-# 1094 2013-02-03 01:52:12Z raasch
-# explicit ssh/scp port can be set in config file with environment variable
-# scp_port.  This port is handled to all ssh/scp/batch_scp calls.
-# decalpha parts (yonsei) removed
-#
-# 2013-02-02 07:06:13Z raasch
-# adjustments for Kyushu-University computing center (lckyut - tatara)
-#
-# 1083 2013-01-04 10:22:09Z maronga
-# bugfix in parameter file check (read %cpp_options was missing)
-#
-# 1069 2012-11-28 16:18:43Z maronga
-# bugfix: coupling mode was always set to mpi2, typos removed
-#
-# 1058 2012-11-21 07:00:35Z raasch
-# Intel inspector (inspxe) is given the number of PEs instead of the number of
-# nodes
-#
-# 1046 2012-11-09 14:38:45Z maronga
-# code put under GPL (PALM 3.9)
-#
-# 21/03/94 - Siggi - first version finished
-# 03/03/94 - Siggi - script development started
-#
-#--------------------------------------------------------------------------------#
-# mrun - script for running PALM jobs
-#--------------------------------------------------------------------------------#
-
-
- 
-    # DECLARATION OF VARIABLES AND THEIR DEFUALT VALUES
-
- set +o allexport    # SUPPRESS EXPORT OF ALL VARIABLES, SINCE IN THE PAST THIS
-                     # LES TO PROBLEMS IN ROUTINES CALLED BY MRUN
-                     # (TOO MANY ARGUMENTS - PROBLEM)
- set +o noclobber    # EXISTING FILES ARE ALLOWED TO BE OVERWRITTEN
-
- AddFilenames=""
- additional_conditions=""
- add_source_path=""
- afname=""
- check_namelist_files=false
- combine_plot_fields=true
- compiler_name=""
- cond1=""
- cond2="" 
- config_file=.mrun.config
- coupled_dist=""
- cpp_options=""
- cpumax=0
- cpurest=0
- create_executable_for_batch=false
- delete_temporary_catalog=true
- do_batch=false
- do_compile=true
- do_remote=false
- do_stagein=true
- do_stageout=true
- do_trace=false
- email_notification="none"
- exclude=""
- executable=""
- execute_command="none"
- execution_error=false
- fftw_inc=""
- fftw_lib=""
- fftw_support=false
- fname=test
- fromhost=""
- global_revision=""
- group_number=none
- host=""
- host_file=""
- hp=""
- input_list=""
- interpreted_config_file=""
- job_catalog="~/job_queue"
- job_on_file=""
- keep_data_from_previous_run=false
- link_local_input=false
- link_local_output=false
- localhost_realname=$(hostname)
- local_dvrserver_running=.FALSE.
- locat=normal
- mainprog=""
- makefile=""
- max_par_io_str=""
- mc=$0
- while [[ $(echo $mc | grep -c "/") != 0 ]]
- do
-    mc=`echo $mc | cut -f2- -d"/"`
- done
- module_calls=""
- mrun_script_name=$mc
- vnested_dist=""
- vnested_mode="vnested_twi"
- netcdf_inc=""
- netcdf_lib=""
- netcdf_support=false
- node_usage=default
- numprocs=""
- numprocs_atmos=0
- numprocs_ocean=0
- numprocs_crse=0
- numprocs_fine=0
- OOPT=""
- openmp=false
- output_list=""
- package_list=""
- queue=none
- read_from_config=""
- restart_run=false
- if [[ `hostname` = rte10 ]]
- then
-    return_address=133.5.185.60
-    echo "+++ WARNING: fixed return_address = $return_address is used !!!!!"
- elif [[ `hostname` = climate0 ]]
- then
-    return_address=165.132.26.68
-    echo "+++ WARNING: fixed return_address = $return_address is used !!!!!"
- elif [[ `hostname` = "schultzl-Latitude-E6540" ]]
- then
-    return_address="schultzl-Latitude-E6540"
-    echo "+++ WARNING: fixed return_address = $return_address is used !!!!!"
- elif [[ `hostname` = urban00 ]]
- then
-    return_address=147.46.30.151
-    echo "+++ WARNING: fixed return_address = $return_address is used !!!!!"
- else
-    return_address=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{print $2}')
- fi
- return_password=""
- return_username=$LOGNAME
- remotecall=false
- remote_username=""
- run_coupled_model=false
- run_mode=""
- run_vnested_model=false
- dashes="  ----------------------------------------------------------------------------"
- silent=false
- source_list=""
- source_path=SOURCE
- tasks_per_node=""
- threads_per_task=1
- tmpcreate=false
- tmp_data_catalog=""
- transfer_problems=false
- usern=$LOGNAME
- use_openmp=false
- version="MRUN  2.1 Rev$Rev$"
- working_directory=`pwd`
- write_binary=false
- TOPT=""
- XOPT=""
- zeit=$( date | cut -c 12-19 )
-
- typeset -i  iec=0 iic=0 iin=0 ioc=0 iout=0 stagein_anz=0 stageout_anz=0
- typeset -x -i  memory=0   # HAS TO BE EXPORTED HERE, OTHERWISE AN UNKNOWN SIDE
-                           # SIDE EFFECT MAY CAUSE DATA LOSS WHEN GETOPTS IS READING THE
-                           # SCRIPT-OPTION ARGUMENTS
- typeset -i  cputime i ii iia iii iio icycle inode ival jobges jobsek last_char_int maxcycle minuten nodes pes remaining_pes run_number sekunden tp1
-
-    # ERROR HANDLING IN CASE OF EXIT
- trap 'rm -rf  $working_directory/tmp_mrun
-       if [[ $locat != normal  &&  $locat != control_c ]]
-       then
-
-              # CARRY OUT ERROR-COMMANDS GIVEN IN THE CONFIGURATION FILE (EC:)
-          (( i = 0 ))
-          while (( i < iec ))
-          do
-             (( i = i + 1 ))
-             printf "\n  *** Execution of ERROR-command:\n"
-             printf "  >>> ${err_command[$i]}\n"
-             eval  ${err_command[$i]}
-          done
-          if [[ -n $interpreted_config_file ]]
-          then
-             rm -rf  $interpreted_config_file
-          fi
-          if [[ -n .mrun_environment ]]
-          then
-             rm -rf  .mrun_environment
-          fi
-          if [[ $tmpcreate = true ]]
-          then
-#              printf "\n  *** Contents of \"$TEMPDIR\":\n"
-#              ls -al; cd
-             [[ $delete_temporary_catalog = true ]]  &&  rm -rf $TEMPDIR
-          fi
-          if [[ "$dvrserver_id" != "" ]]
-          then
-             echo "+++ killing dvrserver_id=$dvrserver_id"
-             kill $dvrserver_id
-          fi
-          if [[ -f ~/job_queue/JOBINFO.$QSUB_REQID ]]
-          then
-             rm -rf  ~/job_queue/JOBINFO.$QSUB_REQID
-          fi
-          printf "\n\n+++ MRUN killed \n\n"
-       elif [[ $locat != control_c ]]
-       then
-          printf "\n\n --> all actions finished\n\n"
-          printf "     Bye, bye $usern !!\n\n"
-       fi' exit
-
-
-    # ACTIONS IN CASE OF TERMINAL-BREAK (CONTROL-C):
- trap 'rm -rf  $working_directory/tmp_mrun
-       rm -rf  $working_directory/tmp_check_namelist_files
-       [[ $tmpcreate = true ]]  &&  (cd; rm -rf $TEMPDIR)
-       if [[ -f ~/job_queue/JOBINFO.$QSUB_REQID ]]
-       then
-          rm -rf  ~/job_queue/JOBINFO.$QSUB_REQID
-       fi
-       if [[ "$dvrserver_id" != "" ]]
-       then
-          echo "+++ killing dvrserver_id=$dvrserver_id"
-          kill $dvrserver_id
-       fi
-       printf "\n+++ MRUN killed by \"^C\" \n\n"
-       locat=control_c
-       exit
-      ' 2
-
-
-    # CHECK IF THE PATH FOR THE PALM BINARIES (SCRIPTS+UTILITY-PROGRAMS) HAS
-    # BEEN SET
- if [[ "$PALM_BIN" = "" ]]
- then
-    printf "\n  +++ environment variable PALM_BIN has not been set"
-    printf "\n      please set it to the directory where the PALM scripts are located"
-    locat=palm_bin; exit
- fi
- export PATH=$PALM_BIN:$PATH
-
-
-
-    # READ SHELLSCRIPT-OPTIONS AND REBUILD THE MRUN-COMMAND STRING (MC),
-    # WHICH WILL BE USED TO START RESTART-JOBS
- while  getopts  :a:bBc:Cd:Fg:G:h:H:i:kK:m:M:n:N:o:O:p:P:q:r:R:s:St:T:u:U:vw:xX:yY:zZ option
- do
-   case  $option  in
-       (a)   afname=$OPTARG;;
-       (b)   do_batch=true; mc="$mc -b";;
-       (B)   delete_temporary_catalog=false; mc="$mc -B";;
-       (c)   config_file=$OPTARG; mc="$mc -c$OPTARG";;
-       (C)   restart_run=true; mc="$mc -C";;
-       (d)   fname=$OPTARG; mc="$mc -d$OPTARG";;
-       (F)   job_on_file="-D"; mc="$mc -F";;
-       (g)   group_number=$OPTARG; mc="$mc -g$OPTARG";;
-       (G)   global_revision=$OPTARG; mc="$mc -G'$OPTARG'";;
-       (h)   host=$OPTARG; mc="$mc -h$OPTARG";;
-       (H)   fromhost=$OPTARG; mc="$mc -H$OPTARG";;
-       (i)   input_list=$OPTARG; mc="$mc -i'$OPTARG'";;
-       (k)   keep_data_from_previous_run=true; mc="$mc -k";;
-       (K)   additional_conditions="$OPTARG"; mc="$mc -K'$OPTARG'";;
-       (m)   memory=$OPTARG; mc="$mc -m$OPTARG";;
-       (M)   makefile=$OPTARG; mc="$mc -M$OPTARG";;
-       (n)   node_usage=$OPTARG; mc="$mc -n$OPTARG";; 
-       (N)   run_vnested_model=true; vnested_dist=$OPTARG; mc="$mc -N'$OPTARG'";;
-       (o)   output_list=$OPTARG; mc="$mc -o'$OPTARG'";;
-       (O)   use_openmp=true; threads_per_task=$OPTARG; mc="$mc -O$OPTARG";;
-       (p)   package_list=$OPTARG; mc="$mc -p'$OPTARG'";;
-       (P)   return_password=$OPTARG; mc="$mc -P$OPTARG";;
-       (q)   queue=$OPTARG; mc="$mc -q$OPTARG";;
-       (r)   run_mode=$OPTARG; mc="$mc -r'$OPTARG'";;
-       (R)   remotecall=true;return_address=$OPTARG; mc="$mc -R$OPTARG";;
-       (s)   source_list=$OPTARG; mc="$mc -s'$OPTARG'";;
-       (S)   read_from_config=false; mc="$mc -S";;
-       (t)   cpumax=$OPTARG; mc="$mc -t$OPTARG";;
-       (T)   mrun_tasks_per_node=$OPTARG; mc="$mc -T$OPTARG";;
-       (u)   remote_username=$OPTARG; mc="$mc -u$OPTARG";;
-       (U)   return_username=$OPTARG; mc="$mc -U$OPTARG";;
-       (v)   silent=true; mc="$mc -v";;
-       (w)   max_par_io_str=$OPTARG; mc="$mc -w$OPTARG";;
-       (x)   do_trace=true;set -x; mc="$mc -x";;
-       (X)   numprocs=$OPTARG; mc="$mc -X$OPTARG";;
-       (y)   ocean_file_appendix=true; mc="$mc -y";;
-       (Y)   run_coupled_model=true; coupled_dist=$OPTARG; mc="$mc -Y'$OPTARG'";;
-       (z)   check_namelist_files=false; mc="$mc -z";;
-       (Z)   combine_plot_fields=false; mc="$mc -Z";;
-       (\?)  printf "\n  +++ unknown option $OPTARG \n"
-             printf "\n  --> type \"$0 ?\" for available options \n"
-             locat=parameter;exit;;
-   esac
- done
-
-
-    # SKIP GIVEN OPTIONS TO READ POSITIONAL PARAMETER, IF GIVEN
-    # CURRENTLY ONLY PARAMETER ? (TO OUTPUT A SHORT COMMAND INFO) IS ALLOWED
- (( to_shift = $OPTIND - 1 ))
- shift $to_shift
-
-    # PRINT SHORT DESCRIPTION OF MRUN OPTIONS
- if [[ "$1" = "?" ]]
- then
-   (printf "\n  *** mrun can be called as follows:\n"
-    printf "\n      $mrun_script_name  -b -c.. -d.. -f.. -F -h.. -i.. -I -K.. -m.. -o.. -p.. -r.. -R -s.. -t.. -T.. -v -x -X.. -y -Y.. -Z <modus> \n"
-    printf "\n      Description of available options:\n"
-    printf "\n      Option  Description                              Default-Value"
-    printf "\n        -a    base name of input files                 equiv. -d"
-    printf "\n        -b    batch-job on local machine               ---"
-    printf "\n        -B    do not delete temporary directory at end ---"
-    printf "\n        -c    configuration file                       .mrun.config"
-    printf "\n        -d    base name of files attached to program   test"
-    printf "\n        -F    create remote job file only              ---"
-    printf "\n        -h    execution host                           $localhost_realname"
-    printf "\n        -i    INPUT control list                       \"\" "
-    printf "\n        -k    keep data from previous run"
-    printf "\n        -K    additional conditions for controling"
-    printf "\n              usage of conditional code and"
-    printf "\n              env-variables in configuration file      \"\" "
-    printf "\n        -m    memory demand in MB (batch-jobs)         0 MB"
-    printf "\n        -M    Makefile name                            Makefile"
-    printf "\n        -n    node usage (shared/not_shared)           depending on -h"
-    printf "\n        -N    Vertical grid nesting. Number of"
-    printf "\n              PE for Coarse and Fine grid"
-    printf "\n        -o    OUTPUT control list                      \"\" "
-    printf "\n        -O    threads per openMP task                  ---"
-    printf "\n        -p    software package list                    \"\" "
-    printf "\n        -q    queue                                    \"$queue\" "
-    printf "\n        -r    run control list (combines -i -o)        \"\" "
-    printf "\n        -s    filenames of routines to be compiled     \"\" "
-    printf "\n              must end with .f, .f90, .F, or .c !"
-    printf "\n              use \"..\" for more than one file and wildcards"
-    printf "\n              -s LM compiles all locally modified files"
-    printf "\n        -S    config file interpreted by shellscript   ---"
-    printf "\n        -t    allowed cpu-time in seconds (batch)      0"
-    printf "\n        -T    tasks per node                           depending on -h"
-    printf "\n        -u    username on remote machine               \"\" "
-    printf "\n        -v    no prompt for confirmation               ---"
-    printf "\n        -w    maximum parallel io streams              as given by -X"
-    printf "\n        -x    tracing of mrun for debug purposes       ---"
-    printf "\n        -X    # of processors (on parallel machines)   1"
-    printf "\n        -y    add appendix \"_O\" to all local output"
-    printf "\n              files (ocean precursor runs followed by"
-    printf "\n              coupled atmosphere-ocean runs)           ---"
-    printf "\n        -Y    run coupled model, \"#1 #2\" with" 
-    printf "\n              #1 atmosphere and #2 ocean processors    \"#/2 #/2\" depending on -X"
-    printf "\n        -Z    skip combine_plot_fields at the end of      "
-    printf "\n              the simulation                           ---"
-    printf "\n "
-    printf "\n      Possible values of positional parameter <modus>:"
-    printf "\n        \"?\"       -  this outline \n\n") | more
-    exit
- elif [[ "$1" != "" ]]
- then
-    printf "\n  +++ positional parameter $1 unknown \n"
-    locat=parameter; exit
- fi
-
-
-
-    # SHORT STARTING MESSAGE
- printf "\n*** $version "
- printf "\n    will be executed.     Please wait ..."
-
-
-
-    # CHECK, IF CONFIGURATION FILE EXISTS
- if [[ ! -f $config_file ]]
- then
-    printf "\n\n  +++ configuration file: "
-    printf "\n           $config_file"
-    printf "\n      does not exist"
-    locat=connect; exit  
- fi
-
-
-    # DETERMINE THE HOST-IDENTIFIER (localhost) FROM THE CONFIGURATION FILE
- line=""
- grep  "%host_identifier"  $config_file  >  tmp_mrun
- while read line
- do
-    if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-    then
-       HOSTNAME=`echo $line | cut -d" " -s -f2`
-       host_identifier=`echo $line | cut -d" " -s -f3`
-       if [[ $localhost_realname = $HOSTNAME ]]
-       then
-          localhost=$host_identifier
-          break
-       fi
-    fi
- done < tmp_mrun
-
- if [[ "$localhost" = "" ]]
- then
-    printf "\n\n  +++ no host identifier found in configuration file \"$config_file\""
-    printf "\n      for local host \"$localhost_realname\"."
-    printf "\n      Please add line"
-    printf "\n      \"\%host_identifier $localhost_realname <identifier>\""
-    printf "\n      to the configuration file."
-    locat=localhost; exit
- fi
-
-
-    # ??? THIS SHOULD BE DECRIBED IN THE MRUN DOCUMENTATION ??? 
-    # SET BASENAME OF THE INPUT-FILES TO THE GENERAL BASENAME (GIVEN BY OPTION -d),
-    # IF IT HAS NOT BEEN SET BY THE USER DIFFERENTLY (USING OPTION -a)
- [[ "$afname" = "" ]]  &&  afname=$fname
-
-
-    # ADD RUN-FILE ACTIVATION STRINGS (GIVEN BY OPTION -r) TO THE
-    # RESPECTIVE LISTS FOR ACTIVATING THE INPUT/OUTPUT FILE CONNECTION
-    # STATEMENTS IN THE CONFIGURATION FILE
- if [[ "$run_mode" != "" ]]
- then
-    input_list="$input_list $run_mode"
-    output_list="$output_list $run_mode"
- fi
-
-
-    # ??? is this (and the respective option -H) really required ???
-    # STORE HOSTNAME, FROM WHICH THE JOB IS STARTED,
-    # BUT ONLY IF IT HASN'T BEEN ALREADY SET BY OPTION -H
-    # (MRUN IS AUTOMATICALLY SETTING THIS OPTION IN THE MRUN-CALLS WITHIN
-    # THOSE BATCH-JOBS, WHICH ARE CREATED BY MRUN ITSELF)
- if [[ "$fromhost" = "" ]]
- then
-    fromhost=$localhost
- fi
-
-
-    # CHECK, IF EXECUTION SHALL TO BE DONE ON THE REMOTE-MACHINE.
-    # VALUE OF do_remote IS IMPORTANT FOR THE FILE CONNECTIONS.
-    # IN CASE OF EXECUTION ON A REMOTE-MACHINE, A BATCH-JOB HAS
-    # TO BE SUBMITTED (I.E. do_batch=true)
- if [[ -n $host  &&  "$host" != $localhost ]]
- then
-    do_batch=true
-    do_remote=true
-    case  $host  in
-        (ibm|ibmh|ibmkisti|ibmku|ibms|lcbullhh|lccrayb|lccrayh|lccrayf|lceddy|lckyoto|lcocean|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb|lcgeohu)  true;;
-        (*)  printf "\n"
-             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
-             printf "\n      is not available"
-             locat=nqs; (( iec = 0 )); exit;;
-    esac
- else
-    host=$localhost
- fi
-
-
-     # EVALUATE ADDITIONAL CONDITIONS GIVEN BY OPTION -K
- if [[ -n $additional_conditions ]]
- then
-    cond1=`echo $additional_conditions | cut -d" " -f1`
-    cond2=`echo $additional_conditions | cut -d" " -s -f2`
-    dummy=`echo $additional_conditions | cut -d" " -s -f3`
-    if [[ -n $dummy ]]
-    then
-       printf "\n  +++ more than 2 additional conditions given for Option \"-K\""
-       locat=options; exit
-    fi
-    block=_$cond1
-    [[ -n $cond2 ]]  &&  block=${block}_$cond2
- fi
-
-
-      # EVALUATE MODEL COUPLING FEATURES (OPTION -Y)
- if [[ $run_coupled_model = true ]] 
- then
-
-    numprocs_atmos=`echo $coupled_dist | cut -d" " -s -f1`
-    numprocs_ocean=`echo $coupled_dist | cut -d" " -s -f2`
-
-    if (( $numprocs_ocean + $numprocs_atmos != $numprocs ))
-    then
-
-       printf "\n  +++ number of processors does not fit to specification by \"-Y\"."
-       printf "\n      PEs (total)     : $numprocs"
-       printf "\n      PEs (atmosphere): $numprocs_atmos"
-       printf "\n      PEs (ocean)     : $numprocs_ocean"
-       locat=coupling; exit
-
-    fi
-
- fi
-
-      # NESTING (-N) selected and vnesting_mode specified
- if [[ $run_vnested_model = true ]] 
- then
-
-    if  [[ -n $vnested_dist ]]
-    then
-
-       numprocs_crse=`echo $vnested_dist | cut -d" " -s -f1`
-       numprocs_fine=`echo $vnested_dist | cut -d" " -s -f2`
-
-       if (( $numprocs_crse + $numprocs_fine != $numprocs ))
-       then
-
-          printf "\n  +++ number of processors does not fit to specification by \"-N\"."
-          printf "\n      PEs (total)     : $numprocs"
-          printf "\n      PEs (Coarse)    : $numprocs_crse"
-          printf "\n      PEs (Fine)      : $numprocs_fine"
-          locat=vnesting; exit
-
-       fi
-
-    else
-
-          printf "\n  +++ "Specify PE for fine and coarse grid: -N "nCGPE nFGPE \"-N\"."
-          locat=vnesting; exit
-
-    fi
-    vnested_dist=`echo "$numprocs_crse $numprocs_fine"`
- fi
-
-    # SAVE VALUES OF MRUN-OPTIONS SICHERN IN ORDER TO OVERWRITE
-    # THOSE VALUES GIVEN IN THE CONFIGURATION-FILE
- mrun_memory=$memory
- mrun_group_number=$group_number
- mrun_cpumax=$cpumax
- mrun_numprocs=$numprocs
-
-
-    # READ AND EVALUATE THE CONFIGURATION-FILE FROM WITHIN THIS SHELLSCRIPT
-    # (OPTION -S). THE DEFAULT IS USING THE ROUTINE <<<<
- if [[ "$read_from_config" = false ]]
- then
-    [[ $silent = false ]]  &&  printf "\n    Reading the configuration file... "
-
-       # READ THE CONFIGURATION FILE LINE BY LINE
-    while  read zeile
-    do
-        [[ $silent = false ]]  &&  printf "."
-
-
-          # FIRST REPLACE ENVIRONMENT-VARIABLES BY THEIR RESPECTIVE VALUES
-       eval  zeile=\"$zeile\"
-
-
-          # INTERPRET THE LINE
-       if [[ "$(echo $zeile)" = "" ]]
-       then
-             # EMPTY LINE, NO ACTION
-          continue
-
-       elif [[ "$(echo $zeile | cut -c1)"  =  "#" ]]
-       then
-
-             # LINE IS A COMMENT LINE
-          true
-
-       elif [[ "$(echo $zeile | cut -c1)"  =  "%" ]]
-       then
-
-             # LINE DEFINES AN ENVIRONMENT-VARIABLE
-          zeile=$(echo $zeile | cut -c2-)
-          var=`echo $zeile | cut -d" " -f1`
-          value=`echo $zeile | cut -d" " -s -f2`
-          for_host=`echo $zeile | cut -d" " -s -f3`
-          for_cond1=`echo $zeile | cut -d" " -s -f4`
-          for_cond2=`echo $zeile | cut -d" " -s -f5`
-
-          if [[ "$for_host" = ""  ||  ( "$for_host" = $host  &&  "$for_cond1" = "$cond1"  &&  "$for_cond2" = "$cond2" )  ||  $(echo "$input_list$output_list"|grep -c "$for_host") != 0 ]]
-          then
-
-                # REPLACE ":" BY " " IN COMPILER- CPP- OR LINKER-OPTIONS,
-                # "::" IS REPLACED BY ":".
-             value=`echo $value | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
-
-
-                # VALUE FROM THE CONFIGURATION-FILE IS ASSIGNED TO THE
-                # ENVIRONMENT-VARIABLE, BUT ONLY IF NO VALUE HAS BEEN ALREADY
-                # ASSIGNED WITHIN THIS SCRIPT (E.G. BY SCRIPT-OPTIONS).
-                # NON-ASSIGNED VARIABLES HAVE VALUE "" OR 0 (IN CASE OF INTEGER).
-                # HENCE THE GENERAL RULE IS: SCRIPT-OPTION OVERWRITES THE
-                # CONFIGURATION-FILE.
-             if [[ "$(eval echo \$$var)" = ""  ||  "$(eval echo \$$var)" = "0" ]]
-             then
-                eval  $var=\$value
-
-                   # TERMINAL OUTPUT OF ENVIRONMENT-VARIABLES, IF TRACEBACK IS SWITCHED on
-                if [[ $do_trace = true ]]
-                then
-                   printf "\n*** ENVIRONMENT-VARIABLE $var = $value"
-                fi
-             fi
-
-                # IF AN ENVIRONMENT-VARIABLE DETERMINES THE HOST, THEN EVALUATE IT IMMEDIATELY:
-                # VALUE OF do-remote IS REQUIRED FOR THE FILE CONNECTIONS (COPY OF I/O FILES).
-                # IF EXECUTION IS SCHEDULED FOR A REMOTE-MASCHINE, A BATCH-JOB
-                # MUST HAVE TO BE STARTED
-             if [[ $var = host ]]
-             then
-                if [[ -n $host  &&  "$host" != $localhost ]]
-                then
-                   do_batch=true
-                   do_remote=true
-                   case  $host  in
-                       (ibm|ibmh|ibmkisti|ibmku|ibms|lcbullhh|lccrayb|lccrayh|lccrayf|lceddy|lckyoto|lcocean|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb|lcgeohu)  true;;
-                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
-                            printf "\n      is not available"
-                            locat=nqs; exit;;
-                   esac
-                else
-                   host=$localhost
-                fi
-             fi
-
-                # USER-DEFINED ENVIRONMENT VARIABLES MUST BE EXPORTED,
-                # BECAUSE THEY MAY BE REQUIRED IN OTHER SCRIPTS CALLED
-                # BY MRUN (E.G. subjob)
-             export  $var
-          fi
-
-
-
-
-       elif [[ "$(echo $zeile | cut -c1-3)" = "EC:" ]]
-       then
-
-             # LINE DEFINES ERROR-COMMAND
-          (( iec = iec + 1 ))
-          zeile=$(echo $zeile | cut -c4-)
-          err_command[$iec]="$zeile"
-
-       elif [[ "$(echo $zeile | cut -c1-3)" = "IC:" ]]
-       then
-
-             # LINE DEFINES INPUT-COMMAND
-          (( iic = iic + 1 ))
-          zeile=$(echo $zeile | cut -c4-)
-          in_command[$iic]="$zeile"
-
-       elif [[ "$(echo $zeile | cut -c1-3)" = "OC:" ]]
-       then
-
-             # LINE DEFINES OUTPUT-COMMAND
-          (( ioc = ioc + 1 ))
-          zeile=$(echo $zeile | cut -c4-)
-          out_command[$ioc]="$zeile"
-
-       else
-
-             # LINE DEFINES FILE CONNECTION. READ THE FILE ATTRIBUTES.
-             # s2a: in/out - field
-             # s2b: loc    - field (optional)
-             # s2c: tr/ar  - field (optional)
-          s1=`echo $zeile | cut -d" " -f1`
-          s2=`echo $zeile | cut -d" " -s -f2`
-          s2a=$(echo $s2 | cut -d":" -f1)
-          if [[ $(echo $s2 | grep -c ":") = 0 ]]
-          then
-             s2b=""
-             s2c=""
-          else
-             s2b=`echo $s2 | cut -d":" -f2 | sed 's/:/ /g'`
-             s2c=`echo $s2 | cut -d":" -s -f3 | sed 's/:/ /g'`
-          fi
-          s3=`echo $zeile | cut -d" " -f3`
-          s4=`echo $zeile | cut -d" " -s -f4`
-          s5=`echo $zeile | cut -d" " -s -f5`
-          s6=`echo $zeile | cut -d" " -s -f6`
-
-       
-             # STORE FILE CONNECTION, IF ACTIVATED BY ACTIVATION-STRING FROM
-             # INPUT- OR OUTPUT-LIST.
-             # VARIABLE S3 MAY CONTAIN A LIST OF ACTIVATION STRINGS (FIELD-SEPERATOR ":").
-             # IF EXECUTION IS SCHEDULED FOR A REMOTE-MACHINE AND THE FILE IS ONLY
-             # LOCALLY REQUIRED ON THAT MACHINE (I.E. s2b = loc), THE FILE CONNECTION
-             # IS NOT CHECKED AND STORED.
-          IFSALT="$IFS"; IFS="$IFS:"
-          if [[ "$s2a" = in  &&  ! ( $do_remote = true  &&  ( "$s2b" = loc  ||  "$s2b" = locopt ) ) ]]
-          then
-             found=false
-             for  actual  in  $input_list
-             do
-                for  formal  in  $s3
-                do
-                   [[ $actual = $formal  ||  "$formal" = "-" ]]  &&  found=true
-                done
-             done
-             if [[ $found = true ]]
-             then
-                (( iin = iin + 1 ))
-                localin[$iin]=$s1; transin[$iin]=$s2b; actionin[$iin]=$s2c;
-                typein[$iin]=$s3; pathin[$iin]=$s4; endin[$iin]=$s5;
-                extin[$iin]=$s6
-             fi
-          elif [[ "$s2a" = out  &&  ! ( $do_remote = true  &&  "$s2b" = loc ) ]]
-          then
-             found=false
-             for  actual  in  $output_list
-             do
-                for  formal  in  $s3  
-                do
-                   [[ $actual = $formal  ||  "$formal" = "-"  ]]  &&  found=true
-                done
-             done
-             if [[ $found = true ]]
-             then
-                (( iout = iout + 1 ))
-                localout[$iout]=$s1; actionout[$iout]=$s2c; typeout[$iout]=$s3;
-                pathout[$iout]=$s4; endout[$iout]=$s5; extout[$iout]=$s6
-             fi
-          elif [[ "$s2a" != in  &&  "$s2a" != out ]]
-          then
-             printf "\n  +++ I/O-attribute in configuration file $config_file has the invalid"
-             printf "\n      value \"$s2\". Only \"in\" and \"out\" are allowed!"
-             locat=connect; exit
-          fi
-          IFS="$IFSALT"
-       fi
-    done < $config_file
-
- else
-
-       # EVALUATE THE CONFIGURATION-FILE BY FORTRAN-PROGRAM
-    [[ $silent = false ]]  &&  printf "..."
-    interpreted_config_file=.icf.$RANDOM
-
-
-
-       # PROVIDE VALUES OF ENVIRONMENT-VARIABLE FOR interpret_config VIA NAMELIST-FILE
-    cat  >  .mrun_environment  <<  EOF
- &mrun_environment  cond1 = '$cond1', cond2 = '$cond2', 
-                    config_file = '$config_file', do_remote = '$do_remote',
-                    do_trace = '$do_trace', host = '$host',
-                    input_list = '$input_list', icf = '$interpreted_config_file',
-                    localhost = '$localhost', output_list = '$output_list' /
-
-EOF
-
-    if [[ "$host" != $localhost ]]
-    then
-
-          # REMOTE JOB FROM LOCAL HOST: JUST TAKE THE FIRST EXECUTABLE FOUND
-       interpret_config_executable=`ls -1 ${PALM_BIN}/interpret_config*.x 2>/dev/null`
-       if [[ $? != 0 ]]
-       then
-          printf "\n\n  +++ no interpret_config found"
-          printf "\n      run \"mbuild -u -h ...\" to generate utilities for this host"
-          locat=interpret_config; exit
-       fi
-       interpret_config_executable=`echo $interpret_config_executable | cut -d" " -f1`
-       $interpret_config_executable
-
-    else
-
-          # CHECK, IF THERE IS AN EXECUTABLE FOR THE BLOCK
-       if [[ ! -f ${PALM_BIN}/interpret_config${block}.x ]]
-       then
-          printf "\n\n  +++ no interpret_config found for given block \"$cond1 $cond2\""
-          printf "\n      run \"mbuild -u -h ...\" to generate utilities for this block"
-          locat=interpret_config; exit
-       else
-          interpret_config${block}.x
-       fi
-
-    fi
-    rm .mrun_environment
-
-
-       # EXECUTE SHELL-COMMANDS GENERATED BY interpret_config WITHIN THIS SHELL
-    chmod  u+x  $interpreted_config_file
-    export PATH=$PATH:.
-    . $interpreted_config_file
-    rm  $interpreted_config_file
-
- fi
-
-
-    # VALUES OF MRUN-OPTIONS OVERWRITE THOSE FROM THE CONFIGURATION-FILE
- [[ $mrun_memory     != 0   ]]  &&  memory=$mrun_memory
- [[ "$mrun_group_number" != "none" ]]  &&  group_number=$mrun_group_number
- [[ $mrun_cpumax     != 0   ]]  &&  cpumax=$mrun_cpumax
- [[ "$mrun_numprocs" != ""  ]]  &&  numprocs=$mrun_numprocs
- [[ "$max_par_io_str" != "" ]]  &&  maximum_parallel_io_streams=$max_par_io_str
- [[ "$mrun_tasks_per_node" != "" ]]  &&  tasks_per_node=$mrun_tasks_per_node
-
-
-    # ON THE LOCAL MACHINE, DETERMINE (FROM THE CONFIGURATION-FILE) THE PATH
-    # FOR SOURCE-FILES TO BE COMPILED. 
-    # IN A BATCH-JOB, SOURCES (ROUTINES TO BE COMPILED) ARE COMPLETE ALREADY.
-    # BEFORE MRUN IS CALLED IN THE JOB, SOURCES_COMPLETE = true IS ASSIGNED (SEE FURTHER BELOW).
- if [[ "$SOURCES_COMPLETE" = "" ]]
- then
-
-       # FIRST CHECK, IF A GLOBAL SOURCE PATH (TO BE USED FOR ALL HOSTS)
-       # HAS BEEN DEFINED
-    source_path=""
-    line=""
-    grep "%source_path" $config_file  >  tmp_mrun
-    while read line
-    do
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          if [[ "$(echo $line | cut -d" " -f3)" = "" ]]
-          then
-             global_source_path=`echo $line | cut -d" " -f2`
-          fi
-       fi
-    done  <  tmp_mrun
-
-    line=""
-    found=false
-    grep  " $localhost" $config_file | grep "%source_path"  >  tmp_mrun
-    while read line
-    do
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          if [[ $found = true ]]
-          then
-             printf "\n\n  +++ more than one source path found in configuration file"
-             printf "\n      for local host \"$localhost\" "
-             locat=source_path; exit
-          fi
-          source_path=`echo $line | cut -d" " -f2`
-          found=true
-       fi
-    done  <  tmp_mrun
-    rm  tmp_mrun
-
-    if [[ "$source_path" = "" ]]
-    then
-       if [[ "$global_source_path" != "" ]]
-       then
-          source_path=$global_source_path
-       else
-          printf "\n\n  +++ no source path found in configuration file"
-          printf "\n      for local host \"$localhost\" "
-          locat=source_path; exit
-       fi
-    fi
-    eval source_path=$source_path
-
-    if [[ ! -d $source_path ]]
-    then
-       printf "\n\n  +++ source path \"$source_path\" on local host"
-       printf "\n      \"$localhost\" does not exist"
-       locat=source_path; exit
-    fi
-
- fi
-
-
-    # GET THE GLOBAL REVISION-NUMBER OF THE SVN-REPOSITORY
-    # (HANDED OVER TO RESTART-RUNS USING OPTION -G)
- if [[ "$global_revision" = ""  &&  $host != "ibmkisti" ]]
- then
-    global_revision=`svnversion $source_path  2>/dev/null`
-    global_revision="Rev: $global_revision"
- fi
-
-
-    # ??? das darf doch eigentlich garnicht passieren, weil optionen config-datei uebersteuern ???
-    # CHECK AGAIN, IF EXECUTION SHALL BE DONE ON A REMOTE-HOST (BATCH-JOB).
-    # (HOST MAY HAVE CHANGED DUE TO SETTINGS IN THE CONFIGURATION-FILE)
- if [[ -n $host  &&  "$host" != $localhost ]]
- then
-    do_batch=true
-    do_remote=true
-    case  $host  in
-        (ibm|ibmh|ibmkisti|ibmku|ibms|lcbullhh|lccrayb|lccrayh|lccrayf|lceddy|lckyoto|lcocean|unics|lcxe6|lcxt5m|lck|lckiaps|lckordi|lckyuh|lckyut|lcsb|lcgeohu)  true;;
-        (*)  printf "\n"
-             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
-             printf "\n      is not available"
-             locat=nqs; (( iec = 0 )); exit;;
-    esac
- else
-    host=$localhost
- fi
-
-
-
-    # IN CASE OF PARALLEL EXECUTION, CHECK SOME SPECIFICATIONS CONCERNING PROCESSOR NUMBERS
- if [[ "$cond1" = parallel  ||  "$cond2" = parallel ]]
- then
-
-       # CHECK, IF NUMBER OF CORES TO BE USED HAS BEEN GIVEN
-    if [[ ! -n $numprocs ]]
-    then
-       printf "\n"
-       printf "\n  +++ option \"-K parallel\" requires additional specification"
-       printf "\n      of the number of processors to be used by"
-       printf "\n      mrun-option \"-X\" or by environment-variable"
-       printf "\n      \"numprocs\" in the configuration file"
-       locat=numprocs; (( iec = 0 )); exit 
-    fi
-
-       # CHECK, IF THE NUMBER OF CORES PER NODE HAS BEEN GIVEN UND IF IT IS AN
-       # INTEGRAL DIVISOR OF THE TOTAL NUMBER OF CORES GIVEN BY OPTION -X
-    if [[ "$tasks_per_node" = ""  &&  $host != lcxt5m ]]
-    then
-       printf "\n"
-       printf "\n  +++ option \"-T\" (tasks per node) is missing"
-       printf "\n      set -T option or define tasks_per_node in the config file"
-       locat=tasks_per_node; (( iec = 0 )); exit 
-    fi
-
-    if (( numprocs < tasks_per_node ))
-    then
-       printf "\n"
-       printf "\n  +++ tasks per node (-T) cannot exceed total number of processors (-X)"
-       printf "\n      given values: -T $tasks_per_node  -X $numprocs"
-       locat=tasks_per_node; (( iec = 0 )); exit 
-    fi
-
-    if [[ $host != lcxt5m ]]
-    then
-       (( nodes = numprocs / ( tasks_per_node * threads_per_task ) ))
-       (( ival = $tasks_per_node ))
-       (( pes = numprocs ))
-       (( ii = pes / ival ))
-       (( remaining_pes =  pes - ii * ival ))
-       if (( remaining_pes > 0 ))
-       then
-          printf "\n"
-          printf "\n  +++ WARNING: tasks per node (option \"-T\") is not an integral"
-          printf "\n      divisor of the total number of processors (option \"-X\")"
-          printf "\n      values of this mrun-call: \"-T $tasks_per_node\" \"-X $numprocs\""
-          printf "\n      One of the nodes is filled with $remaining_pes instead of $tasks_per_node tasks"
-          (( nodes = nodes + 1 ))
-       fi
-    fi
-
-
-       # SETTINGS FOR SUBJOB-COMMAND
-    OOPT="-O $threads_per_task"
-
-       # SET THE TOTAL NUMBER OF NODES, REQUIRED FOR THE SUBJOB-COMMAND (SEE FURTHER BELOW)
-    if [[ "$tasks_per_node" != "" ]]
-    then
-       TOPT="-T $tasks_per_node"
-    fi
-
-       # CHECK node_usage FOR ALLOWED VALUES AND SET DEFAULT VALUE, IF NECESSARY
-    if [[ $node_usage = default ]]
-    then
-       if [[ $host = ibms ]]
-       then
-          node_usage=shared
-       else
-          node_usage=not_shared
-       fi
-    fi
-
-    if [[ $node_usage != shared  &&  $node_usage != not_shared  &&  $node_usage != singlejob  &&  "$(echo $node_usage | cut -c1-3)" != "sla" ]]
-    then
-       printf "\n"
-       printf "\n  +++ node usage (option \"-n\") is only allowed to be set"
-       printf "\n      \"shared\" or \"not_shared\""
-       locat=tasks_per_node; (( iec = 0 )); exit 
-    fi
-
- fi
-
-    # CHECK IF HOSTFILE EXISTS
- if [[ -n $hostfile ]]
- then
-    if [[ ! -f $hostfile ]]
-    then
-       printf "\n"
-       printf "\n  +++ hostfile \"$hostfile\" does not exist"
-       locat=hostfile; exit
-    fi
- fi
-
-
-    # SET DEFAULT VALUE FOR THE MAXIMUM NUMBER OF PARALLEL IO STREAMS
- if [[ "$maximum_parallel_io_streams" = "" ]]
- then
-    maximum_parallel_io_streams=$numprocs
- fi
-
-
-    # SET PORT NUMBER OPTION FOR CALLS OF SSH/SCP, subjob AND batch_scp SCRIPTS
- if [[ "$scp_port" != "" ]]
- then
-    PORTOPT="-P $scp_port"
-    SSH_PORTOPT="-p $scp_port"
- fi
-
-
-    # DETERMINE THE SSH-OPTION IN CASE THAT AN SSH-KEY IS EXPLICITLY GIVEN IN THE
-    # CONFIG-FILE
- if [[ "$ssh_key" != "" ]]
- then
-    ssh_key="-i $HOME/.ssh/$ssh_key"
- fi
-
-
-    # SET DEFAULT-QUEUE, IF NOT GIVEN
- if [[ $queue = none ]]
- then
-    case  $host  in
-        (ibmh)       queue=cluster;;
-        (ibmkisti)   queue=class.32plus;;
-        (ibmmuc*)    queue=test;;
-        (lcbwuni)    queue=develop;;
-        (lcbullhh)   queue=compute;;
-        (lccrayb)    queue=mpp1q;;
-        (lccrayh)    queue=mpp1q;;
-        (lcgeohu)    queue=short;;
-        (lckiaps)    queue=normal;;
-        (lckyoto)    queue=ph;;
-        (lckyuh)     queue=fx-single;;
-        (lckyut)     queue=cx-single;;
-        (lclrz)      queue=mpp2;;
-        (lctit)      queue=S;;
-        (unics)      queue=unics;;
-    esac
- fi
-
-
-    # GENERATE FULL FILENAMES OF INPUT-FILES, INCLUDING THEIR PATH
-    # CHECK, IF INPUT-FILES EXIST, AND DETERMINE HIGHEST CYCLE NUMBER (IF CYCLES EXIST)
- (( i = 0 ))
- while (( i < iin ))
- do
-    (( i = i + 1 ))
-    (( maxcycle = 0 ))
-
-       # GENERATE PATH AND FULL FILE NAME (then-BRANCH: FIXED FULL NAME IS GIVEN, I.E. THE
-       # FILE IDENTIFIER IS NOT PART OF THE FILENAME))
-    if [[ "${actionin[$i]}" = di ]]
-    then
-       remotepathin[$i]=${pathin[$i]}/${endin[$i]}  # EVALUATE REMOTE-PATH ON THE REMOTE
-                                                    # HOST ONLY
-       eval filename=${pathin[$i]}/${endin[$i]}
-    else
-       remotepathin[$i]=${pathin[$i]}/${afname}${endin[$i]}  # EVALUATE REMOTE-PATH ON THE REMOTE
-                                                             # HOST ONLY
-       eval filename=${pathin[$i]}/${afname}${endin[$i]}
-    fi
-    eval pathname=${pathin[$i]}
-
-       # CHECK IF FILE EXISTS
-    if ! ls $filename* 1>/dev/null 2>&1
-    then
-
-          # FILES WITH ATTRIBUTE locopt ARE OPTIONAL. NO ABORT, IF THEY DO NOT EXIST.
-       if [[ "${transin[$i]}" != "locopt" ]]
-       then
-          printf "\n\n  +++ INPUT-file: "
-          if [[ "${extin[$i]}" = ""  ||  "${extin[$i]}" = " " ]]
-          then
-             printf "\n           $filename"
-          else
-             printf "\n           $filename.${extin[$i]}"
-          fi
-          printf "\n      does not exist\n"
-          locat=input; exit
-       else
-          transin[$i]="unavailable"
-       fi
-    else
-
-          # DETERMINE THE FILE'S CYCLE NUMBER
-       ls -1 -d $filename    >   filelist  2>/dev/null
-       ls -1 -d $filename.*  >>  filelist  2>/dev/null
-       while  read zeile
-       do
-              # filename without path (i.e. after the last "/")
-           basefilename=$(basename ${zeile})
-
-              # check if there is an extension
-           extension=${basefilename##*.}
-           if [[ "$extension" = "$extin[$i]" ]]
-           then
-              basefilename=${basefilename&.*}
-           fi
-
-              # check for an existing cycle number
-           cycle=${basefilename##*.}
-           if [[ $cycle =~ ^-?[0-9]+$ ]]
-           then
-              (( icycle = $cycle ))
-           else
-              (( icycle = 0 ))
-           fi
-
-           if (( icycle > maxcycle ))
-           then
-              (( maxcycle = icycle ))
-           fi
-
-#          cycle=$(echo $zeile | cut -f2 -d".")
-#          if [[ "$cycle" = "$zeile" ]]
-#          then
-#             (( icycle = 0 ))
-#          elif [[ "$cycle" = "${extin[$i]}" ]]
-#          then
-#             (( icycle = 0 ))
-#          else
-#             (( icycle = $cycle ))
-#          fi
-#          if (( icycle > maxcycle ))
-#          then
-#             (( maxcycle = icycle ))
-#          fi
-       done <filelist
-       rm filelist
-
-          # APPEND CYCLE NUMBER TO FILENAME
-       if (( maxcycle > 0 ))
-       then
-          if [[ "${extin[$i]}" != " "  &&   "${extin[$i]}" != "" ]]
-          then
-             filename=${filename}.$maxcycle.${extin[$i]}
-          else
-             filename=${filename}.$maxcycle
-          fi
-       else
-          if [[ "${extin[$i]}" != " "  &&   "${extin[$i]}" != "" ]]
-          then
-             filename=${filename}.${extin[$i]}
-          fi
-       fi
-       
-          # STORE FILENAME WITHOUT PATH BUT WITH CYCLE NUMBER,
-          # IS LATER USED FOR TRANSFERRING FILES WIHIN THE JOB (SEE END OF FILE)
-       absnamein[$i]=$filename
-       if (( maxcycle > 0 ))
-       then
-          if [[ "${actionin[$i]}" = di ]]
-          then
-             frelin[$i]=${endin[$i]}.$maxcycle
-          else
-             frelin[$i]=${afname}${endin[$i]}.$maxcycle
-          fi
-       else
-          if [[ "${actionin[$i]}" = di ]]
-          then
-             frelin[$i]=${endin[$i]}
-          else
-             frelin[$i]=${afname}${endin[$i]}
-          fi
-       fi
-
-    fi
- done
-    
-    # GENERATE FULL FILENAMES OF OUTPUT-FILES (WITHOUT $ OR ~),
-    # CHECK, IF OUTPUT-FILES EXIST, AND DETERMINE HIGHEST CYCLE NUMBER (IF CYCLES EXIST),
-    # OR, IN CASE THAT FILE DOES NOT EXIST, CHECK, IF IT CAN BE CREATED  
-    # THESE ACTIONS ARE NOT CARRIED OUT, IF FILES SHALL BE TRASFERRED FROM THE REMOTE TO
-    # THE LOCAL HOST (BECAUSE THEIR IS NO DIRECT ACCESS TO THE LOCAL DIRECTORIES FROM THE
-    # REMOTE HOST)
- (( i = 0 ))
- while (( i < iout ))
- do
-    (( i = i + 1 ))
-    if [[ ! ( $fromhost != $localhost  &&  ( "${actionout[$i]}" = tr || "${actionout[$i]}" = tra || "${actionout[$i]}" = trpe ) ) ]]
-    then
-       if [[ "${actionout[$i]}" = tr ]]
-       then
-          actionout[$i]=""
-       elif [[ "${actionout[$i]}" = trpe ]]
-       then
-          actionout[$i]=pe
-       elif [[ "${actionout[$i]}" = tra ]]
-       then
-          actionout[$i]=a
-       fi
-       (( maxcycle = 0 ))
-       eval filename=${pathout[$i]}/${fname}${endout[$i]}
-       eval catalogname=${pathout[$i]}
-       if ! ls $filename* 1>/dev/null 2>&1
-       then
-      
-             # IF OUTPUT-FILE DOES NOT EXIST CHECK, IF IT CAN BE CREATED
-          if  cat /dev/null > $filename  
-          then
-             rm  $filename
-          else
-
-                # CHECK, IF THE DIRECTORY WHERE FILE SHALL BE COPIED TO EXISTS
-                # IF IT DOES NOT EXIST, TRY TO CREATE IT
-             if [[ ! -d $catalogname ]]
-             then
-                if  mkdir -p  $catalogname
-                then
-                   printf "\n\n  *** directory:"
-                   printf "\n           $catalogname"
-                   printf "\n      was created\n"
-                else
-                   printf "\n\n  +++ OUTPUT-file:"
-                   printf "\n           $filename"
-                   printf "\n      cannot be created, because directory does not exist"
-                   printf "\n      and cannot be created either"
-                   printf "\n"
-                   locat=output  ; exit
-                fi 2>/dev/null 
-             else
-                printf "\n\n  +++ OUTPUT-file:"
-                printf "\n           $filename"
-                printf "\n      cannot be created, although directory exists"
-                printf "\n"
-                locat=output  ; exit
-             fi
-          fi 2>/dev/null
-       else
-
-             # DETERMINE THE CYCLE NUMBER
-          ls -1 -d $filename    >   filelist  2>/dev/null
-          ls -1 -d $filename.*  >>  filelist  2>/dev/null
-          while  read zeile
-          do
-
-                # filename without path (i.e. after the last "/")
-             basefilename=$(basename ${zeile})
-
-                # check if there is an extension
-             extension=${basefilename##*.}
-             if [[ "$extension" = "${extout[$i]}" ]]
-             then
-                basefilename=${basefilename%.*}
-             fi
-
-                # check for an existing cycle number
-             cycle=${basefilename##*.}
-             if [[ $cycle =~ ^-?[0-9]+$ ]]
-             then
-                (( icycle = $cycle + 1 ))
-             else
-                (( icycle = 1 ))
-             fi
-
-             if (( icycle > maxcycle ))
-             then
-                (( maxcycle = icycle ))
-             fi
-
-          done <filelist
-          rm filelist
-       fi
-
-          # APPEND CYCLE NUMBER TO FILENAME AND CHECK, IF FILE CAN BE CREATED
-          # IN CASE OF FILE-APPEND, FILE MUST BE APPENDED TO THE ONE WITH HIGHEST CYCLE NUMBER
-       if [[ "${actionout[$i]}" != a ]]
-       then
-          if (( maxcycle > 0 ))
-          then
-             filename_tmp=${filename}.$maxcycle
-             if  cat /dev/null > $filename_tmp 
-             then
-                rm  $filename_tmp
-             else
-                printf "\n  +++ OUTPUT-file:"
-                printf "\n           $filename_tmp"
-                printf "\n      cannot be created"
-                locat=output  ; exit
-             fi
-          fi
-       else
-          (( maxcycle = maxcycle - 1 ))
-       fi
-       
-       (( cycnum[$i] = maxcycle ))
-       pathout[$i]=$filename
-
-    fi
- done
-
-
-     # THE DVR-PACKAGE REQUIRES ITS OWN LIBRARY
- if [[ $(echo $package_list | grep -c dvrp_graphics) != 0 ]]
- then
-    if [[ "$dvr_inc" = "" ]]
-    then
-       printf "\n\n  +++ no value for \"dvr_inc\" given in configuration file"
-       printf "\n      This is required for the dvrp_graphics package.\n"
-       locat=dvr; exit
-    fi
-    if [[ "$dvr_lib" = "" ]]
-    then
-       printf "\n\n  +++ no value for \"dvr_lib\" given in configuration file"
-       printf "\n      This is required for the dvrp_graphics package.\n"
-       locat=dvr; exit
-    fi
- fi
-
-
-     # CHECK, WETHER A MAIN PROGRAM OR AN EXECUTABLE HAVE BEEN DECLARED.
-     # EXECUTABLES DO NOT NEED TO BE COMPILED.
- if [[ "$mainprog" = ""  &&  "$executable" = "" ]]
- then
-    printf "\n  +++ neither main program nor executable defined"
-    locat=source; exit
- elif [[ "$mainprog" != ""  &&  "$executable" != "" ]]
- then
-    printf "\n  +++ main program as well as executable defined"
-    locat=source; exit
- elif [[ "$mainprog" = ""  &&  "$executable" != "" ]]
- then
-    do_compile=false
- fi
-
-
-    # CREATE SOURCE-DIRECTORY TO COLLECT ROUTINES TO BE COMPILED.
-    # LATER THE MRUN-SCRIPT AND CONFIGURATION-FILE WILL ALSO BE COPIED TO THIS DIRECTORY.
- if [[ $restart_run != true  &&  "$SOURCES_COMPLETE" = "" ]]
- then
-    rm -rf  SOURCES_FOR_RUN_$fname
-    mkdir   SOURCES_FOR_RUN_$fname
- fi
-
-
-    # COLLECT ALL ROUTINES TO BE COMPILED
-    # THIS IS NOT REQUIRED WITHIN BATCH-JOBS, BECAUSE ROUTINES HAVE ALREADY BEEN COLLECTED
-    # BY THE MRUN-CALL WHICH CREATED THE BATCH-JOB.
- if [[ $do_compile = true  &&  "$SOURCES_COMPLETE" = "" ]]
- then
-
-    [[ "$source_list" = LM ]]  &&  source_list=LOCALLY_MODIFIED
-
-    if [[ "$source_list" = LOCALLY_MODIFIED ]]
-    then
-
-          # DETERMINE MODIFIED FILES OF THE SVN WORKING COPY
-       source_list=""
-       cd  $source_path
-
-
-          # CHECK, IF DIRECTORY IS UNDER SVN CONTROL
-       if [[ ! -d .svn ]]
-       then
-          printf "\n\n  +++ source directory"
-          printf "\n         \"$source_path\" "
-          printf "\n         is not under control of \"subversion\"."
-          printf "\n         Please do not use mrun-option \"-s LOCALLY_MODIFIED\"\n"
-       fi
-
-
-          # LIST ALL MODIFIED SOURCE CODE FILES
-       Filenames=""
-       svn status  >  tmp_mrun
-       while  read line
-       do
-          firstc=`echo $line | cut -c1`
-          if [[ $firstc = M  ||  $firstc = "?" ]]
-          then
-             Name=`echo "$line" | cut -c8-`
-             extension=`echo $Name | cut -d. -f2`
-             if [[ "$extension" = f90 || "$extension" = F90 || "$extension" = f || "$extension" = F || "$extension" = c ]]
-             then
-                Filenames="$Filenames "$Name
-             fi
-          fi
-       done < tmp_mrun
-
-
-          # COPY FILES TO SOURCES_FOR_RUN_...
-       for  dateiname  in  $Filenames
-       do
-          cp  $dateiname  $working_directory/SOURCES_FOR_RUN_$fname
-          source_list=$source_list"$dateiname "
-       done
-
-       cd -  > /dev/null
-
-
-       # COPY FILES GIVEN BY OPTION -s TO DIRECTORY SOURCES_FOR_RUN_...
-       # AUTOMATIC RESTART RUNS JUST ACCESS THE DIRECTORY CREATED BY THE INITIAL RUN
-    elif [[ "$source_list" != ""  &&  $restart_run != true ]]
-    then
-
-       cd  $source_path
-
-       for  filename  in  $source_list
-       do
-
-             # SOURCE CODE FILE IS NOT ALLOWED TO INCLUDE PATH
-          if [[ $(echo $filename | grep -c "/") != 0 ]]
-          then
-             printf "\n  +++ source code file:  $filename"
-             printf "\n      must not contain (\"/\") "
-             locat=source; exit
-          fi
-
-          if [[ ! -f $filename ]]
-          then
-             printf "\n  +++ source code file:  $filename"
-             printf "\n      does not exist"
-             locat=source; exit
-          else
-             cp  $filename  $working_directory/SOURCES_FOR_RUN_$fname
-          fi
-
-       done
-
-       cd -  > /dev/null
-
-    fi
-
-
-       # CHECK, IF A MAIN PROGRAM EXISTS AND IF IT IS PART OF THE LIST OF FILES
-       # TO BE COMPILED. IF NOT, ADD IT TO THE LIST.
-    if [[ $restart_run != true ]]
-    then
-
-       if [[ ! -f "$source_path/$mainprog" ]]
-       then
-          printf "\n\n  +++ main program:  $mainprog"
-          printf "\n      does not exist in source directory"
-          printf "\n      \"$source_path\"\n"
-          locat=source; exit
-       else
-          if [[ $(echo $source_list | grep -c $mainprog) = 0 ]]
-          then
-             cp  $source_path/$mainprog  SOURCES_FOR_RUN_$fname
-             source_list=${mainprog}" $source_list"
-          fi
-       fi
-    fi
-
-
-       # CHECK, IF MAKEFILE EXISTS AND COPY IT TO THE SOURCES_FOR_RUN... DIRECTORY
-       # NOT REQUIRED FOR RESTART RUNS, SOURCES_FOR_RUN... HAS BEEN CREATED BY THE INITIAL RUN
-    if [[ "$restart_run" != true ]]
-    then
-       [[ "$makefile" = "" ]]  &&  makefile=$source_path/Makefile
-       if [[ ! -f $makefile ]]
-       then
-          printf "\n  +++ file \"$makefile\" does not exist"
-          locat=make; exit
-       else
-          cp  $makefile  SOURCES_FOR_RUN_$fname/Makefile 
-       fi
-    fi
-
-
-       # COPY FILES FROM OPTIONAL SOURCE PATH GIVEN IN THE CONFIGURATION FILE
-    if [[ $restart_run != true  &&  "$add_source_path" != "" ]]
-    then
-
-          # DOES THE DIRECTORY EXIST?
-       if [[ ! -d $add_source_path ]]
-       then
-          printf "\n\n  *** INFORMATIVE: additional source code directory"
-          printf "\n      \"$add_source_path\" "
-          printf "\n      does not exist or is not a directory."
-          printf "\n      No source code will be used from this directory!\n"
-          add_source_path=""
-          if [[ $silent == false ]]
-          then
-             sleep 3
-          fi
-       else
-
-          cd $add_source_path
-          found=false
-
-          Names=$(ls -1 *.f90 2>&1)
-          [[ $(echo $Names | grep -c '*.f90') = 0 ]]  &&  AddFilenames="$Names"
-          Names=$(ls -1 *.F90 2>&1)
-          [[ $(echo $Names | grep -c '*.F90') = 0 ]]  &&  AddFilenames="$AddFilenames $Names"
-          Names=$(ls -1 *.F 2>&1)
-          [[ $(echo $Names | grep -c '*.F') = 0   ]]  &&  AddFilenames="$AddFilenames $Names"
-          Names=$(ls -1 *.f 2>&1)
-          [[ $(echo $Names | grep -c '*.f') = 0   ]]  &&  AddFilenames="$AddFilenames $Names"
-          Names=$(ls -1 *.c 2>&1)
-          [[ $(echo $Names | grep -c '*.c') = 0   ]]  &&  AddFilenames="$AddFilenames $Names"
-
-          cd -  > /dev/null
-          cd  SOURCES_FOR_RUN_$fname
-
-             # COPY MAKEFILE IF EXISTING
-          if [[ -f $add_source_path/Makefile ]]
-          then
-             printf "\n\n  *** user Makefile from directory"
-             printf "\n      \"$add_source_path\" is used \n"
-             if [[ $silent == false ]]
-             then
-                sleep 1
-             fi
-             cp  $add_source_path/Makefile  .
-          fi
-
-          for  dateiname  in  $AddFilenames
-          do
-             if [[ -f $dateiname ]]
-             then
-                printf "\n  +++ source code file \"$dateiname\" found in additional"
-                printf "\n      source code directory \"$add_source_path\" "
-                printf "\n      but was also given with option \"-s\" which means that it should be taken"
-                printf "\n      from directory \"$source_path\"."
-                locat=source; exit
-             fi
-
-             cp  $add_source_path/$dateiname  .
-             source_list="$source_list $dateiname"
-
-                # CHECK IF FILE IS CONTAINED IN MAKEFILE
-             if [[ $(grep -c $dateiname Makefile) = 0 ]]
-             then
-                printf "\n\n  +++ user file \"$dateiname\" "
-                printf "\n      is not listed in Makefile \n"
-                locat=source; exit
-             else
-
-                if [[ $found = false ]]
-                then
-                   found=true
-                   printf "\n\n  *** following user file(s) added to the"
-                   printf " files to be translated:\n      "
-                fi
-                printf "$dateiname  "
-                if [[ $silent == false ]]
-                then
-                   sleep 0.5
-                fi
-
-             fi
-          done
-          [[ $found = true ]]  &&  printf "\n"
-          cd -  > /dev/null
-       fi
-    fi
-
-
-       # ADD ALL ROUTINES BELONGING TO SOFTWARE PACKAGES (GIVEN BY OPTION -p)
-       # TO THE LIST OF FILES TO BE COMPILED
-    if [[ $restart_run != true  &&  -n $package_list ]]
-    then
-
-       cd  $source_path
-
-       for  package  in  $package_list
-       do
-
-          [[ $package = "dvrp_graphics+1PE" ]]  &&  package=dvrp_graphics
-
-             # DETERMINE FILES BELONGING TO THE PACKAGE
-             # ERROR MESSAGE ARE REDIRECTED TO /dev/null, BECAUSE WILDCARD (*) ALSO GIVES
-             # THE NAME OF THE DIRECTORY
-          package_source_list=`grep "defined( __$package " * 2>/dev/null | cut -f1 -d:`
-
-
-             # ADD THESE FILES TO THE LIST OF FILES TO BE COMPILED,
-             # IF THEY ARE NOT ALREADY PART OF THE LIST
-          for  source_list_name  in  $package_source_list
-          do
-             if [[ $(echo $source_list | grep -c $source_list_name) = 0 ]]
-             then
-
-                    # ONLY TAKE FILES WITH VALID SUFFIX
-                ending=`echo $source_list_name | cut -f2 -d.`
-                if [[ "$ending" = f90  ||  "$ending" = F90  ||  "$ending" = f  ||  "$ending" = F  ||  "$ending" = c ]]
-                then
-                   cp  $source_list_name  $working_directory/SOURCES_FOR_RUN_$fname
-                   source_list="$source_list $source_list_name"
-                fi
-             fi
-          done
-       done
-
-       cd -  > /dev/null
-    fi
-
- fi  # do_compile=true
-
-
-    # IF SOURCE CODE IS TO BE COMPILED, DO SOME MORE CHECKS
-    # AND SET PRE-PROCESSOR DIRECTIVES
- if [[ $do_compile = true  ||  $create_executable_for_batch = true ]]
- then
-
-       # SET PREPROCESSOR-DIRECTIVES TO SELECT OPERATING SYSTEM SPECIFIC CODE
-    if [[ $(echo $localhost | cut -c1-3) = ibm && $localhost != ibmmuc* ]]
-    then
-       cpp_options="${cpp_options},-D__ibm=__ibm"
-    elif [[ $(echo $localhost | cut -c1-3) = nec ]]
-    then
-       cpp_options="$cpp_options -D__nec"
-    elif [[ $(echo $localhost | cut -c1-2) = lc ]]
-    then
-       cpp_options="$cpp_options -D__lc"
-    else
-       cpp_options="$cpp_options -D__$localhost"
-    fi
-
-       # SET DIRECTIVES GIVEN BY OPTION -K (E.G. parallel)
-    if [[ $(echo $localhost | cut -c1-3) = ibm && $localhost != ibmmuc ]]
-    then
-       [[ -n $cond1 ]]  &&  cpp_options="${cpp_options},-D__$cond1=__$cond1"
-       [[ -n $cond2 ]]  &&  cpp_options="${cpp_options},-D__$cond2=__$cond2"
-    else
-       [[ -n $cond1 ]]  &&  cpp_options="$cpp_options -D__$cond1"
-       [[ -n $cond2 ]]  &&  cpp_options="$cpp_options -D__$cond2"
-    fi
-
-       # SET DIRECTIVES FOR ACTIVATING SOFTWARE-PACKAGES (OPTION -p)
-    if [[ -n $package_list ]]
-    then
-       for  package  in  $package_list
-       do
-          if [[ $(echo $localhost | cut -c1-3) = ibm ]]
-          then
-             if [[ $package != "dvrp_graphics+1PE" ]]
-             then
-                cpp_options="${cpp_options},-D__$package=__$package"
-             else
-                cpp_options="${cpp_options},-D__dvrp_graphics=__dvrp_graphics"
-                export use_seperate_pe_for_dvrp_output=true
-             fi
-          else
-             if [[ $package != "dvrp_graphics+1PE" ]]
-             then
-                cpp_options="$cpp_options -D__$package"
-             else
-                cpp_options="$cpp_options -D__dvrp_graphics"
-                export use_seperate_pe_for_dvrp_output=true
-             fi
-          fi
-       done
-    fi
-
- else
-
-
-       # FOR LOCAL RUNS CHECK AGAIN, IF EXECUTABLE EXISTS
-    if [[ $do_remote = false ]]
-    then
-       if [[ ! -f $executable ]]
-       then
-          printf "\n  +++ executable file:  $executable"
-          printf "\n      does not exist"
-          locat=executable; exit
-       fi
-    fi
- fi
-
-
-    # DETERMINE THE JOB MODE
- if [[ $(echo $localhost | cut -c1-3) = ibm ]]
- then
-    if [[ "$LOADLBATCH" = yes ]]
-    then
-       batch_job=.TRUE.
-       jobmo=BATCH
-    else
-       batch_job=.FALSE.
-       jobmo=INTERACTIVE
-    fi 
- else
-    if [[ "$ENVIRONMENT" = BATCH  ||  "$PJM_ENVIRONMENT" = BATCH ]]
-    then
-       batch_job=.TRUE.
-       jobmo=BATCH
-    else
-       batch_job=.FALSE.
-       jobmo=INTERACTIVE
-    fi
- fi
-
-    # NO INTERACTIVE RUNS ALLOWED ON LCTIT 
- if [[ $host = lctit  &&  $jobmo = INTERACTIVE  &&  $do_batch = false ]]
- then
-    printf "\n  +++ no interactive runs allowed on host \"$host\" "
-    printf "\n      please submit batch job using mrun option \"-b\" \n"
-    locat=normal; exit
- fi
-
-
-    # CHECK, IF USER DEFINED A COMPILER
- if [[ "$compiler_name" = "" ]]
- then
-
-    printf "\n  +++ no compiler specified for \"$host $cond1 $cond2\""
-    locat=compiler_name; exit
-
- fi
-
-
-    # DETERMINE THE NAME OF MRUN'S TEMPORARY WORKING DIRECTORY
-
-    # ON HLRN-III, USE THE QUEUING NAME. OTHERWISE USE USERNAME AND RANDOM NUMBER
- if [[ $do_batch = false && $(echo $host | cut -c1-6) = lccray ]]
- then
-    kennung=$(checkjob $PBS_JOBID | grep Reservation | cut -d" " -s -f2 | cut -d"." -s -f2 | sed "s/['\"]//g")
-    if [[ "$kennung" = "" ]]
-    then
-       kennung=$RANDOM
-    fi
- else
-    kennung=$RANDOM
- fi
-
- if [[ "$tmp_user_catalog" = "" ]]
- then
-    if [[ $localhost = ibmh ]]
-    then
-       tmp_user_catalog=$SCRATCH
-    else
-       tmp_user_catalog=/tmp
-    fi
- fi
-
-if [[ $localhost = ibmmuc* ]]
-then
-   TEMPDIR=$tmp_user_catalog/${USER}.$kennung
-else
-   TEMPDIR=$tmp_user_catalog/${usern}.$kennung
-fi
-
-    # DETERMINE THE NAME OF THE DIRECTORY WHICH IS USED TO TEMPORARILY STORE DATA FOR RESTART RUNS
- if [[ "$tmp_data_catalog" = "" ]]
- then
-    tmp_data_catalog=/tmp/mrun_restart_data
- fi
-
-
-    # IN CASE OF LOCAL RUNS REPLACE ENVIRONMENT VARIABLES BY THEIR VALUES
- if [[ $do_remote = false  &&  $do_compile = true  ||  $create_executable_for_batch = true ]]
- then
-    eval  fopts=\"$fopts\"
-    eval  lopts=\"$lopts\"
- fi
-
-
-    # DETERMINE COMPILE- AND LINK-OPTIONS
- fopts="$fopts $netcdf_inc $fftw_inc $dvr_inc"
- lopts="$lopts $netcdf_lib $fftw_lib $dvr_lib"
- XOPT="-X $numprocs"
-
-
-    # CHECK THE CPU-LIMIT. IT MUST BE GIVEN FOR BATCH-JOBS AND IS COMMUNICATED TO THE
-    # EXECUTABLE VIA NAMELIST-PARAMETER cputime
- done=false
- while [[ $done = false ]]
- do
-    cputime=$cpumax
-    if (( $cputime == 0 ))
-    then
-       if [[ $do_batch = true ]]
-       then
-          printf "\n  +++ cpu-time is undefined"
-          printf "\n  >>> Please type CPU-time in seconds as INTEGER:"
-          printf "\n  >>> "
-          read  cputime  1>/dev/null  2>&1
-       else
-          cputime=10000000   # NO CPU LIMIT FOR INTERACTIVE RUNS
-       fi
-    else
-       done=true
-    fi
-    cpumax=$cputime
- done
-
- (( minuten = cputime / 60 ))
- (( sekunden = cputime - minuten * 60 ))
-
-
-    # CHECK THE MEMORY DEMAND
- if [[ $do_batch = true ]]
- then
-    done=false
-    while [[ $done = false ]]
-    do
-       if (( memory == 0 ))
-       then
-          printf "\n  +++ memory demand is undefined"
-          printf "\n  >>> Please type memory in  MByte per process  as INTEGER:"
-          printf "\n  >>> "
-          read  memory  1>/dev/null  2>&1
-       else
-          done=true
-       fi
-    done
- fi
-
-
-    # IN CASE OF REMOTE-JOBS CHECK, IF A USERNAME FOR THE REMOTE HOST IS GIVEN
- if [[ $do_remote = true  &&  -z $remote_username ]]
- then
-    while [[ -z $remote_username ]]
-    do
-       printf "\n  +++ username on remote host \"$host\" is undefined"
-       printf "\n  >>> Please type username:"
-       printf "\n  >>> "
-       read  remote_username
-    done
-    mc="$mc -u$remote_username"
- fi
-
-    # CHECK FOR INITIAL COMMANDS AFTER LOGIN
- if [[ "$login_init_cmd" != "" ]]
- then
-    export init_cmds="${login_init_cmd};"
- fi
-
-
-    # SET THE MODULE-LOAD COMMAD AND EXPORT IT FOR subjob
- if [[ "$modules" != "" ]]
- then
-    if [[ $host = lctit ]]
-    then
-       export module_calls=". $modules"
-    else
-       export module_calls="module load ${modules};"
-    fi
- fi
-
-    # OUTPUT OF THE MRUN-HEADER
- calltime=$(date)
- printf "\n"
- printf "#------------------------------------------------------------------------# \n"
- printf "| %-35s%35s | \n" "$version" "$calltime"
- printf "|                                                                        | \n"
- spalte1="called on:"; spalte2=$localhost_realname
- printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- if [[ $do_remote = true ]]
- then
-    spalte1="execution on:"; spalte2="$host (username: $remote_username)"
- else
-    spalte1="execution on:"; spalte2="$host ($localhost_realname)"
- fi
- printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- if [[ -n $numprocs ]]
- then
-    if [[ $run_coupled_model = false ]]
-    then
-       spalte1="number of PEs:"; spalte2=$numprocs
-    else
-       spalte1="number of PEs:"; spalte2="$numprocs  (atmosphere: $numprocs_atmos, ocean: $numprocs_ocean)"
-    fi
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- fi
- if [[ -n $tasks_per_node ]]
- then
-    spalte1="tasks per node:"; spalte2="$tasks_per_node (number of nodes: $nodes)"
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-    if (( remaining_pes > 0 ))
-    then
-       spalte1=" "; spalte2="one of the nodes only filled with $remaining_pes tasks"
-       printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-    fi
- fi
- if [[ $maximum_parallel_io_streams != $numprocs ]]
- then
-    spalte1="max par io streams:"; spalte2="$maximum_parallel_io_streams"
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- fi
- if [[ $use_openmp = true ]]
- then
-    spalte1="threads per task:"; spalte2="$threads_per_task"
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- fi
- printf "|                                                                        | \n"
- if [[ $do_compile = true ]]
- then
-    if [[ "$mopts" != "" ]]
-    then
-       spalte1="make options:"; spalte2=$(echo "$mopts" | cut -c-45)
-       printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-       zeile=$(echo "$mopts" | cut -c46-)
-       while [[ "$zeile" != "" ]]
-       do
-          spalte1=""
-          spalte2=$(echo "$zeile" | cut -c-45)
-          printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-          zeile=$(echo "$zeile" | cut -c46-)
-       done
-    fi
-
-    spalte1="cpp directives:"; spalte2=$(echo "$cpp_options" | cut -c-45)
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-    zeile=$(echo "$cpp_options" | cut -c46-)
-    while [[ "$zeile" != "" ]]
-    do
-       spalte1=""
-       spalte2=$(echo "$zeile" | cut -c-45)
-       printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-       zeile=$(echo "$zeile" | cut -c46-)
-    done
-
-    spalte1="compiler options:"; spalte2=$(echo "$fopts" | cut -c-45)
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-    zeile=$(echo "$fopts" | cut -c46-)
-    while [[ "$zeile" != "" ]]
-    do
-       spalte1=""
-       spalte2=$(echo "$zeile" | cut -c-45)
-       printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-       zeile=$(echo "$zeile" | cut -c46-)
-    done
-
-    spalte1="linker options:"; spalte2=$(echo "$lopts" | cut -c-45)
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-    zeile=$(echo "$lopts" | cut -c46-)
-    while [[ "$zeile" != "" ]]
-    do
-       spalte1=""
-       spalte2=$(echo "$zeile" | cut -c-45)
-       printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-       zeile=$(echo "$zeile" | cut -c46-)
-    done
-
-    spalte1="modules to be load:"; spalte2=$(echo "$modules" | cut -c-45)
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-    zeile=$(echo "$modules" | cut -c46-)
-    while [[ "$zeile" != "" ]]
-    do
-       spalte1=""
-       spalte2=$(echo "$zeile" | cut -c-45)
-       printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-       zeile=$(echo "$zeile" | cut -c46-)
-    done
-
-    spalte1="main program:"; spalte2=$mainprog
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- else
-    spalte1=executable:; spalte2=$executable
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- fi
- printf "|                                                                        | \n"
- spalte1="base name of files:"; spalte2=$fname
- printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- if [[ $fname != $afname ]]
- then
-    spalte1="base name of input files:"; spalte2=$afname
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- fi
- spalte1="INPUT control list:"; spalte2=$(echo $input_list)
- printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- spalte1="OUTPUT control list:"; spalte2=$(echo $output_list)
- printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-
- if [[ "$ocean_file_appendix" = true ]]
- then
-    printf "| %-35s%-35s | \n" "suffix \"_O\" is added to local files" " "
- fi
-
- if [[ $do_batch = true  ||  "$LOADLBATCH" = yes ]]
- then
-    spalte1="memory demand / PE":; spalte2="$memory MB"
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
-    spalte1=CPU-time:; spalte2="$minuten:$sekunden"
-    printf "| %-25s%-45s | \n" "$spalte1" "$spalte2"
- fi
-
- if [[ $do_compile = true ]]
- then
-    printf "|                                                                        | \n"
-    printf "| Files to be compiled:                                                  | \n"
-    zeile=$source_list
-    while [[ "$zeile" != "" ]]
-    do
-       linestart=$(echo $zeile | cut -c-70)
-       printf "| %-70s | \n" "$linestart"
-       zeile=$(echo "$zeile" | cut -c71-)
-    done
- fi
- printf "#------------------------------------------------------------------------#"
-
-
-
-    # OUTPUT OF FILE CONNECTIONS IN CASE OF TRACEBACK
- if [[ $do_trace = true ]]
- then
-    (( i = 0 ))
-    while (( i < iin ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n >>> INPUT-file assignments:\n"
-       fi
-       printf "\n     ${localin[$i]} :  ${absnamein[$i]}"
-    done
-    (( i = 0 ))
-    while (( i < iout ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n >>> OUTPUT-file assignments:\n"
-       fi
-       printf "\n     ${localout[$i]} :  ${pathout[$i]}"
-    done
-    (( i = 0 ))
-    while (( i < iic ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n >>> INPUT-commands:\n"
-       fi
-       printf "\n     ${in_command[$i]}" 
-    done
-    (( i = 0 ))
-    while (( i < ioc ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n >>> OUTPUT-commands:\n"
-       fi
-       printf "\n     ${out_command[$i]}" 
-    done
- fi
-
-    # QUERY FOR CONTINUE (ON LOCAL MACHINES ONLY)
- if [[ $remotecall = false  &&  $silent = false  &&  $jobmo != BATCH ]]
- then
-    antwort=dummy
-    printf "\n\n"
-    printf " >>> everything o.k. (y/n) ?  "
-    while  read antwort
-    do
-       if [[ "$antwort" != y  &&  "$antwort" != Y  &&  "$antwort" != n  &&  "$antwort" != N ]]
-       then
-          printf " >>> everything o.k. (y/n) ?  "
-       else
-          break
-       fi
-    done
-    if [[ $antwort = n  ||  $antwort = N ]]
-    then
-       locat=user_abort; (( iec = 0 )); exit
-    fi
-    if [[ $do_batch = true ]]
-    then
-       printf " >>> batch-job will be created and submitted"
-    else
-       printf " >>> MRUN will now continue to execute on this machine"
-    fi
- fi
-
- 
-    # DETERMINE PATH FOR MAKE DEPOSITORY
- if [[ $do_batch = false  ||  $create_executable_for_batch = true ]]
- then
-
-    line=""
-    grep "%depository_path" $config_file  >  tmp_mrun
-    while read line
-    do
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          if [[ "$(echo $line | cut -d" " -s -f3)" = "" ]]
-          then
-             global_depository_path=`echo $line | cut -d" " -s -f2`
-          fi
-       fi
-    done < tmp_mrun
-
-    line=""
-    grep  " $localhost" $config_file | grep "%depository_path"  >  tmp_mrun
-    while read line
-    do
-       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
-       then
-          if [[ "$(echo $line | cut -d" " -s -f4)" = "$cond1"  &&  "$(echo $line | cut -d" " -s -f5)" = "$cond2" ]]
-          then
-             local_depository_path=`echo $line | cut -d" " -s -f2`
-          fi
-       fi
-    done < tmp_mrun
-
-    if [[ "$local_depository_path" = "" ]]
-    then
-       if [[ "$global_depository_path" != "" ]]
-       then
-          local_depository_path=$global_depository_path
-       else
-          printf "\n\n  +++ no depository path found in configuration file"
-          printf "\n      for local host \"$localhost\" "
-          printf "\n      please set \"\%depository_path\" in configuration file\n"
-          locat=config_file; exit
-       fi
-    fi
-    eval local_depository_path=$local_depository_path
-    [[ "$cond1" != "" ]]  &&  local_depository_path=${local_depository_path}_$cond1
-    [[ "$cond2" != "" ]]  &&  local_depository_path=${local_depository_path}_$cond2
-
-
-    basename=`echo $mainprog | cut -f1 -d"."`
-    eval make_depository=${local_depository_path}/${basename}_current_version.tar
-    if [[ ! -f $make_depository ]]
-    then
-       printf "\n"
-       printf "\n  *** WARNING: make depository \"$make_depository\" not found"
-       printf "\n               \"make\" will fail, if the Makefile or other source files are missing\n"
-    fi
-
- fi
-
-
-    # NOW PERFORM THOSE ACTIONS REQUIRED TO EXECUTE THE PROGRAM (PALM) ON THIS MACHINE
-    # (COMPILING/LINKING, EXECUTING, COPYING I/O FILES)
- if [[ $do_batch = false ]]
- then
-
-
-       # CREATE THE TEMPORARY WORKING DIRECTORY
-    mkdir -p  $TEMPDIR
-    chmod  go+rx  $TEMPDIR
-    tmpcreate=true
-
-
-       # COPY EITHER THE COMPLETE SOURCE CODE FILES TO BE COMPILED OR THE EXECUTABLE 
-       # INTO THE TEMPORARY WORKING DIRECTORY
-    if [[ $do_compile = true ]]
-    then
-
-       TEMPDIR_COMPILE=$TEMPDIR
-
-       cp  $make_depository  $TEMPDIR_COMPILE
-       cd  $TEMPDIR_COMPILE
-       tar -xf  $make_depository  >  /dev/null  2>&1
-       cd -  > /dev/null
-
-          # DUE TO UNKNOWN REASONS, COPY WITH cp COMMAND CREATES CORRUPT
-          # FILES ON CRAY XC30 SYSTEMS (HLRN III), rsync IS USED INSTEAD
-       if [[ $(echo $host | cut -c1-6) = lccray ]]
-       then
-          rsync -av -t  SOURCES_FOR_RUN_$fname/*  $TEMPDIR_COMPILE  >  /dev/null
-       else
-          cp  SOURCES_FOR_RUN_$fname/*  $TEMPDIR_COMPILE  >  /dev/null
-       fi
-
-    else
-
-       cp  $executable   ${TEMPDIR}/a.out
-
-    fi
-
-
-       # CHANGE TO THE TEMPORARY WORKING DIRECTORY
-    cd  $TEMPDIR
-    printf "\n  *** changed to temporary directory: $TEMPDIR"
-
-
-       # IF REQUIRED, START WITH COMPILING
-    if [[ $do_compile = true ]]
-    then
-
-
-       if [[ -f a.out ]]
-       then
-
-             # EXECUTABLE WAS CREATED DURING INTERACTIVE CALL OF MRUN
-          printf "\n\n\n  *** executable a.out found"
-          printf "\n      no compilation required \n"
-
-       else
-
-             # COMPILING WITH MAKE (ON NEC COMPILER IS CALLED ON HOST CROSS)
-          printf "\n\n\n  *** compilation starts \n$dashes\n"
-          printf "  *** compilation with make using following options:\n"
-          printf "      make depository:          $make_depository"
-          if [[ "$mopts" != "" ]]
-          then
-             printf "      make options:             $mopts\n"
-          fi
-          printf "      compilername:             $compiler_name\n"
-          printf "      compiler options:         $fopts\n"
-          printf "      preprocessor directives:  $cpp_options \n"
-          printf "      linker options:           $lopts \n"
-          if [[ "$modules" != "" ]]
-          then
-             printf "      modules to be load:       $modules \n"
-          fi
-          printf "      source code files:        $source_list \n"
-
-          if [[ $localhost = ibmh ]]
-          then
-             printf "      compiler is called via ssh on \"plogin1\" \n"
-             ssh  $SSH_PORTOPT  plogin1  -l $usern  "$init_cmds export PATH=/sw/ibm/xlf/13.1.0.8/usr/bin:$PATH; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
-             [[ ! -f a.out ]]  &&  compile_error=true
-             continue   # STATUS=1, IF a.out EXISTS
-          elif [[ $localhost = lcocean ]]
-          then 
-             printf "      compiler is called via ssh on \"ocean\" \n"
-             echo $PWD
-             ssh  $SSH_PORTOPT  ocean  -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\" "
-             [[ ! -f a.out ]]  &&  compile_error=true
-            continue   # STATUS=1, IF a.out EXISTS
-          elif [[ $localhost = lcbullhh  ||  $localhost = lccrayb  ||  $localhost = lccrayf ||  $localhost = lccrayh ]]
-          then
-             make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
-          elif [[ $localhost = lceddy ]]
-          then
-             which mpifc
-             make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
-          elif [[ $localhost = lcgeohu ]]
-          then 
-             printf "      compiler is called via ssh on \"cirrus\" \n"
-             ssh  $SSH_PORTOPT  cirrus.geo.hu-berlin.de -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\" "
-#             this check did not work. Although a.out exists, it sets compile_error to true!
-#             [[ ! -f a.out ]]  &&  compile_error=true
-             continue   # STATUS=1, IF a.out EXISTS
-          else
-             [[ "$init_cmds" != "" ]]  &&  eval $init_cmds
-             [[ "$module_calls" != "" ]]  &&  eval $module_calls
-             make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
-          fi
-
-          if [[ $? != 0  ||  "$compile_error" = true  ||  "$module_compile_error" = true ]]
-          then
-             printf "\n  +++ error occured while compiling or linking"
-             locat=compile
-
-             exit
-          else
-             printf "$dashes\n  *** compilation finished \n"
-          fi
-
-       fi
-
-    fi
-
-
-       # PROVIDE THE INPUT FILES
-       # LOOP OVER ALL ACTIVATED FILES (LISTED IN THE CONFIGURATION FILE)
-    (( i = 0 ))
-    while (( i < iin ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n  *** providing INPUT-files:\n$dashes"
-       fi
-
-
-          # SKIP OPTIONAL FILES, IF THEY DO NOT EXIST
-       if [[ "${transin[$i]}" = unavailable ]]
-       then
-          if [[ "${extin[$i]}" = ""  ||  "${extin[$i]}" = " " ]]
-          then
-             printf "\n  *** INFORMATIVE: input file \"${pathin[$i]}/${afname}${endin[$i]}\" "
-             printf "\n                   is not available!"
-          else
-             printf "\n  *** INFORMATIVE: input file \"${pathin[$i]}/${afname}${endin[$i]}.${extin[$i]}\" "
-             printf "\n                   is not available!"
-          fi
-          continue
-       fi
-
-          # CHECK FOR SINGLE FILE (SERIAL RUN) OR DIRECTORY (ONE FILE PER CORE FOR PARELLEL EXECUTION)
-       files_for_pes=false; datentyp=file
-       if [[ "${actionin[$i]}" = pe  &&  -n $numprocs ]]
-       then
-          files_for_pes=true; datentyp=files
-          actionin[$i]=""
-       elif [[ "${actionin[$i]}" = pe  &&  ! -n $numprocs ]]
-       then
-          actionin[$i]=""
-       elif [[ "${actionin[$i]}" = lnpe  &&  -n $numprocs ]]
-       then
-          files_for_pes=true; datentyp=files
-          actionin[$i]="ln"
-       elif [[ "${actionin[$i]}" = lnpe  &&  ! -n $numprocs ]]
-       then
-          actionin[$i]="ln"
-       fi
-
-       if [[ $files_for_pes = true ]]
-       then
-          printf "\n  >>> INPUT: ${absnamein[$i]}/....  to  ${localin[$i]}"
-       else
-          printf "\n  >>> INPUT: ${absnamein[$i]}  to  ${localin[$i]}"
-       fi
-
-          # INPUT-FILES TO BE LINKED
-       if [[ "${actionin[$i]}" = ln ]]
-       then
-
-          printf "\n      $datentyp will be linked"
-          if [[ $files_for_pes = false ]]
-          then
-             if [[ -f "${absnamein[$i]}" ]]
-             then
-                ln  ${absnamein[$i]}  ${localin[$i]}
-                got_tmp[$i]=true
-             fi
-          else
-             if [[ -d "${absnamein[$i]}" ]]
-             then
-                mkdir  ${localin[$i]}
-                cd ${absnamein[$i]}
-                for file in $(ls *)
-                do
-                   ln $file $TEMPDIR/${localin[$i]}
-                done >|/dev/null 2>&1
-                cd $TEMPDIR
-             fi
-
-                # IF "ln -f" HAS FAILED DO A NORMAL COPY "cp -r"
-             if [[ ! -f "${localin[$i]}/_000000" ]]
-             then
-                printf "\n  --- WARNING: ln failed, using cp instead (might be time consuming...)"
-                cp -r  ${absnamein[$i]}/*  ${localin[$i]}
-             fi
-
-             got_tmp[$i]=true
-          fi
-       fi
-
-          # FILE IS STORED IN THE RESPECTIVE DIRECTORY GIVEN IN THE CONFIGURATION FILE
-       if [[ "${actionin[$i]}" = ""  ||  "${actionin[$i]}" = "di"  ||  "${actionin[$i]}" = "npe" ]]
-       then
-
-          if [[ "${actionin[$i]}" = "npe"  &&  -n $numprocs ]]
-          then
-
-                # FILE COPIES ARE PROVIDED FOR ALL CORES
-                # EACH FILE GETS A UNIQUE FILENAME WITH A FOUR DIGIT NUMBER
-             printf "\n      file will be provided for $numprocs processors"
-             mkdir  ${localin[$i]}
-             ival=$numprocs
-             (( ii = 0 ))
-             while (( ii <= ival-1 ))
-             do
-                if (( ii < 10 ))
-                then
-                   cp  ${absnamein[$i]}  ${localin[$i]}/_000$ii
-                elif (( ii < 100 ))
-                then
-                   cp  ${absnamein[$i]}  ${localin[$i]}/_00$ii
-                elif (( ii < 1000 ))
-                then
-                   cp  ${absnamein[$i]}  ${localin[$i]}/_0$ii
-                else
-                   cp  ${absnamein[$i]}  ${localin[$i]}/_$ii
-                fi
-                (( ii = ii + 1 ))
-             done
-
-          else
-
-             if [[ $files_for_pes = true ]]
-             then
-
-                   # PROVIDE FILES FOR EACH CORE
-                   # FIRST CREATE THE LOCAL DIRECTORY, THEN COPY FILES
-                   # FROM THE PERMANENT DIRECTORY BY LINKING THEM TO THE LOCAL ONE
-                printf "\n      providing $numprocs files for the respective processors"
-                mkdir  ${localin[$i]}
-	              	if [[ $link_local_input = true ]]
-		              then
-		                 printf "      files will be linked\n"
-		                 cd ${absnamein[$i]}
-		                 for file in $(ls *)
-		                 do
-		                    ln -f $file  ${localin[$i]}
-		                 done
-		                 cd $TEMPDIR
-		              fi
-
-                   # IF "ln -f" FAILED OR IF "$link_local_input = false" DO A NORMAL "cp -r"
-		              if [[ ! -f "${localin[$i]}/_000000" ]]
-		              then
-		                 if [[ $link_local_input = true ]]
-		                	then
-	                   		printf "\n  --- WARNING: ln failed, using cp instead (might be time consuming...)"
-		                 fi
-		                 cp -r  ${absnamein[$i]}/*  ${localin[$i]}
-		              fi
-
-             else
-
-                   # PROVIDE FILE FOR RUNS ON A SINGLE CORE
-              		if [[ $link_local_input = true ]]
-	              	then
-		                 printf "      file will be linked\n"
-		                 ln -f  ${absnamein[$i]}  ${localin[$i]}
-	              	fi
-	                 	# If "ln -f" fails of if "$link_local_input = false" do a normal "cp"
-	              	if [[ ! -f "${localin[$i]}" ]]
-                then
-		                 if [[ $link_local_input = true ]]
-	                  then
-                      printf "\n  --- WARNING: ln failed, using cp instead (might be time consuming...)"
-		                 fi
-		                 cp  ${absnamein[$i]}  ${localin[$i]}
-                fi
-             fi
-          fi
-       fi
-
-    done
-    if (( i != 0 ))
-    then
-       printf "\n$dashes\n  *** all INPUT-files provided \n"
-    fi
-
-
-       # EXECUTE INPUT-COMMANDS GIVEN IN THE CONFIGURATION FILE
-    (( i = 0 ))
-    while (( i < iic ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n  *** execution of INPUT-commands:\n$dashes"
-       fi
-       printf "\n  >>> ${in_command[$i]}"
-       eval  ${in_command[$i]}
-       if (( i == iic ))
-       then
-          printf "\n$dashes\n"
-       fi
-    done
-
-
-       # SET THE REMAINING CPU-TIME
-    cpurest=${cpumax}.
-
-
-       # START DVR STREAMING SERVER
-    if [[ $(echo $package_list | grep -c dvrp_graphics) != 0 ]]
-    then
-       if [[ "$dvr_server" != "" ]]
-       then
-
-          printf "\n\n  *** preparing the dvr streaming server configuration file"
-
-             # CHECK, IF A DVR SERVER IS ALREADY RUNNING
-          running_dvrserver_id=`echo $(ps -edaf | grep .dvrserver.config | grep -v grep) | cut -d" " -f2`
-          if [[ "$running_dvrserver_id" != "" ]]
-          then
-
-             printf "\n\n  +++ WARNING: A dvr server with id=$running_dvrserver_id is already running!"
-             printf "\n      This server is used instead starting a new one!"
-             printf "\n      If required, script \"process_dvr_output\" has to be run manually."
-
-          else
-
-                # COPY CONFIGURATION FILE FOR STREAMING SERVER FROM REPOSITORY TO HERE
-             if [[ -f ${PALM_BIN}/.dvrserver.config ]]
-             then
-                cp  ${PALM_BIN}/.dvrserver.config  .
-
-                   # ENTERING THE BASEDIR, UID AND GID INTO THIS FILE
-                user_id=`id -u`
-                group_id=`id -g`
-
-                   # "&" IS REQUIRED AS A SEPERATOR, BECAUSE TEMPDIR CONTAINS "/"
-                sed "s&<replace by dvr data directory>&${TEMPDIR}&g" .dvrserver.config > .dvrserver.1
-                sed "s/<replace by user id>/$user_id/g"    .dvrserver.1 > .dvrserver.2
-                sed "s/<replace by group id>/$group_id/g"  .dvrserver.2 > .dvrserver.3
-                mv  .dvrserver.3  .dvrserver.config
-                rm  .dvrserver.1  .dvrserver.2
-
-                   # START DVR SERVER IN BACKGROUND, GET HIS ID AND PRINT ON TERMINAL
-                $dvr_server  .dvrserver.config  >>  DVR_LOGFILE  2>&1  &
-                dvrserver_id=`echo $(ps -edaf | grep .dvrserver.config) | cut -d" " -f2`
-                printf "\n  *** streaming server with id=$dvrserver_id is started in background"
-                local_dvrserver_running=.TRUE.
-             else
-                printf "\n  +++ missing file \".dvrserver.config\" in directory:"
-                printf "\n      \"$PALM_BIN\" "
-                locat=dvr
-                exit
-             fi
-
-          fi
-
-       else
-          printf "\n\n  --- INFORMATIVE: no dvr streaming server will be started"
-       fi
-    fi
-
-
-       # CREATE THE NAMELIST-FILE WITH VALUES OF ENVIRONMENT-VARIABLES REQUIRED BY PALM
-       # (FILE ENVPAR WILL BE READ BY PALM)
-    cat  >  ENVPAR  <<  EOF
- &envpar  run_identifier = '$fname', host = '$localhost',
-          write_binary = .${write_binary}., tasks_per_node = $tasks_per_node,
-          maximum_parallel_io_streams = $maximum_parallel_io_streams,
-          maximum_cpu_time_allowed = ${cpumax}.,
-          revision = '$global_revision',
-          local_dvrserver_running = $local_dvrserver_running,
-          batch_job = $batch_job /
-
-EOF
-
-
-       # STARTING THE EXECUTABLE
-    printf "\n\n  *** execution starts in directory\n      \"`pwd`\"\n$dashes\n"
-    PATH=$PATH:$TEMPDIR
-
-
-    if [[ $execute_command != "none" ]]
-    then
-
-        printf "\n  +++ branch still not realized"
-        locat=execution
-        exit
-
-    else
-
-          # MPI DEBUG OPTION (ARGUMENT CHECKING, SLOWS DOWN EXECUTION DUE TO INCREASED LATENCY)
-       if [[ "$mpi_debug" = true ]]
-       then
-          export MPI_CHECK_ARGS=1
-          printf "\n  +++ MPI_CHECK_ARGS=$MPI_CHECK_ARGS"
-       fi
-
-       if [[ "$totalview" = true ]]
-       then
-          printf "\n *** totalview debugger will be used"
-          tv_opt="-tv"
-       else
-          tv_opt=""
-       fi
-
-       if [[ "$cond1" = debug  ||  "$cond2" = debug ]]
-       then
-
-             #Interactive ALLINEA DEBUG seesion
-          if [[ "$ENVIRONMENT" != BATCH ]]
-          then
-             if [[ $host = lccrayb || $host = lccrayh ]]
-             then
-                if [[ "$allinea" = true ]]
-                then
-                   echo "--- aprun  -n $ii  -N $tasks_per_node  a.out  < runfile_atmos"
-
-                   ddt  aprun  -n $ii  -N $tasks_per_node  a.out
-                   wait
-                fi         
-             fi
-          fi
-
-          if [[ $localhost = ibmh ]]
-          then
-
-                # SETUP THE IBM MPI ENVIRONMENT
-             export MP_SHARED_MEMORY=yes
-             export AIXTHREADS_SCOPE=S
-             export OMP_NUM_THREADS=$threads_per_task
-             export AUTHSTATE=files
-             export XLFRTEOPTS="nlwidth=132:err_recovery=no"    # RECORD-LENGTH OF NAMELIST-OUTPUT
-
-                # FOLLOWING OPTIONS ARE MANDATORY FOR TOTALVIEW
-             export MP_ADAPTER_USE=shared
-             export MP_CPU_USE=multiple
-             export MP_TIMEOUT=1200
-
-             unset  MP_TASK_AFFINITY
-
-             if [[ "$LOADLBATCH" = yes ]]
-             then
-                totalview   poe  a.out
-             else
-                echo totalview   poe  -a a.out  -procs $numprocs  -rmpool 0  -nodes 1
-                export TVDSVRLAUNCHCMD=ssh
-                totalview   poe  -a a.out  -procs $numprocs  -rmpool 0  -nodes 1
-             fi
-
-          fi  # END DEBUG MODE
-
-       else
-
-             # NORMAL EXECUTION
-          if [[ -n $numprocs ]]
-          then
-
-                # RUNNING THE PROGRAM ON PARALLEL MACHINES
-             if [[ $(echo $host | cut -c1-3) = ibm ]]
-             then
-
-                   # SETUP THE IBM MPI ENVIRONMENT
-                if [[ $host != ibmh  &&  $host != ibmkisti ]]
-                then
-                   export MP_SHARED_MEMORY=yes
-                   export AIXTHREAD_SCOPE=S
-                   export OMP_NUM_THREADS=$threads_per_task
-                   export XLSMPOPTS="spins=0:yields=0:stack=20000000"
-                   export AUTHSTATE=files
-                   export XLFRTEOPTS="nlwidth=132:err_recovery=no"    # RECORD-LENGTH OF NAMELIST-OUTPUT
-                   #  export MP_PRINTENV=yes
-
-                      # TUNING-VARIABLES TO IMPROVE COMMUNICATION SPEED
-                      # DO NOT SHOW SIGNIFICANT EFFECTS (SEP 04, FEDERATION-SWITCH)
-                   export MP_WAIT_MODE=poll
-                   [[ $node_usage = not_shared ]]  &&  export MP_SINGLE_THREAD=yes
-                fi
-
-                if [[ $host = ibmkisti ]]
-                then
-                   export LANG=en_US
-                   export MP_SHARED_MEMORY=yes
-                   if [[ $threads_per_task = 1 ]]
-                   then
-                      export MP_SINGLE_THREAD=yes
-                      export MEMORY_AFFINITY=MCM
-                   else
-                      export OMP_NUM_THREADS=$threads_per_task
-                   fi
-                fi
-
-                if [[ "$LOADLBATCH" = yes ]]
-                then
-                   printf "\n--- Control: OMP_NUM_THREADS = \"$OMP_NUM_THREADS\" \n"
-                   if [[ "$cond1" = hpmcount  ||  "$cond2" = hpmcount ]]
-                   then
-                      /opt/optibm/HPM_2_4_1/bin/hpmcount  a.out
-                   elif [[  $localhost = ibmmuc* ]]
-                   then
-                      ulimit -c unlimited        # only for debgingg
-                      echo $MP_NODES        > ~/job_queue/hostfile.$kennung
-                      echo $MP_PROCS       >> ~/job_queue/hostfile.$kennung
-                      cat $LOADL_HOSTFILE  >> ~/job_queue/hostfile.$kennung
-                      export MP_NODES=$nodes
-                      export MP_PROCS=$numprocs
-                      # export MPI_SINGLE_THREAD=no   # LRZ NetCDF
-                      # export MP_TASKS_PER_NODE=$tasks_per_node
-                      echo "Resource Info: " 
-                      echo "numprocs:         " $numprocs " MP_PROCS " $MP_PROCS
-                      echo "nodes:            " $nodes    " MP_NODES " $MP_NODES
-                      echo "tasks_per_node:   " $tasks_per_node
-                      echo "threads_per_task: " $threads_per_task
-                      export OMP_NUM_THREADS=1
-                      source /lrz/sys/share/modules/init/bash
-                      module li
-                      echo "runfile_atmos"
-                      
-                      if [[ $run_vnested_model = true ]]
-                      then
-                         
-                         printf "\n      Nested run ($numprocs_crse Coarse, $numprocs_fine Fine)"
-                         printf "\n      using $nested_mode nesting"
-                         printf "\n\n"
-                         
-                         echo "$vnested_mode $numprocs_crse $numprocs_fine"  >  runfile_atmos
-                         
-                         poe   ./a.out  <  runfile_atmos
-                         # mpiexec -n $numprocs  ./a.out  <  runfile_atmos
-                      else
-                         echo "precursor_atmos"  >  runfile_atmos
-                         poe   ./a.out -proc $numprocs -nodes  $nodes <  runfile_atmos  
-                         # mpiexec -n $numprocs  ./a.out  <  runfile_atmos  
-                      
-                      fi
-                   else
-                      if [[ $run_coupled_model = false ]]
-                      then
-                         if [[ "$ocean_file_appendix" = true ]]
-                         then
-                            echo "precursor_ocean"  >  runfile_atmos
-                         else
-                            echo "precursor_atmos"  >  runfile_atmos
-                         fi
-                      else
-                         (( iia = $numprocs_atmos / $threads_per_task ))
-                         (( iio = $numprocs_ocean / $threads_per_task ))
-                         printf "\n      coupled run ($iia atmosphere, $iio ocean)"
-                         printf "\n\n"
-                         echo "coupled_run $iia $iio"  >  runfile_atmos
-                      fi
-                      poe ./a.out  <  runfile_atmos
-                   fi
-                else
-                   if [[ $localhost = ibmh  ||  $localhost = ibms ]]
-                   then
-                      poe  a.out  -procs $numprocs  -nodes 1  -rmpool 0
-                   elif [[ $localhost = ibmkisti  ||  $localhost = ibmku ]]
-                   then
-                      if [[ -f $hostfile ]]
-                      then
-                         cp  $hostfile  hostfile
-                      else
-                         (( ii = 1 ))
-                         while (( ii <= $numprocs ))
-                         do
-                            echo  $localhost_realname  >>  hostfile
-                            (( ii = ii + 1 ))
-                         done
-                      fi
-                      export MP_HOSTFILE=hostfile
-                      if [[ $run_coupled_model = false ]]
-                      then
-                         if [[ "$ocean_file_appendix" = true ]]
-                         then
-                            echo "precursor_ocean"  >  runfile_atmos
-                         else
-                            echo "precursor_atmos"  >  runfile_atmos
-                         fi
-                      else
-                         (( iia = $numprocs_atmos / $threads_per_task ))
-                         (( iio = $numprocs_ocean / $threads_per_task ))
-                         printf "\n      coupled run ($iia atmosphere, $iio ocean)"
-                         printf "\n\n"
-                         echo "coupled_run $iia $iio"  >  runfile_atmos
-                      fi
-
-                      poe  ./a.out  -procs $numprocs  <  runfile_atmos 
-
-                   else
-                      if [[ "$host_file" = "" ]]
-                      then
-                         printf "\n  +++ no hostfile given in configuration file"
-                         locat=config_file
-                         exit
-                      else
-                         eval host_file=$host_file
-                      fi
-                      export MP_HOSTFILE=$host_file
-                      poe  a.out  -procs $numprocs  -tasks_per_node $numprocs
-                   fi
-                fi
-
-             elif [[ $(echo $host | cut -c1-2) = lc  &&  $host != lckyoto &&  $host != lctit ]]
-             then
-
-                   # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT
-                   # DOES NOT EXIST
-                if [[  $host != lcbullhh  && $host != lccrayb  &&  $host != lccrayf  && $host != lccrayh  &&  $host != lckyuh  &&  $host != lckyut  &&  $host != lcocean &&  $host != lceddy ]]
-                then
-                   if [[ -f $hostfile ]]
-                   then
-                      cp  $hostfile  hostfile
-                      (( ii = $numprocs / $threads_per_task ))
-                      [[ $ii = 0 ]]  &&  (( ii = 1 ))
-                   else
-                      (( ii = 1 ))
-                      while (( ii <= $numprocs / $threads_per_task ))
-                      do
-                         echo  $localhost_realname  >>  hostfile
-                         (( ii = ii + 1 ))
-                      done
-                      if (( $numprocs / $threads_per_task == 0 ))
-                      then
-                         echo  $localhost_realname  >>  hostfile
-                      fi
-                   fi
-                   eval zeile=\"`head -n $ii  hostfile`\"
-                   printf "\n  *** running on: $zeile"
-                fi
-
-                (( ii = $numprocs / $threads_per_task ))
-                [[ $ii = 0 ]]  &&  (( ii = 1 ))
-                export OMP_NUM_THREADS=$threads_per_task
-
-                if [[ $threads_per_task != 1 ]]
-                then
-                      # INCREASE STACK SIZE TO UNLIMITED, BECAUSE OTHERWISE LARGE RUNS
-                      # MAY ABORT
-                   ulimit -s unlimited
-                   printf "\n      threads per task: $threads_per_task  stacksize: unlimited"
-                fi
-                if [[ $run_coupled_model = false && $run_vnested_model = false ]]
-                then
-                   if [[ "$ocean_file_appendix" = true ]]
-                   then
-                      echo "precursor_ocean"  >  runfile_atmos
-                   else
-                      echo "precursor_atmos"  >  runfile_atmos
-                   fi
-                   printf "\n\n"
-
-                   if [[ $host = lccrayb || $host = lccrayh ]]
-                   then
-                       echo "--- aprun  -n $ii  -N $tasks_per_node  a.out  <  runfile_atmos"
-                       aprun  -n $ii  -N $tasks_per_node  a.out  <  runfile_atmos
-                   elif [[ $host = lcbullhh ]]
-                   then
-                      export OMPI_MCA_pml=cm
-                      export OMPI_MCA_mtl=mxm
-                      export OMPI_MCA_coll=^ghc
-                      export OMPI_MCA_mtl_mxm_np=0
-                      export MXM_RDMA_PORTS=mlx5_0:1
-                      export MXM_LOG_LEVEL=ERROR 
-                      export OMP_NUM_THREADS=$threads_per_task
-                      export KMP_AFFINITY=verbose,granularity=core,compact,1
-                      export KMP_STACKSIZE=64m
-
-                      srun  -n $ii --ntasks-per-node=$tasks_per_node ./a.out  <  runfile_atmos
-
-                   elif [[ $host = lccrayf ]]
-                   then
-                       aprun  -j1  -n $ii  -N $tasks_per_node  -m ${memory}M  a.out  <  runfile_atmos
-                   elif [[ $host = lcxe6  ||  $host = lcxt5m ]]
-                   then
-                    aprun  -n $ii  -N $tasks_per_node  a.out  <  runfile_atmos
-                   elif [[ $host = lceddy ]]
-                   then
-                      echo $ii
-                      echo $tasks_per_node
-                      echo $nodes
-                      mpirun -n $ii a.out  <  runfile_atmos
-                   elif [[ $host = lcgeohu ]]
-                   then
-                       srun -n $ii a.out  <  runfile_atmos
-                   elif [[ $host = lcocean ]]
-                   then
-                      mpirun a.out  $ROPTS  < runfile_atmos
-                   elif [[ $host = lcsb ]]
-                   then
-                      mpirun_rsh -hostfile $PBS_NODEFILE -np `cat $PBS_NODEFILE | wc -l` a.out  < runfile_atmos
-                   elif [[ $host = lclrz || $host = lcbwuni  ]]
-                   then
-                      mpiexec  -n $ii  a.out  <  runfile_atmos  $ROPTeS
-                   elif [[ $host = lckea* ]]
-                   then
-                      srun  -n $ii  a.out  <  runfile_atmos  $ROPTeS
-                   elif [[ $host = lckiaps ]]
-                   then
-                      mpirun -np $ii  -machinefile $PBS_NODEFILE  ./a.out  <  runfile_atmos
-                   elif [[ $host = lckyu* ]]
-                   then
-                      mpiexec -n $ii --stdin runfile_atmos  ./a.out
-                   else
-                      mpiexec  -machinefile hostfile  -n $ii  a.out  <  runfile_atmos
-                   fi
-
-                elif [[ $run_coupled_model = true ]]
-                then
-                       # COUPLED RUN
-                   (( iia = $numprocs_atmos / $threads_per_task ))
-                   (( iio = $numprocs_ocean / $threads_per_task ))
-                   printf "\n      coupled run ($iia atmosphere, $iio ocean)"
-                   printf "\n\n"
-
-                   echo "coupled_run $iia $iio"  >  runfile_atmos
-
-                   if [[ $host = lccrayf  ||  $host = lcxe6  ||  $host = lcxt5m ]]
-                   then
-
-                      aprun  -n $ii  -N $tasks_per_node  a.out < runfile_atmos
-
-                   elif [[ $host = lck || $host = lckordi ]]
-                   then
-
-                      mpiexec -n $ii  ./a.out  <  runfile_atmos  &
-
-                   elif [[ $host = lckyu* ]]
-                   then
-
-                      mpiexec -n $ii --stdin runfile_atmos  ./a.out
-
-                   elif [[ $host = lcmuk ]] 
-                   then
-
-                      mpiexec  -machinefile hostfile  -n $ii  a.out  <  runfile_atmos
-
-                   fi
-                   wait
-
-
-                elif [[ $run_vnested_model = true ]]
-                then
-                    printf "\n      Vertical Nested run ($numprocs_crse Coarse, $numprocs_fine Fine)"
-                    printf "\n      using $vnested_mode vnesting"
-                    printf "\n\n"
-
-                     echo "$vnested_mode $numprocs_crse $numprocs_fine"  >  runfile_atmos
-
-                     if [[  $host = lcbwuni  ||  $host = lclrz*  ]]
-                     then
-                         mpiexec  -n $ii  a.out  <  runfile_atmos  $ROPTeS
-                     elif [[ $host = lckea*  ]]
-                     then
-                         srun  -n $ii  a.out  <  runfile_atmos  $ROPTeS 
-                     else
-                        mpirun   -np $numprocs  ./a.out  $ROPTS  < runfile_atmos
-                     fi
-                     wait
-                fi
-
-             elif [[ $host = lckyoto ]]
-             then
-                set -xv
-                export P4_RSHCOMMAND=plesh
-                echo "     P4_RSHCOMMAND = $P4_RSHCOMMAND"
-                if [[ "$ENVIRONMENT" = BATCH ]]
-                then
-                   if [[ "$cond2" = fujitsu ]]
-                   then
-                      mpiexec  -n $numprocs  ./a.out  # for fujitsu-compiler
-                   elif [[ "cond2" = pgi ]]
-                   then
-                      mpirun  -np $numprocs  -machinefile ${QSUB_NODEINF}  ./a.out
-                   else
-                      mpirun_rsh -np $numprocs -hostfile ${QSUB_NODEINF} MV2_USE_SRQ=0 ./a.out  ||  /bin/true
-                   fi
-                else
-                   if [[ "$cond2" = "" ]]
-                   then
-                      mpiruni_rsh -np $numprocs ./a.out  # for intel
-                   else
-                      mpirun  -np $numprocs  ./a.out
-                   fi
-                fi
-                set +xv
-
-             elif [[ $host = lctit ]]
-             then
-                export OMP_NUM_THREADS=$threads_per_task
-                echo "OMP_NUM_THREADS=$OMP_NUM_THREADS"
-                if [[ "$threads_per_task" != 1 ]]
-                then
-                   export MV2_ENABLE_AFFINITY=0
-                fi
-                echo "----- PBS_NODEFILE content:"
-                cat $PBS_NODEFILE
-                echo "-----"
-                (( ii = $numprocs / $threads_per_task ))
-                echo "mpirun  -np $ii  -hostfile $PBS_NODEFILE ./a.out"
-                mpirun  -np $ii  -hostfile $PBS_NODEFILE  ./a.out
-
-             else
-                mpprun  -n $numprocs  a.out
-             fi
-          else
-             a.out
-          fi
-
-       fi  # end normal (non-debug) execution
-
-    fi  # end explicit execute_command or host-specific execute actions
-
-    if [[ $? != 0 ]]
-    then
-
-          # ABORT IN CASE OF RUNTIME ERRORS
-       printf "\n  +++ runtime error occured"
-       locat=execution
-       exit
-
-    else
-
-       printf "\n$dashes\n  *** execution finished \n"
-
-          # STOP THE DVR STREAMING SERVER AND PROCESS THE DVR OUTPUT IN ORDER
-          # TO CREAT DVRS- AND HTML-FILES CONTAINING ALL STREAMS
-       if [[ "$dvrserver_id" != "" ]]
-       then
-          kill $dvrserver_id
-          printf "\n  *** dvr server with id=$dvrserver_id has been stopped"
-
-             # IF THERE IS A DIRECTORY, DATA HAVE BEEN OUTPUT BY THE
-             # STREAMING SERVER. OTHERWISE, USER HAS CHOSEN dvrp_output=local
-          if [[ -d DATA_DVR ]]
-          then
-
-                # ADD THE CURRENT DVR CONFIGURATION FILE TO THE DVR OUTPUT
-                # DIRECTORY
-             cp  .dvrserver.config  DATA_DVR
-
-                # PROCESS THE DVR OUTPUT (OPTION -s FOR GENERATING
-                # SEQUENCE MODE DATA TOO)
-             process_dvr_output  -d DATA_DVR  -f $fname  -s
-
-          else
-
-                # PROCESS THE LOCAL OUTPUT
-             process_dvr_output  -l  -d DATA_DVR  -f $fname
-
-          fi
-
-       elif [[ $(echo $package_list | grep -c dvrp_graphics) != 0 ]]
-       then
-
-             # PROCESS DVR OUTPUT GENERATD IN LOCAL MODE (dvrp_output=local)
-          process_dvr_output  -l  -d DATA_DVR  -f $fname
-
-       fi
-    fi
-
-
-
-       # CALL OF combine_plot_fields IN ORDER TO MERGE SINGLE FILES WRITTEN
-       # BY EACH CORE INTO ONE FILE
-   if [[ ! -f ${PALM_BIN}/combine_plot_fields${block}.x ]]
-   then
-      printf "\n\n\n  +++ WARNING: no combine_plot_fields found for given block \"$cond1 $cond2\""
-      printf "\n      2d- and/or 3d-data may be incomplete!"
-      printf "\n      Run \"mbuild -u -h $localhost\" to generate utilities for this block.\n"
-   elif [[ "$combine_plot_fields" == true ]]
-   then
-      if [[ $localhost = lccrayh  ||  $localhost = lccrayb ]]
-      then
-         printf "\n\n\n *** post-processing: now executing \"aprun  -n 1  -N 1 combine_plot_fields${block}.x\" ..."
-         aprun  -n 1  -N 1 combine_plot_fields${block}.x
-      else
-         printf "\n\n\n *** post-processing: now executing \"combine_plot_fields${block}.x\" ..."
-         combine_plot_fields${block}.x
-      fi
-   else
-
-         # TEMPORARY SOLUTION TO SKIP combine_plot_fields. THIS IS REQUIRED IN CASE OF HUGE AMOUNT OF
-         # DATA OUTPUT. TO DO: EXTEND THIS BRANCH BY CREATING A BATCH JOB for combine_plot_fields.
-         # ??? koennen wir das streichen ???
-      printf "\n\n\n *** post-processing: skipping combine_plot_fields (-Z option set) ..."
-   fi
-
-
-
-       # EXECUTE OUTPUT-COMMANDS GIVEN IN THE CONFIGURATION FILE
-    (( i = 0 ))
-    while (( i < ioc ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n  *** execution of OUTPUT-commands:\n$dashes"
-       fi
-       printf "\n  >>> ${out_command[$i]}"
-       eval  ${out_command[$i]}
-       if (( i == ioc ))
-       then
-          printf "\n$dashes\n"
-       fi
-    done
-
-
-       # IN TRACE-MODE PRINT CONTENTS OF THE CURRENT (TEMPORARY) WORKING DIRECTORY
-    if [[ $do_trace = true ]]
-    then
-       printf "\n\n"
-       ls -al
-    fi
-    
-
-       # COPY LOCAL OUTPUT-FILES TO THEIR PERMANENT DESTINATIONS
-    (( i = 0 ))
-    while (( i < iout ))
-    do
-       (( i = i + 1 ))
-       if (( i == 1 ))
-       then
-          printf "\n\n  *** saving OUTPUT-files:"
-
-             # GET RUN NUMBER ASSIGNED BY PALM
-          if [[ -f RUN_NUMBER ]]
-          then
-              read  run_number  <  RUN_NUMBER
-              printf "\n  *** PALM generated run_number = "$run_number" will be used as unified cycle number for all output files"
-              usecycle_option="-U $run_number"
-          else
-              run_number=0
-              usecycle_option=""
-          fi
-          printf "\n$dashes"
-       fi
-
-          # ADD CYCLE NUMBER TO FILENAME
-       if [[ ! ( $fromhost != $localhost  &&  ( "${actionout[$i]}" = tr || "${actionout[$i]}" = tra || "${actionout[$i]}" = trpe ) ) ]]
-       then
-
-              # IN APPEND MODE, FILES KEEP THEIR CURRENT CYCLE NUMBER
-          if [[ "${actionout[$i]}" != "a" ]]
-          then
-                # SET RUN NUMBER AS CYCLE NUMBER, IF THERE IS NOT A CONFLICT
-                # WITH AN EXISTING CYCLE NUMBER
-             if (( run_number >= cycnum[$i] ))
-             then
-                (( cycnum[$i] = run_number ))
-             else
-                if (( run_number > 0 ))
-                then
-                   printf "\n  --- INFORMATIVE: The following file cannot get a unified cycle number"
-                fi
-             fi
-          fi
-          if (( cycnum[$i] > 0 ))
-          then
-             pathout[$i]=${pathout[$i]}.${cycnum[$i]}
-          fi
-       fi           
-
-          # CHECK FOR SINGLE FILE (SERIAL RUN) OR DIRECTORY (ONE FILE PER CORE FOR PARELLEL EXECUTION)
-       files_for_pes=false; filetyp=file
-       link_local_output=false
-       if [[ "${actionout[$i]}" = pe  &&  -n $numprocs ]]
-       then
-          files_for_pes=true; filetyp=directory
-          actionout[$i]=""
-       elif [[ "${actionout[$i]}" = pe  &&  ! -n $numprocs ]]
-       then
-          actionout[$i]=""
-       elif [[ "${actionout[$i]}" = lnpe  &&  -n $numprocs ]]
-       then
-          files_for_pes=true; filetyp=directory
-          link_local_output=true
-          actionout[$i]=""
-       elif [[ "${actionout[$i]}" = lnpe  &&  ! -n $numprocs ]]
-       then
-          link_local_output
-          actionout[$i]=""
-       elif [[ "${actionout[$i]}" = trpe  &&  -n $numprocs ]]
-       then
-          files_for_pes=true; filetyp=directory
-          actionout[$i]="tr"
-       elif [[ "${actionout[$i]}" = trpe  &&  ! -n $numprocs ]]
-       then
-          actionout[$i]="tr"
-       fi
-
-       if [[ ! -f ${localout[$i]}  &&  $files_for_pes = false ]]
-       then
-          printf "\n  +++ temporary OUTPUT-file  ${localout[$i]}  does not exist\n"
-       elif [[ ! -d ${localout[$i]}  &&  $files_for_pes = true ]]
-       then
-          printf "\n  +++ temporary OUTPUT-file  ${localout[$i]}/....  does not exist\n"
-       else
-
-
-             # COPY VIA SCP TO LOCAL HOST (ALWAYS IN BINARY MODE USING batch_scp option -m)
-             # IF TARGET DIRECTORY DOES NOT EXISTS, TRY TO CREATE IT
-          if [[ "${actionout[$i]}" = tr ]]
-          then
-             if [[ $localhost != $fromhost ]]
-             then
-                if [[ $files_for_pes = false ]]
-                then
-                   cps=""
-                   cst=""
-                else
-                   cps=-c
-                   cst="/"
-                fi
-
-                transfer_failed=false
-                printf "\n  >>> OUTPUT: ${localout[$i]}$cst  by SCP to"
-                printf "\n              ${pathout[$i]}/${localhost}_${fname}${endout[$i]}$cst\n"
-                if [[ $localhost = lccrayb ]]
-                then
-                   ssh $usern@blogin1 ". \\$HOME/.bashrc; cd $TEMPDIR; batch_scp $PORTOPT $cps -b -m $usecycle_option -u $return_username $return_address  ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"
-                elif [[ $localhost = lccrayh ]]
-                then
-                   ssh $usern@hlogin1 ". \\$HOME/.bashrc; cd $TEMPDIR; batch_scp $PORTOPT $cps -b -m $usecycle_option -u $return_username $return_address  ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"
-                elif [[ $localhost = lcbullhh ]]
-                then
-                   ssh $usern@mlogin101 ". \\$HOME/.bashrc; cd $TEMPDIR; batch_scp $PORTOPT $cps -b -m $usecycle_option -u $return_username $return_address  ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"
-                elif [[ $localhost = lcxe6 ]]
-                then
-                   ssh $usern@hexagon ". \\$HOME/.bashrc; cd $TEMPDIR; batch_scp $PORTOPT $cps -b -m $usecycle_option -u $return_username $return_address  ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"
-                else
-                   batch_scp $PORTOPT $cps -b -m $usecycle_option -u $return_username $return_address  ${localout[$i]} "${pathout[$i]}" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}
-                fi
-                [[ $? != 0 ]]  &&  transfer_failed=true
-
-                   # IF TRANSFER FAILED, CREATE BACKUP COPY ON THIS MACHINE
-                if [[ $transfer_failed = true ]]
-                then
-                   printf "  +++ transfer failed. Trying to save a copy on this host under:\n"
-                   printf "      ${pathout[$i]}/${localhost}_${fname}${endout[$i]}_$kennung\n"
-
-                      # FIRST CHECK, IF DIRECTORY EXISTS, AND CREATE IT, IF NECESSARY
-                   eval  local_catalog=${pathout[$i]}
-                   if [[ ! -d $local_catalog ]]
-                   then
-                      printf "  *** local directory does not exist. Trying to create:\n"
-                      printf "      $local_catalog \n"
-                      mkdir -p  $local_catalog
-                   fi
-                   eval  cp  ${localout[$i]}  ${pathout[$i]}/${localhost}_${fname}${endout[$i]}_$kennung
-                   transfer_problems=true
-                fi
-
-             else
-
-                   # UNSET actionout. DUE TO THIS SETTING, FILE WILL LATER JUST BE COPIED ON THIS MACHINE
-                actionout[$i]=""
-             fi
-          fi
-
-
-             # APPEND VIA SCP TO LOCAL HOST (ALWAYS IN BINARY MODE USING batch_scp option -m)
-             # IF TARGET DIRECTORY DOES NOT EXISTS, TRY TO CREATE IT
-          if [[ "${actionout[$i]}" = tra ]]
-          then
-             if [[ $localhost != $fromhost ]]
-             then
-                if [[ $localhost = ibmh ]]
-                then
-
-                      # TRANSFER IN SEPERATE JOB
-                      # FIRST COPY FILE TO TEMPORY DATA DIRECTORY
-                   [[ ! -d $tmp_data_catalog/TRANSFER ]]  &&  mkdir -p  $tmp_data_catalog/TRANSFER
-                   file_to_transfer=${fname}_${localout[$i]}_to_transfer_$kennung
-                   ln -f  ${localout[$i]}  $tmp_data_catalog/TRANSFER/$file_to_transfer
-
-                   echo "set -x"                                    >    transfer_${localout[$i]}
-                   echo "cd  $tmp_data_catalog/TRANSFER"            >>   transfer_${localout[$i]}
-
-                   printf "\n  >>> OUTPUT: ${localout[$i]}  append by SCP in seperate job to"
-                   printf "\n              ${pathout[$i]}/${localhost}_${fname}${endout[$i]}"
-                   printf "\n              or higher cycle\n"
-                   echo "batch_scp $PORTOPT -A -b -m -u $return_username $return_address  $file_to_transfer \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"  >>  transfer_${localout[$i]}
-
-                   echo "[[ \$? = 0 ]]  &&  rm  $file_to_transfer"  >>  transfer_${localout[$i]}
-
-                   if [[ $LOGNAME = b323013 ]]
-                   then
-                      subjob  -v  -q c1  -X 0  -m 1000  -t 900  -c $job_catalog  $PORTOPT  transfer_${localout[$i]}
-                   else
-                      subjob  -d  -v  -q c1  -X 0  -m 1000  -t 900  -c $job_catalog  $PORTOPT  transfer_${localout[$i]}
-                   fi
-
-                else
-
-                      # TRANSFER WITHIN THIS JOB
-                   transfer_failed=false
-                   printf "\n  >>> OUTPUT: ${localout[$i]}  append by SCP to"
-                   printf "\n              ${pathout[$i]}/${localhost}_${fname}${endout[$i]}\n"
-                   if [[ $localhost = lccrayb ]]
-                   then
-                      ssh $usern@blogin1 ". \\$HOME/.bashrc; cd $TEMPDIR; batch_scp $PORTOPT -A -b -m -u $return_username $return_address  ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"
-                   elif [[ $localhost = lccrayh ]]
-                   then
-                      ssh $usern@hlogin1 ". \\$HOME/.bashrc; cd $TEMPDIR; batch_scp $PORTOPT -A -b -m -u $return_username $return_address  ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"
-                   elif [[ $localhost = lcxe6 ]]
-                   then
-                      ssh $usern@hexagon ". \\$HOME/.bashrc; cd $TEMPDIR; batch_scp $PORTOPT -A -b -m -u $return_username $return_address  ${localout[$i]} \"${pathout[$i]}\" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}"
-                   else
-                      batch_scp $PORTOPT -A -b -m -u $return_username  $return_address ${localout[$i]} "${pathout[$i]}" ${localhost}_${fname}${endout[$i]}  ${extout[$i]}
-                   fi
-                   [[ $? != 0 ]]  &&  transfer_failed=true
-
-                      # IF TRANSFER FAILED, CREATE BACKUP COPY ON THIS MACHINE
-                   if [[ $transfer_failed = true ]]
-                   then
-                      printf "  +++ transfer failed. Trying to save a copy on this host under:\n"
-                      printf "      ${pathout[$i]}/${localhost}_${fname}${endout[$i]}_$kennung\n"
-
-                         # FIRST CHECK, IF DIRECTORY EXISTS, AND CREATE IT, IF NECESSARY
-                      eval  local_catalog=${pathout[$i]}
-                      if [[ ! -d $local_catalog ]]
-                      then
-                         printf "  *** local directory does not exist. Trying to create:\n"
-                         printf "      $local_catalog \n"
-                         mkdir -p  $local_catalog
-                      fi
-
-                      eval  cp  ${localout[$i]}  ${pathout[$i]}/${localhost}_${fname}${endout[$i]}_$kennung
-                      transfer_problems=true
-                   fi
-                fi
-             else
-
-                   # RESET actionout. DUE TO THIS SETTING, FILE WILL LATER JUST BE APPENDED ON THIS MACHINE
-                actionout[$i]=a
-             fi
-          fi
-
-
-             # APPEND ON THIS MACHINE
-          if [[ "${actionout[$i]}" = "a" ]]
-          then
-             if [[ "${extout[$i]}" != " "  &&  "${extout[$i]}" != "" ]]
-             then
-                printf "\n  >>> OUTPUT: ${localout[$i]}  append to  ${pathout[$i]}.${extout[$i]}\n"
-                cat  ${localout[$i]}  >>  ${pathout[$i]}.${extout[$i]}
-             else
-                printf "\n  >>> OUTPUT: ${localout[$i]}  append to  ${pathout[$i]}\n"
-                cat  ${localout[$i]}  >>  ${pathout[$i]}
-             fi
-          fi
-
-             # COPY ON THIS MACHINE
-             # COPY HAS TO BE USED, BECAUSE MOVE DOES NOT WORK IF FILE-ORIGIN AND TARGET ARE
-             # ON DIFFERENT FILE-SYSTEMS
-          if [[ "${actionout[$i]}" = ""  &&  $files_for_pes = false ]]
-          then
-
-                # COPY IN CASE OF RUNS ON SINGLE CORES
-             if [[ "${extout[$i]}" != " "  &&  "${extout[$i]}" != "" ]]
-             then
-                printf "\n  >>> OUTPUT: ${localout[$i]}  to  ${pathout[$i]}.${extout[$i]}\n"
-		              if [[ $link_local_output = true ]]
-		              then
-		                 printf "      file will be linked\n"
-		                 ln -f  ${localout[$i]}  ${pathout[$i]}.${extout[$i]}
-		              fi
-		                 # If "ln -f" fails of if "$link_local_output = false" do a normal "cp"
-		              if [[ ! -f "${pathout[$i]}.${extout[$i]}" ]]
-                then
-		                 if [[ $link_local_output = true ]]
-	                  then
-                      printf "  --- WARNING: ln failed, using cp instead (might be time consuming...)\n"
-		                 fi
-		                 cp  ${localout[$i]}  ${pathout[$i]}.${extout[$i]}
-		              else
-                   printf "+++ no copy because file ${pathout[$i]}.${extout[$i]} exists\n"
-                fi
-             else
-                printf "\n  >>> OUTPUT: ${localout[$i]}  to  ${pathout[$i]}\n"
-		              if [[ $link_local_output = true ]]
-		              then
-		                 printf "      file will be linked\n"
-		                 ln -f  ${localout[$i]}  ${pathout[$i]}
-		              fi
-		                 # If "ln -f" fails of if "$link_local_output = false" do a normal "cp"
-	              	if [[ ! -f "${pathout[$i]}" ]]
-                then
-		                 if [[ $link_local_output = true ]]
-	                  then
-                      printf "  --- WARNING: ln failed, using cp instead (might be time consuming...)\n"
-		                 fi
-		                 cp  ${localout[$i]}  ${pathout[$i]}
-		              else
-		                 printf "+++ no copy because file ${pathout[$i]} exists\n"
-                fi
-             fi
-
-          elif [[ "${actionout[$i]}" = ""  &&  $files_for_pes = true ]]
-          then
-
-                # FILES FROM THE DIFFERENT CORES ARE MOVED WITH ln-COMMAND TO THE PERMANENT DIRECTORY
-                # AS A FIRST STEP, THE PERMANENT DIRECTORY IS CREATED
-             printf "\n  >>> OUTPUT: ${localout[$i]}/_....  to  ${pathout[$i]}\n"
-	            if [[ $link_local_output = true ]]
-	            then
-		              printf "      files will be linked\n"
-		              mkdir  ${pathout[$i]}
-		              cd ${localout[$i]}
-		              for file in $(ls *)
-		              do
-		                 ln -f $file  ${pathout[$i]}
-		              done >|/dev/null 2>&1
-		              cd $TEMPDIR
-	            fi
-
-                # IF "ln -f" HAS FAILED OR IF "$link_local_output = false" DO A NORMAL COPY "cp -r"
-	            if [[ ! -f "${pathout[$i]}/_000000" ]]
-             then
-		              if [[ $link_local_output = true ]]
-		              then
-                   printf "  --- WARNING: ln failed, using cp instead (might be time consuming...)\n"
-		              fi
-		              cp -r  ${localout[$i]}/*  ${pathout[$i]}
-       	     fi
-
-          fi
-       fi
-    done
-    if (( i != 0 ))
-    then
-       if [[ $transfer_problems = true ]]
-       then
-          printf "\n$dashes\n  *** OUTPUT-files saved"
-          printf "\n  +++ WARNING: some data transfers failed! \n"
-       else
-          printf "\n$dashes\n  *** all OUTPUT-files saved \n"
-       fi
-    fi
-
-
-       # IF REQUIRED, START A RESTART-JOB
-       # FILE CONTINUE_RUN MUST HAVE BEEN CREATED BY THE EXECUTABLE (PALM)
-    if [[ -f CONTINUE_RUN ]]
-    then
-
-          # ADD RESTART-OPTIONS TO THE MRUN-CALL (IF THEY ARE NOT USED ALREADY):
-          # -C TELLS MRUN THAT IT IS A RESTART-RUN
-          # -v SILENT MODE WITHOUT INTERACTIVE QUERIES
-          # -n BATCH-MODE (IMPORTANT ONLY IN CASE OF BATCH JOBS ON THE LOCAL MACHINE)
-       [[ $(echo $mc | grep -c "\-C") = 0 ]]  &&  mc="$mc -C"
-       [[ $(echo $mc | grep -c "\-v") = 0 ]]  &&  mc="$mc -v"
-       [[ $(echo $mc | grep -c "\-b") = 0 ]]  &&  mc="$mc -b"
-       if [[ $(echo $mc | grep -c "#") != 0 ]]
-       then
-          mc=`echo $mc | sed 's/#/f/g'`
-       fi
-
-
-          # START THE RESTART-JOB
-       printf "\n\n  *** initiating restart-run on \"$return_address\" using command:\n"
-       echo "      $mc"
-       printf "\n$dashes\n"
-       if [[ $localhost != $fromhost ]]
-       then
-
-          if [[ $localhost = lcbullhh  ||  $localhost = lccrayb  ||  $localhost = lccrayh  ||  $localhost = ibmh  ||  $localhost = ibmkisti  ||  $localhost = ibmku  ||  $localhost = ibms  ||  $localhost = lceddy  ||  $localhost = lckyu*  ||  $localhost = lcxe6  ||  $localhost = lcgeohu ]]
-          then
-             echo "*** ssh will be used to initiate restart-runs!"
-             echo "    return_address=\"$return_address\" "
-             echo "    return_username=\"$return_username\" "
-             if [[ $(echo $return_address | grep -c "130.75.105") = 1 ]]
-             then
-                if [[ $localhost = ibmh ]]
-                then
-                   ssh $SSH_PORTOPT $usern@136.172.40.15 "ssh $SSH_PORTOPT $return_address -l $return_username \". \\\$HOME/.profile; module load intel-compiler hdf5 netcdf; PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                elif [[ $localhost = lcbullhh ]]
-                then
-                   ssh $SSH_PORTOPT $usern@mlogin101 "ssh $SSH_PORTOPT $return_address -l $return_username \". \\\$HOME/.profile; module load intel-compiler hdf5 netcdf; PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                elif [[ $localhost = lccrayb ]]
-                then
-                   ssh $usern@blogin1 "ssh $SSH_PORTOPT $return_address -l $return_username \". \\\$HOME/.profile; module load intel-compiler hdf5 netcdf; PATH=\\\$PATH:$LOCAL_MRUN_PATH; export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                elif [[ $localhost = lccrayh ]]
-                then
-                   ssh $usern@hlogin1 "ssh $SSH_PORTOPT $return_address -l $return_username \". \\\$HOME/.profile; module load intel-compiler hdf5 netcdf; PATH=\\\$PATH:$LOCAL_MRUN_PATH; export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                elif [[ $localhost = lcxe6 ]]
-                then
-                   ssh $usern@hexagon "ssh $SSH_PORTOPT $return_address -l $return_username \". \\\$HOME/.profile; module load intel-compiler hdf5 netcdf; PATH=\\\$PATH:$LOCAL_MRUN_PATH; export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                else
-                   ssh $SSH_PORTOPT $return_address -l $return_username ". \\\$HOME/.profile; module load intel-compiler hdf5 netcdf; PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc "
-                fi
-             else
-                if [[ $localhost = ibmkisti ]]
-                then
-                   ssh $SSH_PORTOPT $usern@gaiad "ssh $SSH_PORTOPT $return_address -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                elif [[ $localhost = lceddy ]]
-                then
-                   /usr/bin/ssh $SSH_PORTOPT $return_address -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc "
-                elif [[ $localhost = lcocean ]]
-                then
-                   /usr/bin/ssh $SSH_PORTOPT $return_address -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc "
-                elif [[ $localhost = lccrayb ]]
-                then
-                   ssh $usern@blogin1 "ssh $SSH_PORTOPT $return_address -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                elif [[ $localhost = lccrayh ]]
-                then
-                   ssh $usern@hlogin1 "ssh $SSH_PORTOPT $return_address -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                elif [[ $localhost = lccgeohu ]]
-                then
-                   ssh $usern@cirrus.geo.hu-berlin.de "ssh $SSH_PORTOPT $return_address -l $return_username \"PATH=\\\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc\" "
-                else
-                   ssh $SSH_PORTOPT $return_address -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc "
-                fi
-             fi
-          else
-             printf "\n  +++ no restart mechanism available for host \"$localhost\" "
-             locat=restart; exit
-          fi
-
-             # WAIT TO ALLOW THE RESTART-JOB TO BE QUEUED, BEFORE THE CURRENT JOB IS FINISHED
-          if [[ $queue = special1q ]]
-          then
-             sleep 120
-          else
-             sleep 30
-          fi
-
-       else
-
-             # JOBS RUNNING (AND STARTED) ON THE LOCAL MACHINE CAN DIRECTLY CALL MRUN (WITHOUT
-             # USING SSH)
-          cd $LOCAL_PWD
-          if [[ $localhost = lckyuh ]]
-          then
-             printf "\n  +++ WARNING: no restart mechanism available for host \"$localhost\" "
-             printf "\n               please restart job manually using command:\n"
-             printf "\n               \"$mc\" "
-          else
-             eval  $mc                # THE ' MUST BE EVALUATED
-          fi
-          cd -  > /dev/null
-       fi
-       if [[ $localhost = lckyuh ]]
-       then
-          printf "\n$dashes\n  *** restart-run to be initiated manually\n"
-       else
-          printf "\n$dashes\n  *** restart-run initiated \n"
-       fi
-
-
-          # DELETE INPUT-(RESTART)FILES, WHICH HAVE BEEN FETCHED FROM THE TEMPORARY DATA
-          # DIRECTORY, BACAUSE THEY ARE NOT REQUIRED BY THE RESTART-JOB.
-          # THIS IS DONE IN ORDER TO AVOID EXCEEDING DISC QUOTAS OR DISC SPACE (RESTART-FILES
-          # MAY BE VERY HUGE)
-       (( i = 0 ))
-       while (( i < iin ))
-       do
-          (( i = i + 1 ))
-          if [[ "${got_tmp[$i]}" = true   &&  $keep_data_from_previous_run = false ]]
-          then
-             rm -r  ${absnamein[$i]}
-          fi
-       done
-
-    fi
-
-
-    
-       # SEND EMAIL NOTIFICATION ABOUT THE FINISHED RUN
-    if [[ "$email_notification" != "none" ]]
-    then
-
-       if [[ $localhost != $fromhost ]]
-       then
-          if [[ -f CONTINUE_RUN ]]
-          then
-             echo "PALM restart run necessary"        >   email_text
-             echo "description header of actual run:" >>  email_text
-             cat  CONTINUE_RUN                        >>  email_text
-             echo "mrun-command to restart:"          >>  email_text
-             echo "$mc"                               >>  email_text
-          else
-             echo "PALM run with base filename \"$fname\" on host \"$localhost\" finished"  >  email_text
-          fi
-          mail  $email_notification  <  email_text
-          printf "\n  *** email notification sent to \"$email_notification\" "
-       fi
-    fi
-
-
-
-       # ALL ACTIONS FINISHED, TEMPORARY WORKING-DIRECTORY CAN BE DELETED
-    cd  $HOME
-    [[ $delete_temporary_catalog = true ]]  &&  rm -rf $TEMPDIR
-
- else
-
-       # PREPARING ACTIONS,
-       # IF A BATCH-JOB IS TO BE GENERATED AND STARTED ON A REMOTE-MACHINE GERECHNET
-
-       # BUILD THE MRUN-COMMAND TO BE CALLED IN THE BATCH-JOB ON THE REMOTE-MACHINE
-    mrun_com="$mrun_script_name -a $afname -c $config_file -d $fname -h $host -H $fromhost -m $memory -t $cpumax -q $queue -R $return_address -U $return_username -u $remote_username"
-    [[ "$global_revision" != "" ]]  &&  mrun_com=${mrun_com}" -G \"$global_revision\""
-    [[ $group_number != none ]]   &&  mrun_com=${mrun_com}" -g $group_number"
-    [[ $do_compile = true ]]      &&  mrun_com=${mrun_com}" -s \"$source_list\""
-    [[ "$input_list" != "" ]]     &&  mrun_com=${mrun_com}" -i \"$input_list\""
-    [[ $keep_data_from_previous_run = true ]]  &&  mrun_com=${mrun_com}" -k"
-    [[ "$additional_conditions" != "" ]]  &&  mrun_com=${mrun_com}" -K \"$additional_conditions\""
-    [[ "$output_list" != "" ]]    &&  mrun_com=${mrun_com}" -o \"$output_list\""
-    [[ "$read_from_config" = false ]]  &&  mrun_com=${mrun_com}" -S"
-    [[ $do_trace = true ]]        &&  mrun_com=${mrun_com}" -x"
-    [[ "$numprocs" != "" ]]       &&  mrun_com=${mrun_com}" -X $numprocs"
-    if [[ $use_openmp = true ]]
-    then
-       mrun_com=${mrun_com}" -O $threads_per_task"
-    fi
-    [[ "$tasks_per_node" != "" ]]  &&  mrun_com=${mrun_com}" -T $tasks_per_node"
-    [[ $package_list != "" ]]     &&  mrun_com=${mrun_com}" -p \"$package_list\""
-    [[ $return_password != "" ]]  &&  mrun_com=${mrun_com}" -P $return_password"
-    [[ $delete_temporary_catalog = false ]]  &&  mrun_com=${mrun_com}" -B"
-    [[ $node_usage != default  &&  "$(echo $node_usage | cut -c1-3)" != "sla"  &&  $node_usage != novice ]]  &&  mrun_com=${mrun_com}" -n $node_usage"
-    [[ "$ocean_file_appendix" = true ]]  &&  mrun_com=${mrun_com}" -y"
-    [[ $run_coupled_model = true ]]  &&  mrun_com=${mrun_com}" -Y \"$coupled_dist\""
-    [[ $run_vnested_model  = true ]]  &&  mrun_com=${mrun_com}" -N \"$vnested_dist\""
-    [[ "$check_namelist_files" = false ]]  &&  mrun_com=${mrun_com}" -z"
-    [[ "$combine_plot_fields" = false ]]  &&  mrun_com=${mrun_com}" -Z"
-    [[ "$max_par_io_str" != "" ]]  &&  mrun_com=${mrun_com}" -w $max_par_io_str"
-    if [[ $do_remote = true ]]
-    then
-       printf "\n>>>> MRUN-command on execution host:\n>>>> $mrun_com \n"
-    fi
-
-
-       # CREATE EXECUTABLE FOR BATCH JOB
-    if [[ $create_executable_for_batch = true  &&  $restart_run != true ]]
-    then
-
-       printf "\n  *** creating the executable for batch job\n"
-
-          # METHOD ONLY WORKS FOR BATCH JOBS ON LOCAL HOSTS
-       if [[ $host != $localhost ]]
-       then
-          printf "\n  +++ creation of executables is only allowed for batch jobs on local hosts."
-          printf "\n      Please set create_executable_for_batch = false in the config-file.\n"
-          locat=create_executable; exit
-       fi
-
-       mkdir  $working_directory/SOURCES_FOR_RUN_${fname}/TMPDIR_FOR_CREATING_EXECUTABLE
-       cd  $working_directory/SOURCES_FOR_RUN_${fname}/TMPDIR_FOR_CREATING_EXECUTABLE
-
-       cp  $make_depository  .
-       tar -xf  $make_depository  >  /dev/null  2>&1
-       cp  ../*  .   >  /dev/null  2>&1
-
-       make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
-
-       if [[ $? != 0  ||  "$compile_error" = true  ||  "$module_compile_error" = true ]]
-       then
-          printf "\n  +++ error occured while compiling or linking"
-          locat=compile
-          exit
-       fi
-
-       mv  a.out  ..
-       cd -  >  /dev/null  2>&1
-       rm -rf  $working_directory/SOURCES_FOR_RUN_${fname}/TMPDIR_FOR_CREATING_EXECUTABLE
-
-       printf "  *** executable created in \"$working_directory/SOURCES_FOR_RUN_${fname}\"\n "
-
-    fi
-
-
-       # BUILD THE JOB-SCRIPTS ON FILE jobfile
-    jobfile=jobfile.$RANDOM
-
-
-       # CREATE TEMPORARY DIRECTORY AND SWITCH TO IT
-    echo  "mkdir  $TEMPDIR"      >>  $jobfile
-    echo  "cd  $TEMPDIR"         >>  $jobfile
-
-
-       # ACTIVATE ERROR-TRACEBACK
-    if [[ $do_trace = true ]]
-    then
-       echo  "set -x"                                    >>  $jobfile
-    else
-       echo  "set +vx"                                   >>  $jobfile
-    fi
-
-
-       # INITIALIZE THE ENVIRONMENT AND LOAD MODULES
-    if [[ "$init_cmds" != "" ]]
-    then
-       echo  "$init_cmds"        >>  $jobfile
-    fi
-    if [[ "$module_calls" != "" ]]
-    then
-       echo  "$module_calls"     >>  $jobfile
-    fi
-
-
-       # PROVIDE SOURCE-CODE FILES, MRUN-SCRIPT AND CONFIGURATION-FILE FOR THE JOB
-       # then-CLAUSE: FILES ARE COLLECTED IN THE SOURCES_FOR_RUN_... DIRECTORY ON THE LOCAL HOST,
-       #              WHICH IS THEN FETCHED FROM THE BATCH-JOB BY USING cp/scp
-       #              THE SOURCE-CODE FILES ALREADY EXIST IN THIS DIRECTORY
-       # else-CLAUSE: FILE-CONTENTS ARE PUT INTO THE JOB-FILE AS HERE-DOCUMENTS
-       #              THIS MAY CREATE A QUITE LARGE JOB-FILE, WHICH CAN CAUSE PROBLEMS WITH SOME
-       #              QUEUEING-SYSTEMS
-    if [[ $host = ibmkisti  ||  $host = lcbullhh  ||  $host = lccrayb  ||  $host = lccrayf  ||  $host = lccrayh  ||  $host = lcocean  ||  $host = lcgeohu ]]
-    then
-
-          # COPY CONFIGURATION-FILE AND MRUN-SCRIPT INTO THE SOURCES_FOR_RUN... DIRECTORY
-       if [[ $restart_run != true ]]
-       then
-          cp  $config_file  $working_directory/SOURCES_FOR_RUN_$fname
-          cp  ${PALM_BIN}/$mrun_script_name  $working_directory/SOURCES_FOR_RUN_$fname
-       fi
-
-          # COPY THE SOURCES_FOR_RUN... DIRECTORY FROM THE LOCAL HOST TO THE JOB VIA scp
-          # (then-CLAUSE: JOBS ON THE LOCAL HOST CAN JUST USE cp)
-       echo  "set -x"  >>  $jobfile
-       if [[ $host = $localhost ]]
-       then
-             # DUE TO UNKNOWN REASONS, COPY WITH cp COMMAND CREATES CORRUPT
-             # FILES ON CRAY XC30 SYSTEMS (CSC HELSINKI), rsync IS USED INSTEAD
-          if [[ $(echo $host | cut -c1-6) = lccray ]]
-          then
-             echo  "rsync -av -t  $working_directory/SOURCES_FOR_RUN_$fname  ."  >>  $jobfile
-          else
-             echo  "cp -r  $working_directory/SOURCES_FOR_RUN_$fname  ."  >>  $jobfile
-          fi
-
-       else
-          if [[ $host = ibmkisti ]]
-          then
-                # ON KISTI'S IBM FIREWALL IS ONLY OPENED ON INTERACTIVE NODE
-             echo  "localdir=\`pwd\`"                            >>  $jobfile
-             echo  "ssh $SSH_PORTOPT $remote_username@gaiad \"cd \$localdir; scp $PORTOPT -r  $return_username@$return_address:$working_directory/SOURCES_FOR_RUN_$fname .\" "  >>  $jobfile
-         elif [[ $host = lcbullhh ]]
-          then
-             echo  "localdir=\`pwd\`"                            >>  $jobfile
-             echo  "ssh $SSH_PORTOPT $remote_username@mlogin101 \"cd \$localdir; scp $PORTOPT -r  $return_username@$return_address:$working_directory/SOURCES_FOR_RUN_$fname .\" "  >>  $jobfile
-
-          elif [[ $host = lccrayb ]]
-          then
-             echo  "localdir=\`pwd\`"                            >>  $jobfile
-             echo  "ssh $SSH_PORTOPT $remote_username@blogin1 \"cd \$localdir; scp $PORTOPT -r  $return_username@$return_address:$working_directory/SOURCES_FOR_RUN_$fname .\" "  >>  $jobfile
-          elif [[ $host = lccrayh ]]
-          then
-             echo  "localdir=\`pwd\`"                            >>  $jobfile
-             echo  "ssh $SSH_PORTOPT $remote_username@hlogin1 \"cd \$localdir; scp $PORTOPT -r  $return_username@$return_address:$working_directory/SOURCES_FOR_RUN_$fname .\" "  >>  $jobfile
-
-          else
-             echo  "scp $PORTOPT -r $return_username@$return_address:$working_directory/SOURCES_FOR_RUN_$fname ."  >>  $jobfile
-          fi
-       fi
-       echo  "export SOURCES_COMPLETE=true"                      >>  $jobfile
-
-          # MOVE MRUN-SCRIPT AND CONFIGURATION-FILE FROM THE SOURCES_FOR_RUN... DIRECTORY TO THE
-          # WORKING DIRECTORY OF THE JOB
-       echo  "mv  SOURCES_FOR_RUN_$fname/$config_file  . "       >>  $jobfile
-       echo  "mv  SOURCES_FOR_RUN_$fname/$mrun_script_name  . "  >>  $jobfile
-       echo  "chmod u+rwx  $mrun_script_name"                    >>  $jobfile
-       echo  "execute_mrun=true"                                 >>  $jobfile
-       echo  " "                                                 >>  $jobfile
-
-    else
-
-          # PROVIDE SOURCE-CODE FILES AND MAKEFILE AS HERE DOCUMENT
-       if [[ $do_compile = true ]]
-       then
-
-          source_catalog=SOURCES_FOR_RUN_$fname
-
-              # CREATE SOURCES_FOR_RUN... DIRECTORY TO STORE THE SOURCE CODE FILES AND THE MAKEFILE
-          echo  "mkdir  SOURCES_FOR_RUN_$fname"                >>  $jobfile
-          echo  "export SOURCES_COMPLETE=true"                 >>  $jobfile
-          echo  "cd     SOURCES_FOR_RUN_$fname"                >>  $jobfile
-
-          for  filename  in  $source_list
-          do
-                # BACKSLASH IS USED FOR MASKING
-             echo  "cat > $filename << \"%END%\""              >>  $jobfile
-             cat   $source_catalog/$filename                   >>  $jobfile
-             echo  " "                                         >>  $jobfile
-             echo  "%END%"                                     >>  $jobfile
-             echo  " "                                         >>  $jobfile
-          done
-
-             # BACKSLASH IS USED FOR MASKING
-          echo  "cat > Makefile << \"%END%\""               >>  $jobfile
-          cat   $source_catalog/Makefile                    >>  $jobfile
-          echo  " "                                         >>  $jobfile
-          echo  "%END%"                                     >>  $jobfile
-          echo  " "                                         >>  $jobfile
-
-          echo  "cd -  > /dev/null"                         >>  $jobfile
-
-       fi
-
-
-          # PROVIDE THE CONFIGURATION-FILE AS HERE-DOCUMENT
-          # BACKSLASH IS USED FOR MASKING
-          # LINES WITH #$ IN THE CONFIGURATION-FILE, COMING FROM THE SVN KEYWORD SUBSTITUTION,
-          # ARE REMOVED FROM THE FILE IN ORDER TO AVOID PROBLEMS WITH THE SGE BATCH SYSTEM
-       echo  "cat > $config_file << \"%END%\""      >>  $jobfile
-       if [[ $host = lckyuh ]]
-       then
-             # NO CROSS-COMPILER ON COMPUTE NODE
-          sed  's/frtpx/frt/g'  $config_file        >>  $jobfile
-       else
-          sed 's/#$.*//g'   $config_file            >>  $jobfile
-       fi
-       echo  "%END%"                                >>  $jobfile
-       echo  " "                                    >>  $jobfile
-
-
-          # PROVIDE THE MRUN-SCRIPTS AS HERE-DOCUMENT
-          # BACKSLASH IS USED FOR MASKING
-       echo  "cat > $mrun_script_name <<\"%END%\""  >>  $jobfile
-       if [[ $host = lckyuh ]]
-       then
-          sed 's/\/bin\/ksh/\/bin\/bash/g' ${PALM_BIN}/$mrun_script_name  >>  $jobfile
-       else
-          cat  ${PALM_BIN}/$mrun_script_name        >>  $jobfile
-       fi
-       echo  "%END%"                                >>  $jobfile
-       echo  "chmod u+x $mrun_script_name"          >>  $jobfile
-       echo  "execute_mrun=true"                    >>  $jobfile
-       echo  " "                                    >>  $jobfile
-
-    fi
-
-
-       # GET REQUIRED INPUT-FILES BY SCP OR BY SENDING THEM WITH THE JOB AS HERE-DOCUMENT
-       # PUT THESE FILES INTO THE USER'S RESPECTIVE PERMANENT DIRECTORIES ON THE REMOTE-HOST
-       # IF THE DIRECTORIES DO NOT EXIST, TRY TO CREATE THEM
-    if [[ $do_remote = true ]]
-    then
-       (( i = 0 ))
-       while (( i < iin ))
-       do
-          (( i = i + 1 ))
-          echo  "[[ ! -d ${pathin[$i]} ]]  &&  mkdir -p  ${pathin[$i]}"  >>  $jobfile
-          if [[ "${transin[$i]}" = job ]]
-          then
-             echo  "cat > ${remotepathin[$i]} <<\"%END%\""    >>  $jobfile
-             eval cat   ${pathin[$i]}/${frelin[$i]}           >>  $jobfile
-             echo  " "                                        >>  $jobfile
-             echo  "%END%"                                    >>  $jobfile
-          else
-             echo  "batch_scp $PORTOPT -b -o -g -s -u $return_username $return_address ${remotepathin[$i]} \"${pathin[$i]}\" ${frelin[$i]}" >>  $jobfile
-          fi
-
-             # CHECK, IF FILE COULD BE CREATED
-          echo  "if [[ \$? = 1 ]]"                    >>  $jobfile
-          echo  "then"                                >>  $jobfile
-          echo  "   echo \" \" "                      >>  $jobfile
-          echo  "   echo \"+++ file ${remotepathin[$i]} could not be created\" "   >>  $jobfile
-          echo  "   echo \"    please check, if directory exists on $host!\" "  >>  $jobfile
-          echo  "   echo \"+++ MRUN will not be continued\" "  >>  $jobfile
-          echo  "   execute_mrun=false"               >>  $jobfile
-          echo  "fi"                                  >>  $jobfile
-       done
-    fi
-
-       # PROVIDE NAME OF THE CURRENT WORKING-DIRECTORY ON THE LOCAL MACHINE (FROM WHERE THE JOB IS
-       # STARTED) BY SETTING AN ENVIRONMENT-VARIABLE. THIS INFORMATION IS USED IN THE JOB BY MRUN
-       # IN CASE THAT RESTART-RUNS HAVE TO BE GENERATED
-    echo  "LOCAL_PWD=$working_directory"                >>  $jobfile
-    echo  "export LOCAL_PWD"                            >>  $jobfile
-
-       # PROVIDE THE PATH OF THE LOCAL MRUN-SCRIPT FOR THE SAME REASON 
-    echo  "LOCAL_MRUN_PATH=$PALM_BIN"                   >>  $jobfile
-    echo  "export LOCAL_MRUN_PATH"                      >>  $jobfile
-
-       # lceddy ALSO REQUIRES TO PROVIDE PATH FOR THE PALM-SCRIPTS
-    if [[ $host = lceddy  ||  $localhost = lceddy ]]
-    then
-       echo  "export PALM_BIN=$PALM_BIN" | sed -e 's:'$HOME':$HOME:'   >>  $jobfile
-       echo  "export PATH=\$PATH:\$PALM_BIN"              >>  $jobfile
-    fi
-
-       # CALL MRUN WITHIN THE JOB (SETTING QUEUE IS A WORKAROUND FOR ibmkisti)
-       # AS FINAL ACTION, REMOVE THE TEMPORARY DIRECTORY CREATED AT THE BEGINNING OF THE JOB
-    echo  "set -x"                                        >>  $jobfile
-    echo  "queue=$queue"                                  >>  $jobfile
-    echo  "[[ \$execute_mrun = true ]]  &&  ./$mrun_com"  >>  $jobfile
-    echo  'ls -al; echo `pwd`'                            >>  $jobfile
-    echo  "cd \$HOME"                                     >>  $jobfile
-    echo  "rm -rf  $TEMPDIR"                              >>  $jobfile
-
-
-
-
-       # START THE JOB USING SUBJOB-COMMAND
-    if [[ $silent = false ]]
-    then
-       printf "\n     "
-    else
-       printf "\n\n"
-    fi
-
-    subjob  $job_on_file  -h $host  -u $remote_username -g $group_number -q $queue  -m $memory  -N $node_usage -t $cpumax  $XOPT  $TOPT  $OOPT  -n $fname  -v  -c $job_catalog  -e $email_notification  $PORTOPT  $jobfile
-    rm -rf  $jobfile
-
-
- fi  # END OF REMOTE-PART
Index: palm/trunk/SCRIPTS/palm_gf
===================================================================
--- palm/trunk/SCRIPTS/palm_gf	(revision 2693)
+++ palm/trunk/SCRIPTS/palm_gf	(revision 2696)
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
Index: palm/trunk/SCRIPTS/palm_jm
===================================================================
--- palm/trunk/SCRIPTS/palm_jm	(revision 2693)
+++ palm/trunk/SCRIPTS/palm_jm	(revision 2696)
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2016  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 ##--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palm_simple_install
===================================================================
--- palm/trunk/SCRIPTS/palm_simple_install	(revision 2693)
+++ palm/trunk/SCRIPTS/palm_simple_install	(revision 2696)
@@ -1,5 +1,5 @@
 #!/bin/bash
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -14,5 +14,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palm_simple_run
===================================================================
--- palm/trunk/SCRIPTS/palm_simple_run	(revision 2693)
+++ palm/trunk/SCRIPTS/palm_simple_run	(revision 2696)
@@ -1,5 +1,5 @@
 #!/bin/bash
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -14,5 +14,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palm_wd
===================================================================
--- palm/trunk/SCRIPTS/palm_wd	(revision 2693)
+++ palm/trunk/SCRIPTS/palm_wd	(revision 2696)
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2015  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palm_wdd
===================================================================
--- palm/trunk/SCRIPTS/palm_wdd	(revision 2693)
+++ palm/trunk/SCRIPTS/palm_wdd	(revision 2696)
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2015  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palmbuild
===================================================================
--- palm/trunk/SCRIPTS/palmbuild	(revision 2693)
+++ palm/trunk/SCRIPTS/palmbuild	(revision 2696)
@@ -4,5 +4,5 @@
 
 #------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -17,5 +17,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 2017  Leibniz Universitaet Hannover
+# Copyright 2017-2017  Leibniz Universitaet Hannover
 #------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palmplot
===================================================================
--- palm/trunk/SCRIPTS/palmplot	(revision 2693)
+++ palm/trunk/SCRIPTS/palmplot	(revision 2696)
@@ -1,5 +1,5 @@
 #!/bin/ksh
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -14,5 +14,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palmrun
===================================================================
--- palm/trunk/SCRIPTS/palmrun	(revision 2693)
+++ palm/trunk/SCRIPTS/palmrun	(revision 2696)
@@ -4,5 +4,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -17,5 +17,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 2017  Leibniz Universitaet Hannover
+# Copyright 2017-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palmrungui
===================================================================
--- palm/trunk/SCRIPTS/palmrungui	(revision 2693)
+++ palm/trunk/SCRIPTS/palmrungui	(revision 2696)
@@ -2,5 +2,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/palmrungui.py
===================================================================
--- palm/trunk/SCRIPTS/palmrungui.py	(revision 2693)
+++ palm/trunk/SCRIPTS/palmrungui.py	(revision 2696)
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
Index: palm/trunk/SCRIPTS/palmtest
===================================================================
--- palm/trunk/SCRIPTS/palmtest	(revision 2693)
+++ palm/trunk/SCRIPTS/palmtest	(revision 2696)
@@ -2,5 +2,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -15,5 +15,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2017  Leibniz Universitaet Hannover
+# Copyright 2017-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/process_dvr_output
===================================================================
--- palm/trunk/SCRIPTS/process_dvr_output	(revision 2693)
+++ palm/trunk/SCRIPTS/process_dvr_output	(revision 2696)
@@ -1,5 +1,5 @@
 #!/bin/ksh
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -14,5 +14,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/release_tutorial
===================================================================
--- palm/trunk/SCRIPTS/release_tutorial	(revision 2693)
+++ palm/trunk/SCRIPTS/release_tutorial	(revision 2696)
@@ -1,5 +1,5 @@
 #!/bin/bash
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
@@ -14,5 +14,5 @@
 # PALM. If not, see <http://www.gnu.org/licenses/>.
 #
-# Copyright 1997-2014  Leibniz Universitaet Hannover
+# Copyright 1997-2017  Leibniz Universitaet Hannover
 #--------------------------------------------------------------------------------#
 #
Index: palm/trunk/SCRIPTS/subjob
===================================================================
--- palm/trunk/SCRIPTS/subjob	(revision 2693)
+++ 	(revision )
@@ -1,1771 +1,0 @@
-#!/bin/bash
-
-# subjob - script for automatic generation and submission of batch-job files
-#          for various batch queuing systems
-
-#--------------------------------------------------------------------------------#
-# This file is part of PALM.
-#
-# PALM is free software: you can redistribute it and/or modify it under the terms
-# of the GNU General Public License as published by the Free Software Foundation,
-# either version 3 of the License, or (at your option) any later version.
-#
-# PALM is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# PALM. If not, see <http://www.gnu.org/licenses/>.
-#
-# Copyright 1997-2014  Leibniz Universitaet Hannover
-#--------------------------------------------------------------------------------#
-#
-# Current revisions:
-# ------------------
-# 
-# 
-# Former revisions:
-# -----------------
-# $Id$
-# Added lckea & lckeam. KIT/IMK-IFU Garmisch cluster. LRZ (SadiqHuq)
-# 
-# 2295 2017-06-27 14:25:52Z raasch
-# adjustments for using lcgeohu (cirrus @ HUB)
-# 
-# 2266 2017-06-09 09:27:21Z raasch
-# nech related parts removed
-# 
-# 2257 2017-06-07 14:07:05Z witha
-# adjustments for lceddy, removed lcflow-specific code
-# 
-# 2188 2017-03-21 06:42:42Z raasch
-#
-# 2187 2017-03-21 06:41:25Z raasch
-# adjustment of compute node names for lckyuh
-#
-# 2184 2017-03-21 04:31:22Z raasch
-# bugfix: localhost renamed local_host
-#
-# 2148 2017-02-09 16:56:42Z scharf
-# added kuma and gharbi to the list of known hosts
-# 
-# 2134 2017-02-02 07:33:46Z raasch
-# option -E added to msub commands on HLRN-III machines to allow output of more
-# job informations in the job protocol files
-#
-# 1944 2016-06-15 06:29:00Z raasch
-# adjustments for using HLRN ssh-keys
-#
-# 1940 2016-06-14 05:15:20Z raasch
-# adjustments for lckiaps
-#
-# 1866 2016-04-15 06:50:59Z raasch
-# adjusted for lcocean
-#
-# 1841 2016-04-07 19:14:06Z raasch
-# script now running under bash
-# 
-# 1701 2015-11-02 07:43:04Z maronga
-# Bugfix: added missing init_cmds for lccrayh/lccrayb
-# 
-# 1621 2015-07-17 11:39:33Z heinze
-# adjustments for Mistral at DKRZ Hamburg (lcbullhh)
-#
-# 1575 2015-03-27 09:56:27Z raasch
-# mpp2-queues added to lccrayh
-#
-# 1547 2015-01-29 15:09:12Z witha
-# adjustments for ForWind computing cluster (lcflow)
-# 
-# 1545 2015-01-29 06:52:23Z heinze
-# local host name for blizzard further specified
-#
-# 1480 2014-10-17 14:41:49Z raasch
-# adjustments for 2nd stage of HLRNIII
-#
-# 1468 2014-09-24 14:06:57Z maronga
-# Typo removed (addres->address)
-# Adjustments for lcxe6
-# 
-# 1452 2014-08-22 09:41:06Z heinze
-# local hosts for blizzard added
-# 
-# 1450 2014-08-21 07:31:51Z heinze
-# HLRN-III (lccrayb): testq queue adjusted to mpp1testq
-# 
-# 1442 2014-07-28 07:09:10Z raasch
-# HLRN-III (lccrayb/lccrayh) queues adjusted
-#
-# 1378 2014-04-28 06:04:58Z raasch
-# -et option added for lctit
-#
-# 1350 2014-04-04 13:01:30Z maronga
-# location of qsub updated for lcxe6
-#
-# 1289 2014-03-04 07:12:34Z raasch
-# German comments translated to English
-# fimm-, necriam-, scirocco-, ibmy-, and sgi-specific code removed
-#
-# 1279 2014-01-28 12:10:14Z raasch
-# node calculation modified due to changes in mrun (tasks_per_node must not be
-# an integral divisor of numprocs any more)
-#
-# 1274 2014-01-09 13:14:54Z heinze
-# adjustments for lccrayh
-#
-# 1266 2013-12-11 12:07:34Z heinze
-# further adjustments for lccrayb (use msub instead of qsub)
-#
-# 1264 2013-12-09 12:46:09Z fricke
-# Bugfix: Using number of nodes instead of number of processors (lccrayb)
-#
-# 1262 2013-12-09 10:57:20Z fricke
-# further adjustments for lccrayb
-#
-# 1260 2013-12-04 12:48:04Z raasch
-# jaboticaba admitted
-#
-# 1255 2013-11-07 14:43:35Z raasch
-# further adjustments for lccrayb
-#
-# 1224 2013-09-16 07:27:23Z raasch
-# first adjustments for lccrayb
-#
-# 1202 2013-07-10 16:22:07Z witha
-# adjustments for Forwind cluster (lcflow)
-#
-# 1199 2013-07-05 14:52:22Z raasch
-# adjustments for CSC Helsinki (lccrayf)
-#
-# use of cluster/express queue enabled (ibmh)
-# vinessa added (imuk)
-#
-# 1103 2013-02-20 02:15:53Z raasch
-# bash compatibility adjustments (usage of OPTIND, output formatting with printf
-# instead typeset -L/R),
-# further adjustments for lckyuh
-#
-# 2013-02-10 01:47:43Z raasch
-# adjustments for Kyushu-Univeristy computing center (lckyuh - hayaka)
-# and for Forwind cluster (lcflow)
-#
-# 1094 2013-02-03 01:52:12Z raasch
-# new option -P for explicit setting of ssh/scp port,
-# decalpha parts (yonsei) removed
-#
-# 2013-02-02 07:06:13Z raasch
-# adjustments for Kyushu-University computing center (lckyut - tatara)
-# old changelog messages removed
-#
-# 1046 2012-11-09 14:38:45Z maronga
-# code put under GPL (PALM 3.9)
-#
-# 08/07/94 - Siggi - first version finished
-# 29/06/94 - Siggi - script development started
-#--------------------------------------------------------------------------------#
-# subjob - script for automatic generation and submission of batch-job files
-#          for various batch queuing systems
-#--------------------------------------------------------------------------------#
-
-
-    # VARIABLE-DECLARATIONS AND DEFAULT VALUES
- delete_dayfile=false
- email_notification=none
- group_number=none
- locat=normal
- no_default_queue=none
- no_submit=false
- job_catalog="~/job_queue"
- job_name=none
- local_user=$LOGNAME
- node_usage=shared
- numprocs=0
- punkte="..........................................................."
- submcom=qsub
- queue=default
- remote_host=none
- remote_user=""
- verify=true
-
- typeset  -i   cputime=0  memory=0  Memory=0  minuten  resttime  sekunden  stunden
- typeset  -i   numprocs  mpi_tasks=0  nodes=0  processes_per_node=0 tasks_per_node=0  threads_per_task=1
-
-
-
-    # ERROR HANDLING
-    # IN CASE OF EXIT:
- trap 'if [[ $locat != normal ]]
-       then
-          case  $locat  in
-             (option)  printf "\n  --> available optios can be displayed"
-                       printf " by typing:"
-                       printf "\n      \"subjob ?\" \n";;
-             (ftpcopy|parameter|scp|verify)  printf "\n";;
-             (*)       printf "\n  +++ unknown error"
-                       printf "\n      please inform S. Raasch!\n"
-          esac
-          [[ -f $job_to_send ]]  &&  rm  $job_to_send
-          printf "\n\n+++ SUBJOB killed \n\n"
-       fi' exit
-
-
-    # IN CASE OF TERMINAL-BREAK:
- trap '[[ -f $job_to_send ]]  &&  rm  $job_to_send
-       printf "\n\n+++ SUBJOB killed \n\n"
-       exit
-      ' 2
-
-
-    # DETERMINE NAME OF LOCAL HOST
- local_host=$(hostname)
-
-    # SET HOST-SPECIFIC VARIABLES VEREINBAREN (CHECK, IF LOCAL HOST
-    # IS ADMITTED AT ALL)
-    # NOTE: ONE OF THE ENTRIES FOR "lck" OR "lckordi" ALWAYS HAS TO BE
-    # COMMENT OUT, BECAUSE THE HOSTNAME (node*) IS SAME FOR BOTH MACHINES
- case  $local_host  in
-     (ambiel-lx)             local_address=134.106.74.48;  local_host=lcfor;;
-     (atmos)                 local_address=172.20.25.35;   local_host=lcide;;
-     (austru)                local_address=130.75.105.128; local_host=lcmuk;;
-     (autan)                 local_address=130.75.105.57;  local_host=lcmuk;;
-     (bora)                  local_address=130.75.105.103; local_host=lcmuk;;
-     (a0*|b0*)               local_address=133.5.4.33;     local_host=lckyuh;;
-     (blizzard1|p0*|p1*|p2*|p3*|p4*|p5*|p6*|p7*|p8*|p9*)   local_address=136.172.40.15;  local_host=ibmh;;
-     (blizzard2|p0*|p1*|p2*|p3*|p4*|p5*|p6*|p7*|p8*|p9*)   local_address=136.172.40.16;  local_host=ibmh;;
-     (blogin*|bxc*)          local_address=130.73.233.1;   local_host=lccrayb;;
-     (hlogin*|hxc*)          local_address=130.75.4.1;     local_host=lccrayh;;
-     (breva)                 local_address=130.75.105.98;  local_host=lcmuk;;
-     (buran)                 local_address=130.75.105.58;  local_host=lcmuk;;
-     (caurus)                local_address=130.75.105.19;  local_host=lcmuk;;
-     (climate*)              local_address=165.132.26.68;  local_host=lcyon;;
-     (clogin*)               local_address=86.50.166.21;   local_host=lccrayf;;
-     (elephanta)             local_address=130.75.105.6;   local_host=lcmuk;;
-     (hpcl*)		     local_address=eddy.hpc.uni-oldenburg.de; local_host=lceddy;;
-     (cfd*)		     local_address=eddy.hpc.uni-oldenburg.de; local_host=lceddy;;
-     (node*)                 local_address=165.132.26.61   local_host=lck;;
-   #  (node*)                 local_address=210.219.61.8    local_host=lckordi;;
-     (gaia*)                 local_address=150.183.146.24; local_host=ibmkisti;;
-     (gharbi)                local_address=130.75.105.47;  local_host=lcmuk;;
-     (gallego)               local_address=130.75.105.10;  local_host=lcmuk;;
-     (gregale)               local_address=130.75.105.109; local_host=lcmuk;;
-     (hababai)               local_address=130.75.105.108; local_host=lcmuk;;
-     (hayaka*)               local_address=133.5.4.33;     local_host=lckyuh;;
-     (hexagon.bccs.uib.no)   local_address=129.177.20.113; local_host=lcxe6;;
-     (hx*)                   local_address=133.3.51.11;    local_host=lckyoto;;
-     (inferno)               local_address=130.75.105.5;   local_host=lcmuk;;
-     (irifi)                 local_address=130.75.105.104; local_host=lcmuk;;
-   # (i*)                    local_address=129.187.11.197; local_host=ibmmuc;;
-     (jaboticaba)            local_address=150.163.25.181; local_host=lcbr;;
-     (kea*)                  local_address=172.27.80.109;  local_host=lckeal;;
-     (sno)                   local_address=130.75.105.113; local_host=lcmuk;;
-     (kuma)                  local_address=130.75.105.115; local_host=lcmuk;;
-     (levanto)               local_address=130.75.105.45;  local_host=lcmuk;;
-     (login*)                local_address=118.128.66.201; local_host=lckiaps;;
-   # (login*)                local_address=129.187.11.197; local_host=ibmmuc;;
-     (lm*)                   local_address=129.187.11.197; local_host=ibmmuc;;
-     (lx*)                   local_address=129.187.20.240; local_host=lclrz;;
-     (mpp2*)                 local_address=129.187.20.105; local_host=lclrz;;
-     (maestro)               local_address=130.75.105.2;   local_host=lcmuk;;
-     (meller)                local_address=134.106.74.155; local_host=lcfor;;
-     (meteo-login*)          local_address=193.166.211.144;local_host=lcxt5m;;
-     (mlogin1*|m1*)          local_address=136.172.50.13;  local_host=lcbullhh;;
-     (hexagon*)		     local_address=129.177.20.113; local_host=lcxe6;;
-     (nobel*)                local_address=150.183.5.101;  local_host=ibms;;
-     (ocean)                 local_address="ocean";        local_host=lcocean;; 
-     (orkan)                 local_address=130.75.105.3;   local_host=lcmuk;;
-     (ostria)                local_address=130.75.105.106; local_host=lcmuk;;
-     (paesano)               local_address=130.75.105.46;  local_host=lcmuk;;
-     (pcj*)                  local_address=172.31.120.1;   local_host=lckyut;;
-     (pingui)                local_address=134.106.74.118; local_host=lcfor;;
-     (quanero)               local_address=130.75.105.107; local_host=lcmuk;;
-     (rte*)                  local_address=133.5.185.60;   local_host=lcrte;;
-     (schultzl-Latitude-E6540)  local_address="schultzl-Latitude-E6540"; local_host=lcsch;;
-     (shiokaze-lx)           local_address=134.106.74.123; local_host=lcfor;;
-     (sisu-login*)           local_address=86.50.166.21;   local_host=lccrayf;;
-     (solano)                local_address=130.75.105.110; local_host=lcmuk;;
-     (sugoka*)               local_address=172.31.120.1;   local_host=lckyut;;
-     (tc*)                   local_address="ocean";        local_host=lcocean;; 
-     (t2a*)                  local_address=10.1.6.165;     local_host=lctit;;
-     (uc1n*)                 local_address=129.13.82.89;   local_host=lcbwuni;;
-     (urban*)                local_address=147.46.30.151   local_host=lcsb;;
-     (vinessa)               local_address=130.75.105.112; local_host=lcmuk;;
-     (vorias)                local_address=172.20.25.43;   local_host=lcmuk;;
-     (*.cc.kyushu-u.ac.jp)   local_address=133.5.4.129;    local_host=ibmku;;
-     (*.cluster)             local_address=192.168.1.254;  local_host=lcgeohu;;
-     (*)                     printf "\n  +++ \"$local_host\" unknown";
-                             printf "\n      please contact the PALM group at IMUK";
-                             locat=parameter; exit;;
- esac
-
-
-
-    # BY DEFAULT, THE REMOTE HOST IS THE LOCAL HOST
- remote_host=$local_host
-
-
-
-
-    # READ THE SHELLSCRIPT-OPTIONS
- while  getopts  :c:dDe:g:h:m:n:N:O:P:q:t:T:u:vX:  option
- do
-   case  $option  in
-       (c)   job_catalog=$OPTARG;;
-       (d)   delete_dayfile=true;;
-       (D)   no_submit=true;;
-       (e)   email_notification=$OPTARG;;
-       (g)   group_number=$OPTARG;;
-       (h)   remote_host=$OPTARG;;
-       (m)   memory=$OPTARG;;
-       (n)   job_name=$OPTARG;;
-       (N)   node_usage=$OPTARG;;
-       (O)   threads_per_task=$OPTARG;;
-       (P)   scp_port=$OPTARG;;
-       (q)   no_default_queue=$OPTARG;;
-       (t)   cputime=$OPTARG;;
-       (T)   tasks_per_node=$OPTARG;;
-       (u)   remote_user=$OPTARG;;
-       (v)   verify=false;;
-       (X)   numprocs=$OPTARG;;
-       (\?)  printf "\n  +++ Option $OPTARG unknown \n";
-             locat=option; exit;;
-   esac
- done
-
-
-    # GET THE NAME OF THE JOBFILE AS NEXT ARGUMENT
- (( to_shift = $OPTIND - 1 ))
- shift $to_shift; file_to_send=$1
-
-
-    # OUTPUT OF SHORT DESCRIPTION OF SCRIPT-OPTIONS
- if [ "$1" = "?" ]
- then
-   (printf "\n  *** subjob can be called as follows:\n"
-    printf "\n      subjob -c.. -d -D -h.. -m.. -q.. -t.. -u.. -v  <jobfile>\n"
-    printf "\n      Description of available options:\n"
-    printf "\n      Option  Description                         Default-Value"
-    printf "\n        -c    job-input- and output-catalog       ~/job_queue"
-    printf "\n        -d    no job-protocol will be created     ---"
-    printf "\n        -D    only the job-file will be created   ---"
-    printf "\n        -h    execution host, available hosts:    $remote_host"
-    printf "\n              ibm, ibmh, ibmkisti, ibmku, ibms, lc...,"
-    printf "\n              lckiaps, lctit"
-    printf "\n        -m    memory demand per process in MByte  ---"
-    printf "\n        -n    jobname                             <jobdatei>"
-    printf "\n        -O    threads per task (for OpenMP usage) 1"
-    printf "\n        -P    ssh/scp port                        default port"
-    printf "\n        -q    job-queue to be used                default"
-    printf "\n        -t    allowed cpu-time in seconds         ---"
-    printf "\n        -T    tasks per node (on parallel hosts)  ---"
-    printf "\n        -u    username on execution host          from .netrc"
-    printf "\n        -v    no prompt for confirmation          ---"
-    printf "\n        -X    # of processors (on parallel hosts) 1"
-    printf "\n "
-    printf "\n      The only possible positional parameter is <jobfile>:"
-    printf "\n      The complete NQS-job must be provided here."
-    printf "\n      <jobfile>=? creates this outline\n\n") | more
-    exit
- fi
-
-
-
-    # CHECK, IF JOB-FILE HAS BEEN GIVEN AS ARGUMENT AND IF THE FILE ITSELF EXISTS
- if [[ "$file_to_send" = "" ]]
- then
-    printf "\n  +++ job-file missing"
-    locat=parameter; exit
- else
-    if [[ -f $file_to_send ]]
-    then
-       true
-    else
-       printf "\n  +++ job-file: "
-       printf "\n           $file_to_send"
-       printf "\n      does not exist"
-       locat=parameter; exit
-    fi
- fi
-
-
-
-    # IF NO JOBNAME HAS BEEN GIVEN, JOBNAME IS SET TO THE NAME OF THE JOB-FILE,
-    # PROVIDED THAT THE JOB-FILE NAME DOES NOT CONTAIN ANY PATH
- if [[ $job_name = none ]]
- then
-    job_name=$file_to_send
- fi
- if [[ $(echo $job_name | grep -c "/") != 0 ]]
- then
-    printf "\n  +++ job-file name: "
-    printf "\n           $job_name"
-    printf "\n      must not contain \"/\"-characters"
-    locat=parameter; exit
- fi
-
-
-
-
-    # SET HOST-SPECIFIC QUANTITIES, OR TERMINATE IN CASE OF UNKNOWN HOST,
-    # OR IF NO HOST HAS BEEN GIVEN
- if [[ $remote_host = none ]]
- then
-    printf "\n  +++ host missing"
-    locat=option; exit
- else
-    case  $remote_host  in
-        (ibm)     queue=p690_standard; remote_address=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
-        (ibmh)    queue=cluster; remote_address=136.172.40.15; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
-        (ibmkisti) queue=class.32plus; remote_address=150.183.146.24; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
-        (ibmku)   queue=s4; remote_address=133.5.4.129; submcom=/usr/local/bin/llsubmit;;
-        (ibms)    queue=p_normal; remote_address=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;
-        (ibmmuc)  remote_address=129.187.11.197; submcom=/usr/bin/llsubmit;;
-        (lcbwuni) queue=develop; remote_address=129.13.82.89; submcom=/opt/moab/bin/msub;;
-        (lcbullhh)    queue=compute; remote_address=136.172.50.13; submcom=/usr/bin/sbatch;;
-        (lccrayb) queue=mpp1testq; remote_address=130.73.233.1; submcom="/opt/moab/default/bin/msub -E";;
-        (lccrayh) queue=mpp1testq; remote_address=130.75.4.1; submcom="/opt/moab/default/bin/msub -E";;
-        (lccrayf) queue=small; remote_address=86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;;
-        (lceddy)  remote_address=eddy.hpc.uni-oldenburg.de; submcom=sbatch;;
-        (lcgeohu) remote_address=cirrus.geo.hu-berlin.de; submcom=sbatch;;
-        (lckyoto) remote_address=133.3.51.11; submcom=/thin/local/bin/qsub;;
-        (lck)     remote_address=165.132.26.61; submcom=/usr/torque/bin/qsub;;
-        (lckeal)  queue=ivy; remote_address=172.27.80.109; submcom=/usr/bin/sbatch;;
-        (lckiaps) remote_address=118.128.66.201; submcom=/opt/pbs/default/bin/qsub;;
-        (lckordi) remote_address=210.219.61.8; submcom=/usr/torque/bin/qsub;;
-        (lckyuh)  remote_address=133.5.4.33; submcom=/usr/bin/pjsub;;
-        (lckyut)  remote_address=133.5.4.37; submcom=/usr/bin/pjsub;;
-        (lclrz)   remote_address=129.187.20.240; submcom=/usr/bin/sbatch;;
-        (lcocean) remote_address="ocean"; submcom=qsub;;
-        (lcsb)    remote_address=147.46.30.151; submcom=/usr/torque/bin/qsub;;
-        (lctit)   queue=S; remote_address=10.1.6.165; submcom=/opt/pbs/tools/bin/t2sub;;
-        (lcxe6)	  remote_address=129.177.20.113; submcom=/opt/torque/default/bin/qsub;;
-        (lcxt5m)  remote_address=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;;
-        (lcyon)   remote_address=165.132.26.68; submcom=/usr/torque/bin/qsub;;
-        (*)       printf "\n  +++ hostname \"$remote_host\" not allowed";
-                  locat=parameter; exit;;
-    esac
- fi
-
-
-    # CHECK, IF A VALID QUEUE HAS BEEN GIVEN
- if [[ $no_default_queue != none ]]
- then
-    error=false
-    ndq=$no_default_queue
-    case  $remote_host  in
-        (ibm)    case  $ndq  in
-                     (p690_express|p690_standard|p690_long)  error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (ibmh)   case  $ndq  in
-                     (cluster|express)  error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (ibmkisti)   case  $ndq  in
-                     (class.32plus|class.1-2|class.2-32)  error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (ibmku)  case  $ndq  in
-                     (sdbg1|sdbg2|sdbg4|s4|s16|s32|s32-s)    error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (ibms)   case  $ndq  in
-                     (express|normal|p_express|p_normal|p_normal_1.3|p_normal_1.7|grand)     error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (ibmmuc*) case  $ndq  in
-                     (test|micro|general|large|fat|fattest|special|tmp1|tmp2) error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lcbullhh) case  $ndq  in
-                     (compute|compute2|shared)  error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lcbwuni) case  $ndq  in
-                     (develop|singlenode|multinode|verylong|fat) error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lccrayb) case  $ndq  in
-                     (dataq|mpp1q|mpp1testq|mpp2q|mpp2testq|smp1q|smp1testq|specialm1q)   error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lccrayh) case  $ndq  in
-                     (dataq|mpp1q|mpp1testq|mpp2q|mpp2testq|smp1q|smp1testq|specialm1q)   error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lccrayf) case  $ndq  in
-                     (usup|test*|small|large)                error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lceddy) case  $ndq  in
-                     (eddy.p|cfdh.p|cfdl.p|carl.p|mpcs.p|mpcl.p|mpcb.p|all_nodes.p)  error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lckiaps) case  $ndq  in
-                     (express|normal|normal20|quickq)        error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lckyoto) case  $ndq  in
-                     (eh|ph)                                 error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lckyuh) case  $ndq  in
-                     (fx-dbg|fx-single|fx-small|fx-middle|fx-large)  error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lckyut) case  $ndq  in
-                     (cx-dbg|cx-single|cx-small|cx-middle|cx-large)  error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lclrz) case  $ndq  in
-                     (mpp1|mpp2|iuv2|myri)                   error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (lctit)  case  $ndq  in
-                     (G|L128|L256|L512H|S|S96|V)             error=false;;
-                     (*)                                     error=true;;
-                 esac;;
-        (t3eb)   case  $ndq  in
-                     (berte|p50|p100|p392|forfree|p25himem)  error=false;;
-                     (*)    error=true;;
-                 esac;;
-        (t3eh)   case  $ndq  in
-                     (para_t3e|em|k|l|lm|comp_t3e|c|p|ht)  error=false;;
-                     (*)    error=true;;
-                 esac;;
-        (t3ej2|t3ej5)  case  $ndq  in
-                     (low|normal|high)  error=false;;
-                     (*)    error=true;;
-                 esac;;
-        (t3es)  case  $ndq  in
-                     (batch|serial-4|pe4|p48|pe16|pe32|pe64|pe128)  error=false;;
-                     (*)    error=true;;
-                 esac;;
-    esac
-    if [[ $error = true ]]
-    then
-       printf "\n  +++ queue \"$no_default_queue\" on host \"$remote_host\" not allowed"
-       locat=parameter; exit
-    else
-       queue=$no_default_queue
-    fi
- fi
-
-
-
-    # CHECK THE CPU-TIME
-    # SPLIT TIME INTO HOURS, MINUTES, AND SECONDS
- done=false
- while [[ $done = false ]]
- do
-    if (( $cputime <= 0 ))
-    then
-       printf "\n  +++ wrong cpu-time or cpu-time missing"
-       printf "\n  >>> Please type cpu-time in seconds as INTEGER:"
-       printf "\n  >>> "
-       read  cputime  1>/dev/null  2>&1
-    else
-       done=true
-    fi
- done
- (( stunden  = cputime / 3600 ))
- (( resttime = cputime - stunden * 3600 ))
- (( minuten  = resttime / 60 ))
- (( sekunden = resttime - minuten * 60 ))
- timestring=${stunden}:${minuten}:${sekunden}
-
-
-
-    # CHECK THE MEMORY DEMAND
- done=false
- while [[ $done = false ]]
- do
-    if (( memory <= 0 ))
-    then
-       printf "\n  +++ wrong memory demand or memory demand missing"
-       printf "\n  >>> Please type memory in  MByte per process  as INTEGER:"
-       printf "\n  >>> "
-       read  memory  1>/dev/null  2>&1
-    else
-       done=true
-    fi
- done
-
- if [[ $remote_host = lctit ]]
- then
-    (( Memory = memory * tasks_per_node / 1000 ))
- fi
-
-
-    # MEMORY DEMAND IN CASE OF OPENMP-USAGE ON IBM-SYSTEMS
- if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
- then
-    (( memory = memory * threads_per_task ))
- fi
-
-
-    # CALCULATE NUMBER OF REQUIRED NODES
- if (( tasks_per_node != 0 ))
- then
-    (( nodes = ( numprocs - 1 ) / ( tasks_per_node * threads_per_task ) + 1 ))
- fi
-
-
-    # CALCULATE NUMBER OF PROCESSES PER NODE
- (( processes_per_node = tasks_per_node * threads_per_task ))
-
-
-    # CALCULATE NUMBER OF MPI TASKS
- (( mpi_tasks = numprocs / threads_per_task ))
-
-
-    # SET PORT NUMBER OPTION FOR CALLS OF ssh/scp, subjob AND batch_scp SCRIPTS
- if [[ "$scp_port" != "" ]]
- then
-    PORTOPT="-P $scp_port"
-    SSH_PORTOPT="-p $scp_port"
- fi
-
-
-    # HEADER-OUTPUT
- if [[ $verify = true ]]
- then
-    printf "\n\n"
-    printf "#--------------------------------------------------------------# \n"
-    spalte1=SUBJOB;spalte2=$(date)
-    printf "| %-20s%40s | \n" "$spalte1" "$spalte2"
-    printf "|                                                              | \n"
-    printf "| values of parameters/options:                                | \n"
-    spalte1=$(echo local_host$punkte | cut -c-20)
-    spalte2=$punkte$local_host
-    printf "| %-20s%40s | \n" "$spalte1" "${spalte2: -40}"
-    spalte1=$(echo remote_host$punkte | cut -c-20)
-    spalte2=$punkte$remote_host
-    printf "| %-20s%40s | \n" "$spalte1" "${spalte2: -40}"
-    spalte1=$(echo queue$punkte | cut -c-20)
-    spalte2=$punkte$queue
-    printf "| %-20s%40s | \n" "$spalte1" "${spalte2: -40}"
-    spalte1=$(echo memory$punkte | cut -c-20)
-    spalte2="$punkte$memory mb"
-    printf "| %-20s%40s | \n" "$spalte1" "${spalte2: -40}"
-    spalte1=$(echo cputime$punkte | cut -c-20)
-    spalte2="$punkte$cputime sec"
-    printf "| %-20s%40s | \n" "$spalte1" "${spalte2: -40}"
-    spalte1=$(echo job_name$punkte | cut -c-20)
-    spalte2="$punkte$job_name"
-    printf "| %-20s%40s | \n" "$spalte1" "${spalte2: -40}"
-    printf "#--------------------------------------------------------------# \n\n"
-
-
-       # QUERY CHECK
-    antwort="dummy"
-    while [[ $antwort != y  &&  $antwort != Y  &&  $antwort != n  &&  $antwort != N ]]
-    do
-       read antwort?" >>> continue (y/n) ? "
-    done
-    if [[ $antwort = n  ||  $antwort = N ]]
-    then
-       locat=verify; exit
-    fi
-    printf "\n"
- fi
-
-    # GENERATE RANDOM IDENTIFIER, AND DETERMINE THE JOBNAME ON THE TARGET HOST
- identifier=$RANDOM
- job_on_remhost=${job_name}_${identifier}_$local_host
- job_to_send=job_to_send_$identifier
- if [[ $delete_dayfile = false ]]
- then
-    remote_dayfile=${local_host}_${job_name}_result_$identifier
-    local_dayfile=${remote_host}_${job_name}
- else
-    remote_dayfile=/dev/null
- fi
-
-
-    # GENERATE THE BATCH-JOB SCRIPTS (FOR QUEUEING-SYSTEMS qsub/msub/LoadLeveler)
- if [[ $(echo $remote_host | cut -c1-3) = ibm  &&  $numprocs != 0 ]]
- then
-
-       # GENERAL LOADLEVELER SETTINGS
-    execute_in_shell="#!/bin/ksh"
-    use_shell="# @ shell = /bin/ksh"
-    consumable_memory="ConsumableMemory($memory mb)"
-    class="# @ class = $queue"
-    environment="# @ environment = OMP_NUM_THREADS=$threads_per_task; MP_SHARED_MEMORY=yes"
-    network_to_use="# @ network.mpi = sn_all,shared,us"
-    data_limit="# @ data_limit = 1.76gb"
-    image_size="# @ image_size = 50"
-    wall_clock_limit="# @ wall_clock_limit = ${timestring},$timestring"
-
-    if [[ $email_notification = none ]]
-    then
-       notify_user=""
-    else
-       notify_user="# @ notify_user = $email_notification"
-       if [[ $delete_dayfile = true ]]
-       then
-          notification='# @ notification = never'
-       fi
-    fi
-
-    if [[ $remote_host = ibmh ]]
-    then
-       data_limit=""
-       network_to_use=""
-       class="# @ class = $queue"
-       environment=""
-       rset="# @ rset = RSET_MCM_AFFINITY"
-       task_affinity="# @ task_affinity = core(1)"
-    elif [[ $remote_host = ibmkisti ]]
-    then
-       network_to_use="# @ network.MPI = sn_all,shared,US"
-       wall_clock_limit="# @ wall_clock_limit = $timestring"
-       if [[ $threads_per_task = 1 ]]
-       then
-          rset="# @ rset = RSET_MCM_AFFINITY"
-          mcm_affinity_options="# @ mcm_affinity_options = mcm_mem_pref mcm_sni_none mcm_distribute"
-       fi
-       environment=""
-       use_shell=""
-       data_limit=""
-       image_size=""
-    elif [[ $remote_host = ibmku ]]
-    then
-       execute_in_shell="#!/usr/bin/ksh"
-       use_shell="# @ shell = /usr/bin/ksh"
-       consumable_memory=""
-       environment=""
-       network_to_use="# @ network.mpi = sn_all,shared,us"
-       data_limit=""
-       image_size=""
-    elif [[ $remote_host = ibms ]]
-    then
-       network_to_use="# @ network.mpi = csss,shared,us"
-    fi
-
-    cat > $job_to_send << %%END%%
-$execute_in_shell
-$use_shell
-
-# @ job_type = parallel
-# @ job_name = $job_name
-# @ resources = ConsumableCpus($threads_per_task) $consumable_memory
-# @ output = $remote_dayfile
-# @ error = $remote_dayfile
-$wall_clock_limit
-$image_size
-$class
-$environment
-$network_to_use
-$data_limit
-$rset
-$mcm_affinity_options
-$task_affinity
-$notification
-$notify_user
-
-%%END%%
-
-    if (( nodes > 0 ))
-    then
-
-       if [[ $remote_host == ibmmuc* ]]
-       then
-       cat > $job_to_send << %%END%%
-
-#!/bin/bash
-# @ job_type = parallel
-# @ job_name = $job_name
-# @ output = $remote_dayfile
-# @ error = $remote_dayfile
-# @ wall_clock_limit = $timestring
-$class
-$mcm_affinity_options
-$task_affinity
-$notify_user
-# @ network.MPI = sn_all,not_shared,us
-# @ notification = always
-# @ energy_policy_tag = table_kit_ifu
-# @ minimize_time_to_solution = yes
-# @ node = $nodes
-# @ total_tasks = $numprocs
-# @ node_topology = island
-# @ island_count = 1,2
-# @ environment = LD_LIBRARY_PATH=/lrz/sys/libraries/netcdf/4.2.1.1_impi4/lib:/lrz/sys/libraries/hdf5/1.8.15/ibmmpi/lib:/lrz/sys/libraries/fftw/3.3.3/avx/lib/
-# @ queue
-
-%%END%%
-
-       elif [[ $remote_host != ibmkisti ]]
-       then
-
-          cat >> $job_to_send << %%END%%
-# @ node = $nodes
-# @ tasks_per_node = $processes_per_node
-# @ node_usage = $node_usage
-# @ queue
-
-%%END%%
-
-       else
-
-          cat >> $job_to_send << %%END%%
-# @ total_tasks = $mpi_tasks
-# @ blocking = unlimited
-# @ queue
-
-%%END%%
-
-       fi
-
-    else
-
-       cat >> $job_to_send << %%END%%
-# @ blocking = unlimited
-# @ total_tasks = $numprocs
-# @ node_usage = $node_usage
-# @ queue
-
-%%END%%
-
-    fi
-
-       # WORKAROUND BECAUSE OF SILLY JOB FILTER ON ibmkisti
-    if [[ $remote_host = ibmkisti  &&  $threads_per_task != 1 ]]
-    then
-       echo  "export OMP_NUM_THREADS=$threads_per_task"  >>  $job_to_send
-    fi
-
- elif [[ $(echo $remote_host | cut -c1-3) = ibm  &&  $numprocs = 0 ]]
- then
-
-    cat > $job_to_send << %%END%%
-#!/bin/ksh
-
-# @ job_type = serial
-# @ node_usage = $node_usage
-# @ job_name = palm
-# @ wall_clock_limit = ${timestring},$timestring
-# @ resources = ConsumableCpus(1) ConsumableMemory(1 gb)
-# @ output = $remote_dayfile
-# @ error = $remote_dayfile
-$class
-$notification
-
-# @ queue
-
-%%END%%
-
- elif [[ $remote_host = lcbullhh ]]
- then
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/bash -l
-#SBATCH -J $job_name
-#SBATCH -t $timestring
-#SBATCH -N $nodes
-#SBATCH --ntasks-per-node=$processes_per_node
-#SBATCH -p $queue
-#SBATCH -o $remote_dayfile
-#SBATCH -e $remote_dayfile
-#SBATCH -A $project_account
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/bash -l
-#SBATCH -J $job_name
-#SBATCH -t $timestring
-#SBATCH -l ncpus=1
-#SBATCH -l pmem=${memory}mb
-#SBATCH -m abe
-#SBATCH -o $remote_dayfile
-#SBATCH -e $remote_dayfile
-#SBATCH -A $project_account
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    fi
-
- elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
- then
-
-    if [[ "$feature" != "" ]]
-    then
-       featuredir="#PBS -l feature=$feature"
-    fi
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/bash
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l nodes=$nodes:ppn=$processes_per_node
-#PBS -o $remote_dayfile
-#PBS -j oe
-#PBS -q $queue
-$featuredir
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    else
-
-       continue
-
-    fi
-
- elif [[ $remote_host = lccrayf ]]
- then
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/bash -l
-#SBATCH -J $job_name
-#SBATCH -t $timestring
-#SBATCH -N $nodes
-#SBATCH --ntasks-per-node=$processes_per_node
-#SBATCH -p $queue
-#SBATCH -o $remote_dayfile
-#SBATCH -e $remote_dayfile
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/bash -l
-#SBATCH -J $job_name
-#SBATCH -t $timestring
-#SBATCH -l ncpus=1
-#SBATCH -l pmem=${memory}mb
-#SBATCH -m abe
-#SBATCH -o $remote_dayfile
-#SBATCH -e $remote_dayfile
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    fi
-
-
-
- elif [[ $remote_host = lceddy ]]
- then
-    cat > $job_to_send << %%END%%
-#!/bin/bash
-#SBATCH -J $job_name
-#SBATCH -t $timestring
-#SBATCH -n $numprocs
-#SBATCH -N $nodes
-#SBATCH --cpus-per-task 1
-#SBATCH -p $queue
-#SBATCH -o $remote_dayfile
-#SBATCH -e $remote_dayfile
-#SBATCH --mem-per-cpu $memory
-#SBATCH --exclusive
-
-module load PALMDependencies/.gcc
-
-$init_cmds
-$module_calls
-
-%%END%%
-
- elif [[ $remote_host = lck || $remote_host = lckordi || $remote_host = lcsb ]]
- then
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l ncpus=$numprocs
-#PBS -l pmem=${memory}mb
-#PBS -o $remote_dayfile
-#PBS -l nodes=$nodes:ppn=${processes_per_node}
-#PBS -j oe
-
-mpd &
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l ncpus=1
-#PBS -l pmem=${memory}mb
-#PBS -o $remote_dayfile
-#PBS -j oe
-
-%%END%%
-
-    fi
-
- elif [[ $remote_host = lcgeohu ]]
- then
-
-    if [[ $email_notification = none ]]
-    then
-       notify_user=""
-    else
-       notify_user="#SBATCH --mail-type=ALL"
-    fi
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/bash
-#SBATCH --job-name=$job_name
-#SBATCH --ntasks=$processes_per_node
-#SBATCH --time=$timestring
-#SBATCH --output=$remote_dayfile
-#SBATCH --error=$remote_dayfile
-#SBATCH --qos=short
-$notify_user
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/bash
-#SBATCH --job-name=$job_name
-#SBATCH --ntasks=$processes_per_node
-#SBATCH --output=$remote_dayfile
-#SBATCH --error=$remote_dayfile
-#SBATCH -l ncpus=1
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    fi
-
- elif [[ $remote_host = lckiaps ]]
- then
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/bash
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l select=1:ncpus=$numprocs
-#PBS -l pmem=${memory}mb
-#PBS -q $queue
-#PBS -o $remote_dayfile
-#PBS -j oe
-#PBS -V
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/bash
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l ncpus=1
-#PBS -l pmem=${memory}mb
-#PBS -o $remote_dayfile
-#PBS -j oe
-
-%%END%%
-
-    fi
-
- elif [[ $remote_host = lcyon ]]
- then
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l ncpus=$numprocs
-#PBS -l pmem=${memory}mb
-#PBS -o $remote_dayfile
-#PBS -j oe
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l ncpus=1
-#PBS -l pmem=${memory}mb
-#PBS -o $remote_dayfile
-#PBS -j oe
-
-%%END%%
-
-    fi
-
- elif [[ $remote_host = lcxe6 ]]
- then
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -S /bin/ksh
-#PBS -N $job_name
-#PBS -A $project_account
-#PBS -j oe
-#PBS -l walltime=$timestring
-#PBS -l mppwidth=${numprocs}
-#PBS -l mppnppn=${processes_per_node}
-#PBS -m abe
-#PBS -o $remote_dayfile
-$email_directive
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -S /bin/ksh
-#PBS -N $job_name
-#PBS -A $project_account
-#PBS -j oe
-#PBS -l walltime=$timestring
-#PBS -l ncpus=1
-#PBS -l pmem=${memory}mb
-#PBS -m abe
-$email_directive
-#PBS -o $remote_dayfile
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    fi
-
- elif [[ $remote_host = lckyoto ]]
- then
-
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-# @\$-o $remote_dayfile
-# @\$-eo -oi
-# @\$-lP 16
-# @\$-lp 1
-# @\$-lm 28gb  -llm unlimited -ls unlimited
-# @\$-q $queue
-# @\$-Pvn abs_pack
-##for intel? @\$-Pvn abs_unpack -Pvs unpack -Pvc unpack
-#. /thin/local/etc/setprofile/intel-11.0.sh
-#. /thin/local/etc/setprofile/mvapich2-1.4+intel-11.0.sh
-. ~/.myprofile
-#. /home2/t/t51254/palm/current_version/myprofile
-#. /thin/apps/pgi/mpi.sh
-#
-env
-#
-set -x
-
-%%END%%
-
- elif [[ $remote_host = lcxt5m ]]
- then
-
-    if [[ $numprocs != 0 ]]
-    then
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -S /bin/ksh
-#PBS -N $job_name
-#PBS -j oe
-#PBS -l walltime=$timestring
-#PBS -l mppwidth=${numprocs}
-#PBS -l mppnppn=${processes_per_node}
-#PBS -m abe
-#PBS -o $remote_dayfile
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    else
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -S /bin/ksh
-#PBS -N $job_name
-#PBS -j oe
-#PBS -l walltime=$timestring
-#PBS -l ncpus=1
-#PBS -l pmem=${memory}mb
-#PBS -m abe
-#PBS -o $remote_dayfile
-
-$init_cmds
-$module_calls
-
-%%END%%
-
-    fi
-
- elif [[ $remote_host = lckyuh ]]
- then
-    cat > $job_to_send << %%END%%
-#!/bin/bash
-#PJM -L "rscgrp=$queue"
-#PJM -L "node=$nodes"
-#PJM --mpi "proc=$numprocs"
-#PJM -L "elapse=$timestring"
-#PJM -o $remote_dayfile
-#PJM -j
-#PJM -X
-#PJM --no-stging
-
-export LANG=en_US.UTF-8
-%%END%%
-
- elif [[ $remote_host = lckyut ]]
- then
-    cat > $job_to_send << %%END%%
-#!/bin/bash
-#PJM -L "rscgrp=$queue"
-#PJM -L "vnode=$numprocs"
-#PJM -L "vnode-core=1"
-#PJM -L "elapse=$timestring"
-#PJM --mpi proc=$numprocs
-#PJM -o $remote_dayfile
-#PJM -j
-#PJM -X
-#PJM --no-stging
-
-export LANG=en_US.UTF-8
-%%END%%
-
- elif [[ $remote_host = lcocean ]]
- then
-   cat > $job_to_send << %%END%%
-#!/bin/bash
-#$ -cwd
-#$ -V 
-#$ -N $job_name
-#$ -pe orte $numprocs
-#$ -o $remote_dayfile
-#$ -j y
-#$ -R y
-$init_cmds
-$module_calls
-
-%%END%%
-
- elif [[ $remote_host = lctit ]]
- then
-    cat > $job_to_send << %%END%%
-#!/bin/ksh
-$init_cmds
-$module_calls
-
-%%END%%
-
-       # SET OPTIONS FOR SUBMIT-COMMAND
-    if [[ $tasks_per_node != $processes_per_node ]]
-    then
-       submcom="$submcom -W group_list=$group_number -N $job_name -l walltime=$timestring -l select=$nodes:ncpus=$processes_per_node:mpiprocs=$tasks_per_node:mem=${Memory}gb -o $remote_dayfile -j oe -et 1 -q $queue "
-    else
-       submcom="$submcom -W group_list=$group_number -N $job_name -l walltime=$timestring -l select=$nodes:ncpus=$processes_per_node:mpiprocs=$tasks_per_node:mem=${Memory}gb -l place=scatter -o $remote_dayfile -j oe -et 1 -q $queue "
-    fi
-
- elif [[ $remote_host = lclrz ]]
- then
-       cat > $job_to_send << %%END%%
-#!/bin/bash 
-#SBATCH -J $job_name
-#SBATCH -t $timestring
-#SBATCH -N $nodes
-#SBATCH --ntasks-per-node=$processes_per_node
-#SBATCH --get-user-env
-#SBATCH -o $remote_dayfile
-#SBATCH -e $remote_dayfile
-#SBATCH --mail-user=${email_notification}
-#SBATCH --clusters=$queue
-
-$init_cmds
-
-$module_calls
-
-%%END%%
-
- elif [[ $remote_host = lckea* ]]
- then
-       keal_tasks_per_core=1
-
-       if [[ $queue = haswell || $queue = ivy* ]]
-       then
-          if (( tasks_per_node > 20 ))
-          then
-             keal_tasks_per_core=2
-	  fi
-       fi
-
-       cat > $job_to_send << %%END%%
-#!/bin/bash 
-#SBATCH -J $job_name
-#SBATCH -t $timestring
-#SBATCH -N $nodes
-#SBATCH --ntasks-per-node=$processes_per_node
-#SBATCH --ntasks-per-core=$keal_tasks_per_core
-#SBATCH --mem-per-cpu=${memory}mb
-#SBATCH --get-user-env
-#SBATCH -o $remote_dayfile
-#SBATCH -e $remote_dayfile
-#SBATCH --mail-user=${email_notification}
-#SBATCH --mail-type=ALL
-#SBATCH --partition=$queue 
-
-export MV2_ENABLE_AFFINITY=0
-
-$init_cmds
-
-$module_calls
-
-%%END%%
-
- elif [[ $remote_host=lcbwuni ]]
- then
-    if [[ $email_notification = none ]]
-    then
-       email_directive=""
-    else
-       email_directive="#PBS -M $email_notification"
-    fi
-       cat > $job_to_send << %%END%%
-#!/bin/ksh
-#PBS -N $job_name
-#PBS -l walltime=$timestring
-#PBS -l nodes=${nodes}:ppn=$processes_per_node
-#PBS -l pmem=${memory}mb
-#PBS -m abe
-#PBS -o $remote_dayfile
-#PBS -j oe
-#PBS -q $queue
-$email_directive
-%%END%%
-
- else
-
-    cat > $job_to_send << %%END%%
-# @\$-q ${queue}
-# @\$-l${qsubtime} $timestring
-# @\$-l${qsubmem} ${memory}mb
-# @\$-o $remote_dayfile
-# @\$-eo
-
-%%END%%
-
- fi
-
-
-    # IN CASE OF JOBS EXECUTING ON REMOTE-HOSTS, THE TRANSFER OF THE DAYFILES
-    # TO THE LOCAL HOSTS WILL BE INITIATED BY TRAP ON EXIT
-    # NO TRANSFER POSSIBLE ON IBM IN SEOUL
- if [[ $delete_dayfile = false  &&  $remote_host != $local_host ]]
- then
-    echo "set +vx"                              >>  $job_to_send
-    echo "trap '"                               >>  $job_to_send
-    echo "set +vx"                              >>  $job_to_send
-    if [[ $(echo $remote_host | cut -c1-3) = ibm  ||  $remote_host = lcbullhh  ||  $remote_host = lccrayb  ||  $remote_host = lccrayh  ||  $(echo $remote_host | cut -c1-3) = nec  ||  $remote_host = lckiaps  ||  $remote_host = lckyu* || $remote_host = lcxe6  ||  $remote_host = lcocean  || $remote_host = lcgeohu ]]
-    then
-       if [[ $remote_host = ibmh ]]
-       then
-          return_queue=c1
-       elif [[ $remote_host = ibmkisti ]]
-       then
-          return_queue=class.1-2
-       elif [[ $remote_host = ibmku ]]
-       then
-          return_queue=sdbg2
-       elif [[ $remote_host = ibms ]]
-       then
-          return_queue=p_normal
-       elif [[ $remote_host = lcbullhh ]]
-       then
-          return_queue=shared
-       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
-       then
-          return_queue=dataq
-       elif [[ $remote_host = lcxe6 ]]
-       then
-          return_queue=debug
-       elif [[ $remote_host = lckiaps ]]
-       then
-          return_queue=express
-       elif [[ $remote_host = lckyuh ]]
-       then
-          return_queue=cx-single
-       elif [[ $remote_host = lckyut ]]
-       then
-          return_queue=cx-single
-       else
-          return_queue=unknown
-       fi
-
-       if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
-       then
-
-          if [[ $remote_host = ibmku ]]
-          then
-             echo "echo \"#!/usr/bin/ksh\" >> scpjob.$identifier"            >>  $job_to_send
-             echo "echo \"# @ shell = /usr/bin/ksh\" >> scpjob.$identifier"  >>  $job_to_send
-          else
-             echo "echo \"#!/bin/ksh\" >> scpjob.$identifier"                >>  $job_to_send
-          fi
-          echo "echo \"# @ job_type = serial\" >> scpjob.$identifier"    >>  $job_to_send
-          echo "echo \"# @ job_name = transfer\" >> scpjob.$identifier"  >>  $job_to_send
-          echo "echo \"# @ resources = ConsumableCpus(1) ConsumableMemory(1 gb)\" >> scpjob.$identifier"  >>  $job_to_send
-          echo "echo \"# @ wall_clock_limit = 00:10:00,00:10:00\" >> scpjob.$identifier "  >>  $job_to_send
-          echo "echo \"# @ output = job_queue/last_job_transfer_protocol\" >> scpjob.$identifier"  >>  $job_to_send
-          echo "echo \"# @ error = job_queue/last_job_transfer_protocol\" >> scpjob.$identifier"  >>  $job_to_send
-          if [[ $host != "ibmh" ]]
-          then
-             echo "echo \"# @ class = $return_queue\" >> scpjob.$identifier"  >>  $job_to_send
-          fi
-          echo "echo \"# @ image_size = 10\" >> scpjob.$identifier"      >>  $job_to_send
-          echo "echo \"# @ notification = never\" >> scpjob.$identifier" >>  $job_to_send
-
-          echo "echo \"# @ queue\" >> scpjob.$identifier"                >>  $job_to_send
-          echo "echo \" \" >> scpjob.$identifier"                        >>  $job_to_send
-
-          echo "echo \"set -x\" >> scpjob.$identifier"                   >>  $job_to_send
-          echo "echo \"batch_scp  $PORTOPT  -d  -w 10  -u $local_user  $local_address  ${job_catalog}/$remote_dayfile  \\\"$job_catalog\\\"  $local_dayfile\" >> scpjob.$identifier"  >>  $job_to_send
-          if [[ $remote_host = ibmku ]]
-          then
-             echo "echo \"rm  scpjob.$identifier\" >> scpjob.$identifier"   >>  $job_to_send
-          fi
-          echo "echo \"exit\" >> scpjob.$identifier"                     >>  $job_to_send
-
-       elif [[ $remote_host = lcbullhh ]]
-       then
-          echo "cat > scpjob.$identifier << %%END%%"        >>  $job_to_send
-          echo "#!/bin/bash"                             >>  $job_to_send
-          echo "#SBATCH --job-name=job_protocol_transfer" >>  $job_to_send
-          echo "#SBATCH -t 00:20:00"                     >>  $job_to_send
-          echo "#SBATCH -N 1"                            >>  $job_to_send
-          echo "#SBATCH -n 1"                            >>  $job_to_send
-          echo "#SBATCH -o \$HOME/job_queue/last_job_transfer_protocol"      >>  $job_to_send
-          echo "#SBATCH -o $remote_dayfile"              >>  $job_to_send
-          echo "#SBATCH -e $remote_dayfile"              >>  $job_to_send
-          echo "#SBATCH -A $project_account"             >>  $job_to_send
-          echo "#SBATCH -p $return_queue"                >>  $job_to_send
-          echo " "                                       >>  $job_to_send
-          echo "set -x"                                  >>  $job_to_send
-          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_address  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
-          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
-          echo "%%END%%"                                 >>  $job_to_send
-
-       elif [[ $remote_host = lckyuh ]]
-       then
-          echo "cat > scpjob.$identifier << %%END%%"  >>  $job_to_send
-          echo "#!/bin/bash"                       >>  $job_to_send
-          echo "#PJM -L \"node=1\""                >>  $job_to_send
-          echo "#PJM -L \"rscgrp=$return_queue\""  >>  $job_to_send
-          echo "#PJM --no-stging"                  >>  $job_to_send
-          echo "#PJM -L \"elapse=30:00\""          >>  $job_to_send
-          echo "#PJM -o \$HOME/job_queue/last_job_transfer_protocol"  >>  $job_to_send
-          echo "#PJM -j"                           >>  $job_to_send
-          echo " "                                 >>  $job_to_send
-          echo "export LANG=en_US.UTF-8"           >>  $job_to_send
-          echo "set -x"                            >>  $job_to_send
-          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_address  $remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
-          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
-          echo "%%END%%"                           >>  $job_to_send
-
-       elif [[ $remote_host = lckyut ]]
-       then
-          echo "cat > scpjob.$identifier << %%END%%"  >>  $job_to_send
-          echo "#!/bin/bash"                       >>  $job_to_send
-          echo "#PJM -L \"vnode=1\""               >>  $job_to_send
-          echo "#PJM -L \"rscgrp=$return_queue\""  >>  $job_to_send
-          echo "#PJM --no-stging"                  >>  $job_to_send
-          echo "#PJM -L \"elapse=30:00\""          >>  $job_to_send
-          echo "#PJM -o \$HOME/job_queue/last_job_transfer_protocol"  >>  $job_to_send
-          echo "#PJM -j"                           >>  $job_to_send
-          echo " "                                 >>  $job_to_send
-          echo "export LANG=en_US.UTF-8"           >>  $job_to_send
-          echo "set -x"                            >>  $job_to_send
-          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_address  $remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
-          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
-          echo "%%END%%"                           >>  $job_to_send
-
-       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
-       then
-          echo "cat > scpjob.$identifier << %%END%%"        >>  $job_to_send
-          echo "#!/bin/bash"                             >>  $job_to_send
-          echo "#PBS -N job_protocol_transfer"           >>  $job_to_send
-          echo "#PBS -l walltime=00:30:00"               >>  $job_to_send
-          echo "#PBS -l nodes=1:ppn=1"                   >>  $job_to_send
-          echo "#PBS -o \$HOME/job_queue/last_job_transfer_protocol"      >>  $job_to_send
-          echo "#PBS -j oe"                              >>  $job_to_send
-          echo " "                                       >>  $job_to_send
-          echo "set -x"                                  >>  $job_to_send
-          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_address  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
-          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
-          echo "%%END%%"                                 >>  $job_to_send
-
-       elif [[ $remote_host = lcocean ]]
-       then
-          echo "cat > scpjob.${identifier}.tmp << %%END%%"                  >>  $job_to_send
-          echo "#!/bin/bash"                                             >>  $job_to_send
-          echo "SGEPREFIX -S /bin/bash"                                  >>  $job_to_send
-          echo "SGEPREFIX -N transfer_$job_name"                         >>  $job_to_send
-          echo "SGEPREFIX -cwd"                                          >>  $job_to_send
-          echo "SGEPREFIX -j y"                                          >>  $job_to_send
-          echo "SGEPREFIX -o ${local_host}_${job_name}_scpjob_$identifier"  >>  $job_to_send 
-          echo " "                                                       >>  $job_to_send 
-          echo "set -x"                                                  >>  $job_to_send 
-          echo "export PALM_BIN=$PALM_BIN" | sed -e 's:'$HOME':$HOME:'   >>  $job_to_send
-          echo "export PATH=\$PATH:\$PALM_BIN"                           >>  $job_to_send
-          echo ""                                 >>  $job_to_send         
-          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_address  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
-          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
-          echo "rm -f scpjob.${identifier}"                                 >>  $job_to_send         
-          echo "%%END%%"                                                 >>  $job_to_send
-          echo "sed -e 's/SGEPREFIX/#$/g' scpjob.${identifier}.tmp > scpjob.${identifier}" >>  $job_to_send         
-          echo "rm -f scpjob.${identifier}.tmp"                             >>  $job_to_send         
-
-       elif [[ $remote_host = lcxe6 ]]
-       then
-          echo "cat > scpjob.${identifier}  << %%END%%"  >>  $job_to_send
-          echo "#!/bin/ksh"                              >>  $job_to_send
-          echo "#PBS -N job_protocol_transfer"           >>  $job_to_send
-          echo "#PBS -l walltime=00:30:00"               >>  $job_to_send
-          echo "#PBS -A $project_account"                >>  $job_to_send
-          echo "#PBS -l mppwidth=1"                      >>  $job_to_send
-          echo "#PBS -l mppnppn=1"                       >>  $job_to_send
-          echo "#PBS -o \$HOME/job_queue/last_job_transfer_protocol"  >>  $job_to_send
-          echo "#PBS -j oe"                              >>  $job_to_send
-          echo " "                                       >>  $job_to_send
-          echo "set -x"                                  >>  $job_to_send
-          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_address  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
-          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
-          echo "%%END%%"                                 >>  $job_to_send
-
-       elif [[ $remote_host = lcgeohu ]]
-       then
-          echo "cat > scpjob.$identifier << %%END%%"        >>  $job_to_send
-          echo "#!/bin/bash"                             >>  $job_to_send
-          echo "#SBATCH --job-name=job_protocol_transfer" >>  $job_to_send
-          echo "#SBATCH -t 00:20:00"                     >>  $job_to_send
-          echo "#SBATCH -N 1"                            >>  $job_to_send
-          echo "#SBATCH -n 1"                            >>  $job_to_send
-          echo "#SBATCH -o \$HOME/job_queue/last_job_transfer_protocol"      >>  $job_to_send
-          echo "#SBATCH -o $remote_dayfile"              >>  $job_to_send
-          echo "#SBATCH -e $remote_dayfile"              >>  $job_to_send
-          echo " "                                       >>  $job_to_send
-          echo "set -x"                                  >>  $job_to_send
-          echo "sbatch  scpjob.$identifier"              >>  $job_to_send
-          echo "%%END%%"                                 >>  $job_to_send
-
-       else
-
-          echo "cat > scpjob.$identifier << %%END%%"  >>  $job_to_send
-          echo "# @\\\$-q $return_queue"           >>  $job_to_send
-          echo "# @\\\$-l${qsubtime} 10"           >>  $job_to_send
-          echo "# @\\\$-l${qsubmem} 10mb"          >>  $job_to_send
-          if [[ $remote_host = t3ej2  ||  $remote_host = t3ej5  ||  $remote_host = t3es ]]
-          then
-             echo "# @\$-l mpp_p=0"                >>  $job_to_send
-          fi
-          echo '# @\$-lF 10mb'                     >>  $job_to_send
-          echo '# @\$-o job_queue/last_job_transfer_protocol'    >>  $job_to_send
-          echo '# @\\\$-eo'                          >>  $job_to_send
-          echo " "                                 >>  $job_to_send
-          if [[ $remote_host = t3ej2  ||  $remote_host = t3ej5 ]]
-          then
-             echo "set +vx"                        >>  $job_to_send
-             echo ". .profile"                     >>  $job_to_send
-          fi
-          echo "set -x"                            >>  $job_to_send
-          echo "batch_scp  $PORTOPT  -d  -w 10  -u $local_user $local_address  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile  >  /dev/null"  >>  $job_to_send
-          echo "[[ \"\$for_subjob_to_do\" != \"\" ]]  &&  eval \$for_subjob_to_do"  >>  $job_to_send
-          echo "%%END%%"                           >>  $job_to_send
-
-       fi
-
-       if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
-       then
-          echo "llsubmit  scpjob.$identifier"      >>  $job_to_send
-       elif [[ $remote_host = lcbullhh ]]
-       then
-          echo "sbatch  scpjob.$identifier"               >>  $job_to_send
-       elif [[ $remote_host = lccrayb || $remote_host = lccrayh ]]
-       then
-          echo "msub -E -q $return_queue  scpjob.$identifier"               >>  $job_to_send
-       elif [[ $remote_host = t3eb  ||  $remote_host = t3eh  ||  $remote_host = t3ej2  ||  $remote_host = t3ej5 ]]
-       then
-          echo "qsub -J n  scpjob.$identifier"     >>  $job_to_send
-       elif [[ $remote_host = t3es ]]
-       then
-          echo "qsub -J n  -s /bin/ksh  scpjob.$identifier"     >>  $job_to_send
-       elif [[ $remote_host = lckiaps ]]
-       then
-          echo "mv  scpjob.$identifier  $job_catalog"           >>  $job_to_send
-          echo "ssh $SSH_PORTOPT ${remote_username}@${remote_address}  \"$submcom ${job_catalog}/scpjob.$identifier\" "  >>  $job_to_send
-          echo "rm  ${job_catalog}/scpjob.$identifier"          >>  $job_to_send
-       elif [[ $remote_host = lckyu* ]]
-       then
-          echo "scp $PORTOPT scpjob.$identifier  ${remote_username}@${remote_address}:job_queue"           >>  $job_to_send
-          echo "ssh $SSH_PORTOPT ${remote_username}@${remote_address}  \"cd job_queue; $submcom scpjob.$identifier; rm scpjob.$identifier\" "  >>  $job_to_send
-       elif [[ $remote_host = lcocean ]]
-       then
-          echo "mv  scpjob.$identifier  $job_catalog"           >>  $job_to_send
-          echo "/usr/bin/ssh ${remote_username}@${remote_address}  \"$init_cmds $module_calls cd $job_catalog; $submcom scpjob.$identifier\" "  >>  $job_to_send
-       else
-          echo "$submcom  scpjob.$identifier"      >>  $job_to_send
-       fi
-       if [[ $remote_host != ibmku  &&  $remote_host != lckiaps ]]
-       then
-          echo "rm  scpjob.$identifier"            >>  $job_to_send
-       fi
-    else
-#       echo "ftpcopy  -d  $local_address  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile"  >>  $job_to_send
-       # ??? funktioniert das ÃŒberhaupt noch ???
-       echo "nohup  ftpcopy  -d  -w 15  $local_address  ${job_catalog}/$remote_dayfile  \"$job_catalog\"  $local_dayfile  >  /dev/null  &"  >>  $job_to_send
-    fi
-    echo "set -x"                               >>  $job_to_send
-    echo "     ' exit"                          >>  $job_to_send
-    echo "set -x"                               >>  $job_to_send
- fi
-
-
-    # APPEND THE JOB-FILE (CREATE BY mrun) TO THE JOB-DIRECTIVES GENERATED ABOVE
- cat  $file_to_send  >>  $job_to_send
-
- if [[ $remote_host = ibm ]]
- then
-    echo " "         >>  $job_to_send
-    echo "exit"      >>  $job_to_send
- fi
-
-    # REMOVE JOB-FILE
- if [[ $remote_host = lctit  ||  $remote_host = ibmku ]]
- then
-    echo " "                               >>  $job_to_send
-    echo "rm ~/job_queue/$job_on_remhost"  >>  $job_to_send
- fi
-
-
-    # TRANSFER JOB TO THE TARGET HOST (JOB-DIRECTORY)
- if [[ $no_submit = false ]]
- then
-    if [[ $remote_host != $local_host ]]
-    then
-       [[ $verify = true ]]  &&  printf "\n >>> transfering job to \"$remote_host\"..."
-       if [[ $remote_host = ibms ]]    # ssh on ibms cannot handle "~/"
-       then
-          job_catalog_save=$job_catalog
-          job_catalog=job_queue
-       elif [[ $remote_host = lcgeohu ]]
-       then
-          job_catalog_save=$job_catalog
-          job_catalog=/home/${remote_user}/job_queue
-       fi
-       scp  $ssh_key  $PORTOPT  $job_to_send  ${remote_user}@${remote_address}:${job_catalog}/$job_on_remhost
-       if [[ $? = 1 ]]
-       then
-          locat=scp; exit
-       fi
-       if [[ $remote_host = ibms  ||  $remote_host = lcgeohu ]]
-       then
-          job_catalog=$job_catalog_save
-       fi
-       [[ $verify = true ]]  &&  printf "\n >>> finished\n"
-    else
-       eval  job_catalog=$job_catalog
-       cp  $job_to_send  ${job_catalog}/$job_on_remhost
-    fi
-
-
-
-       # START NQS- / LOADLEVELER-JOB
-    if [[ $remote_host != $local_host ]]
-    then
-       [[ $verify = true ]]  &&  printf "\n >>> submitting job using \"qsub\"...\n"
-
-       if [[ $remote_host = ibmku ]]
-       then
-          ssh  $SSH_PORTOPT $remote_address  -l $remote_user  "cd $job_catalog; $submcom $job_on_remhost"
-       elif [[ $remote_host = lcgeohu ]]
-       then
-          ssh  $ssh_key  $SSH_PORTOPT $remote_address  -l $remote_user  "cd $job_catalog; $submcom $job_on_remhost"
-       else
-          ssh  $ssh_key  $SSH_PORTOPT $remote_address  -l $remote_user  "cd $job_catalog; $submcom $job_on_remhost; rm $job_on_remhost"
-       fi
-
-       [[ $verify = true ]]  &&  printf " >>> o.k.\n"
-    else
-       cd  $job_catalog
-       if [[ $(echo $local_host | cut -c1-3) = ibm  ||  $(echo $local_host | cut -c1-6) = lccray || $local_host = lceddy || $local_host = lcgeohu ]]
-       then
-          eval  $submcom  $job_on_remhost
-       elif [[  $local_host = lctit  ||  $local_host = lcxe6  ||  $local_host = lck  || $local_host = lckordi ||  $local_host = lcyon || $local_host = lcsb  ||  $local_host = lckyu* ]]
-       then
-          chmod  u+x  $job_on_remhost
-          eval  $submcom  $job_on_remhost
-       elif [[ $local_host = lcbullhh ]]
-       then
-          if [[ $queue = default ]]
-          then
-             eval  $submcom  $job_on_remhost
-          fi
-       elif [[ $local_host = lclrz || $local_host = lckea* ]]
-       then
-          eval  $submcom  $job_on_remhost
-       elif [[ $local_host = lcbwuni ]]
-       then
-          msub  -q $queue $job_on_remhost
-       else
-          qsub  $job_on_remhost
-       fi
-
-          # JOBFILE MUST NOT BE DELETED ON lctit/ibmku. THIS WILL BE DONE
-          # AT THE END OF THE JOB
-       if [[ $local_host != lctit  &&  $local_host != ibmku  &&  $local_host != lcgeohu ]]
-       then
-          rm  $job_on_remhost
-       fi
-       cd  -  > /dev/null
-    fi
- fi
-
-    # FINAL ACTIONS
- if [[ $no_submit = false ]]
- then
-    rm  -f $job_to_send
- fi
- [[ $verify = true ]]  &&  printf "\n\n *** SUBJOB finished \n\n"
Index: palm/trunk/SCRIPTS/testsuite
===================================================================
--- palm/trunk/SCRIPTS/testsuite	(revision 2693)
+++ palm/trunk/SCRIPTS/testsuite	(revision 2696)
@@ -2,5 +2,5 @@
 
 #--------------------------------------------------------------------------------#
-# This file is part of PALM.
+# This file is part of the PALM model system.
 #
 # PALM is free software: you can redistribute it and/or modify it under the terms
