Changeset 83 for palm/trunk


Ignore:
Timestamp:
Apr 19, 2007 4:27:07 PM (18 years ago)
Author:
raasch
Message:

New:
---

Changed:


PALM can be generally installed on any kind of Linux-, IBM-AIX-, or NEC-SX-system by adding appropriate settings to the configuration file.

Scripts are also running under the public domain ksh.

All system relevant compile and link options as well as the host identifier (local_host) are specified in the configuration file.

Filetransfer by ftp removed (options -f removed from mrun and mbuild).

Call of (system-)FLUSH routine moved to new routine local_flush.

return_addres and return_username are read from ENVPAR-NAMELIST-file instead of using local_getenv.

Preprocessor strings for different linux clusters changed to "lc", some preprocessor directives renamed (new: intel_openmp_bug), preprocessor directives for old systems removed

advec_particles, check_open, cpu_log, cpu_statistics, data_output_dvrp, flow_statistics, header, init_dvrp, init_particles, init_1d_model, init_dvrp, init_pegrid, local_getenv, local_system, local_tremain, local_tremain_ini, modules, palm, parin, run_control

new:
local_flush

mbuild, mrun

Errors:


Location:
palm/trunk
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/DOC/app/chapter_3.6.html

    r62 r83  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    22<html><head>
    3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM
    4 chapter 3.6</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040809;10583400"> <meta name="CHANGED" content="20041112;15013624"> <meta name="KEYWORDS" content="parallel LES model"> <style>
     3<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 3.6</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040809;10583400"> <meta name="CHANGED" content="20041112;15013624"> <meta name="KEYWORDS" content="parallel LES model"> <style>
    54<!--
    65@page { size: 21cm 29.7cm }
     
    2221are copied to
    2322directories on the local host corresponding to the specifications
    24 in the configuration file (in this case the file attribute <a href="http://www.muk.uni-hannover.de/institut/software/mrun_beschreibung.html#tr">tr</a>
    25 does not cause transfer to another computer). </p>
     23in the configuration file (in this case the file attribute<span style="font-family: Courier New,Courier,monospace;"> tr&nbsp;</span>does not cause transfer to another computer). </p>
    2624<p style="line-height: 100%;">Since model runs usually
    2725require large
  • palm/trunk/DOC/app/chapter_4.0.html

    r62 r83  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    22<html><head>
    3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM
    4 chapter 4.0</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040809;14214479"> <meta name="CHANGED" content="20041112;15151993"> <meta name="KEYWORDS" content="parallel LES model"> <style>
     3<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 4.0</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040809;14214479"> <meta name="CHANGED" content="20041112;15151993"> <meta name="KEYWORDS" content="parallel LES model"> <style>
    54<!--
    65@page { size: 21cm 29.7cm }
    76-->
    87</style></head>
    9 
    108<body style="direction: ltr;" lang="en-US"><h2 style="line-height: 100%;"><font size="4">4.0
    119Steering parameters</font></h2>
     
    2119</p><p style="line-height: 100%;">These data are
    2220assigned with the help of
    23 so-called ?&ldquo;NAMELIST-driven input&rdquo;? (FORTRAN -
     21so-called&nbsp;&ldquo;NAMELIST-driven input&rdquo; (FORTRAN -
    2422NAMELIST &ndash;
    25 input). The ?gew&auml;hlten? values of the model parameters are
     23input). The chosen values of the model parameters are
    2624written
    2725into an ASCII file with fixed format, which is expected by the model as
  • palm/trunk/DOC/app/chapter_4.1.html

    r75 r83  
    559559</td> <td style="vertical-align: top;">R</td>
    560560<td style="vertical-align: top;"><span style="font-style: italic;">1.0</span></td> <td style="vertical-align: top;"> <p>Horizontal grid
    561 spacing along the x-direction (in m).&nbsp; </p> <p>Along
    562 x-direction only a constant grid spacing is allowed.</p> </td>
     561spacing along the y-direction (in m).&nbsp; </p> <p>Along y-direction only a constant grid spacing is allowed.</p> </td>
    563562</tr> <tr> <td style="vertical-align: top;">
    564563<p><a name="dz"></a><b>dz</b></p>
  • palm/trunk/DOC/app/chapter_4.6.html

    r75 r83  
    578578</td> <td style="vertical-align: middle;" width="16%">
    579579<p><i>1.0</i></p> </td> <td style="vertical-align: middle;" width="57%"> <p>Horizontal
    580 grid spacing along the x-direction (in m). <br> </p> </td>
     580grid spacing along the y-direction (in m). <br> </p> </td>
    581581</tr> <tr> <td style="vertical-align: middle;" width="15%"> <p><a href="chapter_4.1.html#dz"><b>dz</b></a></p>
    582582</td> <td style="vertical-align: middle;" width="5%">
  • palm/trunk/DOC/app/chapter_5.0.html

    r62 r83  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    22<html><head>
    3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM
    4 chapter 5.0</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041103;12380720"> <meta name="CHANGED" content="20041123;15532356"> <meta name="KEYWORDS" content="parallel LES model"> <style>
     3<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 5.0</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041103;12380720"> <meta name="CHANGED" content="20041123;15532356"> <meta name="KEYWORDS" content="parallel LES model"> <style>
    54<!--
    65@page { size: 21cm 29.7cm }
     
    1918local host. Alternatively, <span style="font-weight: bold;">mrun</span>
    2019can also be used to start PALM on the local host in interactive mode or
    21 as a batch job.</font><p style="line-height: 100%;"></p><p style="line-height: 100%;"><font color="#000000"><span style="font-weight: bold; text-decoration: underline;">Requirements</span></font></p><p style="line-height: 100%;"><font color="#000000">The
     20as a batch job (if a queueing system like NQS, PBS, or LoadLeveler is available).</font><p style="line-height: 100%;"></p><p style="line-height: 100%;"><font color="#000000"><span style="font-weight: bold; text-decoration: underline;">Requirements</span></font></p><p style="line-height: 100%;"><font color="#000000">The
    2221installation and operation of PALM requires at mimimum (on both, the
    23 local and the remote host, unless stated otherwise):</font></p><ol><li><font color="#000000">The AT&amp;T Korn-shell (ksh) must be
    24 available under<span style="font-family: Courier New,Courier,monospace;"> </span></font><font style="font-family: Courier New,Courier,monospace;" color="#000000">/bin/ksh</font><font color="#000000">.
    25 Most of the current Linux distributions are using the public domain
    26 Korn-shell (pdksh). The PALM scripts <span style="font-weight: bold;">mrun</span> and <span style="font-weight: bold;">mbuild</span> do not work
    27 with the pdksh! Please replace it by the AT&amp;T ksh. If the
    28 AT&amp;T ksh path is different from<span style="font-family: Courier New,Courier,monospace;"> </span></font><font style="font-family: Courier New,Courier,monospace;" color="#000000">/bin/ksh</font><font color="#000000">,
    29 please modify the first lines in <span style="font-weight: bold;">mrun</span>
    30 and <span style="font-weight: bold;">mbuild</span>,
    31 respectively.</font></li><li><font color="#000000">The
     22local and the remote host, unless stated otherwise):</font></p><ol><li><font color="#000000">The Korn-shell (AT&amp;T ksh or public domain ksh) must be
     23available under<span style="font-family: Courier New,Courier,monospace;"> </span></font><font style="font-family: Courier New,Courier,monospace;" color="#000000">/bin/ksh</font><font color="#000000">.<span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-family: Courier New,Courier,monospace;"></span></font><font color="#000000"><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span></font></li><li><font color="#000000">The
    3224NetCDF-library with version number not earlier than 3.6.0-p1 (for
    3325NetCDF, see under <a href="http://www.unidata.ucar.edu/software/netcdf/">www.unidata.ucar.edu</a>).</font></li><li><font color="#000000">A FORTRAN90/95 compiler.</font></li><li><font color="#000000">The Message Passing Interface (MPI), at
     
    5547as well as on the Linux cluster of IMUK (<span style="font-style: italic;">lcmuk</span>) and Tokyo
    5648Institute of Technology (<span style="font-style: italic;">lctit</span>).
    57 The strings given in brackets are the systems names under which <span style="font-weight: bold;">mrun</span> indentifies the
    58 different hosts. mrun should also work on other systems, but this
    59 requires some modifications in the scripts <span style="font-weight: bold;">mrun</span>, <span style="font-weight: bold;">mbuild</span>, and <span style="font-weight: bold;">subjob</span>. Future PALM
    60 versions will allow to configure the scripts for different kinds of
    61 systems by just using a configuration file.</font><p style="line-height: 100%;"><font color="#000000">The
     49The strings given in brackets are the systems names (host identifiers) under which <span style="font-weight: bold;">mrun</span> identifies the
     50different hosts.<br><br>You can also use <span style="font-weight: bold;">mrun</span>/PALM on other Linux-Cluster, IBM-AIX, or NEC-SX machines. See <a href="#configuration_for_other_machines">below</a> on how to configure <span style="font-weight: bold;">mrun</span> for other machines. However, these configurations currently (version 3.2a) allow to run PALM in interactive mode only.<br><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span></font><p style="line-height: 100%;"><font color="#000000">The
    6251examples given in this chapter refer to an
    6352installation of PALM on an IMUK Linux workstation and the IBM-Regatta
     
    136125probably be restricted to the PALM developers.</span><p style="line-height: 100%;"></p><p style="line-height: 100%;"><font color="#000000"><span style="font-weight: bold; text-decoration: underline;">Package
    137126Configuration</span></font></p><p style="line-height: 100%;"><font color="#000000">To
    138 use the PALM scripts, the PATH variable has to be extended and the
    139 environment variable PALM_BIN has to be set (on local and remote host)
     127use the PALM scripts, the <span style="font-family: Courier New,Courier,monospace;">PATH</span>-variable has to be extended and the
     128environment variable<span style="font-family: Courier New,Courier,monospace;"> PALM_BIN </span>has to be set (on local and remote host)
    140129in the respective profile of the users default shell (e.g. in<span style="font-family: Courier New,Courier,monospace;"> .profile</span>,
    141130if<span style="font-family: Courier New,Courier,monospace;">
     
    143132PATH=$HOME/palm/current_version/trunk/SCRIPTS:$PATH</font><font color="#000000"><br><span style="font-family: Courier New,Courier,monospace;">export
    144133PALM_BIN=</span></font><font style="font-family: Courier New,Courier,monospace;" color="#000000">$HOME/palm/current_version/trunk/SCRIPTS</font></p><p style="line-height: 100%;"><font color="#000000">You
    145 may habe to login again in order to activate these settings.</font></p><font color="#000000">On the local and on the remote host, some
    146 small helper/utility programs have to be installed, which are e.g.
    147 later used by <span style="font-weight: bold;">mrun</span>
    148 or for PALM data postprocessing. The installation is done by <span style="font-weight: bold;">mbuild</span>. This script
     134may have to login again in order to activate these settings.</font></p><font color="#000000">On the local and on the remote host, some
     135small helper/utility programs have to be installed, which are&nbsp;later used by <span style="font-weight: bold;">mrun</span>&nbsp;e.g. for PALM data postprocessing. The installation is done by <span style="font-weight: bold;">mbuild</span>. This script
    149136requires a configuration file<span style="font-family: Courier New,Courier,monospace;">
    150137.mrun.config</span>, which will be also used by <span style="font-weight: bold;">mrun</span> in the
     
    155142typical installation parameters
    156143like compiler name, compiler options, etc.
    157 for a set of different remote hosts. Please edit this file, uncomment
     144for a set of different (remote) hosts. Please edit this file, uncomment
    158145lines like</font><div style="margin-left: 40px; font-family: Courier New,Courier,monospace;">#%remote_username
    159146&nbsp;&lt;replace by your ... username&gt; &nbsp;
    160 &lt;remote-computer-shortcut&gt;</div><p style="line-height: 100%;"><font color="#000000">by
     147&lt;host identifier&gt;</div><p style="line-height: 100%;"><font color="#000000">by
    161148removing the first hash (<span style="font-family: Courier New,Courier,monospace;">#</span>)
    162149character and replace the string "<span style="font-family: Courier New,Courier,monospace;">&lt;replace
    163150by ...&gt;</span>" by your username on the respective host
    164 given in the <span style="font-family: Courier New,Courier,monospace;">&lt;remote-computer-shortcut&gt;</span>.
     151given in the <span style="font-family: Courier New,Courier,monospace;">&lt;host identifier&gt;</span>.
    165152You only have to uncomment lines for those hosts on which you intend to
    166153use PALM.</font></p><p style="line-height: 100%;"><font color="#000000">After modifying the configuration file, the
    167154respective executables are generated by executing</font></p><p style="line-height: 100%; margin-left: 40px; font-family: Courier New,Courier,monospace;"><font color="#000000">mbuild -u -h lcmuk<br>mbuild -u -h ibmh</font></p><p style="line-height: 100%;"><font color="#000000">The
    168 second call also copies the PALM scripts like <span style="font-weight: bold;">mrun</span> and <span style="font-weight: bold;">mbuild</span> to the remote
     155second call also copies the PALM scripts (like <span style="font-weight: bold;">mrun</span> and <span style="font-weight: bold;">mbuild</span>) to the remote
    169156host.</font></p><p style="line-height: 100%;"></p><p style="line-height: 100%;"><font color="#000000"><span style="font-weight: bold; text-decoration: underline;">Pre-Compilation
    170157of PALM Code</span></font></p><font color="#000000">
     
    265252and time displayed at the top of the file header. <font color="#000000">If
    266253the file contents are identical, the installation is successfully
    267 completed.</font>
     254completed.<br><br></font><p style="line-height: 100%;"></p><p style="line-height: 100%; font-weight: bold; text-decoration: underline;"><font color="#000000"><a name="configuration_for_other_machines"></a>Configuration for other machines</font></p><font color="#000000">Starting
     255from version 3.2a, beside the default hosts (HLRN, etc.), PALM can also
     256be installed and run on other Linux-Cluster-, IBM-AIX, or
     257NEC-SX-systems. To configure PALM for a non-default host only requires
     258to add some lines to the configuration file<span style="font-family: Courier New,Courier,monospace;"> .mrun.config</span>.<br><br>First,
     259you have to define the host identifier (a string of arbitrary length)
     260under which your local host shall be identified by adding a line<br><br></font><div style="margin-left: 40px;"><span style="font-family: Courier New,Courier,monospace;">%host_identifier &nbsp;&lt;hostname&gt; &nbsp;&lt;host identifier&gt;</span><br></div><br>to the configuration file (best to do this in the section where the other default host identifiers are defined). Here<span style="font-family: Courier New,Courier,monospace;"> &lt;hostname&gt; </span>must be the name of your local host as provided by the unix-command "<span style="font-family: Courier New,Courier,monospace;">hostname</span>". The first characters of<span style="font-family: Courier New,Courier,monospace;"> &lt;host identifier&gt; </span>have to be "<span style="font-family: Courier New,Courier,monospace;">lc</span>", if your system is (part of) a linux-cluster, "<span style="font-family: Courier New,Courier,monospace;">ibm</span>", or "<span style="font-family: Courier New,Courier,monospace;">nec</span>"
     261in case of an IBM-AIX- or NEC-SX-system, respectively. For example, if
     262you want to install on a linux-cluster, the line may read as<br><br><div style="margin-left: 40px;">%host_identifier &nbsp;foo &nbsp;lc_bar<br></div><br>In
     263the second step, you have to give all informations neccessary to
     264compile and run PALM on your local host by adding an additional section
     265to the configuration file:<br><br><div style="margin-left: 40px; font-family: Courier New,Courier,monospace;">%remote_username&nbsp;&nbsp; &lt;1&gt;&nbsp; &nbsp; &nbsp; &lt;host identifier&gt; parallel<br>%tmp_user_catalog&nbsp; &lt;2&gt; &nbsp;&nbsp;&nbsp;&nbsp; &lt;host identifier&gt; parallel<br>%compiler_name&nbsp;&nbsp;&nbsp;&nbsp; &lt;3&gt; &nbsp;&nbsp;&nbsp;&nbsp; &lt;host identifier&gt; parallel<br>%compiler_name_ser &lt;4&gt; &nbsp;&nbsp;&nbsp;&nbsp; &lt;host identifier&gt; parallel<br>%cpp_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     266&lt;5&gt; &nbsp; &nbsp; &nbsp;&lt;host identifier&gt;&nbsp;parallel<br>%netcdf_inc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;6&gt; &nbsp;&nbsp;&nbsp;&nbsp; &lt;host identifier&gt; parallel<br>%netcdf_lib&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;7&gt; &nbsp;&nbsp;&nbsp;&nbsp; &lt;host identifier&gt; parallel<br>%fopts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     267&lt;8&gt; &nbsp;&nbsp;&nbsp; &nbsp;&lt;host identifier&gt; parallel<br>%lopts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     268&nbsp;&lt;9&gt; &nbsp; &nbsp; &nbsp;&lt;host identifier&gt; parallel<br></div><br>The
     269section consists of four columns each separated by one or more blanks.
     270The first column gives the name of the respective environment variable
     271used by <span style="font-weight: bold;">mrun</span> and <span style="font-weight: bold;">mbuild</span>,
     272while the second column defines its value. The third column has to be
     273the host identifier as defined above, and the last column in each line
     274must contain the string "<span style="font-family: Courier New,Courier,monospace;">parallel</span>".
     275Otherwise, the respective line(s) will be interpreted as belonging to
     276the setup for compiling and running a serial (non-parallel) version of
     277PALM.<br><br>All brackets have to be replaced by the appropriate settings for your local host:<br><ul><li><span style="font-family: Courier New,Courier,monospace;">&lt;1&gt; </span>is the username on your LOCAL host</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;2&gt; </span>is the temporary directory in which PALM runs will be carried out</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;3&gt; </span>is the compiler name which generates parallel code</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;4&gt; </span>is the compiler name for generating serial code</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;5&gt; </span>are
     278the preprocessor options to be invoked. In most of the cases, it will
     279be neccessary to adjust the MPI data types to double precision by
     280giving <span style="font-family: Courier New,Courier,monospace;">-DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION</span>. To switch on the NetCDF support, you also have to give <span style="font-family: Courier New,Courier,monospace;">-D__netcdf</span> and <span style="font-family: Courier New,Courier,monospace;">-D__netcdf_64bit</span> (if you like to have 64bit NetCDF output).</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;6&gt; </span>is the compiler option for specifying the include path to search for the NetCDF module/include files</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;7&gt; </span>are the linker options to search for the NetCDF library</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;8&gt; </span>are the general compiler options to be used. You should allways switch on double precision (e.g. <span style="font-family: Courier New,Courier,monospace;">-r8</span>) and code optimization (e.g. <span style="font-family: Courier New,Courier,monospace;">-O2</span>).</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;9&gt; </span>are the linker options</li><li><span style="font-family: Courier New,Courier,monospace;">&lt;host identifier&gt; </span>is the host identifier as defined before</li></ul><br>A typical example may be:<br><div style="margin-left: 40px; font-family: Courier New,Courier,monospace;">%remote_username&nbsp;&nbsp;
     281raasch &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
     282&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lc_bar parallel<br>%tmp_user_catalog&nbsp;
     283/tmp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lc_bar
     284parallel<br>%compiler_name&nbsp;&nbsp;&nbsp;&nbsp;
     285mpif90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lc_bar
     286parallel<br>%compiler_name_ser
     287ifort&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lc_bar
     288parallel<br>%cpp_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     289-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit&nbsp;&nbsp;
     290lc_bar parallel<br>%netcdf_inc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     291-I:/usr/local/netcdf/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     292lc_bar parallel<br>%netcdf_lib&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     293-L/usr/local/netcdf/lib:-lnetcdf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     294lc_bar parallel<br>%fopts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     295-axW:-cpp:-openmp:-r8:-nbs &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
     296&nbsp;&nbsp;&nbsp; lc_bar parallel<br>%lopts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     297-axW:-cpp:-openmp:-r8:-nbs:-Vaxlib&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lc_bar
     298parallel<br></div><br>Currently (version 3.2a), depending on the MPI
     299version which is running on your local host, the options for the
     300execution command (which may be <span style="font-family: Courier New,Courier,monospace;">mpirun</span> or <span style="font-family: Courier New,Courier,monospace;">mpiexec</span>)
     301may have to be adjusted manually in the mrun-script. A future version
     302will allow to give the respective settings in the configuration file.
    268303<p style="line-height: 100%;">If you have any problems
    269304with the PALM
    270305installation, the members of the PALM working group are pleased to
    271306help you. &nbsp; </p>
    272 <hr><p style="line-height: 100%;"><font color="#000080"><font color="#000080"><a href="chapter_4.6.html"><font color="#000080"><img src="left.gif" name="Grafik1" align="bottom" border="2" height="32" width="32"></font></a><a href="Inhaltsverzeichnis.html"><font color="#000080"><img src="up.gif" name="Grafik2" align="bottom" border="2" height="32" width="32"></font></a><a href="chapter_5.1.html"><font color="#000080"><img src="right.gif" name="Grafik3" align="bottom" border="2" height="32" width="32"></font></a></font></font></p>
     307<hr><p style="line-height: 100%;"><font color="#000080"><font color="#000080"><a href="chapter_4.6.html"><font color="#000080"><img src="left.gif" name="Grafik1" align="bottom" border="2" height="32" width="32"></font></a><a href="index.html"><font color="#000080"><img style="border: 2px solid ; width: 32px; height: 32px;" alt="up" src="up.gif" name="Grafik2"></font></a><a href="chapter_5.1.html"><font color="#000080"><img src="right.gif" name="Grafik3" align="bottom" border="2" height="32" width="32"></font></a></font></font></p>
    273308<p style="line-height: 100%;"><i>Last
    274309change:&nbsp;</i> $Id$</p>
  • palm/trunk/DOC/app/chapter_5.1.html

    r82 r83  
    55<meta content="Siegfried Raasch" name="AUTHOR"> <meta content="20041103;12395815" name="CREATED"> <meta content="20041119;12321236" name="CHANGED"> <meta content="parallel LES model" name="KEYWORDS"></head>
    66<body style="direction: ltr;" lang="en-US"><h3>5.1
    7 Installation of new / other versions</h3>
     7Installation of new / other versions, version update</h3>
    88<p>The PALM&nbsp;group announces code revisions by emails
    99send to the
     
    1212Details about new releases can be found in the
    1313<a href="../tec/technical_documentation.html">technical/numerical
    14 documentation</a>.</p><p>If you have previously checked out the most recent (at that time)  PALM version by using</p><p style="margin-left: 40px; font-family: Courier New,Courier,monospace;">svn checkout ...../palm/trunk trunk &nbsp; &nbsp; ,</p><p>you can easily make an update to the most recent PALM version by
     14documentation</a>.</p><p>Generally,
     15there are two ways of installing new / other versions. You can install
     16a version from the list of available PALM releases or you can update
     17your current installation with the newest developer version of PALM.</p><p>If you have previously checked out the most recent (at that time)  PALM developer version by using</p><p style="margin-left: 40px; font-family: Courier New,Courier,monospace;">svn checkout ...../palm/trunk trunk &nbsp; &nbsp; ,</p><p>you can easily make an update to the newest version by
    1518changing into
    1619the working directory<span style="font-family: Courier New,Courier,monospace;">
     
    2124The update may fail due&nbsp;the&nbsp;<span style="font-weight: bold;">subversion</span> rules, if
    2225you have modified the contents of<span style="font-family: Courier New,Courier,monospace;"> trunk</span>.
    23 In case of any conflicts, please refer to the <span style="font-weight: bold;">subversion</span>
     26In case of any conflicts with the repository, please refer to the <span style="font-weight: bold;">subversion</span>
    2427documentation on how to remove them.&nbsp;In order to avoid such
    2528conflicts, modifications of the default PALM code should be omitted and
     
    3639<p>However, this would require to carry out again the complete
    3740installation process described in chapter 5.0. So far, differet
    38 versions of PALM cannot be used at the same time.</p><p>After
     41versions of PALM cannot be used at the same time. The PALM releases from<span style="font-family: Courier New,Courier,monospace;"> palm/tags&nbsp;</span>never have to be updated with "<span style="font-family: Courier New,Courier,monospace;">svn update</span>", since these releases are frozen!</p><p>After
    3942updating the working copy, please check for any differences between
    4043your current configuration file (<span style="font-family: Courier New,Courier,monospace;">.mrun.config</span>)
     
    5053-u<br>mbuild</blockquote>
    5154<p>on all remote hosts listed in the configuration file<span style="font-family: Courier New,Courier,monospace;">
    52 .mrun.config</span>. </p>
     55.mrun.config</span>.</p><p>You can use "subversion" for code comparison between the different versions. Also,&nbsp;modified code can be committed to the repository, but this is restricted to&nbsp;PALM developers. </p>
    5356<p>As a last step, a suitable test run should be carried out. It
    5457should
  • palm/trunk/DOC/app/index.html

    r77 r83  
    148148<p><span style="font-family: Thorndale;" lang="EN-GB">Current
    149149model
    150 version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.2<br>For date of last change see bottom line of each page. <o:p></o:p></span></p>
     150version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.2a<br>For date of last change see bottom line of each page. <o:p></o:p></span></p>
    151151<div style="text-align: center;" class="MsoNormal" align="center"><span style="font-family: Thorndale;">
    152152<hr align="center" size="2" width="100%"></span></div>
     
    212212of the model <o:p></o:p></span></p>
    213213<p style="margin: 0cm 0cm 5.1pt 72pt;"><span style="font-family: Thorndale;"><a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_5.1.html">5.1</a>
    214 Installation of <span class="SpellE">new</span><span class="SpellE"></span>
    215 <span class="SpellE">versions</span><o:p></o:p></span></p><font color="#000000">&nbsp;
     214Installation of <span class="SpellE">new</span><span class="SpellE"></span> / other
     215<span class="SpellE">versions, version update</span><o:p></o:p></span></p><font color="#000000">&nbsp;
    216216<br>
    217217&nbsp;
  • palm/trunk/DOC/tec/technical_documentation.html

    r77 r83  
    1212<br><table nosave="" cellpadding="0" cellspacing="0"> <caption>&nbsp; <br> </caption><tbody>
    1313</tbody><tbody> </tbody> <tbody> <tr nosave=""> <td nosave=""><b>Current
    14 model version:</b></td> <td><span style="font-weight: bold;">3.2</span></td> </tr>
     14model version:</b></td> <td><span style="font-weight: bold;">3.2a</span></td> </tr>
    1515<tr nosave=""> <td nosave=""><b>Last
    1616change of this document</b>:&nbsp;</td> <td nosave=""><b>$Id$</b></td> </tr>
     
    22982298poisfft, poismg, prandtl_fluxes, pres, production_e,
    22992299prognostic_equations, read_var_list, read_3d_binary, sor,
    2300 swap_timelevel, time_integration, write_var_list, write_3d_binary</td></tr><tr><td style="vertical-align: top;">&nbsp;</td><td style="vertical-align: top;">&nbsp;</td><td style="vertical-align: top;">&nbsp;</td><td style="vertical-align: top;">E</td><td style="vertical-align: top;">Bugfix: preset of tendencies <span style="font-family: Courier New,Courier,monospace;">te_em</span>, <span style="font-family: Courier New,Courier,monospace;">te_um</span>, and <span style="font-family: Courier New,Courier,monospace;">te_vm</span> (<span style="font-family: Courier New,Courier,monospace;">init_1d_model</span>).<br><br>Bugfix in sample for reading user defined data from restart file (<span style="font-family: Courier New,Courier,monospace;">user_init</span>).<br><br>Bugfix in setting diffusivities for cases with the outflow damping layer extending over more than one subdomain (<span style="font-family: Courier New,Courier,monospace;">init_3d_model</span>).<br><br>Check for possible negative humidities in the initial humidity profile.<br><br>In <span style="font-family: Courier New,Courier,monospace;">Makefile</span>, default suffixes are removed from the suffix list to avoid calling of <span style="font-family: Courier New,Courier,monospace;">m2c</span> in cases of existing <span style="font-family: Courier New,Courier,monospace;">.mod</span> files (problem on Linux systems).</td><td style="vertical-align: top;">Makefile<br><br>check_parameters, init_1d_model, init_3d_model, user_interface</td></tr>
     2300swap_timelevel, time_integration, write_var_list, write_3d_binary</td></tr><tr><td style="vertical-align: top;">&nbsp;</td><td style="vertical-align: top;">&nbsp;</td><td style="vertical-align: top;">&nbsp;</td><td style="vertical-align: top;">E</td><td style="vertical-align: top;">Bugfix: preset of tendencies <span style="font-family: Courier New,Courier,monospace;">te_em</span>, <span style="font-family: Courier New,Courier,monospace;">te_um</span>, and <span style="font-family: Courier New,Courier,monospace;">te_vm</span> (<span style="font-family: Courier New,Courier,monospace;">init_1d_model</span>).<br><br>Bugfix in sample for reading user defined data from restart file (<span style="font-family: Courier New,Courier,monospace;">user_init</span>).<br><br>Bugfix in setting diffusivities for cases with the outflow damping layer extending over more than one subdomain (<span style="font-family: Courier New,Courier,monospace;">init_3d_model</span>).<br><br>Check for possible negative humidities in the initial humidity profile.<br><br>In <span style="font-family: Courier New,Courier,monospace;">Makefile</span>, default suffixes are removed from the suffix list to avoid calling of <span style="font-family: Courier New,Courier,monospace;">m2c</span> in cases of existing <span style="font-family: Courier New,Courier,monospace;">.mod</span> files (problem on Linux systems).</td><td style="vertical-align: top;">Makefile<br><br>check_parameters, init_1d_model, init_3d_model, user_interface</td></tr><tr><td style="vertical-align: top;">19/04/07</td><td style="vertical-align: top;">SR</td><td style="vertical-align: top;">3.2a</td><td style="vertical-align: top;">C</td><td style="vertical-align: top;">All system relevant compile and link options (e.g. cpp-directives,
     2301library paths, etc.) as well as the host identifier (local_host) are
     2302now specified in the configuration file. This generally allows to install
     2303PALM on any&nbsp;kind of Linux-, IBM-AIX-, or NEC-SX-system by adding
     2304appropriate
     2305settings to the configuration file. A description is added to chapter
     23065.0 of the online documentation.<br><br>Scripts are also running under the public domain ksh.<br><br>Filetransfer by ftp removed (options<span style="font-family: Courier New,Courier,monospace;"> -f </span>removed from <span style="font-weight: bold;">mrun</span> and <span style="font-weight: bold;">mbuild</span>).<br><br>Call of (system-)FLUSH routine moved to new routine<span style="font-family: Courier New,Courier,monospace;"> local_flush</span>.<br><br><span style="font-family: Courier New,Courier,monospace;">return_addres </span>and<span style="font-family: Courier New,Courier,monospace;"> return_username </span>are read from ENVPAR-NAMELIST-file instead of using<span style="font-family: Courier New,Courier,monospace;"> local_getenv</span>.<br><br>Preprocessor strings for different linux clusters changed to "<span style="font-family: Courier New,Courier,monospace;">lc</span>", some preprocessor directives renamed (new:<span style="font-family: Courier New,Courier,monospace;"> __intel_openmp_bug</span> which is used for the bug in<span style="font-family: Courier New,Courier,monospace;"> tridia_1dd </span>and the OpenMP directives). Preprocessor directives for old systems have been removed.<br><br></td><td style="vertical-align: top;">advec_particles,
     2307check_open, cpu_log, cpu_statistics, data_output_dvrp, flow_statistics,
     2308header, init_dvrp, init_particles, init_1d_model, init_dvrp,
     2309init_pegrid, local_getenv, local_system, local_tremain,
     2310local_tremain_ini, modules, palm, parin, run_control<br><br><span style="font-weight: bold;">new:</span><br>local_flush<br><br><span style="font-weight: bold;">changed scripts:</span><br>mbuild, mrun, .mrun.config.default<br></td></tr>
    23012311</tbody>
    23022312</table>&nbsp;<b><blink>Attention:</blink></b>
  • palm/trunk/INSTALL/example_rc

    r80 r83  
    11
    22 *************************           ----------------------------
    3  * PALM 3.2  Rev: 79     *           3D - run without 1D - prerun
     3 * PALM 3.2a  Rev: 82M   *           3D - run without 1D - prerun
    44 *************************           ----------------------------
    55
    6  Date:            29-03-07           Run:       example             
    7  Time:            07:22:33           Run-No.:   00
     6 Date:            19-04-07           Run:       example             
     7 Time:            18:19:07           Run-No.:   00
    88 Run on host:         ibmh
    99 Number of PEs:          8           Processor grid (x,y): (  8,  1) forced
     
    136136       Output format: netcdf                                 
    137137
    138        Output every                20.00 s
     138       Output every                 0.00 s
    139139
    140140 ------------------------------------------------------------------------------
  • palm/trunk/SCRIPTS/.mrun.config.default

    r63 r83  
    1010%use_makefile      true
    1111#
     12# Enter your own host below by adding another line containing in the second
     13# column your hostname (as provided by the unix command "hostname") and in the
     14# third column the host identifier. Depending on your system, the first
     15# characters of the host identifier should be "lc" (Linux cluster), "ibm"
     16# (IBM-AIX), or "nec" (NEC-SX), respectively.
     17%host_identifier   bora        lcmuk
     18%host_identifier   cs*         nech
     19%host_identifier   hreg*-en0   ibmh
     20%host_identifier   hanni*-en0  ibmh
     21%host_identifier   breg*-en0   ibmb
     22%host_identifier   berni*-en0  ibmb
     23#
    1224#%remote_username   <replace by your linux cluster username>     lcmuk parallel
    1325%tmp_user_catalog  /tmp                                          lcmuk parallel
    1426%compiler_name     mpif90                                        lcmuk parallel
    1527%compiler_name_ser ifort                                         lcmuk parallel
     28%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit:-D__intel_openmp_bug   lcmuk parallel
     29%netcdf_inc        -I:/muksoft/packages/netcdf/linux/include            lcmuk parallel
     30%netcdf_lib        -L/muksoft/packages/netcdf/linux/lib:-lnetcdf        lcmuk parallel
    1631%fopts             -axW:-cpp:-openmp:-r8:-nbs:-convert:little_endian     lcmuk parallel
    1732%lopts             -axW:-cpp:-openmp:-r8:-nbs:-Vaxlib                    lcmuk parallel
     
    3348%compiler_name     mpxlf95_r                                  ibmh parallel
    3449%compiler_name_ser xlf95                                      ibmh parallel
    35 %fopts             -O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape    ibmh parallel
    36 %lopts             -O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape:-lesslsmp   ibmh parallel
     50%cpp_options       -qsuffix=cpp=f90:-WF,-DMPI_REAL=MPI_DOUBLE_PRECISION,-D__netcdf=__netcdf,-D__netcdf_64bit=__netcdf_64bit  ibmh parallel
     51%dvrp_inc          -I/home/h/nikevita/lib_stable/optimize     ibmh parallel
     52%dvrp_lib          -L/home/h/nikevita/lib_stable/optimize:-lDVRP2:-lftp  ibmh parallel
     53%netcdf_inc        -I:/aws/dataformats/netcdf-3.6.0-p1/64-32/include-64 ibmh parallel
     54%netcdf_lib        -L/aws/dataformats/netcdf-3.6.0-p1/64-32/lib:-lnetcdf        ibmh parallel
     55%fopts             -O3:-g:-qfloat=nomaf:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape    ibmh parallel
     56%lopts             -O3:-g:-qfloat=nomaf:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape:-lesslsmp   ibmh parallel
    3757%memory            1630                                       ibmh parallel
    3858%cpumax            1000                                       ibmh parallel
     
    4464%compiler_name     mpxlf95_r                                  ibmh parallel debug
    4565%compiler_name_ser xlf95                                      ibmh parallel debug
    46 %fopts             -qnoopt:-g:-qsmp=noopt:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap    ibmh parallel debug
    47 %lopts             -qnoopt:-g:-qsmp=noopt:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap:-lesslsmp  ibmh parallel debug
     66%fopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap    ibmh parallel debug
     67%lopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap:-lesslsmp  ibmh parallel debug
    4868%memory            1000                                       ibmh parallel debug
    4969%cpumax            1000                                       ibmh parallel debug
     
    6484%compiler_name     sxmpif90                                   nech parallel
    6585%compiler_name_ser sxf90                                      nech parallel
     86%cpp_options       -Ep:-DMPI_REAL=MPI_REAL8:-DMPI_2REAL=MPI_2REAL8:-DSCFFT=DZFFT:-DCSFFT=ZDFFT:-D__netcdf:-D__netcdf_64bit  nech parallel
     87%netcdf_inc        -I:/pool/SX-6/netcdf/netcdf-3.6.0-p1/include  nech parallel
     88%netcdf_lib        -L/pool/SX-6/netcdf/netcdf-3.6.0-p1/lib:-lnetcdf  nech parallel
    6689%fopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4:-pvctl:fullmsg\':-ftrace:-P:stack:-pi:auto:-pi:line=1000  nech parallel
    6790%lopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4\':-ftrace:-P:stack:-pi:auto:-pi:line=1000:-L/SX/opt/MathKeisan/MK1_6/lib/:-l:fft  nech parallel
     
    7598%compiler_name     sxmpif90                                   neck parallel
    7699%compiler_name_ser sxf90                                      neck parallel
     100%cpp_options       -Ep:-DMPI_REAL=MPI_REAL8:-DMPI_2REAL=MPI_2REAL8:-DSCFFT=DZFFT:-DCSFFT=ZDFFT:-D__netcdf:-D__netcdf_64bit  neck parallel
     101%netcdf_inc        -I:/home/DSRC/NC/tatuyama/pub/netcdf-3.6.0-p1/include  neck parallel
     102%netcdf_lib        -L/home/DSRC/NC/tatuyama/pub/netcdf-3.6.0-p1/lib:-lnetcdf  neck parallel
     103%dvrp_inc          -I/home/DSRC/NC/tatuyama/pub/dvrp          neck parallel
     104%dvrp_lib          -L/home/DSRC/NC/tatuyama/pub/dvrp:-lDVRP2:-lftp  neck parallel
    77105%fopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4:-pvctl:fullmsg\':-ftrace:-P:stack:-pi:auto:-pi:line=1000  neck parallel
    78106%lopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4\':-ftrace:-P:stack:-pi:auto:-pi:line=1000:-L/SX/opt/MathKeisan/MK1_6/lib/:-l:fft  neck parallel
  • palm/trunk/SCRIPTS/mbuild

    r82 r83  
    108108 suf=f90
    109109 update=false
     110 working_directory=`pwd`
    110111
    111112 typeset -i  ih ihost=0
     
    119120    # FEHLERBEHANDLUNG
    120121    # BEI EXIT:
    121  trap 'rm -rf  tmp_mbuild
     122 trap 'rm -rf  $working_directory/tmp_mbuild
    122123       if [[ $locat != normal ]]
    123124       then
     
    129130
    130131    # BEI TERMINAL-BREAK:
    131  trap 'rm -rf  tmp_mbuild
     132 trap 'rm -rf  $working_directory/tmp_mbuild
    132133       printf "\n\n +++ mbuild killed by \"^C\" \n\n"
    133134       exit
     
    188189       HOSTNAME=`echo $line | cut -d" " -s -f2`
    189190       host_identifier=`echo $line | cut -d" " -s -f3`
    190        if [[ "$HOSTNAME" = $local_host_real_name ]]
     191       if [[ $local_host_real_name = $HOSTNAME ]]
    191192       then
    192193          local_host=$host_identifier
     
    207208
    208209
    209 # case  $local_host_real_name  in
    210 #     (atmos)                    local_host=lcide;;
    211 #     (berte)                    local_host=t3eb;;
    212 #     (bora|breva|gregale|irifi|levanto|maestro|orkan|ostria|quanero|scirocco)  local_host=lcmuk;;
    213 #     (fimm.bccs.uib.no)         local_host=lcmuk;;
    214 #     (gate)                     local_host=neck;;
    215 #     (gfdl3.yonsei.ac.kr)       local_host=decalpha;;
    216 #     (gfdl5)                    local_host=ibmy;;
    217 #     (gwdk081.gwdg.de)          local_host=ibm;;
    218 #     (hreg01a-en0|hreg02a-en0)  local_host=ibmh;;
    219 #     (nobel|nobela)             local_host=ibms;;
    220 #     (tgg*)                     local_host=lctit;;
    221 #     (t3e)                      local_host=t3eh;;
    222 #     (zam003)                   local_host=t3ej2;;
    223 #     (zam005)                   local_host=t3ej5;;
    224 #    (*)       printf "\n  +++ local host \"$local_host_real_name\" not admitted for mbuild \n"
    225 #               locat=local_host; exit;;
    226 # esac
    227210
    228211 [[ $local_host_real_name = scirocco ]]  &&  scirocco=true
     
    737720
    738721       # IP-ADRESSE DES REMOTE-RECHNERS BESTIMMEN
    739     netcdf_support=false
    740722    case  $remote_host  in
    741         (lcmuk)          remote_addres=130.75.105.3
    742                          netcdf_support=true
    743                          if [[ $scirocco = true ]]
     723        (lcmuk)          remote_addres=130.75.105.3;;
     724        (lctit)          remote_addres=172.17.75.161;;
     725        (decalpha)       remote_addres=165.132.26.56;;
     726        (ibmb)           remote_addres=130.73.230.10;;
     727        (ibmh)           remote_addres=130.75.4.10;;
     728        (ibms)           remote_addres=150.183.5.101;;
     729        (ibmy)           remote_addres=165.132.26.58;;
     730        (nech)           remote_addres=136.172.44.192;;
     731        (neck)           remote_addres=133.5.178.11;;
     732        (ground.yonsei.ac.kr) remote_addres=134.75.155.33;;
     733        (*)              if [[ $local_host != $remote_host ]]
    744734                         then
    745                             netcdf_path=/opt/netcdf/3.6.2-beta4
    746                          elif [[ $fimm = true ]]
    747                          then
    748                             netcdf_path=/local/netcdf
    749                          else
    750                             netcdf_path=/muksoft/packages/netcdf/linux
     735                            printf "\n  +++ remote host \"$remote_host\" unknown";
     736                            printf "\n      please inform S. Raasch!"
    751737                         fi;;
    752         (lctit)          remote_addres=172.17.75.161; netcdf_support=true
    753                          netcdf_path=/home/usr5/mkanda/netcdf-3.6.2; cpp_options="-Mpreprocess";;
    754         (decalpha)       remote_addres=165.132.26.56; cpp_options="-cpp"; netcdf_support=true
    755                          netcdf_path=/usr/local/netcdf-3.5.1;;
    756         (ibm)            remote_addres=134.76.99.81; cpp_options="-qsuffix=cpp=f90";;
    757         (ibmb)           remote_addres=130.73.230.10; cpp_options="-qsuffix=cpp=f90"; netcdf_support=true
    758                          netcdf_path=/aws/dataformats/netcdf-3.6.0-p1/64-32;;
    759         (ibmh)           remote_addres=130.75.4.10; cpp_options="-qsuffix=cpp=f90"; netcdf_support=true
    760                          netcdf_path=/aws/dataformats/netcdf-3.6.0-p1/64-32;;
    761         (ibms)           remote_addres=150.183.5.101; cpp_options="-qsuffix=cpp=f90"; netcdf_support=true
    762                          netcdf_path=/applic/lib/NETCDF64;;
    763         (ibmy)           remote_addres=165.132.26.58; cpp_options="-qsuffix=cpp=f90"; netcdf_support=true
    764                          netcdf_path=/usr1/users/raasch/pub/netcdf-3.6.0-p1;;
    765         (nech)           remote_addres=136.172.44.192; cpp_options="-Ep"; netcdf_support=true
    766                          netcdf_path=/pool/SX-6/netcdf/netcdf-3.6.0-p1;;
    767         (neck)           remote_addres=133.5.178.11; cpp_options="-Ep"; netcdf_support=true
    768                          netcdf_path=/home/DSRC/NC/tatuyama/pub/netcdf-3.6.0-p1;;
    769         (t3eb)           remote_addres=130.73.206.21; cpp_options="-eZ";;
    770         (t3eh)           remote_addres=130.75.4.131; cpp_options="-eZ";;
    771         (t3ej2)          remote_addres=134.94.100.22; cpp_options="-eZ";;
    772         (t3ej5)          remote_addres=134.94.100.49; cpp_options="-eZ";;
    773         (ground.yonsei.ac.kr) remote_addres=134.75.155.33;;
    774      (*)                 printf "\n  +++ remote host \"$remote_host\" unknown";
    775                          printf "\n      please inform S. Raasch!";
    776                          locat=config_file; exit;;
    777738    esac
    778739
     
    912873
    913874
    914        # PRAEPROZESSOR-DIREKTIVEN SETZEN
    915     if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
    916     then
    917        if [[ $remote_host = ibms ]]
    918        then
    919           cpp_options="$cpp_options -WF,-DMPI_REAL=MPI_DOUBLE_PRECISION"
    920           [[ $netcdf_support = true ]]  &&  cpp_options="${cpp_options},-D__netcdf"
    921        else
    922           cpp_options="$cpp_options -WF,-DMPI_REAL=MPI_DOUBLE_PRECISION"
    923           [[ $netcdf_support = true ]]  &&  cpp_options="${cpp_options},-D__netcdf,-D__netcdf_64bit"
    924           [[ $remote_host = ibmy ]]  &&  cpp_options="${cpp_options},-D__ibmy_special"
    925        fi
    926     elif [[ $remote_host = lcmuk ]]
    927     then
    928        cpp_options="$cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION"
    929        [[ $netcdf_support = true ]]  &&  cpp_options="$cpp_options -D__netcdf -D__netcdf_64bit"
    930     elif [[ $remote_host = lctit ]]
    931     then
    932        cpp_options="$cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION"
    933        [[ $netcdf_support = true ]]  &&  cpp_options="$cpp_options -D__netcdf"
    934     elif [[ $remote_host = decalpha ]]
    935     then
    936        cpp_options="$cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION"
    937        [[ $netcdf_support = true ]]  &&  cpp_options="$cpp_options -D__netcdf"
    938     elif [[ $remote_host = nech  ||  $remote_host = neck ]]
    939     then
    940        cpp_options="$cpp_options -DMPI_REAL=MPI_REAL8 -DMPI_2REAL=MPI_2REAL8 -DSCFFT=DZFFT -DCSFFT=ZDFFT"
    941        [[ $netcdf_support = true ]]  &&  cpp_options="$cpp_options -D__netcdf -D__netcdf_64bit"
    942     fi
    943 
    944     if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
    945     then
    946        for  string  in  $remote_host_string
    947        do
    948           if [[ $(echo $string | cut -c1-3) = ibm ]]
    949           then
    950              cpp_options="${cpp_options},-D__ibm"
    951              if [[ $remote_host = ibmy ]]
    952              then
    953                 cpp_options="${cpp_options},-D__ibmy_special"
    954              fi
    955           else
    956              cpp_options="${cpp_options},-D__$string"
    957           fi
    958        done
    959        cpp_options="$cpp_options "
    960     elif [[ $remote_host = nech  ||  $remote_host = neck ]]
    961     then
    962        for  string  in  $remote_host_string
    963        do
    964           if [[ $(echo $string | cut -c1-3) = nec ]]
    965           then
    966              cpp_options="${cpp_options} -D__nec"
    967           else
    968              cpp_options="${cpp_options} -D__$string"
    969           fi
    970        done
    971        cpp_options="$cpp_options "
    972     else
    973        for  string  in  $remote_host_string
    974        do
    975           cpp_options="$cpp_options -D__$string "
    976        done
    977     fi
    978 
    979 
    980875       # PRAEPROZESSOR-OPTIONEN/DIREKTIVEN ERMITTELN
    981876    line=""
     
    1004899       then
    1005900          cpp_options="$cpp_options -D__lc "
     901       elif [[ $(echo $remote_host | cut -c1-3) = ibm  &&  $(echo $string | cut -c1-3) = ibm ]]
     902       then
     903          cpp_options="${cpp_options},-D__ibm"
     904       elif [[ $(echo $remote_host | cut -c1-3) = nec  &&  $(echo $string | cut -c1-3) = nec ]]
     905       then
     906          cpp_options="${cpp_options} -D__nec"
    1006907       else
    1007           cpp_options="$cpp_options -D__$string "
     908          if [[ $(echo $remote_host | cut -c1-3) = ibm ]]
     909          then
     910             cpp_options="${cpp_options},-D__$string"
     911          else
     912             cpp_options="$cpp_options -D__$string "
     913          fi
    1008914       fi
    1009915    done
     
    1067973    fi
    1068974
    1069     if [[ $netcdf_support = true ]]
    1070     then
    1071        case  $remote_host  in
    1072           (decalpha)  compiler_options="-I${netcdf_path}/include  $compiler_options";;
    1073           (ibmb|ibmh) compiler_options="-I ${netcdf_path}/include-64  $compiler_options";;
    1074           (ibms)      compiler_options="-I /applic/netcdf64/src/f90  $compiler_options";;
    1075           (ibmy)      compiler_options="-I ${netcdf_path}/include  $compiler_options";;
    1076           (lctit)     compiler_options="-I ${netcdf_path}/include  $compiler_options";;
    1077           (nech|neck) compiler_options="-I ${netcdf_path}/include  $compiler_options";;
    1078        esac
    1079     fi
    1080975
    1081976
     
    1102997          # NETCDF-LIBRARY HINZUFUEGEN
    1103998       loader_options="$loader_options $netcdf_lib"
    1104     fi
    1105 
    1106     if [[ $netcdf_support = true ]]
    1107     then
    1108        case  $remote_host  in
    1109           (decalpha)             loader_options="$loader_options -L${netcdf_path}/lib -lnetcdf";;
    1110           (ibmb|ibmh|nech|neck)  loader_options="$loader_options -L${netcdf_path}/lib -lnetcdf";;
    1111           (ibms)                 loader_options="$loader_options -L${netcdf_path} -lnetcdf";;
    1112           (ibmy)                 loader_options="$loader_options -L${netcdf_path}/lib -lnetcdf";;
    1113           (lctit)                loader_options="$loader_options -L${netcdf_path}/lib -lnetcdf";;
    1114        esac
    1115999    fi
    11161000
  • palm/trunk/SCRIPTS/mrun

    r82 r83  
    252252    # FEHLERBEHANDLUNG
    253253    # BEI EXIT:
    254  trap 'rm -rf  tmp_mrun
     254 trap 'rm -rf  $working_directory/tmp_mrun
    255255       if [[ $locat != localhost ]]
    256256       then
     
    318318
    319319    # BEI TERMINAL-BREAK:
    320  trap 'rm -rf  tmp_mrun
     320 trap 'rm -rf  $working_directory/tmp_mrun
    321321       [[ $tmpcreate = true ]]  &&  (cd; rm -rf $TEMPDIR)
    322322       if [[ -f ~/job_queue/JOBINFO.$QSUB_REQID ]]
     
    472472       HOSTNAME=`echo $line | cut -d" " -s -f2`
    473473       host_identifier=`echo $line | cut -d" " -s -f3`
    474        if [[ "$HOSTNAME" = $localhost_realname ]]
     474       if [[ $localhost_realname = $HOSTNAME ]]
    475475       then
    476476          localhost=$host_identifier
     
    547547        (ibm|ibmb|ibmh|ibms|ibmy|nech|neck|lctit|unics)  true;;
    548548        (*)  printf "\n"
    549              printf "\n  +++ execution host \"$host\" not admitted for MRUN,"
    550              printf "\n      or NQS not available on execution host!"
     549             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     550             printf "\n      is not available"
    551551             locat=nqs; (( iec = 0 )); exit;;
    552552    esac
     
    665665                   case  $host  in
    666666                       (ibm|ibms|ibmy|lctit|nech|neck|unics)  true;;
    667                        (*)  printf "\n  +++ no queueing system available on execution host \"$host\""
     667                       (*)  printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     668                            printf "\n      is not available"
    668669                            locat=nqs; exit;;
    669670                   esac
     
    789790    export  interpreted_config_file=.icf.$RANDOM
    790791
    791 #    case  $localhost_realname  in
    792 #        (caurus|twister)      interpret_config.hp;;
    793 #        (bora|breva|elephanta|gallego|gregale|hababai|maestro|orkan|ostria)  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/muksoft/packages/intel_ifc/8.1/lib/; interpret_config_9.x;;
    794 #        (levanto|vorias)      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/muksoft/packages/intel/ifort/9.1.037/lib/; interpret_config_9.x_levanto;;
    795 #        (quanero)             export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel_fc_80/lib; interpret_config_9.x;;
    796 #        (*)                   interpret_config.x;;
    797 #    esac
    798792
    799793
     
    925919        (ibm|ibmb|ibmh|ibms|ibmy|lctit|nech|neck|unics)  true;;
    926920        (*)  printf "\n"
    927              printf "\n  +++ execution host \"$host\" not admitted for MRUN,"
    928              printf "\n      or no queueing system available on execution host!"
     921             printf "\n  +++ sorry: execution of batch jobs on remote host \"$host\""
     922             printf "\n      is not available"
    929923             locat=nqs; (( iec = 0 )); exit;;
    930924    esac
     
    10791073
    10801074
    1081     # EVTL. NETCDF-UNTERSTUETZUNG SETZEN
    1082 # case  $host  in
    1083 #     (decalpha)   netcdf_support=true
    1084 #                  netcdf_path=/usr/local/netcdf-3.5.1;;
    1085 #     (ibmb|ibmh)  netcdf_support=true
    1086 #                  netcdf_path=/aws/dataformats/netcdf-3.6.0-p1/64-32;;
    1087 #     (ibms)       netcdf_support=true
    1088 #                  netcdf_path=/applic/lib/NETCDF64;;
    1089 #     (ibmy)       netcdf_support=true
    1090 #                  netcdf_path=/usr1/users/raasch/pub/netcdf-3.6.0-p1;;
    1091 #     (lcmuk)      if [[ $scirocco = true ]]
    1092 #                  then
    1093 #                     netcdf_path=/opt/netcdf/3.6.2-beta4
    1094 #                  elif [[ $fimm = true ]]
    1095 #                  then
    1096 #                     netcdf_path=/local/netcdf
    1097 #                  else
    1098 #                     netcdf_path=/muksoft/packages/netcdf/linux
    1099 #                  fi;;
    1100 #     (lctit)      netcdf_support=true
    1101 #                  netcdf_path=/home2/usr5/mkanda/netcdf-3.6.2;;
    1102 #     (nech)       netcdf_support=true
    1103 #                  netcdf_path=/pool/SX-6/netcdf/netcdf-3.6.0-p1;;
    1104 #     (neck)       netcdf_support=true
    1105 #                  netcdf_path=/home/DSRC/NC/tatuyama/pub/netcdf-3.6.0-p1;;
    1106 # esac
    1107 
    1108 
    11091075    # VOLLSTAENDIGE DATEINAMEN DER INPUT-FILES BILDEN,
    11101076    # INPUT-DATEIEN AUF VORHANDENSEIN PRUEFEN UND EVTL. HOECHSTE ZYKLUSNUMMER
     
    13371303
    13381304
     1305     # DAS DVRP-PAKET ERFORDERT EINE ENTSPRECHENDE BIBLIOTHEK
     1306 if [[ $(echo $package_list | grep -c dvrp_graphics) != 0 ]]
     1307 then
     1308    if [[ "$dvrp_inc" = "" ]]
     1309    then
     1310       printf "\n\n  +++ no value for \"dvrp_inc\" given in configuration file"
     1311       printf "\n      This is required for the dvrp_graphics package.\n"
     1312       locat=dvrp; exit
     1313    fi
     1314    if [[ "$dvrp_lib" = "" ]]
     1315    then
     1316       printf "\n\n  +++ no value for \"dvrp_lib\" given in configuration file"
     1317       printf "\n      This is required for the dvrp_graphics package.\n"
     1318       locat=dvrp; exit
     1319    fi
     1320 fi
     1321
     1322
    13391323     # PRUEFEN, OB ENTWEDER HAUPTPROGRAMM ODER NUR EIN AUSFUEHRBARES
    13401324     # PROGRAMM VEREINBART WURDE (IN DIESEM FALL BRAUCHT IM WEITEREN NICHT
     
    16521636       # PRAEPROZESSOR-DIREKTIVEN ZUM SELEKTIVEN AUSWAEHLEN VON CODETEILEN
    16531637       # ZUSAMMENSETZEN
     1638       # DIREKTIVEN ZUM AKTIVIEREN VON RECHNERSPEZIFISCHEM CODE
    16541639    if [[ $(echo $localhost | cut -c1-3) = ibm ]]
    16551640    then
     
    16641649       cpp_options="$cpp_options -D__$localhost"
    16651650    fi
     1651
     1652       # DIREKTIVEN DIE DURCH OPTION -K BESTIMMT WERDEN (Z.B. PARALLEL)
    16661653    if [[ $(echo $localhost | cut -c1-3) = ibm ]]
    16671654    then
    16681655       [[ -n $cond1 ]]  &&  cpp_options="${cpp_options},-D__$cond1=__$cond1"
    16691656       [[ -n $cond2 ]]  &&  cpp_options="${cpp_options},-D__$cond2=__$cond2"
    1670 #       if [[ $netcdf_support = true ]]
    1671 #       then
    1672 #          PPOPTS="$PPOPTS -Dnetcdf=netcdf"
    1673 #          [[ $localhost != ibms ]]      &&  PPOPTS="$PPOPTS -Dnetcdf_64bit=netcdf_64bit"
    1674 #       fi
    1675 #       if [[ $localhost = ibmy ]]
    1676 #       then
    1677 #          PPOPTS="$PPOPTS -Dibmy_special=ibmy_special"
    1678 #       fi
    16791657    else
    16801658       [[ -n $cond1 ]]  &&  cpp_options="$cpp_options -D__$cond1"
    16811659       [[ -n $cond2 ]]  &&  cpp_options="$cpp_options -D__$cond2"
    1682 #       if [[ $netcdf_support = true ]]
    1683 #       then
    1684 #          PPOPTS="$PPOPTS -Dnetcdf"
    1685 #          [[ $localhost != decalpha  &&  $localhost != lctit ]]  &&  PPOPTS="$PPOPTS -Dnetcdf_64bit"
    1686 #       fi
    1687     fi
     1660    fi
     1661
     1662       # DIREKTIVEN DIE SOFTWAREPAKETE AKTIVIEREN (OPTION -p)
    16881663    if [[ -n $package_list ]]
    16891664    then
     
    17101685       done
    17111686    fi
     1687
     1688       # DIREKTIVEN DIE DURCH OPTION -D FESTGELEGT SIND
    17121689    if [[ -n $cpp_opts ]]
    17131690    then
     
    17231700    fi
    17241701
    1725        # OPTION ZUM EINSCHALTEN DES PRAEPROZESSORS HINZUFUEGEN
    1726 #    if [[ $host = decalpha ]]
    1727 #    then
    1728 #       C_PPOPTS="-cpp  -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION $PPOPTS"
    1729 #    elif [[ $(echo $host | cut -c1-3) = ibm ]]
    1730 #    then
    1731 #          # blanks in PPOPTS muessen durch "," ersetzt werden
    1732 #       PPOPTS=`echo $PPOPTS | sed 's/ -/,-/g'`
    1733 #       C_PPOPTS="-qsuffix=cpp=f90 -WF,-DMPI_REAL=MPI_DOUBLE_PRECISION,$PPOPTS"
    1734 #    elif [[ $host = lcmuk ]]
    1735 #    then
    1736 #       C_PPOPTS="$PPOPTS -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION"
    1737 #    elif [[ $host = lctit ]]
    1738 #    then
    1739 #       C_PPOPTS="$PPOPTS -Mpreprocess -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION"
    1740 #    elif [[ $(echo $host | cut -c1-3) = nec ]]
    1741 #    then
    1742 #       C_PPOPTS="-Ep -DMPI_REAL=MPI_REAL8 -DMPI_2REAL=MPI_2REAL8 -DSCFFT=dzfft -DCSFFT=zdfft $PPOPTS"
    1743 #    else
    1744 #       C_PPOPTS="$PPOPTS"
    1745 #    fi
    1746 
    17471702 else
    17481703
     
    17781733    locat=compiler_name; exit
    17791734
    1780 #    case  $localhost  in
    1781 #        (unics)                                 compiler_name=f77;;
    1782 #        (lctit)                                 if [[ "$cond1" = parallel  ||  "$cond2" = parallel ]]
    1783 #                                                then
    1784 #                                                   compiler_name=mpif90
    1785 #                                                   echo ">>> compiler=mpif90"
    1786 #                                                else
    1787 #                                                   compiler_name=pgf95
    1788 #                                                   echo ">>> compiler=pgf95"
    1789 #                                                fi;;
    1790 #        (nech)                                  compiler_name=sxmpif90;;
    1791 #        (decalpha)                              compiler_name=f95;;
    1792 #        (ibm|ibmb|ibmh|ibms|ibmy)               compiler_name=mpxlf95_r;;
    1793 #        (*)      printf "\n  +++ unknown host name: $localhost \n";
    1794 #                 locat=localhost; exit;;
    1795 #    esac
    17961735 fi
    17971736
     
    18001739 [[ $localhost = neck ]]  &&  compiler_name=mpif90
    18011740
    1802 
    1803 
    1804     # PRAEPROZESSOR-PFAD BESTIMMEN
    1805  case  $localhost  in
    1806      (decalpha|ibm|ibmb|ibmh|ibms|ibmy|unics)  praeproc=cpp;;
    1807  esac
    18081741
    18091742
     
    18611794
    18621795
    1863     # BEI VERWENDUNG VON DVRP-SOFTWARE MUSS ENTSPECHENDE GRAFIK-BIBLIOTHEK
    1864     # MIT EINGEBUNDEN WERDEN
    1865 # if [[ -n $package_list ]]
    1866 # then
    1867 #    if [[ $(echo $package_list | grep -c dvrp_graphics) != 0 ]]
    1868 #    then
    1869 #
    1870 #          # DVRP-GRAFIK GIBT ES NUR AUF DER IBM AM HLRN, AUF NECH/NECK UND
    1871 #          # DEM NOTEBOOK SCIROCCO
    1872 #       if [[ $host != ibmh  &&  $host != nech  &&  $host != neck  &&  $host != lcmuk  &&  "$local_compile" != true ]]
    1873 #       then
    1874 #          printf "\n"
    1875 #          printf "\n  +++ option -p with package \"dvrp_graphics\" only allowed on nech and ibmh"
    1876 #          locat=parameter; exit
    1877 #       fi
    1878 #       if [[ $host = ibmh ]]
    1879 #       then
    1880 #          if [[ $cond1 = debug  ||  $cond2 = debug ]]
    1881 #          then
    1882 #             fopts="-I/home/h/hzazchmi/lib/debug  $fopts"
    1883 #             lopts="$lopts -L/home/h/hzazchmi/lib/debug -lDVRP2 -lftp"
    1884 #          else
    1885 #             fopts="-I/home/h/nikevita/lib_stable/optimize  $fopts"
    1886 #             lopts="$lopts -L/home/h/nikevita/lib_stable/optimize -lDVRP2 -lftp"
    1887 #          fi
    1888 #       elif [[ $host = nech ]]
    1889 #       then
    1890 #          fopts="-I/import/ds9b/ipf2/b/b323014/lib/optimize  $fopts"
    1891 #          lopts="$lopts -L/import/ds9b/ipf2/b/b323014/lib/optimize -lDVRP2 -lftp"
    1892 #       elif [[ $host = neck ]]
    1893 #       then
    1894 #          fopts="-I/home/DSRC/NC/tatuyama/pub/dvrp  $fopts"
    1895 #          lopts="$lopts -L/home/DSRC/NC/tatuyama/pub/dvrp -lDVRP2 -lftp"
    1896 #       elif [[ $host = lcmuk ]]
    1897 #       then
    1898 #          fopts="-I/usr/local/lib/dvrp/optimize  $fopts"
    1899 #          lopts="$lopts -L/usr/local/lib/dvrp/optimize -lDVRP2 -lftp"
    1900 #       fi
    1901 #    fi
    1902 # fi
    1903 
    1904 
    1905     # EVTL. EINBINDEN DER NETCDF-BIBLIOTHEK
    1906 # if [[ $netcdf_support = true ]]
    1907 # then
    1908 #    case  $host  in
    1909 #       (decalpha)   fopts="-I${netcdf_path}/include  $fopts"
    1910 #                    lopts="$lopts -L${netcdf_path}/lib -lnetcdf";;
    1911 #       (ibmb|ibmh)  fopts="-I ${netcdf_path}/include-64  $fopts"
    1912 #                    lopts="$lopts -L${netcdf_path}/lib -lnetcdf";;
    1913 #       (ibms)       fopts="-I /applic/netcdf64/src/f90  $fopts"
    1914 #                    lopts="$lopts -L${netcdf_path} -lnetcdf";;
    1915 #       (ibmy)       fopts="-I ${netcdf_path}/include  $fopts"
    1916 #                    lopts="$lopts -L${netcdf_path}/lib -lnetcdf";;
    1917 #       (nech|neck)  fopts="-I ${netcdf_path}/include  $fopts"
    1918 #                    lopts="$lopts -L${netcdf_path}/lib -lnetcdf";;
    1919 #       (lctit)      fopts="-I ${netcdf_path}/include  $fopts"
    1920 #                    lopts="$lopts -L${netcdf_path}/lib -lnetcdf";;
    1921 #
    1922 #    esac
    1923 # fi
    19241796
    19251797    # PRUEFEN DER CPU-ZEIT. (CPUMAX WIRD ALS ENV-VARIABLE VOM HAUTPRO-
  • palm/trunk/SOURCE/CURRENT_MODIFICATIONS

    r82 r83  
    55Changed:
    66-------
    7 All system relevant compile and link options as well as the host identifier (local_host) are specified in the configuration file.
    87
    9 Filetransfer by ftp removed (options -f removed from mrun and mbuild).
    10 
    11 Call of (system-)FLUSH routine moved to new routine local_flush.
    12 
    13 return_addres and return_username are read from ENVPAR-NAMELIST-file.
    14 
    15 Preprocessor strings for different linux clusters changed to "lc", some preprocessor directives renamed (new: __intel_openmp_bug), preprocessor directives for old systems removed
    16 
    17 advec_particles, check_open, cpu_log, cpu_statistics, data_output_dvrp, flow_statistics, header, init_dvrp, init_particles, init_1d_model, init_dvrp, init_pegrid, local_getenv, local_system, local_tremain, local_tremain_ini, modules, run_control
    18 
    19 new:
    20 local_flush
    21 
    22 mbuild, mrun
    238
    249Errors:
  • palm/trunk/SOURCE/check_open.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Call of local_getenv removed, preprocessor directives for old systems removed
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Call of local_getenv removed, preprocessor directives for old systems removed
    1114!
    1215! 46 2007-03-05 06:00:47Z raasch
  • palm/trunk/SOURCE/cpu_log.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor strings for different linux clusters changed to "lc",
    7 ! preprocessor directives for old systems removed
     6!
    87!
    98! Former revisions:
    109! -----------------
    1110! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor strings for different linux clusters changed to "lc",
     14! preprocessor directives for old systems removed
     15!
    1216! RCS Log replace by Id keyword, revision history cleaned up
    1317!
  • palm/trunk/SOURCE/cpu_statistics.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor directives for old systems removed
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor directives for old systems removed
     14!
    1115! RCS Log replace by Id keyword, revision history cleaned up
    1216!
  • palm/trunk/SOURCE/data_output_dvrp.f90

    r82 r83  
    3232! Actual revisions:
    3333! -----------------
    34 ! Preprocessor strings for different linux clusters changed to "lc",
    35 ! routine local_flush is used for buffer flushing
    3634! TEST: write statements
    3735!
     
    3937! -----------------
    4038! $Id$
     39!
     40! 82 2007-04-16 15:40:52Z raasch
     41! Preprocessor strings for different linux clusters changed to "lc",
     42! routine local_flush is used for buffer flushing
    4143!
    4244! 75 2007-03-22 09:54:05Z raasch
  • palm/trunk/SOURCE/flow_statistics.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Cpp-directive lcmuk changed to intel_openmp_bug
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Cpp-directive lcmuk changed to intel_openmp_bug
    1114!
    1215! 75 2007-03-22 09:54:05Z raasch
  • palm/trunk/SOURCE/header.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor strings for different linux clusters changed to "lc",
    7 ! routine local_flush is used for buffer flushing
     6!
    87!
    98! Former revisions:
    109! -----------------
    1110! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor strings for different linux clusters changed to "lc",
     14! routine local_flush is used for buffer flushing
    1215!
    1316! 76 2007-03-29 00:58:32Z raasch
  • palm/trunk/SOURCE/init_1d_model.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor strings for different linux clusters changed to "lc",
    7 ! routine local_flush is used for buffer flushing
     6!
    87!
    98! Former revisions:
    109! -----------------
    1110! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor strings for different linux clusters changed to "lc",
     14! routine local_flush is used for buffer flushing
    1215!
    1316! 75 2007-03-22 09:54:05Z raasch
  • palm/trunk/SOURCE/init_dvrp.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor strings for different linux clusters changed to "lc",
    7 ! routine local_flush is used for buffer flushing
    86! Test output of isosurface on camera file
    97! TEST: print* statements
     
    1311! -----------------
    1412! $Id$
     13!
     14! 82 2007-04-16 15:40:52Z raasch
     15! Preprocessor strings for different linux clusters changed to "lc",
     16! routine local_flush is used for buffer flushing
    1517!
    1618! 17 2007-02-19 01:57:39Z raasch
  • palm/trunk/SOURCE/init_particles.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor directives for old systems removed
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor directives for old systems removed
    1114!
    1215! 70 2007-03-18 23:46:30Z raasch
  • palm/trunk/SOURCE/init_pegrid.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Cpp-directive lcmuk changed to intel_openmp_bug, setting of host on lcmuk by
    7 ! cpp-directive removed
     6!
    87!
    98! Former revisions:
    109! -----------------
    1110! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Cpp-directive lcmuk changed to intel_openmp_bug, setting of host on lcmuk by
     14! cpp-directive removed
    1215!
    1316! 75 2007-03-22 09:54:05Z raasch
  • palm/trunk/SOURCE/local_getenv.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor directives for old systems removed
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor directives for old systems removed
     14!
    1115! RCS Log replace by Id keyword, revision history cleaned up
    1216!
  • palm/trunk/SOURCE/local_system.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor directives for old systems removed
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor directives for old systems removed
     14!
    1115! RCS Log replace by Id keyword, revision history cleaned up
    1216!
  • palm/trunk/SOURCE/local_tremain.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor strings for different linux clusters changed to "lc",
    7 ! preprocessor directives for old systems removed
     6!
    87!
    98! Former revisions:
    109! -----------------
    1110! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor strings for different linux clusters changed to "lc",
     14! preprocessor directives for old systems removed
     15!
    1216! RCS Log replace by Id keyword, revision history cleaned up
    1317!
  • palm/trunk/SOURCE/local_tremain_ini.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Cpp-directive lctit renamed lc
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Cpp-directive lctit renamed lc
     14!
    1115! RCS Log replace by Id keyword, revision history cleaned up
    1216!
  • palm/trunk/SOURCE/modules.f90

    r82 r83  
    55! Actual revisions:
    66! -----------------
    7 ! +return_addres, return_username
    8 ! Cpp-directive lcmuk renamed lc
     7!
    98!
    109! Former revisions:
    1110! -----------------
    1211! $Id$
     12!
     13! 82 2007-04-16 15:40:52Z raasch
     14! +return_addres, return_username
     15! Cpp-directive lcmuk renamed lc
    1316!
    1417! 75 2007-03-22 09:54:05Z raasch
  • palm/trunk/SOURCE/palm.f90

    r77 r83  
    6363    INTEGER           ::  i, run_description_header_i(80)
    6464
    65     version = 'PALM 3.2'
     65    version = 'PALM 3.2a'
    6666
    6767#if defined( __parallel )
  • palm/trunk/SOURCE/parin.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! +return_addres, return_username, use_seperate_pe_for_dvrp_output in envpar
     6!
    77!
    88! Former revisions:
    99! -----------------
    1010! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! +return_addres, return_username in envpar
    1114!
    1215! 75 2007-03-22 09:54:05Z raasch
     
    121124
    122125
    123     NAMELIST /envpar/  host, maximum_cpu_time_allowed, revision, return_addres, &
    124                        return_username, run_identifier, tasks_per_node, write_binary
     126    NAMELIST /envpar/  host, maximum_cpu_time_allowed, revision, return_addres,&
     127                       return_username, run_identifier, tasks_per_node, &
     128                       write_binary
    125129
    126130
  • palm/trunk/SOURCE/run_control.f90

    r82 r83  
    44! Actual revisions:
    55! -----------------
    6 ! Preprocessor strings for different linux clusters changed to "lc",
    7 ! routine local_flush is used for buffer flushing
     6!
    87!
    98! Former revisions:
    109! -----------------
    1110! $Id$
     11!
     12! 82 2007-04-16 15:40:52Z raasch
     13! Preprocessor strings for different linux clusters changed to "lc",
     14! routine local_flush is used for buffer flushing
     15!
    1216! RCS Log replace by Id keyword, revision history cleaned up
    1317!
Note: See TracChangeset for help on using the changeset viewer.