Dear Madam/Sir,
I am a senior undergraduate student from Department of Physics, Zhejiang University, China.
I've been trying many times to install ALPS 2.0.3 on my Ubuntu 11.10 Desktop but I failed. I will appreciate if you could help me fix the problems so that I can use python to run ALPS.
The installation steps and the errors are listed below:
1. I used Ubuntu Software Center to install the dependent libraries and tools: cmake-curses-gui libboost-all-dev libhdf5-serial-dev libfftw3-dev gfortran python-matplotlib python-scipy python-h5py liblapack-dev python-qt4-gl python-qt4-sql python-vtk
2. I downloaded the Vistrails (Debian package) http://pkgs.org/debian-wheezy/debian-main-amd64/vistrails_2.0.alpha%7E1-2_amd64.deb/download/and installed it.
3. I downloaded the source package (with boost) and untared it in the directory ~/Downloads. I also created a directory named build in ~/Downloads then cd /build
4. I executed: cmake -D Boost_ROOT_DIR:PATH=~/Downloads/alps-2.0.3-src-with-boost/boost ~/Downloads/alps-2.0.3-src-with-boost/alps
5. I turned ALPS_INSTALL_VISTRAILS_PACKAGES on in the file CMakeCache.txt
6. I excuted: make
7. After make test, there come some errors: 98% tests passed, 2 tests failed out of 99
Total Test time (real) = 16.81 sec
The following tests FAILED: 23 - test_vector (Failed) 40 - lattice_constant_test (Failed) Errors while running CTest make: *** [test] Error 8
8. After make install, there are also some errors: CMake Error at cmake_install.cmake:54 (FILE): file cannot create directory: /usr/bin/vistrails/packages. Maybe need administrative privileges.
9. Now I still cannot run ALPS on my laptop (dmft-02-hybridization): alpspython tutorial2a.py alpspython: command not found
python tutorial2a.py Traceback (most recent call last): File "tutorial2a.py", line 27, in <module> import pyalps ImportError: No module named pyalps
dmft hybrid.param No command 'dmft' found, did you mean: Command 'mft' from package 'texlive-binaries' (main) dmft: command not found
Cheers, Jin
Hi Jin Xu,
On 31 Jan 2012, at 16:35, Jin Xu wrote:
Dear Madam/Sir,
I am a senior undergraduate student from Department of Physics, Zhejiang University, China.
I've been trying many times to install ALPS 2.0.3 on my Ubuntu 11.10 Desktop but I failed. I will appreciate if you could help me fix the problems so that I can use python to run ALPS.
- After make test, there come some errors:
98% tests passed, 2 tests failed out of 99
Total Test time (real) = 16.81 sec
The following tests FAILED: 23 - test_vector (Failed) 40 - lattice_constant_test (Failed)
The lattice_constant_test can be ignored, but please run the test_vector executable (./test/fixed_capacity/test_vector from the build directory) and send us the output.
Errors while running CTest make: *** [test] Error 8
- After make install, there are also some errors:
CMake Error at cmake_install.cmake:54 (FILE): file cannot create directory: /usr/bin/vistrails/packages. Maybe need administrative privileges.
Yes, you need to use
sudo make install
- Now I still cannot run ALPS on my laptop (dmft-02-hybridization):
alpspython tutorial2a.py alpspython: command not found
You need to add the ALPS installation to your path.
python tutorial2a.py Traceback (most recent call last): File "tutorial2a.py", line 27, in <module> import pyalps ImportError: No module named pyalps
You need to use either alpspython, or install pyalps into your system python directory.
dmft hybrid.param No command 'dmft' found, did you mean: Command 'mft' from package 'texlive-binaries' (main) dmft: command not found
You need to add the ALPS installation to your path.
Best regards
Matthias Troyer
comp-phys-alps-users@lists.phys.ethz.ch