> 4GiB variables

Katie Antypas kantypas at lbl.gov
Fri Apr 6 16:51:08 CDT 2007


Hi Rob,

Yes. The returned command says it's a CDF2 file.

 > od -An -c -N4 myfile.nc
 C   D   F 002

Also, these are the first few lines of
 > od -x myfile.nc
0000000  4344 4602 0000 0000 0000 000a 0000 0004
0000020  0000 000e 6469 6d5f 746f 745f 626c 6f63
0000040  6b73 0000 0000 0048 0000 0007 6469 6d5f
0000060  6e78 6200 0000 00c8 0000 0007 6469 6d5f
0000100  6e79 6200 0000 00c8 0000 0007 6469 6d5f
0000120  6e7a 6200 0000 00c8 0000 0000 0000 0000
0000140  0000 000b 0000 0009 0000 0004 7661 7231
0000160  0000 0004 0000 0000 0000 0003 0000 0002
0000200  0000 0001 0000 0000 0000 0000 0000 0006

Katie



Robert Latham wrote:
> On Wed, Apr 04, 2007 at 11:33:52AM -0700, Katie Antypas wrote:
>   
>> Hi All,
>>
>> We are seeing the 4GiB limitation on variable sizes on the Power 5 
>> machine Bassi at NERSC.  The last fixed-size variable in a file can be 
>> larger.  John Shalf's group is also seeing the same limitation, although 
>> he though he recalled speaking with Rob Ross about how this limitation 
>> was lifted in recent versions.  Is this the case?
>>
>> We are using the latest version 1.0.2pre2 and setting the flag 
>> NC_64BIT_OFFSET.
>>     
>
> Could you double-check that pnetcdf is setting the CDF-2 style
> correctly?  
>
> $ od -An -c -N4 foo.nc
>
> That command should say "C D F 2" 
>
> ==rob
>
>   




More information about the parallel-netcdf mailing list