One followup could this problem be related to perhaps already having
the one link open ??? and then trying to open it again???
Cheers,
Allen
On Dec 18, 2009, at 6:02 PM, Allen Sanderson wrote:
I have a file with two external links that at are both at the top
level:
HDF5 "DATA.h5" {
GROUP "/" {
EXTERNAL_LINK "Mesh" {
TARGETFILE "Mesh.h5"
TARGETPATH "/Mesh"
GROUP "/Mesh" {
}
}
EXTERNAL_LINK "Step#0" {
TARGETFILE "step_0.h5"
TARGETPATH "/Step#0"
GROUP "/Step#0" {
}
}
}
}
When I open the main file, DATA.h5 as RDONLY I am able to traverse
both links as one would expect.
However, when I open the main file, DATA.h5 as RDWR the group "/
Mesh" succeeds but the "Step#0" fails. Both links are created in the
exact same manner.
if( H5Lcreate_external(MESH_NAME, "/Mesh",
file_id, "Mesh",
H5P_DEFAULT, H5P_DEFAULT) < 0 ) {
}
So I am at a loss as to why the access is different. I tried to
follow through and understand more on the Property list that is set
to teh default. ie this var:
hid_t lapl_id IN: Link access property list identifier.
but I did not get far. Should I be setting something here????
Cheers,
Allen
Allen Sanderson
SCI Institute
University of Utah
www.sci.utah.edu
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org