[5] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
---|
[62] | 2 | <html><head> |
---|
[97] | 3 | <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 3.2</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Marcus Oliver Letzel"> <meta name="CREATED" content="20040726;13164873"> <meta name="CHANGED" content="20050119;9245042"> <meta name="KEYWORDS" content="parallel LES model"> <style> |
---|
[62] | 4 | <!-- |
---|
| 5 | @page { size: 21cm 29.7cm } |
---|
| 6 | --> |
---|
| 7 | </style></head> |
---|
| 8 | <body style="direction: ltr;" lang="en-US"><h3 style="line-height: 100%;">3.2 Example of a minimum |
---|
| 9 | configuration |
---|
[5] | 10 | file</h3> |
---|
[62] | 11 | <p style="line-height: 100%;">In this chapter a sample |
---|
| 12 | configuration |
---|
[5] | 13 | file is described. It contains only instructions which are really |
---|
| 14 | necessary for the execution of a simple model run (configuration |
---|
| 15 | files can be much more complex). The example presented here is stored |
---|
[62] | 16 | in an appropriate <a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/INSTALL/.mrun.config">example |
---|
| 17 | file</a> (containing more than the configuration data presented |
---|
| 18 | here) |
---|
| 19 | and can be used, together with the <a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/INSTALL/example_p3d">parameter |
---|
[97] | 20 | file</a> presented in <a href="chapter_4.4.1.html">chapter |
---|
| 21 | 4.4.1</a>, for the execution of a simple model run. In chapter 4.4.1 |
---|
[62] | 22 | the |
---|
| 23 | complete <b>mrun</b> options which are necessary for the |
---|
| 24 | appropriate |
---|
[5] | 25 | parameter file are described. Furthermore not all details of the |
---|
| 26 | configuration file are described here. Therefore you should take a |
---|
[62] | 27 | look at the <a href="http://www.muk.uni-hannover.de/%7Eraasch/Software/mrun_beschreibung.html">mrun</a> |
---|
[5] | 28 | documentation (sorry: this is only available in German, so far. If you |
---|
| 29 | think that you |
---|
| 30 | would profit from an English version, please give a message to the PALM |
---|
| 31 | group). </p> |
---|
[62] | 32 | <p style="line-height: 100%;">The following configuration |
---|
| 33 | data |
---|
[5] | 34 | exclusively applies to model runs on the IBM Regatta hanni of the |
---|
| 35 | HLRN when using several processing elements (i.e. for the parallel |
---|
| 36 | version of the model). The proper installation of the model is |
---|
| 37 | presumed (see <a href="chapter_5.0.html">chapter |
---|
[62] | 38 | 5.0</a>). Furthermore it is supposed that the user is located in |
---|
| 39 | the |
---|
[5] | 40 | directory <tt><font style="font-size: 10pt;" size="2">$HOME/palm/current_version/SOURCE</font></tt> |
---|
| 41 | on its local computer. There are the FORTRAN source codes of the |
---|
| 42 | model (<tt><font style="font-size: 10pt;" size="2">*.f90</font></tt>) |
---|
| 43 | as |
---|
[62] | 44 | well as the configuration file (name: <tt><font style="font-size: 10pt;" size="2">.mrun.config</font></tt>) |
---|
[5] | 45 | and the make file (name: <tt><font style="font-size: 10pt;" size="2">Makefile</font></tt>). |
---|
| 46 | The configuration file has the following contents (among other things): |
---|
[62] | 47 | <br> |
---|
| 48 | </p><pre style="line-height: 100%;"><font style="font-size: 10pt;" size="2">% source_path <i>$HOME/palm/current_version/SOURCE</i></font><br><font style="font-size: 10pt;" size="2">% mainprog <i>palm.f90</i></font><br><font style="font-size: 10pt;" size="2">% use_makefile <i>true</i></font><br><font style="font-size: 10pt;" size="2">% fopts <i>-O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape ibmh parallel<span style="background: transparent none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;"></span></i></font><br><font style="font-size: 10pt;" size="2">% lopts <span style="font-style: italic;">-O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape:-lesslsmp ibmh parallel</span></font><br><font style="font-size: 10pt;" size="2">#</font><br><font style="font-size: 10pt;" size="2">EC:[[ \$locat = execution]] & & <i>cat </i>RUN_CONTROL </font><br><font style="font-size: 10pt;" size="2">#</font><br><a href="chapter_3.4.html#PARIN"><font style="font-size: 10pt;" size="2">PARIN</font></a><font style="font-size: 10pt;" size="2"> in:job:npe d3# ~/palm/current_version/JOBS/$fname/INPUT _p3d</font><br><font style="font-size: 10pt;" size="2">#</font><br><a href="chapter_3.4.html#RUN_CONTROL"><font style="font-size: 10pt;" size="2">RUN_CONTROL</font></a><font style="font-size: 10pt;" size="2"> out:loc:tr d3# ~/palm/current_version/JOBS/$fname/MONITORING _rc</font><br><a href="chapter_3.4.html#HEADER"><font style="font-size: 10pt;" size="2">HEADER</font></a><font style="font-size: 10pt;" size="2"> out:loc:tr d3# ~/palm/current_version/JOBS/$fname/MONITORING _header</font><br><a href="chapter_3.4.html#PLOT1D_PAR"><font style="font-size: 10pt;" size="2">PLOT1D_PAR</font></a><font style="font-size: 10pt;" size="2"> out:loc:tr pr# ~/palm/current_version/JOBS/$fname/OUTPUT _pr_par</font><br><a href="chapter_3.4.html#PLOT1D_DATA"><font style="font-size: 10pt;" size="2">PLOT1D_DATA</font></a><font style="font-size: 10pt;" size="2"> out:loc:tr pr# ~/palm/current_version/JOBS/$fname/OUTPUT _pr_in</font></pre> |
---|
[5] | 49 | <p style="line-height: 100%;"><font face="Thorndale, serif">The first |
---|
| 50 | five lines specify values of |
---|
[62] | 51 | so-called environment variables. Such lines begin with a |
---|
| 52 | “%”- |
---|
| 53 | sign. After at least one blank the name of the variable</font> <font face="Thorndale, serif">(e.g. |
---|
| 54 | </font><tt><i><font face="Thorndale, serif">source_path</font></i></tt><font face="Thorndale, serif">) |
---|
[5] | 55 | follows and then seperated by at least one blank the value of the |
---|
| 56 | variable. Again separated by blank t<font face="Thorndale, serif">he |
---|
| 57 | so-called validity domain</font> can be indicated (later more). |
---|
[62] | 58 | With the first three variables <b>mrun</b> gets to know in |
---|
| 59 | which |
---|
| 60 | directory the source code lies (</font><tt><i><font face="Thorndale, serif">source_path</font></i></tt><font face="Thorndale, serif">), |
---|
| 61 | the file name of the main program (</font><tt><i><font face="Thorndale, serif">mainprog</font></i></tt><font face="Thorndale, serif">) |
---|
| 62 | and that the <font face="Thorndale, serif">make mechanism |
---|
| 63 | should be |
---|
[5] | 64 | used </font>for compiling (</font><tt><font face="Thorndale, serif"><i>use_makefile |
---|
| 65 | =</i> <i>true</i></font></tt><font face="Thorndale, serif">). <b>mrun |
---|
[62] | 66 | </b>needs these information, <font color="#000000">because |
---|
| 67 | for each |
---|
[5] | 68 | model run the executable is created by compiling the source files.</font> |
---|
| 69 | Normally, only the main program (palm.f90) will be compiled while all |
---|
| 70 | other object files are just linked. These object files have already |
---|
| 71 | been created from the source code files during the installation of the |
---|
| 72 | model |
---|
| 73 | (see </font><a href="chapter_5.0.html"><font face="Thorndale, serif">chapter |
---|
[62] | 74 | 5.0</font></a><font face="Thorndale, serif">). |
---|
| 75 | <b>mrun</b> uses |
---|
[5] | 76 | certain standard options for the compilation process. Beyond that you |
---|
| 77 | can |
---|
[62] | 78 | declare additional options with the environment variable </font><tt><i><font face="Thorndale, serif">fopts</font></i></tt><font face="Thorndale, serif">. |
---|
[5] | 79 | Within the value assignment of an environment variable in the |
---|
| 80 | configuration file no blanks must be |
---|
| 81 | used. If blanks are necessary they must <font face="Thorndale, serif">be |
---|
[62] | 82 | replaced </font>by colons (“:”). <b>mrun</b> |
---|
| 83 | will |
---|
[5] | 84 | interpret these colons as blanks (2 colons written one behind the |
---|
[97] | 85 | other will be interpreted as a colon). Thus in the example above</font> fopts |
---|
| 86 | has the value<tt><font face="Thorndale, serif"> </font></tt>“<font style="font-size: 10pt; font-family: monospace;" size="2"><i>-O3 |
---|
[62] | 87 | -g |
---|
[5] | 88 | -qrealsize=8 -Q -q64 -qmaxmem=-1 -qtune=pwr4 -qarch=pwr4 -qnosave |
---|
[62] | 89 | -qnoescape</i></font><tt><i><font face="Thorndale, serif"><font color="#000000">”</font></font></i></tt><font face="Thorndale, serif"><font color="#000000">. |
---|
| 90 | Thus a PALM executable is generated using high level optimization (</font></font><font color="#000000"><span style="font-style: italic; font-family: monospace;">-O3</span></font><font face="Thorndale, serif"><font color="#000000">).</font></font><font color="#000000"><font face="Thorndale, serif"> |
---|
| 91 | For all other options |
---|
| 92 | see the compiler manual on the IBM (</font><font size="2"><font face="Cumberland, monospace">man</font></font></font><tt><font color="#000000"> |
---|
| 93 | <font size="2"><font face="Cumberland, monospace">f90</font></font></font></tt><font face="Thorndale, serif"><font color="#000000">). |
---|
| 94 | Additional libraries |
---|
[5] | 95 | which the compiler should use are described by |
---|
[62] | 96 | the environment variable </font></font><tt><font size="2"><font face="Cumberland, monospace"><font color="#000000">lopts</font></font></font></tt><font color="#000000"> |
---|
| 97 | <font face="Thorndale, serif">(loader options).</font></font><font color="#800000"> |
---|
[5] | 98 | </font><font face="Thorndale, serif"><font color="#000000">Here you |
---|
| 99 | have to indicate a special IBM library (ESSL, </font></font>Engineering |
---|
[62] | 100 | and Scientific Subroutine Library)<font face="Thorndale, serif"><font color="#000000">.</font><font color="#800000"> |
---|
| 101 | </font>On the |
---|
| 102 | IBM-Regatta, all compiler options have also to be given to the linker.</font><font color="#000000"><font face="Thorndale, serif"> </font></font> |
---|
| 103 | </p><p style="line-height: 100%;"><font color="#000000">Compiler and |
---|
[5] | 104 | loader options usually differ from computer to computer. In the |
---|
| 105 | configuration file therefore several value assignments for the |
---|
[62] | 106 | variables </font><tt><font style="font-size: 10pt;" size="2"><font color="#000000">fopts</font></font></tt><font color="#000000"> |
---|
| 107 | and </font><tt><font style="font-size: 10pt;" size="2"><font color="#000000">lopts</font></font></tt><font color="#000000"> |
---|
| 108 | exist which become active for different computers.</font><font color="#800000"> |
---|
| 109 | <font color="#000000">Which value assignment is used is |
---|
| 110 | described by |
---|
[5] | 111 | the so-called validity domain which follows in the appropriate |
---|
[62] | 112 | variable lines after the value of variables.</font></font><font color="#000000"> |
---|
| 113 | In the example above the entry “</font><font color="#000000"><font style="font-size: 11pt; font-style: italic; font-family: monospace;" size="2">ibmh</font></font><tt><font color="#000000"><span style="font-style: italic; font-family: monospace;"> |
---|
| 114 | </span></font><font color="#000000"><i><font style="font-size: 11pt;" size="2">parallel</font></i></font></tt><font color="#000000">” |
---|
| 115 | stands for </font><tt><font style="font-size: 10pt;" size="2"><font color="#000000">fopts</font></font></tt><font color="#000000"> |
---|
| 116 | and </font><tt><font style="font-size: 10pt;" size="2"><font color="#000000">lopts</font></font></tt><font color="#000000">. |
---|
[5] | 117 | These lines only become active if a run on the parallel computer of |
---|
[62] | 118 | the HLRN (</font><tt><i><font style="font-size: 10pt;" size="2">ibmh</font></i></tt><font color="#000000">) |
---|
| 119 | on several <font color="#000000">(</font><tt><i><font style="font-size: 10pt;" size="2"><font color="#000000">parallel</font></font></i></tt><font color="#000000">) |
---|
[5] | 120 | </font>processors is started. The activation takes place when you |
---|
| 121 | appropriately specify the <span style="font-weight: bold;">mrun</span> |
---|
[62] | 122 | options </font><tt><font color="#000000">-h</font></tt><font color="#000000"> |
---|
| 123 | and </font><tt><font color="#000000">-K</font></tt><font color="#000000"> |
---|
[5] | 124 | (see below). This way, the validity domain can be limited also for all |
---|
| 125 | other environment-variables. If no validity domain |
---|
| 126 | is indicated then the given values of variables are valid on all |
---|
| 127 | computers. </font> |
---|
[62] | 128 | </p><p style="line-height: 100%;">After the value |
---|
| 129 | assignment for the |
---|
| 130 | variables the so-called error commands follow which have to begin with |
---|
| 131 | “<tt><font style="font-size: 11pt;" size="2">EC:</font></tt>” |
---|
| 132 | in the first column (comment lines begin with “<tt>#</tt>”). |
---|
| 133 | Directly |
---|
[5] | 134 | after the colon Unix commands follow (korn shell syntax) which are |
---|
| 135 | processed by <b>mrun</b> if errors arise during |
---|
[62] | 136 | the model run. The command described in the example (<tt><font style="font-size: 10pt;" size="2">cat |
---|
[5] | 137 | RUN_CONTROL</font></tt>) is executed thereby only on the |
---|
[62] | 138 | condition that errors during the execution of the model (<tt><font style="font-size: 10pt;" size="2">execution</font></tt>) |
---|
| 139 | arise. An <b>mrun </b>internal environment variable which |
---|
| 140 | indicates |
---|
[5] | 141 | the |
---|
[62] | 142 | respective abort place in case of errors is <tt><a href="http://www.muk.uni-hannover.de/institut/software/mrun_beschreibung.html#locat">locat</a></tt>. |
---|
[5] | 143 | In order to determine the actual value of this variable at the |
---|
[62] | 144 | execution of <b>mrun</b> the “<tt>$</tt>” |
---|
| 145 | - prefix |
---|
| 146 | must be protected by a “\” since the configuration |
---|
| 147 | file has been |
---|
| 148 | already interpreted once when reading in through <b>mrun</b> |
---|
| 149 | and the |
---|
[5] | 150 | value from |
---|
[62] | 151 | <tt>locat</tt> would then supply the empty character |
---|
| 152 | string. If |
---|
[5] | 153 | errors arise during the model run this command |
---|
| 154 | copies the data written by the model up to then to the local file |
---|
| 155 | <a href="chapter_3.4.html#RUN_CONTROL">RUN_CONTROL</a> |
---|
| 156 | on the standard output where they can be checked after |
---|
[62] | 157 | job end.<font color="#000000"> RUN_CONTROL is an output |
---|
| 158 | file of the |
---|
[5] | 159 | model which has to be copied according to the default configuration |
---|
| 160 | file |
---|
| 161 | (see below) after the end of the model run to a permanent file of the |
---|
| 162 | user but this action would not be performed in case of errors |
---|
[62] | 163 | in the model run, so that the file content would be lost.</font> |
---|
| 164 | With |
---|
[5] | 165 | the help of the error command one can secure it nevertheless. </p> |
---|
| 166 | <p style="line-height: 100%;">Before and/or after |
---|
| 167 | the error commands in the example file you can find the so-called input |
---|
| 168 | and/or output commands which are implemented before and/or after the |
---|
| 169 | model run. </p> |
---|
[62] | 170 | <p style="line-height: 100%;">After the output commands<font color="#000000"> |
---|
| 171 | <font color="#000000">in the example file t</font>he |
---|
| 172 | so-called file |
---|
| 173 | connection statements</font> <font color="#000000">follow |
---|
| 174 | </font>via |
---|
| 175 | which tell <span style="font-weight: bold;">mrun</span> |
---|
| 176 | how to connect |
---|
[5] | 177 | the local files in the temporary working |
---|
| 178 | directory of the model with the respective permanent files of the user. |
---|
[62] | 179 | <b>mrun</b> copies the input and output files in accordance |
---|
| 180 | with the |
---|
[5] | 181 | data in these connection statements. The file connection statements are |
---|
| 182 | explained in detail in the <b>mrun</b> |
---|
[62] | 183 | description (<a href="http://www.muk.uni-hannover.de/institut/software/mrun_beschreibung.html#chapter6.3">chapter |
---|
[97] | 184 | 6.3</a>, in German) and are described here only as far as |
---|
[5] | 185 | necessary. A |
---|
| 186 | file connection statement usually consists of entries in 5 columns |
---|
| 187 | whereby all columns are separated from each other by one or more blanks |
---|
| 188 | (the blanks define the individual columns). In the |
---|
| 189 | first column the local file name (e.g. <tt><font size="2">PARIN</font></tt>) |
---|
| 190 | is given as it is addressed by the model. It must begin directly at |
---|
| 191 | the start of the line. In the second column the so-called file |
---|
| 192 | attributes |
---|
[62] | 193 | are given. These determine whether the file is an input file (<tt><font style="font-size: 10pt;" size="2">in</font></tt>) |
---|
| 194 | or an output file (<tt><font size="2">out</font></tt>), |
---|
| 195 | whether output |
---|
| 196 | files are to be transferred to the local computer of the user (<tt><font style="font-size: 10pt;" size="2">tr</font></tt>) |
---|
| 197 | or whether they are to be archived (<font size="2"><font face="Cumberland, monospace">fl</font></font>). |
---|
| 198 | If a file has several attributes then they are separated by a <font color="#000000">colon |
---|
[5] | 199 | in each case .</font> </p> |
---|
[62] | 200 | <p style="line-height: 100%;">With the entries in the |
---|
| 201 | third column one |
---|
[5] | 202 | specifies the conditions under which a file connection statement |
---|
| 203 | becomes active i.e. under |
---|
| 204 | which circumstances it is executed by <b>mrun</b>. Then <b>mrun</b> |
---|
| 205 | copies the appropriate in or output files only if at least one of the |
---|
| 206 | character strings registered in column 3 (again two or more character |
---|
| 207 | strings have to be separated from each other by a colon) is |
---|
[62] | 208 | indicated within the mrun <b>call</b> by the option <a href="http://www.muk.uni-hannover.de/institut/software/mrun_beschreibung.html#Opt-r">-r</a>. |
---|
[5] | 209 | Thus a call of the form </p> |
---|
[62] | 210 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">mrun - h ibmh -d abcde -r d3</font></pre></ul> |
---|
| 211 | <p style="line-height: 100%;">would lead to the fact that |
---|
| 212 | the input |
---|
[5] | 213 | file with the local name PARIN is made available and the output files |
---|
| 214 | RUN_CONTROL and HEADER are copied to permanent files. The output |
---|
| 215 | files PLOT1D_PAR and PLOT1D_DATA are not copied so that their |
---|
| 216 | contents are not available to the user after the end of the job. If |
---|
[62] | 217 | these files are to be copied of <b>mrun</b> then the call |
---|
| 218 | must be</p> |
---|
| 219 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">mrun -h ibmh -d abcde -r "d3 pr"</font></pre></ul> |
---|
| 220 | <p style="line-height: 100%;">Instead of the option -r you |
---|
| 221 | can |
---|
[5] | 222 | separately address the file connection statements for input and/or |
---|
| 223 | output files with the options -i and -o. If one likes to make sure with |
---|
| 224 | these two options that in the example configuration |
---|
| 225 | file all file connection statements are actually executed then |
---|
| 226 | the call must be: </p> |
---|
[62] | 227 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">mrun -h ibmh -d abcde -i d3 -o "d3 pr"</font></pre></ul> |
---|
| 228 | <p style="line-height: 100%;"><font color="#000000">The |
---|
| 229 | names of the |
---|
[5] | 230 | local files assigned permanent files are build from the entries in |
---|
| 231 | the 4th and 5th column of the file connection statements and the |
---|
[62] | 232 | value of the <span style="font-weight: bold;">mrun</span> |
---|
| 233 | option </font><tt><font style="font-size: 10pt;" size="2"><font color="#000000">-d</font></font></tt><font color="#000000"> |
---|
[5] | 234 | in the following way:</font><font color="#800000"> </font> |
---|
[62] | 235 | </p><ul> <p style="line-height: 100%;">File |
---|
| 236 | name (inclusive path) = “value of |
---|
| 237 | the 4th column” + “value of the option <tt><font size="2">-d</font></tt>” |
---|
| 238 | + “value of the 5th column”.</p> |
---|
| 239 | </ul><p style="line-height: 100%;">The 4th column |
---|
| 240 | contains the path name |
---|
| 241 | whereby <tt><a href="http://www.muk.uni-hannover.de/institut/software/mrun_beschreibung.html#fname">$fname</a></tt> |
---|
[5] | 242 | is replaced by the value indicated for the option <tt><font size="2">-d</font></tt>. |
---|
| 243 | The 5th column contains the so-called file name extension. The name |
---|
[62] | 244 | of the permanent file which was copied by <b>mrun</b> to |
---|
| 245 | the local |
---|
[5] | 246 | file <tt>PARIN</tt> thereby reads: </p> |
---|
[62] | 247 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">~/palm/current_version/JOBS/abcde/INPUT/abcde_p3d.</font></pre></ul> |
---|
| 248 | <p style="line-height: 100%;">In the same way the names of |
---|
| 249 | the |
---|
[5] | 250 | permanent files of the remaining <font color="#000000">file |
---|
| 251 | connection statements </font>can be formed. </p> |
---|
[62] | 252 | <p style="line-height: 100%;">With this example |
---|
| 253 | configuration file |
---|
[5] | 254 | exactly one input file is copied into the temporary working directory |
---|
[62] | 255 | of the model. This file has the local name <a href="chapter_3.4.html#PARIN">PARIN</a> |
---|
[5] | 256 | and contains the steering parameters for the model and has to be |
---|
| 257 | provided by the user for each model run. </p> |
---|
[62] | 258 | <p style="line-height: 100%;">The example configuration |
---|
| 259 | file also |
---|
| 260 | instructs <b>mrun</b> to copy four output files of the |
---|
| 261 | model to |
---|
[5] | 262 | appropriate permanent files of the user at the end of the run. |
---|
[62] | 263 | There are timestep information (local file name <tt><a href="chapter_3.4.html#RUN_CONTROL">RUN_CONTROL</a></tt>), |
---|
[5] | 264 | the so-called header file, in which the values of the most selected |
---|
| 265 | parameters for this run (<tt><a href="chapter_3.4.html#HEADER">HEADER</a></tt>) |
---|
| 266 | are located, as well as a file with data of horizontally averaged |
---|
| 267 | vertical profiles |
---|
| 268 | (<tt><a href="chapter_3.4.html#PLOT1D_DATA">PLOT1D_DATA</a></tt>) |
---|
[62] | 269 | and an associated parameter file (<tt><a href="chapter_3.4.html#PLOT1D_PAR">PLOT1D_PAR</a></tt>), |
---|
| 270 | which can be used as input files for the plot program <a href="http://www.muk.uni-hannover.de/institut/software/profil_beschreibung.html">profil</a>. |
---|
[5] | 271 | A model run does not presuppose neither the file connection statements |
---|
| 272 | for |
---|
| 273 | output files nor their activation. But without declaring AND activating |
---|
| 274 | them usually the data produced by the model |
---|
| 275 | are lost after the end of the model run! </p> |
---|
[62] | 276 | <p style="line-height: 100%;">As already mentioned the |
---|
| 277 | configuration |
---|
[5] | 278 | file offers a variety of further possibilities to steer the |
---|
| 279 | execution of the model run. Some of them are described in the next |
---|
| 280 | chapter. Same applies to possible other options of the <b>mrun</b> |
---|
[62] | 281 | call. For these please refer to the <a href="http://www.muk.uni-hannover.de/%7Eraasch/Software/mrun_beschreibung.html">mrun</a> |
---|
| 282 | documentation (in German). An <b>mrun </b>call for the |
---|
| 283 | execution of a |
---|
[5] | 284 | model run |
---|
| 285 | on several processors on the IBM Regatta "hanni" of the HLRN must be |
---|
| 286 | supplemented by the following options in each case: </p> |
---|
[62] | 287 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">mrun - K parallel -X … -t … -m …</font></pre></ul> |
---|
| 288 | <p style="line-height: 100%;">Only the indication of <tt><font style="font-size: 11pt;" size="2">-K |
---|
| 289 | parallel</font></tt> causes the parallel execution of the |
---|
| 290 | run on |
---|
[5] | 291 | several processors (otherwise a scalar execution on one processor is |
---|
| 292 | accomplished). In addition to this the number of the |
---|
| 293 | processing elements which shall be used has to be pre-scribed with the |
---|
[62] | 294 | option <tt><font style="font-size: 10pt;" size="2">-X</font> |
---|
| 295 | </tt><font size="2">(</font><font style="font-size: 10pt;" size="2">e.g. |
---|
| 296 | </font><tt><font style="font-size: 10pt;" size="2">-X |
---|
| 297 | 4</font></tt><font size="2">).</font> |
---|
[5] | 298 | In each case the permitted CPU time in seconds and the required memory |
---|
[62] | 299 | size in MB must be indicated by the options <tt><font style="font-size: 11pt;" size="2">-t</font></tt> |
---|
[5] | 300 | and <tt><font style="font-size: 11pt;" size="2">-m</font></tt>, |
---|
| 301 | respectively<font face="Thorndale, serif">.</font> |
---|
| 302 | Alternatively, these can be set by the appropriate environment |
---|
| 303 | variables in the configuration file: </p> |
---|
[62] | 304 | <blockquote style="line-height: 100%;"><tt><font style="font-size: 10pt;" size="2"><font face="Cumberland, monospace">% |
---|
| 305 | memory <i>1630</i> ibmh parallel</font></font></tt><font style="font-size: 10pt;" size="2"><font face="Cumberland, monospace"><br> </font></font><tt><font style="font-size: 10pt;" size="2"><font face="Cumberland, monospace">% |
---|
[5] | 306 | cputime <i>1000</i> ibmh parallel</font></font></tt></blockquote> |
---|
[62] | 307 | <p style="line-height: 100%;">The values indicated there |
---|
| 308 | can be |
---|
| 309 | overridden with the values of the options <tt><font style="font-size: 10pt;" size="2">-t</font></tt> |
---|
[5] | 310 | and/or <tt><font style="font-size: 10pt;" size="2">-m</font></tt>, |
---|
| 311 | respectivly. </p> |
---|
[62] | 312 | <hr><p style="line-height: 100%;"><br> |
---|
| 313 | <font color="#000080"><font color="#000080"><a href="chapter_3.1.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 src="up.gif" name="Grafik2" align="bottom" border="2" height="32" width="32"></font></a><a href="chapter_3.3.html"><font color="#000080"><img src="right.gif" name="Grafik3" align="bottom" border="2" height="32" width="32"></font></a></font></font></p><p style="line-height: 100%;"><i>Last change: </i> |
---|
| 314 | $Id: chapter_3.2.html 97 2007-06-21 08:23:15Z raasch $</p> |
---|
| 315 | </body></html> |
---|