[Copying to group]

Hi Binh-Minh,

 I am using hdf5DotNet library in my application. I don't have a
parameter less constructor for FileAccPropList class. I see 2
constructors, with following parameters

Contructor 1 arguments: const FileAccPropList& original Constructor 2
arguments: const hid_t plist_id

Is it because of the library that I am using. Do we get support on
hdf5DotNet library on this forum or is there a different forum for this?

Regards,
Alok 




Please follow the attached hyperlink to an important disclaimer
http://www.credit-suisse.com/asiapac/legal/securities/ 


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, April 09, 2012 11:33 AM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Error in FileAccPropList::getCache

Hi Alok,

Have you tried replacing

H5::FileAccPropList fapl(H5::FileAccPropList::DEFAULT);

with

H5::FileAccPropList fapl();?

If not, please try that.

Binh-Minh

Quoting "Jadhav, Alok" <[email protected]>:

> Hi Binh-Minh,
>
> I still have problem with getCache. Nothing has changed. When I try to

> create a new HDF5 file (the 2nd file), fapl.getCache raises exception 
> as described below.
>
> Regards,
> Alok
>
>
>
>
> Please follow the attached hyperlink to an important disclaimer 
> http://www.credit-suisse.com/asiapac/legal/securities/
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Monday, April 09, 2012 10:44 AM
> To: HDF Users Discussion List; Jadhav, Alok
> Subject: Re: [Hdf-forum] Error in FileAccPropList::getCache
>
> Hi Alok,
>
> Does that mean you don't have problem with getCache anymore?
>
> Binh-Minh
>
> Quoting "Jadhav, Alok" <[email protected]>:
>
>> Hi Quincey,
>>
>> Thanks for your repl.
>>
>> fyi, below code works fine when i open a file in my first pass but 
>> its
>
>> failing on 2nd time i try to open a different file (different
> filename).
>> I am sure that i close the previous file without any errors.
>>
>> Regards,
>> Alok
>>
>>
>>
>>
>>
>>
>> Please follow the attached hyperlink to an important disclaimer
>>
>> http://www.credit-suisse.com/asiapac/legal/securities/
>> <http://www.credit-suisse.com/asiapac/legal/securities/>
>>
>>
>>
>>
>>
>> ________________________________
>>
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Quincey Koziol
>> Sent: Saturday, April 07, 2012 12:28 AM
>> To: HDF Users Discussion List
>> Subject: Re: [Hdf-forum] Error in FileAccPropList::getCache
>>
>>
>> Hi Alok,
>> Looks OK to me, I'll CC our C++ maintainer and see what she says.
>>
>> Quincey
>>
>>
>> On Apr 5, 2012, at 11:14 PM, Jadhav, Alok wrote:
>>
>>
>>
>>      Hi everyone,
>>
>>       I have been using hdf5 library for a while now but never had to
> look
>> inside the code. I am making some changes in my software and I 
>> getting
>
>> H5Pget_cache failed exception. I am not sure what this exception 
>> means. Earlier I was opening an hdf5 file and then close the 
>> application. Now what I have changed is, if I want to working on 
>> multiple files of data, I don't close my application but I close 
>> previous hdf5 file and then open a new one. The way I create a new
>> hdf5 file is as follows. Please advise what am I doing incorrect here
>>
>>      <code>
>>              try{
>>                              ///////////////////////////
>>                              // Disable chunk cache
>>                              H5::FileAccPropList 
>> fapl(H5::FileAccPropList::DEFAULT);
>>                              int mdc_nelmts;
>>                              size_t rdcc_nelmts;
>>                              size_t rdcc_nbytes;
>>                              double rdcc_w0;
>>
>> fapl.getCache(mdc_nelmts,rdcc_nelmts,rdcc_nbytes,rdcc_w0);
>>                              rdcc_nbytes = 0;
>>
>> fapl.setCache(mdc_nelmts,rdcc_nelmts,rdcc_nbytes,rdcc_w0);
>>                              //////////////////////////
>>                              file = new H5File(filename,
> H5F_ACC_TRUNC,
>>
>> H5::FileCreatPropList::DEFAULT, fapl);
>>
>>                      } catch(H5::PropListIException error) {
>>                              error.printError();
>>                              throw error;
>>                      }
>>      </code>
>>
>>      Regards,
>>      Alok
>>
>>      Please follow the attached hyperlink to an important disclaimer
>>      http://www.credit-suisse.com/asiapac/legal/securities/
>> <http://www.credit-suisse.com/asiapac/legal/securities/>
>>
>>
>>
>>
>> =====================================================================
>> =
>> ==
>> ======
>>      Please access the attached hyperlink for an important electronic
>
>> communications disclaimer:
>>      http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>>
>> =====================================================================
>> =
>> ==
>> ======
>>
>>
>>      _______________________________________________
>>      Hdf-forum is for HDF software users discussion.
>>      [email protected]
>>      http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>>
>>
>>
>>
>> =====================================================================
>> = ========= Please access the attached hyperlink for an important 
>> electronic communications disclaimer:
>> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>> =====================================================================
>> =
>> =========
>>
>>
>
>
>
> ======================================================================
> ========= Please access the attached hyperlink for an important 
> electronic communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ======================================================================
> =========
>
>



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

=============================================================================== 
Please access the attached hyperlink for an important electronic communications 
disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 


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

Reply via email to