Thanks, it solved the locale problem but I still get no output from the simulation. The file "parm_spin_one_half.task1.in.xml" generated:
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="ALPS.xsl"?> | |
<SIMULATION xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xml.comp-phys.org/2003/8/QMCXML.xsd"> | |
<PARAMETERS> | |
<PARAMETER name="LATTICE">open chain lattice</PARAMETER> | |
<PARAMETER name="SEED">437896547</PARAMETER> | |
<PARAMETER name="CONSERVED_QUANTUMNUMBERS">N,Sz</PARAMETER> | |
<PARAMETER name="NUMBER_EIGENVALUES">1</PARAMETER> | |
<PARAMETER name="MAXSTATES">100</PARAMETER> | |
<PARAMETER name="MODEL">spin</PARAMETER> | |
<PARAMETER name="J">1</PARAMETER> | |
<PARAMETER name="Sz_total">0</PARAMETER> | |
<PARAMETER name="SWEEPS">4</PARAMETER> | |
<PARAMETER name="L">32</PARAMETER> | |
</PARAMETERS> | |
</SIMULATION> | |
|
Best,
Axel
On Jan 10, 2017, at 4:55 PM, Axel Gagge <axel.gagge@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) 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). 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.pydmrg parm_spin_one_half.in.xml --write-xmlALPS DMRG temporary files will be written to .ALPS/dmrg version 1.0.0 (2006/10/02)Density Matrix Renormalization Group algorithmfor low-dimensional interacting systems.available from http://alps.comp-phys.org/copyright (c) 2006-2013 by Adrian E. Feiguinfor details see the publication:A.F. Albuquerque et al., J. of Magn. and Magn. Materials 310, 1187 (2007).
using the ALPS parallelizing schedulercopyright (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.b4available 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 validTraceback (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/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.