from:++ https://support.hdfgroup.org/HDF5/hdf5-quest.html#p5thread Can you run Parallel HDF5 and the thread-safe feature together ? What about Parallel HDF5 and C++? By default, you cannot build either Parallel HDF5 with C++ or Parallel HDF5 with the thread-safe feature. You will receive a configure error if you try either of these combinations. Checks were added to the configure to disallow these combinations, as they are not tested and may fail. However, the --enable-unsupported configure option enables users to get around these checks at their own risk. (You can actually view the configure file to see where the checks are made.) If the build completes properly and the tests pass, then the installation should be okay. ROS forces me to have the CXX useflag (see https://bugs.gentoo.org/392683) Adding an unsupported useflag will allow hdf5 to have both MPI and C++ support better would be also having tests to do after the build
Thank you Alessandro. Patches welcome.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d655b364e26cfb971d655a691f0ffaef96e8f8 commit 27d655b364e26cfb971d655a691f0ffaef96e8f8 Author: Alessandro Barbieri <lssndrbarbieri@gmail.com> AuthorDate: 2020-03-02 07:50:25 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2020-03-08 06:49:08 +0000 sci-libs/hdf5: add unsupported useflag this will allow unsupported combinations of useflags such as MPI + CXX. link mpi when using mpi. Closes: https://bugs.gentoo.org/710986 Closes: https://github.com/gentoo/gentoo/pull/14821 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 106 ++++++++++++++++++++++++++++++++++++ sci-libs/hdf5/metadata.xml | 1 + 2 files changed, 107 insertions(+)