Okey, thank you very much for your help, I will try it right away. 
I hope it will help :).

Yours sincerely,
Rafał Skolasiński 



W dniu 3 marca 2012 20:16 użytkownik Matthias Troyer <troyer@phys.ethz.ch> napisał:
You can build anywhere except the source or install directory.



On Mar 3, 2012, at 8:05 PM, Rafał wrote:

Okey, so if I have extracted file in path specifed in last mail, and I made this directory /opt/alps, where should I be, while executing this "make ..." commands?

W dniu 3 marca 2012 20:04 użytkownik Matthias Troyer <troyer@phys.ethz.ch> napisał:
Don't build it in /opt/alps !!!!

On Mar 3, 2012, at 8:02 PM, Rafał wrote:

Dear Matthias,

W dniu 3 marca 2012 08:25 użytkownik Matthias Troyer <troyer@phys.ethz.ch> napisał:
Hi and welcome!

On 2 Mar 2012, at 22:51, Rafał wrote:

Welcome everyone,

It's my first mail to this mailing list, I'm using that's kind of thing first time so if my behave is unpropriate please don't take it offensive. 

No, on the contrary, this is just the right place to ask such questions!

It's good to hear that :). 

I'd like to ask if anyone of you tried to run ALPS on ubuntu 11.10. I've tried to build ALPS, after doing everyting under "Get dependent libraries and tools on Debian GNU/Linux (sid)", as it was on the wiki:
http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Build_ALPS

but I've get some serious problem. When I execute "make install" I get something like that:

CMake Error at lib/pyalps/cmake_install.cmake:42 (FILE):
  file INSTALL cannot find "/opt/alps/lib/pyalps/pyhdf5_c.so".
Call Stack (most recent call first):
  cmake_install.cmake:94 (INCLUDE)



Do you by chance build inside the source directory? That should never be done and might lead to such problems.


I'm not sure. Here's exactly what I did. 
I downloaded alps-2.0.3-src.tar.gz file with the link from:
and unpacked boost and alps folder into my home directory:
~/src/alps2/boost and ~/src/alps2/alps

I've created directory /opt/alps and gave myself write access there.
Than I changed my directory to /opt/alps and executed there following commands:

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

And than I tried this work-around I wrote about in my first e-mail.
Mayby I should execute this upper commands while being in another directory? It's not specified in instruction.

I've manage to workaround it by disabling #INCLUDE("/opt/alps/lib/pyalps/cmake_install.cmake") in cmake_install.cmake and executing it manualy before using "make install". Everything was build with success but when I tried to run some example scripts like this one there:


python reported that he (it?) couldn't find pyalps....

That's no wonder since you commented out the installation of pyalps

Yours sincerely,
Rafał Skolasiński