No, you just have to add /opt/alps/bin to your PATH.
On Mar 3, 2012, at 9:48 PM, Rafał wrote:
But this mean I have to copy alpspython to everywhere I want to run this scripts and use "./alpspython tutorial2a.py"? It don't look conveniently. And when I try I get "/bin/sh: dmrg: not found" or "/bin/sh: sparsediag: not found" in other example.
W dniu 3 marca 2012 21:34 użytkownik Matthias Troyer troyer@phys.ethz.ch napisał: Just launch alpspython instead of python and you will find pyalps
On Mar 3, 2012, at 9:33 PM, Rafał wrote:
Right, my fault. Python still couldn't find pyalps. ImportError: No module named pyalps
I'm sure it isn't commented this time. I read something about script alpspython and I found it in /opt/alps/bin but I don't know how to use it properly.
W dniu 3 marca 2012 21:27 użytkownik Matthias Troyer troyer@phys.ethz.ch napisał: On Mar 3, 2012, at 9:24 PM, Rafał wrote:
I've build alps in other directory without any problems (only tests 23 and 40 didn't pass), but when I tried to run some examples from tutorial: /opt/alps/tutorial/ed-02-gaps by typing "python tutorial2a.py" it didn't worked.
I'm sorry, "it didn't work" is not enough if you expect any help. You need to give more details.
Matthias