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
-- Rajeev Singh Graduate Student Theoretical Physics The Institute of Mathematical Sciences Chennai, India.
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
On Thu, Jan 5, 2012 at 12:12 PM, Rajeev Singh rajs2010@gmail.com wrote:
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
Hi,
After getting a hint from the mail archive I finally managed to install the library. The problem was that I was giving the home directory of alps (namely alps-2.0.2-r5790-src) as the target installation directory. The solution is to give a different directory as the target.
Hope this information will help someone in future. I think we should point this out on the wiki page on installation.
Regards, Rajeev
On 5 Jan 2012, at 07:34, Rajeev Singh wrote:
Hi,
After getting a hint from the mail archive I finally managed to install the library. The problem was that I was giving the home directory of alps (namely alps-2.0.2-r5790-src) as the target installation directory. The solution is to give a different directory as the target.
Hope this information will help someone in future. I think we should point this out on the wiki page on installation.
Regards, Rajeev
Hi Rajeev,
Installing into the source or build directory should never be done. It causes problems with any code that you want to compile and we just never had the idea that anyone would want to do that.
Matthias
comp-phys-alps-users@lists.phys.ethz.ch