-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
If you install via conda, you will likely get a version of hdf5 that is fairly new. Versions 1.10.4 for example are compiled with gcc 7, and use the latest std::string implementations.
https://gcc.gnu.org/onlinedocs/gcc-5.2.0/libstdc++/manual/manual/using_dual_abi.html
If you get errors when you import larcv indicating that it is missing a function for insertMember, and you have used conda to install hdf5, likely this is the problem. The best solution is to rebuild larcv with a newer compiler. If you have access to gcc5 or higher, you can rebuild from source:
cd /path/to/larcv3/
rm -rf _skbuild
CXX=$(which g++-5) CC=$(which gcc-5) python setup.py install -j 12 [--user]
Obviously, replace g++-5/gcc-5 with a different version if that is what you want to use.
Metadata
Metadata
Assignees
Labels
No labels