Hi, This is because the library-wide lock that we use to enforce thread-safety is not elevated to the language wrappers (or the high-level library, either). We've never closely investigated if there would be problems if a context switch were to occur in the middle of the C++/Fortran/high-level calls, so thread-safety is currently labeled "unsupported" in the wrappers.
You can build with thread-safety and C++ enabled using the --enable-unsupported configure option, but with a potential increase in risk. It's been a long-term goal of ours to move the lock into the higher-level wrappers, but there's no immediate plans to do this. A sponsor with funding for such a feature would obviously change the situation :) Cheers, Dana Robinson Software Engineer The HDF Group -----Original Message----- From: Hdf-forum [mailto:[email protected]] On Behalf Of houssen Sent: Friday, October 16, 2015 6:32 AM To: [email protected] Subject: [Hdf-forum] C++ versus parallel Hello, It seems the C++ option is incompatible with the parallel option when building HDF5 (at least from 1.8.10 to 1.8.15 - both using cmake or autotools). Is this expected ? Or is it because of some bug ? Is this supposed to be fixed or supported in later release ? If yes, when ? Or is this supposed to be always this way ? FH _______________________________________________ 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
