Changeset 892 for palm


Ignore:
Timestamp:
May 2, 2012 1:51:44 PM (12 years ago)
Author:
maronga
Message:

bugfixes in parameter file check, adapted for lcxe6 (was lcxt4), new mrun.config parameter %login_init_cmd introduced

Location:
palm/trunk
Files:
1 added
1 deleted
12 edited

Legend:

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

    • Property svn:keywords set to Id
    r817 r892  
     1#$Id$
    12#column 1          column 2                                   column 3
    23#name of variable  value of variable (~ must not be used)     scope
     
    4142# if you want this host to be used as a remote host, uncomment next line
    4243#%remote_username   <replace by your username on this host>      <hi> parallel
     44# if you want to load modules on the remote host, use the following line
     45#%modules           <replace by the modules to be loaded>        <hi> parallel
     46# if you want to perform initial commands on ssh connections, use the following line
     47#%login_init_cmd    <replace by the inital commands>             <hi> parallel
    4348#
    4449%write_binary                true                             restart
     
    158163PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
    159164PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
    160 
     165# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/.mrun.config.forwind

    • Property svn:keywords set to Id
    r755 r892  
     1#$Id$
    12#column 1          column 2                                   column 3
    23#name of variable  value of variable (~ must not be used)     scope
     
    56%base_directory    $HOME/palm/current_version
    67%base_data         $base_directory/JOBS
    7 %output_data       /data/work/fw/<user-id>/palm/current_version/JOBS
    8 # Replace <user-id> by your username on FLOW. Replace "/fw/" by "/iwes/" if
     8%output_data       /data/work/fw/<replace by your username>/palm/current_version/JOBS
     9# Replace <replace by your username> by your username on FLOW. Replace "/fw/" by "/iwes/" if
    910# your user directory resides in /iwes/.
    1011%source_path       $base_directory/trunk/SOURCE
     
    2526# on host flow. Please note that other hosts may require different settings.
    2627#
    27 %remote_username   <user-id>                                      lcflow parallel
    28 %tmp_user_catalog  /data/work/fw/<user-id>/tmp                    lcflow parallel
    29 %tmp_data_catalog  /data/work/fw/<user-id>/palm_restart_data      lcflow parallel
    30 %compiler_name     mpiifort                                       lcflow parallel
    31 %compiler_name_ser ifort                                          lcflow parallel
     28%remote_username   <replace by your username>                                      lcflow parallel
     29%tmp_user_catalog  /data/work/fw/<replace by your username>/tmp                    lcflow parallel
     30%tmp_data_catalog  /data/work/fw/<replace by your username>/palm_restart_data      lcflow parallel
     31%compiler_name     mpiifort                                                        lcflow parallel
     32%compiler_name_ser ifort                                                           lcflow parallel
    3233%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__lc:-D__parallel  lcflow parallel
    3334%netcdf_inc        -I:/cm/shared/apps/netcdf/intel/64/4.1.3/include                 lcflow parallel
     
    3637%fopts             -xSSE4.2:-O3:-cpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian   lcflow parallel
    3738%lopts             -xSSE4.2:-O3:-cpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib                  lcflow parallel
     39%login_init_cmd    .:/cm/local/apps/environment-modules/3.2.6/Modules/3.2.6/init/bash\;:echo \$MODULEPATH\;:echo:\$MODULESHOME\;:MODULEPATH=/cm/shared/modulefiles/ lcflow parallel  lcflow parallel
     40%modules           netcdf/intel/64/4.1.3:intel/ics/64/2011.0.013 intel/impi/64/4.0.1.007:hdf5/intel/64/1.8.7                                    lcflow parallel
    3841#
    3942#
     
    161164PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
    162165PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
    163 
     166# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/.mrun.config.ibmh

    • Property svn:keywords set to Id
    r813 r892  
     1#$Id$
    12#column 1          column 2                                   column 3
    23#name of variable  value of variable (~ must not be used)     scope
     
    147148PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
    148149PARTICLE_DATA     out:loc:flpe prt#:prtf $output_data/$fname/OUTPUT      _prt_dat
    149 
     150# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/.mrun.config.imuk

    • Property svn:keywords set to Id
    r537 r892  
    88%add_source_path   $base_directory/USER_CODE/$fname
    99%depository_path   $base_directory/MAKE_DEPOSITORY
    10 %use_makefile      true
     10#%use_makefile      true
    1111#
    1212# Enter your own host below by adding another line containing in the second
     
    1515# first characters of the host identifier should be "lc" (Linux cluster), "ibm"
    1616# (IBM-AIX), or "nec" (NEC-SX), respectively.
    17 %host_identifier   service100  lcsgih
    18 %host_identifier   r1*         lcsgih
    19 %host_identifier   h01*        lcsgih
    20 %host_identifier   r2*         lcsgib
    21 %host_identifier   b01*        lcsgib
    22 %host_identifier   gallego     lcmuk
    23 %host_identifier   nid00*      lcxt4
    2417#
    25 %remote_username   maronga     lcmuk parallel
    26 %tmp_user_catalog  /tmp                                          lcmuk parallel
    27 %compiler_name     mpif90                                        lcmuk parallel
    28 %compiler_name_ser ifort                                         lcmuk parallel
    29 %cpp_options       -D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit   lcmuk parallel
    30 %netcdf_inc        -I:/muksoft_64/packages/netcdf/3.6.3/include            lcmuk parallel
    31 %netcdf_lib        -L/muksoft_64/packages/netcdf/3.6.3/lib:-lnetcdf        lcmuk parallel
    32 %fopts             -axW:-cpp:-r8:-nbs:-convert:little_endian:-I:/muksoft_64/packages/mpich2/2.1.0.5/include     lcmuk parallel
    33 %lopts             -axW:-cpp:-r8:-nbs:-Vaxlib:-L:/muksoft_64/packages/mpich2/2.1.0.5/lib                    lcmuk parallel
    34 #%hostfile          $base_directory/.hostfile                    lcmuk parallel
     18%host_identifier   inferno      lcmuk
    3519#
    36 #%remote_username  maronga      lcmuk
    37 %tmp_user_catalog  /tmp                                          lcmuk
    38 %compiler_name     ifort                                         lcmuk
    39 %cpp_options       -D__netcdf:-D__netcdf_64bit                   lcmuk
    40 %netcdf_inc        -I:/muksoft_64/packages/netcdf/3.6.3/include       lcmuk
    41 %netcdf_lib        -L/muksoft_64/packages/netcdf/3.6.3/lib:-lnetcdf   lcmuk
    42 %fopts             -axW:-cpp:-r8:-nbs:-convert:little:endian     lcmuk
    43 %lopts             -axW:-cpp:-r8:-nbs:-Vaxlib                    lcmuk
     20# version 02/05/2012
     21%remote_username   <replace by your IMUK username>                             lcmuk
     22#%tmp_user_catalog /home/<replace by your IMUK username>/palm/tmp/             lcmuk
     23%compiler_name     ifort                                                       lcmuk
     24%compiler_name_ser ifort                                                       lcmuk
     25%cpp_options       -cpp:-D__netcdf                                             lcmuk
     26%netcdf_inc        -I:/muksoft/packages/netcdf/3.6.3/include                   lcmuk
     27%netcdf_lib        -L/muksoft/packages/netcdf/3.6.3/lib:-lnetcdf               lcmuk
     28%mopts             -j:4                                                        lcmuk
     29%fopts             -fltconsistency:-O3:-cpp:-r8:-nbs:-convert:little_endian    lcmuk
     30%lopts             -fltconsistency:-O3:-cpp:-r8:-nbs:-Vaxlib                   lcmuk
    4431#
    45 %remote_username  maronga                                        lcmuk trace
    46 %tmp_user_catalog  /tmp                                          lcmuk trace
    47 %compiler_name     ifort                                         lcmuk trace
    48 %cpp_options       -D__netcdf:-D__netcdf_64bit                   lcmuk trace
    49 %netcdf_inc        -I:/muksoft_64/packages/netcdf/3.6.3/include       lcmuk trace
    50 %netcdf_lib        -L/muksoft_64/packages/netcdf/3.6.3/lib:-lnetcdf   lcmuk trace
    51 %fopts             -axW:-cpp:-g:-CB:-inline_debug_info:-r8:-nbs:-convert:little:endian     lcmuk trace
    52 %lopts             -axW:-cpp:-g:-CB:-inline_debug_info:-r8:-nbs:-Vaxlib                    lcmuk trace
     32# version 02/05/2012
     33%remote_username   <replace by your IMUK username>                             lcmuk parallel
     34#%tmp_user_catalog /home/<replace by your IMUK username>/palm/tmp/             lcmuk parallel
     35%compiler_name     mpif90                                                      lcmuk parallel
     36%compiler_name_ser ifort                                                       lcmuk parallel
     37%cpp_options       -cpp:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf  lcmuk parallel
     38%netcdf_inc        -I:/muksoft/packages/netcdf/3.6.3/include                   lcmuk parallel
     39%netcdf_lib        -L/muksoft/packages/netcdf/3.6.3/lib:-lnetcdf               lcmuk parallel
     40%mopts             -j:4                                                        lcmuk parallel
     41%fopts             -axW:-O3:-cpp:-openmp:-r8:-fp-model:precise:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcmuk parallel
     42%lopts             -axW:-O3:-cpp:-openmp:-r8:-fp-model:precise:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib                 lcmuk parallel
     43#%hostfile          $base_directory/.hostfile                                  lcmuk parallel
    5344#
    54 %sgi_feature       ice                                        lcsgih parallel
    55 %remote_username   nikmaron                                   lcsgih parallel
    56 %compiler_name     mpif90                                     lcsgih parallel
    57 %compiler_name_ser ifort                                      lcsgih parallel
    58 %mpilib            mvapich2/1.2.0-intel                       lcsgih parallel
    59 %cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit   lcsgih parallel
    60 %netcdf_inc        -I:/sw/dataformats/netcdf/3.6.2/include    lcsgih parallel
    61 %netcdf_lib        -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff      lcsgih parallel
    62 %fopts             -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcsgih parallel
    63 %lopts             -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib   lcsgih parallel
    64 #%tmp_data_catalog  /gfs1/work/nikmaron/palm_restart_data                             lcsgih parallel
    65 #%tmp_user_catalog  /gfs1/tmp/nikmaron                                                lcsgih parallel
    66 #
    67 %sgi_feature       ice                                        lcsgih parallel debug
    68 %remote_username   nikmaron                                   lcsgih parallel debug
    69 %totalview         true                                       lcsgih parallel debug
    70 %compiler_name     mpif90                                     lcsgih parallel debug
    71 %compiler_name_ser ifort                                      lcsgih parallel debug
    72 %mpilib            mvapich2/1.2.0-intel                       lcsgih parallel debug
    73 %cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit   lcsgih parallel debug
    74 %netcdf_inc        -I:/sw/dataformats/netcdf/3.6.2/include    lcsgih parallel debug
    75 %netcdf_lib        -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff      lcsgih parallel debug
    76 %fopts             -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcsgih parallel debug
    77 %lopts             -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib           lcsgih parallel debug
    78 #%tmp_data_catalog  /gfs1/work/nikmaron/palm_restart_data      lcsgih parallel debug
    79 #%tmp_user_catalog  /gfs1/tmp/nikmaron                         lcsgih parallel debug
    80 #
    81 %sgi_feature       ice                                        lcsgib parallel
    82 %remote_username   nikmaron                                   lcsgib parallel
    83 %compiler_name     mpif90                                     lcsgib parallel
    84 %compiler_name_ser ifort                                      lcsgib parallel
    85 %mpilib            mvapich2/1.2.0-intel                       lcsgib parallel
    86 %cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit   lcsgib parallel
    87 %netcdf_inc        -I:/sw/dataformats/netcdf/3.6.2/include    lcsgib parallel
    88 %netcdf_lib        -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff      lcsgib parallel
     45# version 02/05/2012
     46%remote_username   <replace by your IMUK username>                             lcmuk parallel trace
     47#%tmp_user_catalog /home/<replace by your IMUK username>/palm/tmp/             lcmuk parallel trace
     48%compiler_name     mpif90                                                      lcmuk parallel trace
     49%compiler_name_ser ifort                                                       lcmuk parallel trace
     50%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf   lcmuk parallel trace
     51%netcdf_inc        -I:/muksoft/packages/netcdf/3.6.3/include            lcmuk parallel trace
     52%netcdf_lib        -L/muksoft/packages/netcdf/3.6.3/lib:-lnetcdf        lcmuk parallel trace
     53%fopts             -C:-check:nooutput_conversion:-openmp:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcmuk parallel trace
     54%lopts             -C:-check:nooutput_conversion:-openmp:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib                 lcmuk parallel trace
    8955
    90 %fopts             -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcsgib parallel
    91 %lopts             -g:-w:-xT:-O3:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib   lcsgib parallel
    92 #%tmp_data_catalog  /gfs1/work/nikmaron/palm_restart_data                             lcsgib parallel
    93 #%tmp_user_catalog  /gfs1/tmp/nikmaron                                                lcsgib parallel
    94 #
    95 %sgi_feature       ice                                        lcsgib parallel debug
    96 %remote_username   nikmaron                                   lcsgib parallel debug
    97 %compiler_name     mpif90                                     lcsgib parallel debug
    98 %compiler_name_ser ifort                                      lcsgib parallel debug
    99 %mpilib            mvapich2/1.2.0-intel                       lcsgib parallel debug
    100 %cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit   lcsgib parallel debug
    101 %netcdf_inc        -I:/sw/dataformats/netcdf/3.6.2/include    lcsgib parallel debug
    102 %netcdf_lib        -L/sw/dataformats/netcdf/3.6.2/lib:-lnetcdf:-lnetcdff      lcsgib parallel debug
    103 %fopts             -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcsgib parallel debug
    104 %lopts             -C:-fpe0:-debug:-traceback:-g:-w:-xT:-O0:-cpp:-r8:-ftz:-fno-alias:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib           lcsgib parallel debug
    105 #%tmp_data_catalog  /gfs1/work/nikmaron/palm_restart_data      lcsgib parallel debug
    106 #%tmp_user_catalog  /gfs1/tmp/nikmaron                         lcsgib parallel debug
    107 
    108 #
    109 %remote_username     bjornm         lcxt4 parallel
    110 %tmp_user_catalog    /work/bjornm   lcxt4 parallel
    111 %tmp_data_catalog    /work/bjornm/PALM_RESTART_DATA  lcxt4 parallel
    112 #%job_catalog         /work/bjornm/job_queue lcxt4 parallel
    113 %compiler_name       ftn           lcxt4 parallel
    114 %compiler_name_ser   ftn           lcxt4 parallel
    115 %cpp_options        -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__intel_openmp_bug   lcxt4 parallel
    116 %netcdf_inc         -I/work/apps/netcdf-3.6.2-cnl-pgi/include      lcxt4 parallel
    117 %netcdf_lib         -L/work/apps/netcdf-3.6.2-cnl-pgi/lib:-lnetcdf lcxt4 parallel
    118 %fopts              -fastsse:-Mpreprocess:-r8:-Mnobackslash        lcxt4 parallel
    119 %lopts              -fastsse:-Mpreprocess:-r8:-Mnobackslash        lcxt4 parallel
    120 #%fopts              -Mbounds:-fastsse:-Mpreprocess:-r8:-Mnobackslash        lcxt4 parallel
    121 #%lopts              -Mbounds:-fastsse:-Mpreprocess:-r8:-Mnobackslash        lcxt4 parallel
    122 
    123 %email_notification  maronga@muk.uni-hannover.de                 lcxt4 parallel
    124 #
    12556%write_binary                true                             restart
    12657#
    12758#----------------------------------------------------------------------------
    128 # INPUT-commands, executed before running PALM - lines must start with "IC:" 
     59# INPUT-commands, executed before running PALM - lines must start with "IC:"
    12960#----------------------------------------------------------------------------
    13061#IC:
     
    14677# Combine all particle information files
    14778OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
    148 #
    149 # Collect plot data (2d/3d) into one file
    150 OC:combine_plot_fields.x
    15179#
    15280#----------------------------------------------------------------------------
     
    182110CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
    183111#
    184 DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
    185 #DATA_1D_PR_NETCDF    out:loc      pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
    186 DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
    187 DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
    188 DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
    189 DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
    190 DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
    191 DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
    192 DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
    193 DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
    194 DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
    195 DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
    196 DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
     112DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr      nc
     113DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp      nc
     114DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts      nc
     115DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts     nc
     116DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy      nc
     117DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av   nc
     118DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz      nc
     119DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av   nc
     120DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz      nc
     121DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av   nc
     122DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d      nc
     123DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av   nc
    197124DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
    198125DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
     
    235162DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
    236163DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
    237 DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
    238 DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
    239 DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr 
     164DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
     165DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt     nc
     166DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr
    240167#
    241168DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
     
    244171PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
    245172PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
    246 
     173# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/.mrun.config.imuk_hlrn

    • Property svn:keywords set to Id
    r754 r892  
     1#$Id$
    12#column 1          column 2                                   column 3
    23#name of variable  value of variable (~ must not be used)     scope
     
    4849%sgi_feature       ice2                                       lcsgih parallel
    4950%modules           intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1  lcsgih parallel
     51%login_init_cmd    .:/usr/share/modules/init/bash           lcsgih parallel
    5052#%remote_username    <replace by your HLRN username>          lcsgih parallel
    5153%compiler_name     ifort                                      lcsgih parallel
     
    6567%sgi_feature       ice2                                       lcsgih parallel trace
    6668%modules           intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1  lcsgih parallel trace
     69%login_init_cmd    .:/usr/share/modules/init/bash           lcsgih parallel trace
    6770#%remote_username    <replace by your HLRN username>          lcsgih parallel trace
    6871%compiler_name     ifort                                      lcsgih parallel trace
     
    7780#%tmp_data_catalog  /gfs2/work/<replace by your HLRN username>/palm_restart_data      lcsgih parallel trace
    7881#%tmp_user_catalog  /gfs2/tmp/<replace by your HLRN username>                         lcsgih parallel trace
     82#
     83#
     84#
     85%sgi_feature       ice2                                       lcsgib parallel
     86%modules           intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1  lcsgib parallel
     87%login_init_cmd    .:/usr/share/modules/init/bash           lcsgib parallel
     88#%remote_username    <replace by your HLRN username>          lcsgib parallel
     89%compiler_name     ifort                                      lcsgib parallel
     90%compiler_name_ser ifort                                      lcsgib parallel
     91%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__mpi2   lcsgib parallel
     92%netcdf_inc        -I:/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/include:-I:/sw/dataformats/phdf5/hdf5-1.8.5-mpt-intel-11.1/include    lcsgib parallel
     93%netcdf_lib        -L/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/lib:-lnetcdf:-lnetcdff:-L/sw/dataformats/phdf5/hdf5-1.8.5-mpt-intel-11.1/lib:-lhdf5:-lhdf5_hl:-lz      lcsgib parallel
     94%mopts             -j:4                                       lcsgib parallel
     95%fopts             -openmp:-xS:-fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcsgib parallel
     96%lopts             -openmp:-xS:-fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib:-lmpi           lcsgib parallel
     97%memory            1500                                       lcsgib parallel
     98#%tmp_data_catalog  /gfs2/work/<replace by your HLRN username>/palm_restart_data      lcsgib parallel
     99#%tmp_user_catalog  /gfs2/tmp/<replace by your HLRN username>                         lcsgib parallel
     100#
     101#
     102#
     103%sgi_feature       ice2                                       lcsgib parallel trace
     104%modules           intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1  lcsgib parallel trace
     105%login_init_cmd    .:/usr/share/modules/init/bash           lcsgib parallel trace
     106#%remote_username    <replace by your HLRN username>          lcsgib parallel trace
     107%compiler_name     ifort                                      lcsgib parallel trace
     108%compiler_name_ser ifort                                      lcsgib parallel trace
     109%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf4:-D__mpi2   lcsgib parallel trace
     110%netcdf_inc        -I:/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/include:-I:/sw/dataformats/phdf5/hdf5-1.8.5-mpt-intel-11.1/include    lcsgib parallel trace
     111%netcdf_lib        -L/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/lib:-lnetcdf:-lnetcdff:-L/sw/dataformats/phdf5/hdf5-1.8.5-mpt-intel-11.1/lib:-lhdf5:-lhdf5_hl:-lz      lcsgib parallel trace
     112%mopts             -j:4                                       lcsgib parallel trace
     113%fopts             -openmp:-override-limits:-C:-ftrapuv:-xS:-debug:extended:-check:nooutput_conversion:-O0:-fpe0:-g:-traceback:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-convert:little_endian  lcsgib parallel trace
     114%lopts             -openmp:-C:-ftrapuv:-xS:-debug:extended:-check:nooutput_conversion:-O0:-fpe0:-g:-traceback:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-Vaxlib:-lmpi           lcsgib parallel trace
     115%memory            1500                                       lcsgib parallel trace
     116#%tmp_data_catalog  /gfs2/work/<replace by your HLRN username>/palm_restart_data      lcsgib parallel trace
     117#%tmp_user_catalog  /gfs2/tmp/<replace by your HLRN username>                         lcsgib parallel trace
    79118#
    80119#
     
    156195PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
    157196PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
    158 
     197# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/.mrun.config.imuk_ice2_netcdf4

    • Property svn:keywords set to Id
    r555 r892  
     1#$Id$
    12#column 1          column 2                                   column 3
    23#name of variable  value of variable (~ must not be used)     scope
     
    4748%sgi_feature       ice2                                       lcsgih parallel ice2
    4849%modules           intel.compiler:mvapich2:phdf5:pnetcdf      lcsgih parallel ice2
     50%login_init_cmd    .:/usr/share/modules/init/bash           lcsgih parallel ice2
    4951#%remote_username  <replace by your HLRN username>            lcsgih parallel
    5052%compiler_name     mpif90                                     lcsgih parallel ice2
     
    138140PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
    139141PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
    140 
     142# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/.mrun.config.riam

    • Property svn:keywords set to Id
    r410 r892  
     1#$Id$
    12#column 1          column 2                                   column 3
    23#name of variable  value of variable (~ must not be used)     scope
     
    165166PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
    166167PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
    167 
     168# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/.mrun.config.yonsei2011

    • Property svn:keywords set to Id
    r693 r892  
     1#$Id$
    12# recommended settings for Department of Atmospheric Sciences
    23# machines climate0-climate3 (host identifier "lcyon")
     
    206207DATA_2D_YZ_NETCDF_O    out:loc:tr yzo#:yzof   $base_data/$fname/OUTPUT _o_yz  nc
    207208DATA_2D_YZ_AV_NETCDF_O out:loc:tr yzo#:yzof   $base_data/$fname/OUTPUT _o_yz_av  nc
     209# A BLANK LINE MUST FOLLOW
  • palm/trunk/SCRIPTS/mbuild

    r818 r892  
    130130     # 08/03/12 - BjornM- bugfix: cpp directive for namelist check program
    131131     #                    corrected
    132 
     132     # 02/05/12 - Bjoern  - lcxt4 is now lcxe6, adjustments for lcxe6,
     133     #                      bugfixes for the parameter file check, initial
     134     #                      commands on ssh calls sourced out to .mrun.config
    133135
    134136
     
    511513        (lck)            remote_addres=165.132.26.61;;
    512514        (lctit)          remote_addres=10.1.6.170;;
    513         (lcxt4)          remote_addres=129.177.20.113;;
     515        (lcxe6)          remote_addres=129.177.20.113;;
    514516        (lcxt5m)         remote_addres=193.166.211.144;;
    515517        (decalpha)       remote_addres=165.132.26.56;;
     
    842844
    843845
     846       # get login init commands, "::" is replacing a space
     847    line=""
     848    grep  "$remote_host_string" $config_file | grep "%login_init_cmd"  >  $tmp_mbuild
     849    while read line1
     850    do
     851
     852       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
     853       then
     854          line="$line1"
     855       fi
     856
     857       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
     858       then
     859             # EVENTUELLE DOPPELPUNKTE AUS DIREKTIVENSTRING ENTFERNEN
     860          init_cmds=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g'`
     861       fi
     862       init_cmds="${init_cmds};"
     863    done < $tmp_mbuild
     864
    844865
    845866       # get modules to be loaded
     
    861882
    862883    done < $tmp_mbuild
    863 
    864 
    865884
    866885
     
    10111030    if [[ $remote_host != $local_host ]]
    10121031    then
    1013 
    10141032       if [[ $compile_utility_programs = false ]]
    10151033       then
     
    11031121          then
    11041122
    1105              ssh  ${remote_username}@${remote_addres}  "$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
     1123             ssh  ${remote_username}@${remote_addres}  "$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
    11061124
    11071125          elif [[ $remote_host = ibmh ]]
    11081126          then
    11091127
    1110              print "$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_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1128             print "$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_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    11111129
    11121130          elif [[ $remote_host = lcsgib  ||  $remote_host = lcsgih ]]
    11131131          then
    1114 
    11151132#             print ". /usr/share/modules/init/bash; $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  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    1116              print "eval \`/sw/swdist/bin/modulesinit\`; $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  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1133             print "$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  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    11171134
    11181135          elif [[ $remote_host = lctit ]]
     
    11251142             done
    11261143
    1127           elif [[ $remote_host = lcxt4 ]]
    1128           then
    1129 
    1130              ssh  ${remote_username}@${remote_addres} ". /opt/modules/default/init/ksh; $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
    1131 
    1132           else
    1133 
    1134              print "cd $module_calls ${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_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1144          elif [[ $remote_host = lcxe6 ]]
     1145          then
     1146
     1147             ssh  ${remote_username}@${remote_addres} "$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
     1148
     1149          else
     1150
     1151             print "$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  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    11351152
    11361153          fi
     
    12651282          fi
    12661283
     1284
    12671285          if [[ $remote_host = ibms  ||  $remote_host = ibmy ]]
    12681286          then
    12691287
    1270              ssh  ${remote_username}@${remote_addres}  "$module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR"
     1288             ssh  ${remote_username}@${remote_addres}  "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR"
    12711289
    12721290          elif [[ $remote_host = ibmh ]]
    12731291          then
    12741292
    1275              print "$module_calls export OBJECT_MODE=64; cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres}
     1293             print "$init_cmds $module_calls export OBJECT_MODE=64; cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres}
    12761294
    12771295          elif [[ $remote_host = lctit ]]
     
    12811299             while [[ $(cat ${remote_host}_last_make_protokoll | grep -c "Forwarding to N1GE") = 0 ]]
    12821300             do
    1283                 print "$module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1301                print "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    12841302             done
    12851303
    1286           elif [[ $remote_host = lcxt4 ]]
    1287           then
    1288 
    1289              ssh  ${remote_username}@${remote_addres} ". /opt/modules/default/init/ksh; $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll
    1290 
    1291           else
    1292 
    1293              print "$module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1304          elif [[ $remote_host = lcxe6 ]]
     1305          then
     1306
     1307             ssh  ${remote_username}@${remote_addres} "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${remote_host}_last_make_protokoll
     1308
     1309          else
     1310
     1311             print "$init_cmds $module_calls cd ${remote_ud}; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    12941312
    12951313          fi
     
    13021320    else
    13031321
    1304           # workaround for lcxt4
    1305        if [[ $remote_host = lcxt4 ]]
    1306        then
    1307           . /opt/modules/default/init/ksh
     1322          # workaround for lcxe6
     1323       if [[ $remote_host = lcxe6 ]]
     1324       then
     1325          $init_cmds
    13081326       fi
    13091327
     
    14151433             echo "  *** compiling check_namelist_files ..."
    14161434
     1435             # GET CHECK OPTIONS
     1436             line=""
     1437             found=false
     1438             grep  "$remote_host_string" $config_file | grep "%cpp_options"  >  $tmp_mbuild
     1439             while read line1
     1440             do
     1441
     1442                if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
     1443                then
     1444                   line="$line1"
     1445                fi
     1446
     1447                if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
     1448                then
     1449                   # EVENTUELLE DOPPELPUNKTE AUS OPTIONSSTRING UND ALLE -D ENTFERNEN
     1450                   line="$line "
     1451                   copts_check=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g' | sed 's/-D[^ ]* //g' | sed 's/ -D.*//g'`
     1452                   found=true
     1453                fi
     1454
     1455             done < $tmp_mbuild
     1456             copts_check="$copts_check -D__check -D__parallel"
     1457
    14171458             check_depository_path=${local_source_path}/../UTIL
    14181459             cd $check_depository_path
     
    14231464             rm -rf ${mainprog}_sources_check.tar
    14241465
    1425              copts_check="-cpp -D__parallel -D__check"
    1426              make  -f Makefile_check $make_options F90=$compiler_name_ser  COPT="$copts_check"
    1427 
     1466             make  -f Makefile_check $make_options  F90=$compiler_name_ser  COPT="$copts_check"
    14281467             tar -cf  check_namelist_files.tar Makefile_check check_namelist_files.x *.f90 *.o *.mod
    14291468             mv check_namelist_files.tar $check_depository_path
  • palm/trunk/SCRIPTS/mrun

    r858 r892  
    254254     # 12/03/12 - Siggi  - tasks_per_node divisor check not for lcflow
    255255     # 21/03/12 - Matthias - default compiler on ibmh changed
     256     # 02/05/12 - Bjoern  - lcxt4 is now lcxe6, adjustments for lcxe6,
     257     #                      bugfixes for the parameter file check, initial
     258     #                      commands on ssh calls sourced out to .mrun.config
    256259
    257260
     
    333336 package_list=""
    334337 punkte="..........................................................."
    335  p3d_suffix=""
    336338 queue=none
    337339 read_from_config=""
     
    706708    do_remote=true
    707709    case  $host  in
    708         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxt4|lcxt5m|lck|lckordi)  true;;
     710        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|nech|necriam|lckyoto|lcsgib|lcsgih|unics|lcxe6|lcxt5m|lck|lckordi)  true;;
    709711        (*)  printf "\n"
    710712             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    870872                   do_remote=true
    871873                   case  $host  in
    872                        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxt4|lcxt5m|lck|lckordi)  true;;
     874                       (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi)  true;;
    873875                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
    874876                            printf "\n      is not available"
     
    11541156    do_remote=true
    11551157    case  $host  in
    1156         (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxt4|lcxt5m|lck|lckordi)  true;;
     1158        (ibm|ibmh|ibmkisti|ibmku|ibms|ibmy|lckyoto|lcsgib|lcsgih|nech|necriam|unics|lcxe6|lcxt5m|lck|lckordi)  true;;
    11571159        (*)  printf "\n"
    11581160             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     
    13351337       eval filename=${pathin[$i]}/${afname}${endin[$i]}
    13361338    fi
     1339    eval pathname=${pathin[$i]}
     1340
    13371341
    13381342       # PRUEFEN AUF VORHANDENSEIN
     
    20362040 lopts="$lopts $netcdf_lib $dvr_lib"
    20372041 ROPTS="$ropts"
    2038  if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lckyoto  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxt4 ||  $host = lcxt5m || $host = lck || $host = lckordi)  &&  -n $numprocs ]]
     2042 if [[ ( $(echo $host | cut -c1-3) = nec  ||  $(echo $host | cut -c1-3) = ibm  ||  $host = lckyoto  ||  $host = lcsgih  ||  $host = lcsgib  ||  $host = lctit  ||  $host = lcfimm  ||  $host = lcxe6 ||  $host = lcxt5m || $host = lck || $host = lckordi)  &&  -n $numprocs ]]
    20392043 then
    20402044    XOPT="-X $numprocs"
     
    21002104    done
    21012105    mc="$mc -u$remote_username"
     2106 fi
     2107
     2108    # CHECK FOR INITIAL COMMANDS AFTER LOGIN
     2109 if [[ "$login_init_cmd" != "" ]]
     2110 then
     2111    export init_cmds="${login_init_cmd};"
    21022112 fi
    21032113
     
    23782388 if [[ ! -f $check_depository/check_namelist_files.tar || ! -f $PALM_BIN/check_namelist_files.x ]]
    23792389 then
    2380     skip_check=true
    2381 
     2390      skip_check=true
     2391      reason="parameter file check has not been compiled."
     2392 fi
     2393
     2394#CHECK FOR PARALLEL RUN; OTHERWISE SKIP CHECK
     2395 if [[ "$cond1" != "parallel"  &&  "$cond2" != "parallel" ]]
     2396 then
     2397     skip_check=true
     2398     reason="serial run."
    23822399 fi
    23832400
    23842401#ONLY PERFORM CHECK IF -z OPTION IS NOT SET, NO RESTART RUN IS CARRIED OUT AND IF THE EXECUTION HOST IS THE LOCAL HOST
    2385  if [[ $check_namelist_files == false || $fromhost != $localhost || $run_coupled_model == true || $restart_run == true ]]
     2402 if [[ $check_namelist_files == false ]]
     2403 then
     2404     skip_check=true
     2405     reason="-z option set."
     2406 fi
     2407
     2408 if [[ $fromhost != $localhost ]]
     2409 then
     2410     skip_check=true
     2411     reason="submitting host is local host." 
     2412 fi 
     2413
     2414 if [[ $run_coupled_model == true ]]
    23862415 then
    23872416    skip_check=true
    2388  fi
     2417    reason="coupled run." 
     2418 fi
     2419
     2420 if [[ $restart_run == true ]]
     2421 then
     2422    skip_check=true
     2423    reason="restart run."     
     2424
     2425 fi
     2426
     2427#SKIP CHECK IN CASE OF RESTART RUN: CHECK WHETHER THE LAST CHAR IS "f" IN PARIN
     2428 ((last_char = `echo $filename | wc -c` - 1))
     2429 last_char=`echo $filename |cut -c$last_char`
     2430 if [[ "$last_char" == "f" ]]
     2431 then
     2432    skip_check=true
     2433    reason="restart run.)"
     2434 fi
     2435
    23892436 if [[ $skip_check == false ]]
    23902437 then
    2391     if [[ $ocean_file_appendix == true ]]
    2392     then
    2393        d3par_string="d3o#"
    2394        d3fpar_string="d3of"
    2395     else
    2396        d3par_string="d3#"
    2397        d3fpar_string="d3f"
    2398     fi
    23992438
    24002439    tmp_check=${working_directory}/tmp_check
    24012440
    2402 #   GET PARAMETER FILE SUFFIX (USUALLY "_P3D")
     2441#   GET TOPOGRAPHY PARAMETER FILE SUFFIX (USUALLY "_P3DF"). THIS FILE MIGHT IS
     2442#   NOT NECESSARILY REQUIRED
    24032443    line=""
    24042444    found=false
    2405     grep  "$d3par_string" $config_file | grep "PARIN"  >  $tmp_check
     2445    grep  "TOPOGRAPHY_DATA" $config_file  >  $tmp_check
    24062446    while read line1
    24072447    do
     
    24092449       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
    24102450       then
    2411              # EVENTUELLE DOPPELPUNKTE AUS OPTIONSSTRING ENTFERNEN
    2412           p3d_suffix=`echo $line | tr -s " " | cut -d" " -s -f5`
    2413           found=true
    2414        fi
    2415     done < $tmp_check
    2416 
    2417     if [[ $found = false ]]
    2418     then
    2419        printf "\n  +++ no PARIN list entry found for $d3par_string in the configuration file."
    2420 
    2421        locat=check_namelist; exit
    2422     fi
    2423 
    2424 #   GET RESTART PARAMETER FILE SUFFIX (USUALLY "_P3DF"). THIS FILE MIGHT IS
    2425 #   NOT NECESSARILY REQUIRED
    2426     line=""
    2427     found=false
    2428     grep  "d3f" $config_file | grep "PARIN"  >  $tmp_check
    2429     while read line1
    2430     do
    2431        line="$line1"
    2432        if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
    2433        then
    2434           p3df_suffix=`echo $line | tr -s " " | cut -d" " -s -f5`
    2435           found=true
    2436        fi
    2437     done < $tmp_check
    2438 
    2439     if [[ $found = false ]]
    2440     then
    2441        printf "\n  +++ no PARIN list entry found for d3f in the configuration file."
    2442     fi
    2443 
    2444 #   GET TOPOGRAPHY PARAMETER FILE SUFFIX (USUALLY "_P3DF"). THIS FILE MIGHT IS
    2445 #   NOT NECESSARILY REQUIRED
    2446     line=""
    2447     found=false
    2448     grep  "d3f" $config_file | grep "TOPOGRAPHY_DATA"  >  $tmp_check
    2449     while read line1
    2450     do
    2451        line="$line1"
    2452        if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
    2453        then
    24542451          topo_suffix=`echo $line | tr -s " " | cut -d" " -s -f5`
    24552452          found=true
     
    24672464    for  item  in  $input_list
    24682465    do
    2469        if [[ "$item" == "restart" || "$item" == d3f || "$item" == d3of ]]
     2466       if [[ "$item" == "restart" ]]
    24702467       then
    24712468          check_restart=1
     
    24762473
    24772474#   ERROR IF NO PARAMETER FILE WAS FOUND, OTHERWISE PROCEED
    2478     if [[ ! -f $working_directory/JOBS/$fname/INPUT/${fname}${p3d_suffix} ]]
    2479     then
    2480        printf "\n\n  +++ ERROR: parameter file (${fname}${p3d_suffix}) not found."
     2475    if [[ ! -f $filename ]]
     2476    then
     2477       printf "\n\n  +++ ERROR: parameter file ($filename) not found."
    24812478       locat=check_namelist; exit
    24822479    fi
     
    24852482    if  [[ $check_restart == 1 ]]
    24862483    then
    2487        if [[ ! -f $working_directory/JOBS/$fname/INPUT/${fname}${p3df_suffix} ]]
    2488        then
    2489           printf "\n\n  +++ WARNING: restart parameter file (${fname}${p3df_suffix}) is missing." 
     2484
     2485
     2486
     2487       filenamef="${filename}f"
     2488       if [[ ! -f $filenamef ]]
     2489       then
     2490          printf "\n\n  +++ WARNING: restart parameter file ($filenamef) is missing." 
    24902491          check_restart=0
    24912492          answer=dummy
     
    25142515    cd $check_sources
    25152516
     2517
    25162518#   CHECK FOR USER CODE, OTHERWISE USE THE PRECOMPILED CHECK_NAMELIST_FILES.X
    2517     if [[ -d $working_directory/USER_CODE/$fname ]]
     2519    if [[ -d $add_source_path ]]
    25182520    then
    25192521       printf "\n\n  *** copying files from $check_depository"
     
    25242526
    25252527       printf "\n\n  *** adding user code."
    2526        cp $working_directory/USER_CODE/$fname/* ./
     2528       cp $add_source_path/* ./
    25272529       touch check_namelist_files.f90
    25282530
     
    25612563    fi
    25622564
    2563     cp $working_directory/JOBS/$fname/INPUT/${fname}${p3d_suffix} ./PARIN
     2565    cp $filename ./PARIN
    25642566    if [[ $check_restart == 1 ]]
    25652567    then
    2566        cp $working_directory/JOBS/$fname/INPUT/${fname}${p3df_suffix} ./PARINF   
    2567     fi
    2568 
    2569 
    2570     if [[ -f $working_directory/JOBS/$fname/INPUT/${fname}${topo_suffix} && $skip_check == false ]]
     2568       cp $filenamef ./PARINF   
     2569    fi
     2570
     2571cat ${pathname}/${fname}${topo_suffix}
     2572    if [[ -f ${pathname}/${fname}${topo_suffix} && $skip_check == false ]]
    25712573    then
    25722574       printf "\n  *** adding topography data"
    2573        cp $working_directory/JOBS/$fname/INPUT/${fname}${topo_suffix} ./TOPOGRAPHY_DATA
     2575       cp ${pathname}/${fname}${topo_suffix} ./TOPOGRAPHY_DATA
    25742576
    25752577#      IN CASE OF TOPOGRAPHY AND HIGH GRID POINT NUMBERS, THE STACK SIZE
     
    26202622
    26212623#      CHECKING THE P3D FILE
    2622        printf "\n\n      (1) checking $fname$p3d_suffix
     2624       printf "\n\n      (1) checking $filename
    26232625       echo "$numprocs 0" > VARIN
    26242626       errors=`./check_namelist_files.x < VARIN 2>&1`
     
    26372639       if [[ $check_restart == 1 && $check_error == false ]]
    26382640       then
    2639           printf "\n\n      (2) checking $fname$p3df_suffix
     2641          printf "\n\n      (2) checking $filenamef
    26402642
    26412643#         FIRST CHECK IF INITIALIZING_ACTIONS="READ_RESTART_DATA" IS SET IN &INIPAR LIST
     
    27112713    fi
    27122714 else
    2713     printf "\n\n  +++ skipping parameter file check\n"
     2715    printf "\n\n  +++ skipping parameter file check due to following reason: $reason"
    27142716 fi
    27152717
     
    27172719 rm -rf  $check_sources
    27182720 cd $working_directory
     2721
    27192722
    27202723    # FALLS AUF DIESER MASCHINE GERECHNET WERDEN SOLL, WERDEN JETZT ENTSPRE-
     
    28762879       if [[ $localhost = nech ]]
    28772880       then
    2878           ssh  136.172.44.192 -l $usern ". /SX/opt/etc/initsx.sh; $module_calls cd \$HOME/work/${usern}.$kennung; sxmake $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
     2881#         init_cmds was ". /SX/opt/etc/initsx.sh;"
     2882          ssh  136.172.44.192 -l $usern "$init_cmds $module_calls cd \$HOME/work/${usern}.$kennung; sxmake $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
    28792883          cp  $TEMPDIR_COMPILE/a.out  .
    28802884          [[ $? != 0 ]]  &&  compile_error=true
     
    28832887       then
    28842888          printf "      compiler is called via ssh on \"plogin1\" \n"
    2885           ssh  plogin1  -l $usern  "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\" "
     2889          ssh  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\" "
    28862890          [[ ! -f a.out ]]  &&  compile_error=true
    28872891          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
     
    28892893       then
    28902894          printf "      compiler is called via ssh on \"bicegate0\" \n"
    2891           ssh  bicegate0  -l $usern  ". /usr/share/modules/init/bash; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
     2895          ssh  bicegate0  -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\" "
    28922896          [[ ! -f a.out ]]  &&  compile_error=true
    28932897          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
     
    28952899       then
    28962900          printf "      compiler is called via ssh on \"hicegate0\" \n"
    2897           ssh  hicegate0    -l $usern  ". /usr/share/modules/init/bash; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" 2>&1 "
     2901          ssh  hicegate0  -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\" 2>&1 "
    28982902          [[ ! -f a.out ]]  &&  compile_error=true
    28992903          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
     
    29012905       then
    29022906          printf "      compiler is called via ssh on \"flow\" \n"
    2903           ssh  flow02.hpc.uni-oldenburg.de -l $usern ". /cm/local/apps/environment-modules/3.2.6/Modules/3.2.6/init/bash; echo $MODULEPATH; echo $MODULESHOME; MODULEPATH=/cm/shared/modulefiles/; module load netcdf/intel/64/4.1.3 intel/ics/64/2011.0.013 intel/impi/64/4.0.1.007 hdf5/intel/64/1.8.7; cd $TEMPDIR; make $mopts -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" "
     2907          ssh  flow02.hpc.uni-oldenburg.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\" "
    29042908          [[ ! -f a.out ]]  &&  compile_error=true
    29052909          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    29062910       else
    2907           [[ $localhost = lcxt4 ]]  &&  . /opt/modules/default/init/ksh
     2911          [[ $localhost = lcxe6 ]]  &&  eval $init_cmds
    29082912          [[ "$module_calls" != "" ]]  &&  eval $module_calls
    29092913          make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
     
    37413745                      mpirun -np $tasks_per_node inspxe-cl -r result -collect mi3 -- ./a.out  <  runfile_atmos
    37423746                   fi
    3743                 elif [[ $host = lcxt4  ||  $host = lcxt5m ]]
     3747                elif [[ $host = lcxe6  ||  $host = lcxt5m ]]
    37443748                then
    37453749                    aprun  -n $ii  -N $tasks_per_node  a.out  $ROPTS  < runfile_atmos
     
    37803784                      fi
    37813785
    3782                    elif [[ $host = lcxt4  ||  $host = lcxt5m ]]
     3786                   elif [[ $host = lcxe6  ||  $host = lcxt5m ]]
    37833787                   then
    37843788
     
    38133817                      fi
    38143818
    3815                    elif [[ $host = lcxt4  ||  $host = lcxt5m ]]
     3819                   elif [[ $host = lcxe6  ||  $host = lcxt5m ]]
    38163820                   then
    38173821
  • palm/trunk/SCRIPTS/subjob

    r814 r892  
    136136     # 29/11/11 - Siggi - adjustments for lcsgih/lcsgib queues, pingui admitted
    137137     # 21/12/11 - Theres- solano admitted
    138      # 31/01/12 - Matthias- adjustments for ibmh
     138     # 31/01/12 - Matthias - adjustments for ibmh
     139     # 02/05/12 - Bjoern  - lcxt4 is now lcxe6, adjustments for lcxe6,
     140     #                      bugfixes for the parameter file check, initial
     141     #                      commands on ssh calls sourced out to .mrun.config
    139142
    140143
     
    227230     (gregale)               local_addres=130.75.105.109; local_host=lcmuk;;
    228231     (hababai)               local_addres=130.75.105.108; local_host=lcmuk;;
    229      (hexagon.bccs.uib.no)   local_addres=129.177.20.113; local_host=lcxt4;;
     232     (hexagon.bccs.uib.no)   local_addres=129.177.20.113; local_host=lcxe6;;
    230233     (hd1)                   local_addres=130.75.4.104;   local_host=lcsgih;;
    231234     (hd2)                   local_addres=130.75.4.105;   local_host=lcsgih;;
     
    242245     (maestro)               local_addres=130.75.105.2;   local_host=lcmuk;;
    243246     (meteo-login*)          local_addres=193.166.211.144;local_host=lcxt5m;;
    244      (nid*)                  local_addres=129.177.20.113; local_host=lcxt4;;
     247     (hexagon*)              local_addres=129.177.20.113; local_host=lcxe6;;
    245248     (nobel*)                local_addres=150.183.5.101;  local_host=ibms;;
    246249     (orkan)                 local_addres=130.75.105.3;   local_host=lcmuk;;
     
    390393        (lckordi) remote_addres=210.219.61.8; submcom=/usr/torque/bin/qsub;;
    391394        (lctit)   queue=S; remote_addres=10.1.6.165; submcom=/opt/pbs/tools/bin/t2sub;;
    392         (lcxt4)   remote_addres=129.177.20.113; submcom=/opt/torque/2.4.9-snap.201005191035/bin/qsub;;
     395        (lcxe6)   remote_addres=129.177.20.113; submcom=/opt/torque/2.5.10/bin/qsub;;
    393396        (lcxt5m)  remote_addres=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;;
    394397        (lcyon)   remote_addres=165.132.26.68; submcom=/usr/torque/bin/qsub;;
     
    926929eval \`/sw/swdist/bin/modulesinit\`
    927930#. /usr/share/modules/init/bash
     931$init_cmds
    928932$module_calls
    929933
     
    945949eval \`/sw/swdist/bin/modulesinit\`
    946950#. /usr/share/modules/init/bash
     951$init_cmds
    947952$module_calls
    948953
     
    951956    fi
    952957
    953  elif [[ $remote_host = lcxt4 ]]
     958 elif [[ $remote_host = lcxe6 ]]
    954959 then
    955960
     
    969974$email_directive
    970975
    971 . /opt/modules/default/init/ksh
     976$init_cmds
    972977$module_calls
    973978
     
    988993#PBS -o $remote_dayfile
    989994
    990 . /opt/modules/default/init/ksh
     995$init_cmds
    991996$module_calls
    992997
     
    10361041#PBS -o $remote_dayfile
    10371042
    1038 . /opt/modules/default/init/ksh
     1043$init_cmds
    10391044$module_calls
    10401045
     
    10531058#PBS -o $remote_dayfile
    10541059
    1055 . /opt/modules/default/init/ksh
     1060$init_cmds
    10561061$module_calls
    10571062
     
    11411146    cat > $job_to_send << %%END%%
    11421147#!/bin/ksh
    1143 
     1148$init_cmds
    11441149$module_calls
    11451150
     
    14381443       then
    14391444          eval  $submcom  $job_on_remhost
    1440        elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxt4  ||  $localhost = lck  || $localhost = lckordi||  $localhost = lcyon ]]
     1445       elif [[  $local_host = lcfimm  ||  $local_host = lctit  ||  $localhost = lcxe6  ||  $localhost = lck  || $localhost = lckordi||  $localhost = lcyon ]]
    14411446       then
    14421447          chmod  u+x  $job_on_remhost
  • palm/trunk/SOURCE/check_parameters.f90

    r867 r892  
    44! Current revisions:
    55! -----------------
    6 !
     6! Bugfix for parameter file check ( excluding __netcdf4 )
    77!
    88! Former revisions:
     
    29822982       CONTINUE
    29832983#else
     2984#if ! defined ( __check )
    29842985       message_string = 'NetCDF: NetCDF4 format requested but no ' // &
    29852986                        'cpp-directive __netcdf4 given & switch '  // &
     
    29892990#endif
    29902991    ENDIF
    2991 
     2992#endif
    29922993!
    29932994
Note: See TracChangeset for help on using the changeset viewer.