W dniu 3 marca 2012 22:28 użytkownik Matthias Troyer
<troyer@phys.ethz.ch> napisał:
Hi,
Here is the command you'e looking for summing that your shall is bash:
export PATH=/opt/alps/bin:$PATH
It's working! Thank you very much!
after typing:
export PATH=/opt/alps/bin:$PATH
export PYTHONPATH=$PYTHONPATH:/opt/alps/lib
everythings work good! :)
And I add it to .bashrc and it's working all the time (after restarts etc.)
I would recommend that you get a book explaining basics of Linux, or you'll run into problems all the time.
I usually manage with linux, only building something from sources (or fighting with graphic drivers) is a nightmare for me...
Thanks again!
Your sincerly,
Rafał Skolasiński
Matthias troyer
On Mar 3, 2012, at 10:00 PM, Rafał wrote:
Please, assume that I don't know how to do it, it's probably one commend but I don't know (googling didn't helped) and what about this errors: "/bin/sh: dmrg: not found" or "/bin/sh: sparsediag: not found"?
W dniu 3 marca 2012 21:50 użytkownik Matthias Troyer
<troyer@phys.ethz.ch> napisał:
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