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.
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#Bu...
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)
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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
python reported that he (it?) couldn't find pyalps....
Thank you very much in advance. Rafał Skolasiński
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!
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#Bu...
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'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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
python reported that he (it?) couldn't find pyalps....
That's no wonder since you commented out the installation of pyalps
Dear Matthias,
W dniu 3 marca 2012 08:25 użytkownik Matthias Troyer troyer@phys.ethz.chnapisał:
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#Bu...
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: http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Do... 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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
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
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#Bu...
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: http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Do... 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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
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
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.chnapisał:
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.chnapisał:
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#Bu...
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:
http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Do... 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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
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
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#Bu...
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: http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Do... 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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
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
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.chnapisał:
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.chnapisał:
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#Bu...
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:
http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Do... 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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
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
Dear Matthias,
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.
On other computer when I manage to install alps from binaries from
deb http://www.cpht.polytechnique.fr/ubuntu maverick alps deb-src http://www.cpht.polytechnique.fr/ubuntu maverick alps
writing into /etc/apt/sources.list deb http://www.cpht.polytechnique.fr/ubuntu natty alps deb-src http://www.cpht.polytechnique.fr/ubuntu natty alps
(I know it was silly but I was trying if that will work)
runing this example by "python tutorial2a.py" is enough and it's working.
Yours sincerely, Rafał Skolasiński
W dniu 3 marca 2012 20:19 użytkownik Rafał arymanus@gmail.com napisał:
Okey, thank you very much for your help, I will try it right away. I hope it will help :).
W dniu 3 marca 2012 20:16 użytkownik Matthias Troyer troyer@phys.ethz.chnapisał:
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#Bu...
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:
http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2#Do... 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:
http://alps.comp-phys.org/mediawiki/index.php/ALPS_using_Python
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
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
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.chnapisał:
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
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
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.chnapisał:
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.chnapisał:
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
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
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.chnapisał:
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.chnapisał:
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
Hi,
Here is the command you'e looking for summing that your shall is bash:
export PATH=/opt/alps/bin:$PATH
I would recommend that you get a book explaining basics of Linux, or you'll run into problems all the time.
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
W dniu 3 marca 2012 22:28 użytkownik Matthias Troyer troyer@phys.ethz.chnapisał:
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.chnapisał:
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
I'm glad that it now works
On Mar 3, 2012, at 10:41 PM, Rafał wrote:
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
comp-phys-alps-users@lists.phys.ethz.ch