[IMP-users] Configuring IMP 2.2.1: HDF5 once found, twice not
To: Help and discussion for users of IMP <>
Subject: [IMP-users] Configuring IMP 2.2.1: HDF5 once found, twice not
From: Frank Thommen <>
Date: Wed, 03 Sep 2014 20:31:12 +0200
Organization: EMBL Heidelberg, Structural Biology
Reply-to: Help and discussion for users of IMP <>
Dear all,
I am building IMP by using a HDF5 installation in a non-standard
location. When running cmake with the HDF5_* options, HDF5 is found
when configuring some modules, but not found when configuring others.
I'm configuring IMP with:
$ cmake ../imp-2.2.1 \
-DCMAKE_INSTALL_PREFIX=/my/imp/prefix \
-DBOOST_ROOT=/my/boost/root \
-DHDF5_LIBRARIES=/my/hdf5/root/lib \
-DHDF5_INCLUDE_DIRS=/my/hdf5/root/include
And I get:
Configuring module parallel ... yes
-- Running setup_swig_wrappers parallel
-- Running IMP.parallel making all header
-- Updating /my/imp/prefix/SRC/build/include/IMP/parallel.h
HDF5 not found
and
Configuring module saxs ... yes
-- Running setup_swig_wrappers saxs
-- Running IMP.saxs making all header
-- Updating /my/imp/prefix/SRC/build/include/IMP/saxs.h
HDF5 not found
*but* I also get:
Configuring module misc ... yes
-- [...]
-- Found HDF5: /my/hdf5/root/lib
-- [...]
I can overcome the problem by using the $CMAKE_INCLUDE_PATH and
$CMAKE_LIBRARY_PATH environment variables instead. In this case HDF5 is
found for all modules.
Still, I think this behaviour is quite confusing
(Problem already existed with IMP 2.2.0)
Cheers
Frank