Hi all,

Sorry I've missed most of this discussion, but HDF5 1.10.1 checks an 
environment variable that you can use to disable file locking 
(HDF5_USE_FILE_LOCKING). Setting this to "FALSE" disables all file lock calls.

Cheers,

Dana Robinson
Software Engineer
The HDF Group

On 4/2/17, 11:38 PM, "Hdf-forum on behalf of Rafal Lichwala" 
<[email protected] on behalf of [email protected]> wrote:

    Thank you All for the hints!
    I will try both: the patch and configure switch to disable flock().
    Thanks!
    
    Regards,
    Rafal
    
    
    W dniu 2017-03-31 o 22:48, Sean Byland pisze:
    > I'm not familiar with the ramifications, and doing so is kind of a hack,
    > but it appears you can disable flock() by passing "ac_cv_func_flock=no"
    > to "configure"  before compiling.
    >
    >
    > Sean
    >
    > ------------------------------------------------------------------------
    > *From:* Hdf-forum <[email protected]> on behalf of
    > Rafal Lichwala <[email protected]>
    > *Sent:* Friday, March 31, 2017 4:06:57 AM
    > *To:* [email protected]
    > *Subject:* [Hdf-forum] HDF5 files on NFS?
    >
    > Hi All,
    >
    > In case my previous question was lost between other issues I sent
    > before, I'd like to ask again with hope someone knows the answer here:
    >
    > Is is possible to use HDF5 library on NFS filesystems where flock() is
    > not possible?
    > How to achieve this? Is there just some "switch" before compiling the
    > library source?
    >
    > Regards,
    > Rafal
    >
    >
    > _______________________________________________
    > 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
    >
    >
    > _______________________________________________
    > 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
    >
    
    -- 
    
    ***
    Rafał Lichwała
    Poznańskie Centrum Superkomputerowo-Sieciowe
    ul. Jana Pawła II nr 10
    61-139 Poznań
    e-mail: [email protected]
    ***
    
    _______________________________________________
    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

_______________________________________________
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