Hi Brendan,
There is a source patch for HDF5 1.10 that disables file locking located here:
<https://www.hdfgroup.org/HDF5/release/obtainsrc5110.html#patch
Does that solve your problem?
Dana Robinson
Software Engineer
The HDF Group
<https://www.hdfgroup.org/HDF5/release/obtainsrc5110.html#patch>
···
From: Hdf-forum <hdf-forum-bounces@lists.hdfgroup.org<mailto:hdf-forum-bounces@lists.hdfgroup.org>> on behalf of "Krueger, Brendan K" <bkkrueger@lanl.gov<mailto:bkkrueger@lanl.gov>>
Reply-To: HDF List <hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>>
Date: Tuesday, June 28, 2016 at 12:09
To: HDF List <hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>>
Subject: [Hdf-forum] Turn off file locking
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?
Thank you,
Brendan
