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