Dear Larry Engelhardt,
Thank you for your report. This is due to thread-unsafty of evaluation of observables.
I've deparallelized the task evaluation in trunk (revision 6069), and confirmed that
your python script works as expected.
I attach the diff at the end of this message, or if you are using the ALPS binary
package, the nightly-snapshot binary package should be updated in a day or so.
Best,
Synge
On 2012/04/06, at 0:15, Larry P. Engelhardt wrote:
> Dear Professor Todo,
>
> This is the same email that was just sent, but this time with an appropriate subject line!
>
> I have encountered a problem using the ALPS/looper code, and I am hoping you will be able to point me in the right direction. The looper application runs, but then as it finishes, it sometimes fails to produce the appropriate .h5 files. It will produce .h5 files with "clone" in the filename, but it will not produce the .h5 files that are needed when it attempts to evaluate the corresponding .xml files. (The output is pasted below.) This problem started to occur when I tried to loop through multiple sets of model parameters, using the looper application to calculate susceptibility versus temperature for each set of parameters. (It worked fine when only executing the looper application a single time, for a single set of model parameters.)
>
> In the attached .ZIP file, I have included the python scripts that I have written to loop through different sets of model parameters, and I have included the model.xml and lattice.xml files that I am using. (To run the program, create a folder named ./data for the output and ./parameters for the parameter files, then execute Cr12Gd4_QMC_script.py)
>
> Any assistance would be greatly appreciated!
>
> Thank you much,
> Larry
>
> Dr. Larry Engelhardt
> Associate Professor of Physics
> Francis Marion University
> Florence, SC 29501
>
> Phone: (843) 661-1452
> http://swampfox.fmarion.edu/engelhardt/
>
>
> OUTPUT:
>
> [2012-Apr-05 10:43:13]: all threads halted
> [2012-Apr-05 10:43:13]: starting evaluation on unnamed
> evaluating parm3.task1.out.xml
> evaluating parm3.task11.out.xml
> loading clones: 1
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
>
> evaluating parm3.task12.out.xml
> loading clones: 1
>
> FILE .\parameters\parm3.task1.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task10.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task12.out.h5DOES NOTEXIST!
> FILE .\parameters\parm3.task13.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task14.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task15.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task16.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task17.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task18.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task19.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task2.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task20.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task3.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task4.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task5.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task6.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task7.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task8.out.h5DOES NOT EXIST!
> FILE .\parameters\parm3.task9.out.h5DOES NOT EXIST!
Dear Jianming Cai,
Please look at the ALPS 1.3 tools tutorial http://alps.comp-phys.org/mediawiki/index.php/Tutorials:ToolsHOWTO
(especially Examples 3 and 4 in this wiki page) to learn how to write plot.xml for VECTOR_AVERAGE.
Best regards,
Synge Todo
On 2012/04/08, at 13:42, Jianming Cai wrote:
> Dear Prof. Synge Todo,
>
> I am a beginner to ALPS and I have run some toy model and got some output file from ALPS, as in the attached file.
>
> And I hope to extract the value of spin correlation corresponding to the indexvalue for example (0)---(0), and spin structure factor
>
> corresponding to the indexvalue of (0).
>
> I was using extractext to extract the SCALAR_AVERAGE value such as Energy.
>
> But for this kind of VECTOR_AVERAGE, I am not clear how to write the corresponding plot.xml, could you please give some help how can I extract these values?
>
> Many thanks!
>
> Have a nice weekend,
>
> Yours sincerely,
>
> Jianming
>
>
>
>
> <VECTOR_AVERAGE name="Spin Correlations" nvalues="40">
> <SCALAR_AVERAGE indexvalue="( 0 ) -- ( 0 )">
> <COUNT>52815</COUNT>
> <MEAN method="simple">0.25</MEAN>
> <ERROR converged="yes" method="binning">0</ERROR>
> <VARIANCE method="simple">0</VARIANCE>
> <AUTOCORR method="binning">-nan</AUTOCORR>
> <BINNED size="1"><COUNT>52815</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="2"><COUNT>26407</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="4"><COUNT>13203</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="8"><COUNT>6601</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="16"><COUNT>3300</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="32"><COUNT>1650</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="64"><COUNT>825</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="128"><COUNT>412</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="256"><COUNT>206</COUNT><MEAN method="simple">0.25</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> </SCALAR_AVERAGE>
>
> <VECTOR_AVERAGE name="Spin Structure Factor" nvalues="40">
> <SCALAR_AVERAGE indexvalue="( 0 )">
> <COUNT>52815</COUNT>
> <MEAN method="simple">0</MEAN>
> <ERROR converged="yes" method="binning">0</ERROR>
> <VARIANCE method="simple">0</VARIANCE>
> <AUTOCORR method="binning">-nan</AUTOCORR>
> <BINNED size="1"><COUNT>52815</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="2"><COUNT>26407</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="4"><COUNT>13203</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="8"><COUNT>6601</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="16"><COUNT>3300</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="32"><COUNT>1650</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="64"><COUNT>825</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="128"><COUNT>412</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> <BINNED size="256"><COUNT>206</COUNT><MEAN method="simple">0</MEAN><ERROR method="simple">-nan</ERROR></BINNED>
> </SCALAR_AVERAGE>
>
> <XXZ1DT1.task1.out.xml>