Error when increasing the data size

Hello all,

I'm running some tests of a small program that writes a dataset using
hyperslabs in collective mode.

When I increase the size of the data to write I get the following error:

stderr[165]: #000: H5Dio.c line 266 in H5Dwrite(): file selection+offset
not within extent
stderr[165]: major: Dataspace
stderr[165]: minor: Out of range

It seems that the I don't maintain the coherence of some variables... but i
can't find the error.

why not happen with a small amount of data?

Thanks in advance,
Víctor.

Hello Victor,

The error that you are getting indicates that the selection you are trying to make goes beyond the
size of the dimension. See this tutorial topic that has some pictures of what I mean:

https://www.hdfgroup.org/HDF5/Tutor/selectsimple.html#exp

-Barbara
help@hdfgroup.org

···

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of victor sv
Sent: Tuesday, August 18, 2015 7:48 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] Error when increasing the data size

Hello all,
I'm running some tests of a small program that writes a dataset using hyperslabs in collective mode.
When I increase the size of the data to write I get the following error:

stderr[165]: #000: H5Dio.c line 266 in H5Dwrite(): file selection+offset not within extent
stderr[165]: major: Dataspace
stderr[165]: minor: Out of range
It seems that the I don't maintain the coherence of some variables... but i can't find the error.

why not happen with a small amount of data?
Thanks in advance,
Víctor.

Hello Barbara,

thanks for your quick response.

Finally it seems that single precision integer was not enough and I was
getting negative hyperslab offsets...

Best regards,
Víctor.

···

2015-08-18 16:44 GMT+02:00 Barbara Jones <bljones@hdfgroup.org>:

Hello Victor,

The error that you are getting indicates that the selection you are trying
to make goes beyond the

size of the dimension. See this tutorial topic that has some pictures of
what I mean:

https://www.hdfgroup.org/HDF5/Tutor/selectsimple.html#exp

-Barbara

help@hdfgroup.org

*From:* Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] *On
Behalf Of *victor sv
*Sent:* Tuesday, August 18, 2015 7:48 AM
*To:* HDF Users Discussion List
*Subject:* [Hdf-forum] Error when increasing the data size

Hello all,

I'm running some tests of a small program that writes a dataset using
hyperslabs in collective mode.

When I increase the size of the data to write I get the following error:

stderr[165]: #000: H5Dio.c line 266 in H5Dwrite(): file selection+offset
not within extent
stderr[165]: major: Dataspace
stderr[165]: minor: Out of range

It seems that the I don't maintain the coherence of some variables... but
i can't find the error.

why not happen with a small amount of data?

Thanks in advance,

Víctor.

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5