CompType equivalent to H5Tset_size

Hi folks -
I've got a working prototype using the HDF5 C API, and am now looking at
using the C++ bindings. There are a few places in my code where I need to
use H5Tset_size. I'm currently resorting to calling it, and using
CompType::getId() for its first argument. Is there any other way of
accomplishing this?

Thanks for your attention.

-Josiah Slack

Hi Josiah,

You can use setSize() in the C++ API, e.g. <yourtype_instance>.setSize(...)

Please let us know if you have any problem.

Binh-Minh

···

________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Josiah Slack <josiahnmi@gmail.com>
Sent: Monday, December 09, 2013 10:39 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] CompType equivalent to H5Tset_size

Hi folks -
I've got a working prototype using the HDF5 C API, and am now looking at using the C++ bindings. There are a few places in my code where I need to use H5Tset_size. I'm currently resorting to calling it, and using CompType::getId() for its first argument. Is there any other way of accomplishing this?

Thanks for your attention.

-Josiah Slack

I get a compiler error when I try to use it - I've looked through the
source, and as far as I can see, H5::AtomType is the only subclass of
DataType that implements setSize().

-Josiah

···

On Mon, Dec 9, 2013 at 11:41 AM, Binh-Minh Ribler <bmribler@hdfgroup.org>wrote:

Hi Josiah,

You can use setSize() in the C++ API, e.g.
<yourtype_instance>.setSize(...)

Please let us know if you have any problem.
Binh-Minh

------------------------------
*From:* Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of
Josiah Slack <josiahnmi@gmail.com>
*Sent:* Monday, December 09, 2013 10:39 AM
*To:* HDF Users Discussion List
*Subject:* [Hdf-forum] CompType equivalent to H5Tset_size

   Hi folks -
I've got a working prototype using the HDF5 C API, and am now looking at
using the C++ bindings. There are a few places in my code where I need to
use H5Tset_size. I'm currently resorting to calling it, and using
CompType::getId() for its first argument. Is there any other way of
accomplishing this?

Thanks for your attention.

-Josiah Slack

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org

http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Hi Josiah,

You've just found a bug in the C++ API. The issue will be filed and fixed in the next release. At this time, please use the approach that you originally used. I apologized for giving you incorrect information earlier.

Binh-Minh

···

________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of Josiah Slack <josiahnmi@gmail.com>
Sent: Monday, December 09, 2013 12:35 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] CompType equivalent to H5Tset_size

I get a compiler error when I try to use it - I've looked through the source, and as far as I can see, H5::AtomType is the only subclass of DataType that implements setSize().

-Josiah

On Mon, Dec 9, 2013 at 11:41 AM, Binh-Minh Ribler <bmribler@hdfgroup.org<mailto:bmribler@hdfgroup.org>> wrote:

Hi Josiah,

You can use setSize() in the C++ API, e.g. <yourtype_instance>.setSize(...)

Please let us know if you have any problem.

Binh-Minh

________________________________
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org<mailto:hdf-forum-bounces@lists.hdfgroup.org>> on behalf of Josiah Slack <josiahnmi@gmail.com<mailto:josiahnmi@gmail.com>>
Sent: Monday, December 09, 2013 10:39 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] CompType equivalent to H5Tset_size

Hi folks -
I've got a working prototype using the HDF5 C API, and am now looking at using the C++ bindings. There are a few places in my code where I need to use H5Tset_size. I'm currently resorting to calling it, and using CompType::getId() for its first argument. Is there any other way of accomplishing this?

Thanks for your attention.

-Josiah Slack

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org<mailto:Hdf-forum@lists.hdfgroup.org>
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Thanks for the quick response. I will continue using my workaround.

-Josiah

···

On Mon, Dec 9, 2013 at 1:45 PM, Binh-Minh Ribler <bmribler@hdfgroup.org>wrote:

Hi Josiah,

You've just found a bug in the C++ API. The issue will be filed and
fixed in the next release. At this time, please use the approach that you
originally used. I apologized for giving you incorrect information earlier.

Binh-Minh

------------------------------
*From:* Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of
Josiah Slack <josiahnmi@gmail.com>
*Sent:* Monday, December 09, 2013 12:35 PM

*To:* HDF Users Discussion List
*Subject:* Re: [Hdf-forum] CompType equivalent to H5Tset_size

  I get a compiler error when I try to use it - I've looked through the
source, and as far as I can see, H5::AtomType is the only subclass of
DataType that implements setSize().

-Josiah

On Mon, Dec 9, 2013 at 11:41 AM, Binh-Minh Ribler <bmribler@hdfgroup.org>wrote:

Hi Josiah,

You can use setSize() in the C++ API, e.g.
<yourtype_instance>.setSize(...)

Please let us know if you have any problem.
Binh-Minh

------------------------------
*From:* Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org> on behalf of
Josiah Slack <josiahnmi@gmail.com>
*Sent:* Monday, December 09, 2013 10:39 AM
*To:* HDF Users Discussion List
*Subject:* [Hdf-forum] CompType equivalent to H5Tset_size

    Hi folks -
I've got a working prototype using the HDF5 C API, and am now looking at
using the C++ bindings. There are a few places in my code where I need to
use H5Tset_size. I'm currently resorting to calling it, and using
CompType::getId() for its first argument. Is there any other way of
accomplishing this?

Thanks for your attention.

-Josiah Slack

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org

http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org

http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

When compiling HDF5 1.8.11. I was able to use a generic x86_64 server that has the Cray Software stack installed (including Cray's version of MPI) to compile HDF5 without problems. When configuring HDF5 1.8.12 it tries to execute a test that was linked with mpich (which only installed for cross-compiling purposes) that isn't functional at run-time. I was able to get it to compile by adding the configure option "--host=cray" but the configure summery reports:
   Host system: j90-cray-unicos
It then compiles (and make check passes when running on machines that do support MPI runtime). The Cray J90 is almost 20 years old. Are they any negative ramifications to setting this host that I may not be noticing ? Thanks.

Sean

Hi,

I think you should specify MPI on command line or in ccmake interface
before configuring everything.

Cheers,

Matthieu

···

2013/12/10 Sean Byland <seanb@cray.com>:

When compiling HDF5 1.8.11. I was able to use a generic x86_64 server that
has the Cray Software stack installed (including Cray's version of MPI) to
compile HDF5 without problems. When configuring HDF5 1.8.12 it tries to
execute a test that was linked with mpich (which only installed for
cross-compiling purposes) that isn't functional at run-time. I was able to
get it to compile by adding the configure option "--host=cray" but the
configure summery reports:
   Host system: j90-cray-unicos
It then compiles (and make check passes when running on machines that do
support MPI runtime). The Cray J90 is almost 20 years old. Are they any
negative ramifications to setting this host that I may not be noticing ?
Thanks.

Sean

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

--
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
Music band: http://liliejay.com/