Hi Mark,

thank you for your answer.

I made a simple test and did not observe any problems so far. Until now I'm not 
dealing with large integers and doubles.

Thx,

Jan

> 
> 
> 
> 
> Today's Topics:
> 
>   1. Re: 64bit and 32bit interoperability (Mark Miller)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 23 May 2010 21:27:33 -0700
> From: Mark Miller <[email protected]>
> To: HDF Users Discussion List <[email protected]>
> Subject: Re: [Hdf-forum] 64bit and 32bit interoperability
> Message-ID: <1274675252.18786.8.ca...@114     miller86-1.llnl.gov
>       miller86-1
> Content-Type: text/plain
> 
> Hi Jan,
> 
> In general, yes, I believe it should be.
> 
> I can think of some special cases you might need to consider if they
> apply to you...
> 
> a) file size is on 64-bit system grows to be greater than 2^(32-1) (2
> Gigs) and you don't have large file support on your 32-bit system. You
> won't be able to read your file on the 32 bit system. You can 'fix' this
> by using the 'family' Virtual File Driver I think.
> 
> b) you write 64-bit integer dataset AND the values stored in it are
> indeed large enough to REQUIRE 64 bits and your 32 bit system does NOT
> have an appropriate integer type (e.g. long int or long long or
> something) to read it back into. Note, if you write 'int' on your 64 bit
> system and the values are small enough to fit into 32 bit, I am not sure
> if HDF5 will handle reading it into an 'int' on your 32 bit system or
> not. I think it will but I am not sure. You could explicitly attempt to
> read it into long int or long long or int64 if your system supports
> those types AND they are indeed 64 bit.
> 
> These situations are highly UNlikely. So, I'd expect you would have no
> problems. But, I think its important to mention them for completeness. I
> can't think if any other cases where there could be problems.
> 
> Mark
> 
> On Sun, 2010-05-23 at 08:50, Jan Linxweiler wrote:
>> Hallo all,
>> 
>> my hdf5 data is generated by a solver compiled in 64bit. My question is if 
>> it is possible/safe to read this data with a software using the 32bit 
>> libraries?
>> 
>> Thx,
>> 
>> Jan
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> [email protected]
>> http://*mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
> -- 
> Mark C. Miller, Lawrence Livermore National Laboratory
> ================!!LLNL BUSINESS ONLY!!================
> [email protected]      urgent: [email protected]
> T:8-6 (925)-423-5901     M/W/Th:7-12,2-7 (530)-753-851
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
> 
> 
> End of Hdf-forum Digest, Vol 11, Issue 24
> *****************************************

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to