Changeset 115 for palm/trunk/DOC/app/chapter_3.8.html
- Timestamp:
- Oct 10, 2007 3:34:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_3.8.html
- Property svn:keywords set to Id
r108 r115 3 3 <head> 4 4 5 6 7 5 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"> 8 9 6 <title>PALM chapter 3.8</title> 10 7 11 8 12 13 <title>PALM chapter 3.8</title>14 9 <meta name="GENERATOR" content="StarOffice 7 (Win32)"> 15 10 16 17 18 11 <meta name="AUTHOR" content="Siegfried Raasch"> 19 12 20 21 22 13 <meta name="CREATED" content="20040809;13460943"> 23 14 24 25 26 15 <meta name="CHANGED" content="20041112;15085727"> 27 16 28 29 30 17 <meta name="KEYWORDS" content="parallel LES model"> 31 18 32 33 34 19 <style> 35 20 <!-- … … 42 27 <body style="direction: ltr;" lang="en-US"> 43 28 44 45 29 <h3 style="line-height: 100%;">3.8 Coupled model runs</h3> 46 47 30 48 31 <p style="line-height: 100%;">Starting from version 3.4 … … 51 34 starts the coupled model as two concurrent executables, the atmosphere 52 35 version and the ocean version of PALM.</p> 53 54 36 55 37 <p style="line-height: 100%;">Currently, the coupler … … 60 42 atmosphere and ocean processors, which does not necessarily guarrantee 61 43 a good load balancing.</p> 62 63 44 64 45 <p style="line-height: 100%;">The coupler establishes a … … 73 54 (see e.g. Steinhorn 1991, JPO 21, p. 1681).</p> 74 55 75 76 <p style="line-height: 100%;">To start a 56 <p style="line-height: 100%;">The full MPI-2 57 standard must be available in order to use the coupling, and it must be 58 activated by adding the preprocessor directive <tt><font style="font-size: 10pt;" size="2">-D__mpi2</font></tt> 59 to <tt><font style="font-size: 10pt;" size="2">cpp_options</font></tt> 60 in the .mrun.config configuration file. (Note: MPI-2 is 61 not available for the IBM-Regatta systems.) To start a 77 62 coupled model run, 78 63 this must be requested with the <b>mrun</b> option <tt><font style="font-size: 10pt;" size="2">-Y</font>.</tt> … … 84 69 </p> 85 70 86 87 71 <ul> 88 72 89 90 91 73 <p style="line-height: 100%;"><tt><font style="font-size: 10pt;" size="2">mrun </font></tt><font style="font-size: 10pt;" size="2">...</font><tt><font style="font-size: 10pt;" size="2"> -K parallel -r 92 74 “d3# d3o# </font></tt><font style="font-size: 10pt;" size="2">...</font><tt><font style="font-size: 10pt;" size="2">”</font></tt><tt><font style="font-size: 10pt;" size="2"> </font></tt><tt><font style="font-size: 10pt;" size="2">-X </font></tt><font style="font-size: 10pt;" size="2">...</font><tt><font style="font-size: 10pt;" size="2"> -Y</font></tt><tt>.</tt></p> 93 75 94 95 76 </ul> 96 97 77 98 78 <p style="line-height: 100%;">The <tt><font style="font-size: 10pt;" size="2">-X </font></tt><font style="font-size: 10pt;" size="2">...</font><tt><font style="font-size: 10pt;" size="2"> </font></tt>option 99 79 here specifies the total number of processors assigned to the coupled 100 model. Half of them are assigned to each of the two coupled80 model. Currently, half of them are assigned to each of the two coupled 101 81 executables. Therefore it is advisable to specify an even number 102 82 with <tt><font style="font-size: 10pt;" size="2">-X </font></tt><font style="font-size: 10pt;" size="2">...</font><tt> 103 83 </tt>. Otherwise, in case of an odd total number of processors, 104 84 one processor remains idle.</p> 105 106 85 107 86 <p style="line-height: 100%;">Each coupled executable has … … 114 93 duplicated as follows:</p> 115 94 116 117 95 <pre style="line-height: 100%;"><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">PARIN in:job:npe d3f ~/palm/current_version/JOBS/$fname/INPUT _p3df</font><br><a href="chapter_3.4.html#BININ"><font style="font-size: 10pt;" size="2">BININ</font></a><font style="font-size: 10pt;" size="2"> in:loc d3f ~/palm/current_version/JOBS/$fname/OUTPUT _d3d</font><br><font style="font-size: 10pt;" size="2">#</font><br><a href="chapter_3.4.html#BINOUT"><font style="font-size: 10pt;" size="2">BINOUT</font></a><font style="font-size: 10pt;" size="2"> out:loc restart ~/palm/current_version/JOBS/$fname/OUTPUT _d3d<br>#</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<br>#<br></font><font style="font-size: 10pt;" size="2">PARIN</font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">_O</span> in:job:npe d3<span style="font-weight: bold;">o</span># ~/palm/current_version/JOBS/$fname/INPUT <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">p3d</font><br><font style="font-size: 10pt;" size="2">PARIN<span style="font-weight: bold;">_O</span> in:job:npe d3<span style="font-weight: bold;">o</span>f ~/palm/current_version/JOBS/$fname/INPUT <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">p3df</font><br><font style="font-size: 10pt;" size="2">BININ</font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">_O</span> in:loc d3<span style="font-weight: bold;">o</span>f ~/palm/current_version/JOBS/$fname/OUTPUT <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">d3d</font><br><font style="font-size: 10pt;" size="2">#</font><br><font style="font-size: 10pt;" size="2">BINOUT</font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">_O</span> out:loc restart ~/palm/current_version/JOBS/$fname/OUTPUT <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">d3d</font><br><font style="font-size: 10pt;" size="2">#</font><br><font style="font-size: 10pt;" size="2">RUN_CONTROL<span style="font-weight: bold;">_O</span></font><font style="font-size: 10pt;" size="2"> out:loc:tr d3<span style="font-weight: bold;">o</span># ~/palm/current_version/JOBS/$fname/MONITORING <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">rc</font><br><font style="font-size: 10pt;" size="2">HEADER</font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">_O</span> out:loc:tr d3<span style="font-weight: bold;">o</span># ~/palm/current_version/JOBS/$fname/MONITORING <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">header</font><br><font style="font-size: 10pt;" size="2">PLOT1D_PAR<span style="font-weight: bold;">_O</span></font><font style="font-size: 10pt;" size="2"> out:loc:tr pr<span style="font-weight: bold;">o</span># ~/palm/current_version/JOBS/$fname/OUTPUT <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">pr_par</font><br><font style="font-size: 10pt;" size="2">PLOT1D_DATA</font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">_O</span> out:loc:tr pr<span style="font-weight: bold;">o</span># ~/palm/current_version/JOBS/$fname/OUTPUT <span style="font-weight: bold;">_</span></font><font style="font-size: 10pt;" size="2"><span style="font-weight: bold;">o</span>_</font><font style="font-size: 10pt;" size="2">pr_in</font><br></pre> 118 119 96 120 97 <p style="line-height: 100%;">The coupled ocean model … … 125 102 may be changed at the user's discretion.</p> 126 103 127 128 129 130 104 <p style="line-height: 100%;">The coupler requires the 131 105 following parameters to be equal in both <a href="chapter_3.4.html#PARIN"><font style="font-size: 10pt;" size="2"><span style="font-family: mon;"></span>PARIN</font></a> 132 106 and <a href="chapter_3.4.html#PARIN"><font style="font-size: 10pt;" size="2">PARIN_O</font></a>: 133 107 <a href="chapter_4.1.html#dx">dx</a>, <a href="chapter_4.1.html#dy">dy</a>, <a href="chapter_4.1.html#nx">nx</a>, <a href="chapter_4.1.html#ny">ny</a>, <a href="chapter_4.2.html#dt_coupling">dt_coupling</a>, <a href="chapter_4.2.html#end_time">end_time</a>, <a href="chapter_4.2.html#restart_time">restart_time</a>, 134 <a href="chapter_4.2.html#dt_restart">dt_restart</a>. In the coupled atmosphere executable, <a href="chapter_4.2.html#bc_pt_b">bc_pt_b</a> is internally set and does not need to be prescribed; in the coupled ocean executable, <a href="chapter_4.2.html#bc_uv_t">bc_uv_t</a> is internally set ('neumann') and does not need to be prescribed. The coupled ocean parameter file <a href="chapter_3.4.html#PARIN"><font style="font-size: 10pt;" size="2">PARIN_O</font></a> should include dummy REAL value assignments to both <a href="chapter_4.1.html#top_momentumflux_u">top_momentumflux_u</a> and <a href="chapter_4.1.html#top_momentumflux_v">top_momentumflux_v</a> (e.g. top_momentumflux_u = 0.0, top_momentumflux_v = 0.0) to enable the momentum flux coupling.</p> 135 <p style="line-height: 100%;">The coupling interval <a href="chapter_4.2.html#dt_coupling">dt_coupling</a> must be explicity set. In order to ensure synchronous coupling throughout the simulation, <a href="chapter_4.2.html#dt_coupling">dt_coupling</a> should be chosen larger than 108 <a href="chapter_4.2.html#dt_restart">dt_restart</a>. 109 In the coupled atmosphere executable, <a href="chapter_4.2.html#bc_pt_b">bc_pt_b</a> is 110 internally set and does not need to be prescribed; in the coupled ocean 111 executable, <a href="chapter_4.2.html#bc_uv_t">bc_uv_t</a> is 112 internally set ('neumann') and does not need to be prescribed. The 113 coupled ocean parameter file <a href="chapter_3.4.html#PARIN"><font style="font-size: 10pt;" size="2">PARIN_O</font></a> 114 should include dummy REAL value assignments to both <a href="chapter_4.1.html#top_momentumflux_u">top_momentumflux_u</a> 115 and <a href="chapter_4.1.html#top_momentumflux_v">top_momentumflux_v</a> 116 (e.g. top_momentumflux_u = 0.0, top_momentumflux_v = 0.0) to 117 enable the momentum flux coupling.</p> 118 119 <p style="line-height: 100%;">The coupling interval <a href="chapter_4.2.html#dt_coupling">dt_coupling</a> 120 must be explicity set. In order to ensure synchronous coupling 121 throughout the simulation, <a href="chapter_4.2.html#dt_coupling">dt_coupling</a> 122 should be chosen larger than 136 123 <a href="chapter_4.2.html#dt_max">dt_max</a>.</p> 124 137 125 <hr> 138 126 <p style="line-height: 100%;"><br> 139 127 140 141 128 <font color="#000080"><font color="#000080"><a href="chapter_3.7.html"><font color="#000080"><img style="border: 2px solid ; width: 32px; height: 32px;" alt="" src="left.gif" name="Grafik1"></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_4.0.html"><font color="#000080"><img src="right.gif" name="Grafik3" align="bottom" border="2" height="32" width="32"></font></a></font></font></p> 142 129 143 144 130 <p style="line-height: 100%;"><i>Last 145 change: </i> ++</p> 146 131 change: </i> $Id$</p> 147 132 148 133 </body>
Note: See TracChangeset
for help on using the changeset viewer.