?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) 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.p...)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@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/
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@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/
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