On Tue, Jan 3, 2012 at 5:02 PM, Rajeev Singh rajs2010@gmail.com wrote:
Hi,
I am unable to install ALPS on my machine locally running debian squeeze.
The cmake command for me is -
../cmake-2.8.7/bin/cmake -D CMAKE_INSTALL_PREFIX=/home/rajeev/bin/alps-2.0.2-r5790-src/ -D Boost_ROOT_DIR:PATH=/home/rajeev/bin/boost_1_48_0/ -D HDF5_LIBRARIES=/home/rajeev/bin/hdf5-1.8.8/lib/libhdf5.so -D HDF5_INCLUDE_DIR=/home/rajeev/bin/hdf5-1.8.8/include/ alps/
As can be seen in the command boost, cmake and hdf5 are installed locally.
The make command runs successfully. 'make test' fails on three tests -
The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed) Errors while running CTest make: *** [test] Error 8
'make install' gives -
CMake Error at lib/pyalps/cmake_install.cmake:42 (FILE): file INSTALL cannot find "/home/rajeev/bin/alps-2.0.2-r5790-src/lib/pyalps/pyhdf5_c.so". Call Stack (most recent call first): cmake_install.cmake:94 (INCLUDE)
I ran the following command and couldn't find the missing file.
find ../alps-2.0.2-r5790-src -iname pyhdf5_c.so
Interestingly if I run 'make test' now, three more tests fail -
The following tests FAILED: 1 - ising_single (Failed) 2 - loop_single (Failed) 3 - exchange (Failed) 97 - python_hlist_test (Failed) 98 - python_mcdata (Failed) 99 - python_pyhdf5 (Failed)
I would greatly appreciate any help.
Regards, Rajeev
Hi,
An update on the problem. The file creating the trouble i.e. pyhdf5_c.so does exist at proper place at the end of make command, but gets deleted at the end of 'make install' command. My guess is that it is getting deleted before its final use and hence the error. I have not yet succeeded in installing the library but I hope this new information gives some hint at fixing the problem.
Thanks in advance for any help.
Regards, Rajeev