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