1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
---|
2 | <html><head> |
---|
3 | <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 4.5.6</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041029;13171001"> <meta name="CHANGED" content="20041117;12013945"> <meta name="KEYWORDS" content="parallel LES model"> <style> |
---|
4 | <!-- |
---|
5 | @page { size: 21cm 29.7cm } |
---|
6 | --> |
---|
7 | </style></head> |
---|
8 | <body style="direction: ltr;" lang="en-US"><h4 style="line-height: 100%;"><font size="4">4.5.6 |
---|
9 | Plots of compressed |
---|
10 | 3d volume data with AVS</font></h4> |
---|
11 | <p style="line-height: 100%;">Files containing 3d volume |
---|
12 | data usually |
---|
13 | need large amounts of disc space. For parallel runs, the disc space |
---|
14 | requirement can |
---|
15 | be clearly reduced if the data are output in compressed format (note: |
---|
16 | currently a data |
---|
17 | compression is permitted only for parallel runs on Cray-T3E). Data |
---|
18 | compression |
---|
19 | can switched on by setting the initialization parameter <a href="chapter_4.2.html#do3d_compress">do3d_compress</a> |
---|
20 | = <i>.TRUE.</i> and by assigning the desired accuracy |
---|
21 | (number of |
---|
22 | significant digits) via <a href="chapter_4.2.html#do3d_comp_prec">do3d_comp_prec</a>. |
---|
23 | A separate accuracy must be assigned for each individual quantity. |
---|
24 | Using uncompressed data, each grid point value is |
---|
25 | represented by a 32-bit real number, in case of compression the grid |
---|
26 | point values are represented by integers whose length depends |
---|
27 | on the desired accuracy (in general clearly smaller than 32 bits). |
---|
28 | The individual grid point values are packed into 32-bit integers and |
---|
29 | output. To plot these compressed data the following output command must |
---|
30 | be inserted into the |
---|
31 | <span style="font-weight: bold;">mrun</span> |
---|
32 | configuration file<b> </b>(in |
---|
33 | addition to the steps described |
---|
34 | in <a href="chapter_4.5.5.html">chapter |
---|
35 | 4.5.5</a>): </p> |
---|
36 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">OC:[[ -f PLOT3D_COMPRESSED ]] && tar cf PLOT3D_DATA PLOT3D_DATA_*</font></pre></ul> |
---|
37 | <p style="line-height: 100%;">If a file named <tt><font style="font-size: 10pt;" size="2">PLOT3D_COMPRESSED</font></tt> |
---|
38 | exists in the local working directory, <tt><font face="Thorndale, serif">t</font></tt><font face="Thorndale, serif">he |
---|
39 | files produ</font>ced by the individual processors are packed |
---|
40 | into one |
---|
41 | file (<tt><font style="font-size: 10pt;" size="2">PLOT3D_DATA</font></tt>) |
---|
42 | using the "tar" |
---|
43 | command. The flag file |
---|
44 | <tt><font size="2">PLOT3D_COMPRESSED </font></tt>is |
---|
45 | created by PALM |
---|
46 | whenever data in compressed form is to be output. For |
---|
47 | uncompressed output, the individual files have to be joined via the |
---|
48 | program <tt><font style="font-size: 10pt;" size="2">combine_plot_fields.x</font> |
---|
49 | </tt>. In this case, an additional output command is also |
---|
50 | necessary |
---|
51 | (see chapter 4.5.5). For compressed output, this output command may |
---|
52 | remain |
---|
53 | unchanged in the configuration file, since <tt><font style="font-size: 10pt;" size="2">combine_plot_fields.x</font></tt> |
---|
54 | recognizes the |
---|
55 | ex<font face="Thorndale, serif">isten</font>ce of <tt><font style="font-size: 10pt;" size="2">PLOT3D_COMPRESSED</font></tt> |
---|
56 | and carries out no actions in such cases. </p> |
---|
57 | <p style="line-height: 100%;">The file connection |
---|
58 | statements for the |
---|
59 | local file <a href="chapter_3.4.html#PLOT3D_DATA">PLOT3D_DATA</a> |
---|
60 | and all further necessary statements to create plots of 3d volume |
---|
61 | data can be found in <a href="chapter_4.5.5.html">chapter |
---|
62 | 4.5.5</a>. </p> |
---|
63 | <p style="line-height: 100%;">After been transferred to |
---|
64 | the local |
---|
65 | computer |
---|
66 | of the user, the tar file with the compressed data cannot be read |
---|
67 | with the usual <span style="font-weight: bold;">AVS</span> |
---|
68 | module |
---|
69 | “read field”. Alternatively, |
---|
70 | the module “read_compressed_field” particularly |
---|
71 | developed |
---|
72 | for this purpose must be used. This module is located in a module |
---|
73 | library under: </p> |
---|
74 | <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">http://www.muk.uni-hannover.de/~raasch/PALM_group/AVS/Libraries/palm</font></pre><p style="line-height: 100%;">This module must be loaded within |
---|
75 | AVS |
---|
76 | (network editor - > module |
---|
77 | tools - > read module library) and then it can be used like all |
---|
78 | other modules. <a href="http://www.muk.uni-hannover.de/institut/people/raasch/PALM_group/AVS/Doc/read_compressed_field.html">Further |
---|
79 | information</a> about using this module is available (e.g. for |
---|
80 | accelerated treatment of compressed data with <span style="font-weight: bold;">AVS</span> the module |
---|
81 | <a href="http://www.muk.uni-hannover.de/institut/people/raasch/PALM_group/AVS/Doc/write_compressed_field.html">write_compressed_field</a> |
---|
82 | is available). <br> |
---|
83 | <br> |
---|
84 | </p> |
---|
85 | <hr><p style="line-height: 100%;"><br> |
---|
86 | <font color="#000080"><font color="#000080"><a href="chapter_4.5.5.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_4.5.7.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 |
---|
87 | change: </i> $Id: chapter_4.5.6.html 197 2008-09-16 15:29:03Z hellstea $</p> |
---|
88 | </body></html> |
---|