Dear ALPS community,
I met a trouble for extracting the calculated results from the XML output files. My setting is the following:
plot2.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<plot name="Stiffness versus disorder for three-dimesnional HardcoreBoson models">
<legend show="true"/> <xaxis label="Disorder" type="PARAMETER" name="mu"/> <yaxis label="Stiffness" type="SCALAR_AVERAGE"/>
<set label="Inhomogeneous simple cubic lattice"/>
</plot>
and my "input" file is
LATTICE_LIBRARY="lattices.xml"; LATTICE="inhomogeneous simple cubic lattice"; L=5; MODEL_LIBRARY="models.xml"; MODEL="hardcore boson"; t = 1.0; T = 0.1; delta=10.0; SWEEPS=500000; THERMALIZATION=10000; EPSILON=0.25; { DISORDERSEED = 34275; mu=delta*2*(random()-0.5); } { DISORDERSEED = 49802; mu=delta*2*(random()-0.5); } { DISORDERSEED = 82529; mu=delta*2*(random()-0.5); } { DISORDERSEED = 13564; mu=delta*2*(random()-0.5); } { DISORDERSEED = 65897; mu=delta*2*(random()-0.5); }.
When I typed the command "extracttext plot2.xml input.task*.out.xml", the following thing happend:
plot2.xml:4: parser error : XML declaration allowed only at the start of the document <?xml version="1.0" encoding="UTF-8"?> ^ unable to parse plot2.xml /tmp/archive2plot3652.xsl:1: parser error : Document is empty
^ /tmp/archive2plot3652.xsl:1: parser error : Start tag expected, '<' not found
^ cannot parse /tmp/archive2plot3652.xsl /tmp/plot3652:1: parser error : Document is empty
^ /tmp/plot3652:1: parser error : Start tag expected, '<' not found
^ unable to parse /tmp/plot3652
I don't know what is going on here, could you help me figure it out? Thank you in advance!
Best, Xiaoquan
---------------------------------------------------------------- SISSA Webmail https://webmail.sissa.it/ Powered by SquirrelMail http://www.squirrelmail.org/
Can you send your output files? The problem is probably that mu is not just a number. You might also look into using ALPS 2 instead which has much better plotting and evaluation tools.
Matthias
On Feb 4, 2011, at 12:33 PM, Xiao Quan Yu wrote:
Dear ALPS community,
I met a trouble for extracting the calculated results from the
XML output files. My setting is the following:
plot2.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<plot name="Stiffness versus disorder for three-dimesnional HardcoreBoson models">
<legend show="true"/> <xaxis label="Disorder" type="PARAMETER" name="mu"/> <yaxis label="Stiffness" type="SCALAR_AVERAGE"/>
<set label="Inhomogeneous simple cubic lattice"/>
</plot>
and my "input" file is
LATTICE_LIBRARY="lattices.xml"; LATTICE="inhomogeneous simple cubic lattice"; L=5; MODEL_LIBRARY="models.xml"; MODEL="hardcore boson"; t = 1.0; T = 0.1; delta=10.0; SWEEPS=500000; THERMALIZATION=10000; EPSILON=0.25; { DISORDERSEED = 34275; mu=delta*2*(random()-0.5); } { DISORDERSEED = 49802; mu=delta*2*(random()-0.5); } { DISORDERSEED = 82529; mu=delta*2*(random()-0.5); } { DISORDERSEED = 13564; mu=delta*2*(random()-0.5); } { DISORDERSEED = 65897; mu=delta*2*(random()-0.5); }.
When I typed the command "extracttext plot2.xml input.task*.out.xml", the following thing happend:
plot2.xml:4: parser error : XML declaration allowed only at the start of the document
<?xml version="1.0" encoding="UTF-8"?>
^
unable to parse plot2.xml /tmp/archive2plot3652.xsl:1: parser error : Document is empty
^ /tmp/archive2plot3652.xsl:1: parser error : Start tag expected, '<' not found
^ cannot parse /tmp/archive2plot3652.xsl /tmp/plot3652:1: parser error : Document is empty
^ /tmp/plot3652:1: parser error : Start tag expected, '<' not found
^ unable to parse /tmp/plot3652
I don't know what is going on here, could you help me figure it out? Thank you in advance!
Best, Xiaoquan
SISSA Webmail https://webmail.sissa.it/ Powered by SquirrelMail http://www.squirrelmail.org/
comp-phys-alps-users@lists.phys.ethz.ch