CMake Error at cmake_install.cmake:54 (FILE):
file cannot create directory: /usr/bin/vistrails/packages. Maybe need
administrative privileges.
Oh, by the way, do I have to install Vistrails if I just wanna use python?
Synge, is that a known problem?On Feb 1, 2012, at 3:45 AM, Jin Xu wrote:Hello Matthias,
Thanks for your reply.
1. After "./test/fixed_capacity/test_vector"
terminate called after throwing an instance of 'std::logic_error'
what(): non_pod
Abortedwhich errors?
2. I did try "sudo make install" but the errors were still there.Just type
3. Since I am not so experienced in Linux, I don't quite understand " add the ALPS installation to your path". Could you tell me more detailed technical things?export PATH=/opt/alps/bin:$PATHor call the ALPS programs with the /opt/alps/bin prefix, e.g. /opt/alps/bin/dmrgMatthiasOn Wed, Feb 1, 2012 at 6:13 AM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
Hi Jin Xu,On 31 Jan 2012, at 16:35, Jin Xu wrote:Dear Madam/Sir,
I am a senior undergraduate student from Department of Physics, Zhejiang University, China.
I've been trying many times to install ALPS 2.0.3 on my Ubuntu 11.10 Desktop but I failed. I will appreciate if you could help me fix the problems so that I can use python to run ALPS.
7. After make test, there come some errors:
98% tests passed, 2 tests failed out of 99
Total Test time (real) = 16.81 sec
The following tests FAILED:
23 - test_vector (Failed)
40 - lattice_constant_test (Failed)The lattice_constant_test can be ignored, but please run the test_vector executable (./test/fixed_capacity/test_vector from the build directory) and send us the output.Yes, you need to useErrors while running CTest
make: *** [test] Error 8
8. After make install, there are also some errors:
CMake Error at cmake_install.cmake:54 (FILE):
file cannot create directory: /usr/bin/vistrails/packages. Maybe need
administrative privileges.sudo make installYou need to add the ALPS installation to your path.
9. Now I still cannot run ALPS on my laptop (dmft-02-hybridization):
alpspython tutorial2a.py
alpspython: command not foundYou need to use either alpspython, or install pyalps into your system python directory.
python tutorial2a.py
Traceback (most recent call last):
File "tutorial2a.py", line 27, in <module>
import pyalps
ImportError: No module named pyalpsYou need to add the ALPS installation to your path.
dmft hybrid.param
No command 'dmft' found, did you mean:
Command 'mft' from package 'texlive-binaries' (main)
dmft: command not foundBest regardsMatthias Troyer
--Jin XuUndergraduate StudentDepartment of Physics, Zhejiang University, Hangzhou, 310027, ChinaEmail: jin.xu@ualberta.caSkype Handle: trivial19891016