bugy 1.1.0

Lie-Quan Lee liequan at gmail.com
Sat Dec 5 16:15:12 CST 2009


Thanks for pointing this out. I figured it out later last night. (It would
be nice this info is in the README of the test_double or somewhere more
suitable.)

Best regards,
Lie-Quan


On Sat, Dec 5, 2009 at 10:09 AM, Kui Gao <kgao at eecs.northwestern.edu> wrote:

>  Hi Lie-Quan,
>
>          Please run “mpiexec -n 4 test_write test_double.nc”. The test
> assumes that the number is 4 in test/data/test_write.c.
>
>          The ncdump of the resulting data file is as follows.
>
> netcdf test_double {
>
> // file format: CDF-1
>
> dimensions:
>
>         x = 100 ;
>
>         y = 100 ;
>
>         z = 100 ;
>
>         time = UNLIMITED ; // (100 currently)
>
> variables:
>
>         double square(x, y) ;
>
>                 square:description = "2-D integer array" ;
>
>         double cube(x, y, z) ;
>
>         double time(time) ;
>
>         double xytime(time, x, y) ;
>
>
>
> // global attributes:
>
>                 :title = "example netCDF dataset" ;
>
> data:
>
>
>
>  square =
>
>   0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
>
>     21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
>
>     39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
>
>     57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
>
>     75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
>
> 93, 94, 95, 96, 97, 98, 99,
>
> …..
>
> }
>
>
>
>          Thanks,
>
> Kui.
>
>
>  ------------------------------
>
> *From:*  [mailto:parallel-netcdf-bounces at lists.mcs.anl.gov] *On Behalf Of
> *Lie-Quan Lee
> *Sent:* Saturday, December 05, 2009 2:14 AM
> *To:* parallel-netcdf at mcs.anl.gov
> *Subject:* Re: bugy 1.1.0
>
>
>
> Oops, I guess that I may not understand how to run test_double.
>
> Anyhow, the redef problem is true. Attached is the testing program to show
> the probelm. Please help. Thanks.
>
> Best regards,
> Lie-Quan
>
> On Fri, Dec 4, 2009 at 10:30 PM, Lie-Quan Lee <liequan at gmail.com> wrote:
>
> Dear Parallel-netcdf Developers,
>
> 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/test_double.nc).
> Here is the ncdump of the resuting data file:
>
> netcdf t {
> dimensions:
>     x = 100 ;
>     y = 100 ;
>     z = 100 ;
>     time = UNLIMITED ; // (100 currently)
> variables:
>     double square(x, y) ;
>         square:description = "2-D integer array" ;
>     double cube(x, y, z) ;
>     double time(time) ;
>     double xytime(time, x, y) ;
>
> // global attributes:
>         :title = "example netCDF dataset" ;
> data:
>
>  square =
>   0, nan, 2, nan, 4, nan, 6, nan, 8, nan, 10, nan, 12, nan, 14, nan, 16,
> nan,
>     18, nan, 20, nan, 22, nan, 24, nan, 26, nan, 28, nan, 30, nan, 32, nan,
>
>     34, nan, 36, nan, 38, nan, 40, nan, 42, nan, 44, nan, 46, nan, 48, nan,
>
>     50, nan, 52, nan, 54, nan, 56, nan, 58, nan, 60, nan, 62, nan, 64, nan,
>
>     66, nan, 68, nan, 70, nan, 72, nan, 74, nan, 76, nan, 78, nan, 80, nan,
>
>     82, nan, 84, nan, 86, nan, 88, nan, 90, nan, 92, nan, 94, nan, 96, nan,
>
>     98, nan,
>   nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
> nan,
>     nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
>     nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
>     nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
>     nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
>     nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
>     nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,
> nan,
>   200, nan, 202, nan, 204, nan, 206, nan, 208, nan, 210, nan, 212, nan,
> 214,
>
> ,,,
>
> The testing environment is:
> OS: Linux x64 (RHEL4)
> Compiler: gcc 4.2.2
> MPI: mpich2 1.0.7
>
> 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.
>
> --
> Best regards,
>
> Lie-Quan Lee
> SLAC National Accelerator Laboratory
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20091205/21ccfe71/attachment-0001.htm>


More information about the parallel-netcdf mailing list