[ALPS-users] DMRG application does not run
Michele Dolfi
dolfim at phys.ethz.ch
Tue Jan 10 17:08:36 CET 2017
It seems the container is not setting the language properly.
Try running as:
docker run -p 8888:8888 -e LC_ALL="en_US.UTF-8" dolfim/alps:2.2b4-notebook
Best,
Michele
--
ETH Zurich
Dr. Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland
dolfim at phys.ethz.ch
www.itp.phys.ethz.ch
+41 44 633 78 56 phone
+41 44 633 11 15 fax
> On Jan 10, 2017, at 4:55 PM, Axel Gagge <axel.gagge at fysik.su.se> wrote:
>
> Hello!
>
> I'm running the ALPS docker container with IPython support (I have the last version of the container):
>
> docker run -p 8888:8888 dolfim/alps:2.2b4-notebook
>
> I am trying to run the first example from the DMRG tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:DMRG-01_DMRG <http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:DMRG-01_DMRG>) but I encounter a problem related to the lines of the code which runs, writes and reads the simulation data (script at http://alps.comp-phys.org/static/tutorials2.2.0/dmrg-01-dmrg/spin_one_half.py) <http://alps.comp-phys.org/static/tutorials2.2.0/dmrg-01-dmrg/spin_one_half.py>. The script creates input files and task, but nothing more seems to happen and when trying to retrieve the output, there is just an empty list and thus I get an IndexError. Has anyone else encountered this problem? It should be reproducible with the Docker container.
>
> Terminal output provided below.
>
> Thanks,
> /Axel Gagge
> PhD Student
> Stockholm University
>
> alps at a6d9e036c68e:~/work$ alpspython spin_one-half.py
> dmrg parm_spin_one_half.in.xml --write-xml
> ALPS DMRG temporary files will be written to .
> ALPS/dmrg version 1.0.0 (2006/10/02)
> Density Matrix Renormalization Group algorithm
> for low-dimensional interacting systems.
> available from http://alps.comp-phys.org/ <http://alps.comp-phys.org/>
> copyright (c) 2006-2013 by Adrian E. Feiguin
> for details see the publication:
> A.F. Albuquerque et al., J. of Magn. and Magn. Materials 310, 1187 (2007).
>
> using the ALPS parallelizing scheduler
> copyright (c) 1994-2006 by Matthias Troyer <troyer at comp-phys.org <mailto:troyer at comp-phys.org>>.
> see Lecture Notes in Computer Science, Vol. 1505, p. 191 (1998).
>
> based on the ALPS libraries version 2.2.b4
> available from http://alps.comp-phys.org/ <http://alps.comp-phys.org/>
> copyright (c) 1994-2013 by the ALPS collaboration.
> Consult the web page for license details.
> For details see the publication:
> B. Bauer et al., J. Stat. Mech. (2011) P05001.
>
> locale::facet::_S_create_c_locale name not valid
> Traceback (most recent call last):
> File "spin_one-half.py", line 54, in <module>
> for s in data[0]:
> IndexError: list index out of range
>
>
>
>
> ----
> Comp-phys-alps-users Mailing List for the ALPS Project
> http://alps.comp-phys.org/ <http://alps.comp-phys.org/>
>
> List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users <https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users>
> Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users <https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users>
>
> Unsubscribe by writing a mail to comp-phys-alps-users-leave at lists.phys.ethz.ch <mailto:comp-phys-alps-users-leave at lists.phys.ethz.ch>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20170110/339209ad/attachment.html>
More information about the Comp-phys-alps-users
mailing list