Thanks. A simple enough work-around in our application is to chdir into the 
directory containing the file when accessing the virtual dataset, and then 
chdir back out when done.

Jarom

From: Hdf-forum [mailto:[email protected]] On Behalf Of 
Elena Pourmal
Sent: Thursday, July 14, 2016 9:12 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] H5Pset_virtual_source_path

Hi Jarom,

The function was not implemented. We will try to address the issue in the 
release later this year.

Elena
On Jul 13, 2016, at 11:37 AM, Nelson, Jarom 
<[email protected]<mailto:[email protected]>> wrote:

The RFC for the virtual datasets indicates that you can set a path in which to 
search for the source files referenced in the virtual datasets, using the 
H5Pset_virtual_source_path function. It doesn’t appear that this was 
implemented, as my header files don’t resolve that symbol. Am I just missing 
something?

At the moment, I’m using just the base filename as the source file, and h5dump 
(1.10.0 patch 1) works fine if my working directory is the same as the VDS file 
(collocated with the source files), but fails to resolve the data if I dump it 
from a different directory.

What I would like to do is have the HDF library search in “.” relative to the 
location of the VDS file.

Jarom Nelson

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]<mailto:[email protected]>
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

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

Reply via email to