Hi Tony:

I don't know what the features of hdf5 with parallel are, but if all you want 
to achieve is have thread safety, I recommend that you use mutexes manually. 
Just wrap every call to hdf5 with std::lock_guard() or std::unique_lock(). If 
you can't use C++11, then you can get the same features from the boost library. 
This will make your code work independent of the build settings of hdf5. 

I do this to avoid the obvious mistake of running a program in parallel with a 
version of hdf5 that is built for serial. It's much cleaner. 

Cheers, 
Sam

On February 21, 2017 12:23:03 PM GMT+01:00, Tony Garratt 
<[email protected]> wrote:
>Following on my previous post, I notice that at
>
>https://support.hdfgroup.org/HDF5/release/platforms5.html
>
>you have built with Intel Fortran. How would one use cmake to build
>parallel HDF5 on Windows with both Intel C++ and Intel Fortran please?
>
>Regards,
>Tony
>
>-- 
>*Dr Tony Garratt*
>Tel: +44 7624 309933

-- 
Sent from my Android device. 
_______________________________________________
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