Hi Emanuel,

I'm also using Ubuntu 12.04 and ALPS works fine. Here is what I do to install it:

# libraries
sudo apt-get install cmake-curses-gui libboost-all-dev libhdf5-serial-dev libfftw3-dev gfortran python-matplotlib python-scipy python-h5py liblapack-dev

# unpack alps into
/home/arymanus/src/alps2/alps
/home/arymanus/src/alps2/boost

# /opt/alps and chmod
sudo mkdir /opt/alps 
sudo chmod ugo+rwx /opt/alps

# build folder
/home/arymanus/src/alsp2/build

# while being in /home/arymanus/src/alsp2/build
cmake -D BLAS_LIBRARY=/usr/lib/libblas.so -D LAPACK_LIBRARY=/usr/lib/liblapack.so -D Boost_ROOT_DIR:PATH=/home/arymanus/src/alps2/boost /home/arymanus/src/alps2/alps

cmake -DCMAKE_INSTALL_PREFIX=/opt/alps /home/arymanus/src/alps2/alps

make
make test
make install

# add to file ~/.bashrc to lines
export PATH=/opt/alps/bin:$PATH
export PYTHONPATH=$PYTHONPATH:/opt/alps/lib


I hope this will be helpful.

Regards,
Rafa³


2013/2/20 Francisco Cordobés <ghiret@gmail.com>
You need to add a couple of lines to your ~/.bashrc file.

release_dir=/opt/alps/
export LD_LIBRARY_PATH=$release_dir/lib/
export LD_LIBRARY_PATH=$release_dir/lib/
export PATH=$PATH:$release_dir/bin/
export PYTHONPATH=$release_dir/
export PYTHONPATH=$release_dir/lib/

I think that should do(I might have some extra lines in there too).

Regards,
Francisco

On 20 February 2013 17:38, Emanuele Levi <emanuele.levi@gmail.com> wrote:
Dear all,
I have just installed Ubuntu 12.04 on a desktop machine and I want to install ALPS.
I downloaded all the required packages successfully, and also the source

alps-2.1.1-r6176-src-with-boost.tar.gz

Then I follow exactly the installation tutorial, that works smooth, and I end up with a folder called /opt/alps.
The problem is that now I cannot execute any tutorial.
In the shell I have no alpspython command available, and if I try to import pyalps in python it tells me that it doesn't exist.
Did anyone install it in my way and know if there are additional steps to do?

Many thanks for your kind help.

Regards.

--
Emanuele Levi

emanuele.levi@gmail.com