On 28/06/2016 17:09, Krueger, Brendan K wrote:
Hello,
I've written a code that uses HDF5 (serial mode, C++ if that matters) to
write and read data files. My current computing resources aren't
sufficient for much longer, so I got an account on a new computing
resource. Unfortunately, the administrators on this new system have
disabled file locking to improve performance of their Lustre file
system. HDF5 demands file locks, which I don't need, and I can't find a
way to turn that off. Is there a way to tell HDF5 to not request a file
lock, so that I can run on a system that doesn't allow file locking?
If you're on Linux, you could look at the "eatmydata" command. This
LD_PRELOADs a small library which overrides the glibc locking calls and
simply stubs them out. Depending upon how the locking is implemented by
HDF5, this may or may not be a possible solution, but thought it might
be something you might find worth investigating.
Regards,
Roger
--
Dr Roger Leigh -- Open Microscopy Environment
Wellcome Trust Centre for Gene Regulation and Expression,
School of Life Sciences, University of Dundee, Dow Street,
Dundee DD1 5EH Scotland UK Tel: (01382) 386364
The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________
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