Dear Andre, Thank you for the suggested solution. It worked albeit with a slight modification. I used 'sudo chown <user>:<user> ~/.dbus/session-bus'. Best regards,
Henry Otobrise, Dept. of Physics and Engineering Physics OAU, Ile-Ife, Nigeria.
On 11/20/15, comp-phys-alps-users-request@lists.phys.ethz.ch comp-phys-alps-users-request@lists.phys.ethz.ch wrote:
Send Comp-phys-alps-users mailing list submissions to comp-phys-alps-users@lists.phys.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users or, via email, send a message with subject or body 'help' to comp-phys-alps-users-request@lists.phys.ethz.ch
You can reach the person managing the list at comp-phys-alps-users-owner@lists.phys.ethz.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of Comp-phys-alps-users digest..."
Today's Topics:
- Re: Problem Retrieving Results from Alps Simulation Runs On Ubuntu 15.04 (Andre Vieira)
Message: 1 Date: Thu, 19 Nov 2015 10:16:45 -0200 From: Andre Vieira apvieira@if.usp.br To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] Problem Retrieving Results from Alps Simulation Runs On Ubuntu 15.04 Message-ID: CAAERPoOUzEJ3LX=d18AZ79keS=TFhWxAM2b5ANJPaySfOYfFvQ@mail.gmail.com Content-Type: text/plain; charset="utf-8"
Hello, Henry.
Try executing from the shell 'ls -al ~ |more' and check for the permissions and ownership for the .dbus folder. I suspect the owner of the folder is 'root' instead of yourself. If that is the case, execute, also from the shell, 'sudo chown <user>:<user> ~/.dbus', replacing <user> with your username.
Best wishes, Andre Vieira.
2015-11-19 8:14 GMT-02:00 Henry Otobrise henryotobrise@gmail.com:
Dear All, Let me start by saying that I am new to both Linux and the Alps project, although, I have only recently installed the Alps 2.2.b4 version on an Ubuntu 15.04 OS running on a Dell laptop on which I have Admin. privileges. However, I am having a problem retrieving the results of simulation runs as the code statement to write the results file to variable 'data' returns the following error:
Finished with everything. Traceback (most recent call last): File "/home/henry/Documents/ALPS_modelHam/final_model_mps.py", line 87, in <module> data = pyalps.loadEigenstateMeasurements(pyalps.getResultFiles(prefix=basename+'.ground')) File "/opt/alps/lib/pyalps/tools.py", line 479, in getResultFiles res=recursiveGlob(dirname, pattern) File "/opt/alps/lib/pyalps/tools.py", line 455, in recursiveGlob ret += recursiveGlob(d, pattern) File "/opt/alps/lib/pyalps/tools.py", line 452, in recursiveGlob for d in os.listdir(dirname): OSError: [Errno 13] Permission denied: './.dbus'
Definitely, this is an Os error as the simulation ran successfully. Any suggestions on how to resolve this challenge will be gratefully appreciated. Best regards, Henry K. Otobrise, Department of Physics and Engineering Physics, Obafemi Awolowo University, Ile-Ife, Nigeria.
comp-phys-alps-users@lists.phys.ethz.ch