Dear ALPS users/developers,
After cmake and ccmake, I am trying to 'make' the ALPS 2.2b1 files
on my computer (running on Linux Mint 13 Maya, which is in turn
based on Ubuntu 12.04); however I get the following error message:
<SNIP>
Linking CXX static library libspinmc_impl.a
[ 67%] Built target spinmc_impl
Scanning dependencies of target spinmc
[ 68%] Building CXX object
applications/mc/spins/CMakeFiles/spinmc.dir/spinmc.C.o
In file included from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/boost/boost/python/detail/wrap_python.hpp:50:0,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/boost/boost/python/detail/prefix.hpp:13,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/boost/boost/python/args.hpp:8,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/boost/boost/python.hpp:11,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/alps/src/alps/alea/mcdata.hpp:79,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/alps/src/alps/alea.h:34,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/alps/src/alps/alea/observableset.h:49,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/alps/src/alps/scheduler/montecarlo.h:40,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/alps/src/alps/scheduler.h:31,
from
/afs/ictp.it/home/v/vvarma/Desktop/alps-2.2.b1-r7195-src-with-boost/alps/applications/mc/spins/spinmc.C:29:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE"
redefined [enabled by default]
/usr/include/features.h:164:0: note: this is the location of the
previous definition
/usr/include/python2.7/pyconfig.h:1183:0: warning: "_XOPEN_SOURCE"
redefined [enabled by default]
/usr/include/features.h:166:0: note: this is the location of the
previous definition
make[2]: *** No rule to make target
`/usr/lib/libhdf5.so', needed by `applications/mc/spins/spinmc'.
Stop.
make[1]: *** [applications/mc/spins/CMakeFiles/spinmc.dir/all]
Error 2
make: *** [all] Error 2
<SNIP>
I have tried reinstalling hdf5 (libhdf5-serial-dev) and the ALPS
multiple times on this computer but there is always some error
related to the hdf5 files, either during the make process or the
cmake configuration. If you could please help me debug this
particular error, that would be greatly appreciated. A few technical
notes are appended at the end.
Thanks so much.
Regards,
Vipin
======================================
1) Surprisingly I am able to build and install ALPS without any
problems on a laptop running native Ubuntu 12.04.
2) cmake command
cmake -D
Boost_ROOT_DIR:PATH=~/Desktop/alps-2.2.b1-r7195-src-with-boost/boost
-DALPS_INSTALL_VISTRAILS_PACKAGES=ON -D
VISTRAILS_APP_DIR:PATH=~/Desktop/vistrails-src-nightly-09cb1cfff309/
-DCMAKE_INSTALL_PREFIX=~/Desktop/alps-2.2.b1-r7195-src-with-boost/opt_alps
~/Desktop/alps-2.2.b1-r7195-src-with-boost/alps
3) Snippet of CMakeCache.txt
//HDF5 C++ Wrapper compiler. Used only to detect HDF5 compile
// flags.
HDF5_CXX_COMPILER_EXECUTABLE:FILEPATH=HDF5_CXX_COMPILER_EXECUTABLE-NOTFOUND
//HDF5 Wrapper compiler. Used only to detect HDF5 compile flags.
HDF5_C_COMPILER_EXECUTABLE:FILEPATH=HDF5_C_COMPILER_EXECUTABLE-NOTFOUND
//Path to a file.
HDF5_C_INCLUDE_DIR:PATH=/usr/include
//HDF5 file differencing tool.
HDF5_DIFF_EXECUTABLE:FILEPATH=HDF5_DIFF_EXECUTABLE-NOTFOUND
//Path to a file.
HDF5_DLL:FILEPATH=HDF5_DLL-NOTFOUND
//Path to a file.
HDF5_HL_DLL:FILEPATH=HDF5_HL_DLL-NOTFOUND
//HDF5 library compiled with parallel IO support
HDF5_IS_PARALLEL:BOOL=FALSE
//The HDF5_hdf5 library
HDF5_hdf5_LIBRARY:FILEPATH=/usr/include
//Path to a library.
HDF5_hdf5_LIBRARY_DEBUG:FILEPATH=HDF5_hdf5_LIBRARY_DEBUG-NOTFOUND
//Path to a library.
HDF5_hdf5_LIBRARY_RELEASE:FILEPATH=/usr/lib/libhdf5.so
//The HDF5_hdf5_hl library
HDF5_hdf5_hl_LIBRARY:FILEPATH=/usr/include
//Path to a library.
HDF5_hdf5_hl_LIBRARY_DEBUG:FILEPATH=HDF5_hdf5_hl_LIBRARY_DEBUG-NOTFOUND
//Path to a library.
HDF5_hdf5_hl_LIBRARY_RELEASE:FILEPATH=/usr/lib/libhdf5_hl.so