<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=ZH-CN link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>Hi Lie-Quan,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
Please run “mpiexec -n 4 test_write test_double.nc”. The test
assumes that the number is 4 in test/data/test_write.c.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
The ncdump of the resulting data file is as follows.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>netcdf test_double {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>// file format: CDF-1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>dimensions:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
x = 100 ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
y = 100 ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
z = 100 ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
time = UNLIMITED ; // (100 currently)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>variables:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
double square(x, y) ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
square:description = "2-D integer array" ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
double cube(x, y, z) ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
double time(time) ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
double xytime(time, x, y) ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>// global attributes:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
:title = "example netCDF dataset" ;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>data:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'> square =<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'> 0, 1, 2, 3, 4, 5,
6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'> 21, 22,
23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'> 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'> 57, 58,
59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'> 75, 76,
77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:9.0pt'><font size=1 color=navy
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:navy'>93, 94, 95, 96, 97, 98, 99,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:9.0pt'><font size=1 color=navy
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:navy'>…..<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:9.0pt'><font size=1 color=navy
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:navy'>}<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:9.0pt'><font size=1 color=navy
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>
Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>Kui.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
[mailto:parallel-netcdf-bounces@lists.mcs.anl.gov] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Lie-Quan Lee<br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, December 05, 2009
2:14 AM<br>
<b><span style='font-weight:bold'>To:</span></b> parallel-netcdf@mcs.anl.gov<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: bugy 1.1.0</span></font><span
lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>Oops, I guess that
I may not understand how to run test_double. <br>
<br>
Anyhow, the redef problem is true. Attached is the testing program to show the
probelm. Please help. Thanks.<br>
<br clear=all>
Best regards,<br>
Lie-Quan<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>On Fri, Dec 4, 2009 at 10:30 PM, Lie-Quan Lee <<a
href="mailto:liequan@gmail.com">liequan@gmail.com</a>> wrote:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Dear Parallel-netcdf Developers,<br>
<br>
I really would like to use version 1.1.0 for its CDF-5 format in our
simulation. However, there are some issues (unrelated to CDF-5) in the release
1.1.0. For example, the test_write program under test/test_double failed to
generated the right data file (as in test/data/<a href="http://test_double.nc"
target="_blank">test_double.nc</a>). Here is the ncdump of the resuting data
file:<br>
<br>
netcdf t {<br>
dimensions:<br>
x = 100 ;<br>
y = 100 ;<br>
z = 100 ;<br>
time = UNLIMITED ; // (100 currently)<br>
variables:<br>
double square(x, y) ;<br>
square:description = "2-D integer
array" ;<br>
double cube(x, y, z) ;<br>
double time(time) ;<br>
double xytime(time, x, y) ;<br>
<br>
// global attributes:<br>
:title = "example netCDF
dataset" ;<br>
data:<br>
<br>
square =<br>
0, nan, 2, nan, 4, nan, 6, nan, 8, nan, 10, nan, 12, nan, 14, nan, 16,
nan, <br>
18, nan, 20, nan, 22, nan, 24, nan, 26, nan, 28, nan, 30,
nan, 32, nan, <br>
34, nan, 36, nan, 38, nan, 40, nan, 42, nan, 44, nan, 46,
nan, 48, nan, <br>
50, nan, 52, nan, 54, nan, 56, nan, 58, nan, 60, nan, 62,
nan, 64, nan, <br>
66, nan, 68, nan, 70, nan, 72, nan, 74, nan, 76, nan, 78,
nan, 80, nan, <br>
82, nan, 84, nan, 86, nan, 88, nan, 90, nan, 92, nan, 94,
nan, 96, nan, <br>
98, nan,<br>
nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
nan, <br>
nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
nan, nan, <br>
nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
nan, nan, <br>
nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
nan, nan, <br>
nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
nan, nan, <br>
nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
nan, nan, <br>
nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
nan, nan, nan,<br>
200, nan, 202, nan, 204, nan, 206, nan, 208, nan, 210, nan, 212, nan,
214, <br>
<br>
,,,<br>
<br>
The testing environment is:<br>
OS: Linux x64 (RHEL4)<br>
Compiler: gcc 4.2.2<br>
MPI: mpich2 1.0.7<br>
<br>
Also, in my application, open an existing netcdf and add a new variable (2-d)
messed up the existing data somehow. The same code works when
parallel-netcdf release 1.0.3 or early is used.<br>
<font color="#888888"><span style='color:#888888'><br>
--<br clear=all>
Best regards,<br>
<br>
Lie-Quan Lee<br>
SLAC National Accelerator Laboratory</span></font><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>