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) 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
--
Jin Xu
 
Undergraduate Student
 
Department of Physics, Zhejiang University, Hangzhou, 310027, China
 
Email: jin.xu@ualberta.ca
 
Skype Handle: trivial19891016