thank you for your reply. I want to put the a.task1.out to a file.how to compile the output file.because every time I calculate 100 values at least ,thank you.
At 2011-04-16,comp-phys-alps-users-request@lists.phys.ethz.ch wrote:
Send Comp-phys-alps-users mailing list submissions to comp-phys-alps-users@lists.phys.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users or, via email, send a message with subject or body 'help' to comp-phys-alps-users-request@lists.phys.ethz.ch
You can reach the person managing the list at comp-phys-alps-users-owner@lists.phys.ethz.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of Comp-phys-alps-users digest..."
Today's Topics:
- Re: about printgraph (???)
Message: 1 Date: Sat, 16 Apr 2011 09:51:03 +0800 From: ??? sunzhaoyu2000@gmail.com Subject: Re: [ALPS-users] about printgraph To: comp-phys-alps-users@lists.phys.ethz.ch Message-ID: BANLkTimO+SJfsnU+1n1z7T6r=w7sQDDZTQ@mail.gmail.com Content-Type: text/plain; charset=GB2312
Dear Rui:
As I know, a .xml file would be the output file, rather than the input file, of the command "printgraph".
Suppose you have the following parameter file (such as "parm1a" in ED-01):
MODEL="spin" LATTICE="chain lattice" CONSERVED_QUANTUMNUMBERS="Sz" MEASURE_STRUCTURE_FACTOR[Structure Factor Sz]=Sz MEASURE_CORRELATIONS[Diagonal spin correlations]=Sz MEASURE_CORRELATIONS[Offdiagonal spin correlations]="Splus:Sminus" local_S=1 J=1 {L=4;}
If you want to check its grapha, you first need to edit the above file into the following form?
---------------------TOBECHECKED------------------------- MODEL="spin" LATTICE="chain lattice" L=4
which is saved as a file "_tobechecked_".
Then you can run the following command: printgraph _tobechecked_
And you would get a .xml file describing the grapha of the model.
At present my computer is not at hand, thus I answer the question just with the help of my memory. And I hope I have not missed any important points.
Good Luck
sunzhaoyu2000@gmail.com
2011/4/15 comp-phys-alps-users-request@lists.phys.ethz.ch:
Send Comp-phys-alps-users mailing list submissions to comp-phys-alps-users@lists.phys.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users or, via email, send a message with subject or body 'help' to comp-phys-alps-users-request@lists.phys.ethz.ch
You can reach the person managing the list at comp-phys-alps-users-owner@lists.phys.ethz.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of Comp-phys-alps-users digest..."
Today's Topics:
- problems with "printgraph" or "lattice viewer" or "lattice previewer" (zheng rui)
- boost_filesystem causes exception (Andreas Herrmann)
Message: 1 Date: Thu, 14 Apr 2011 12:56:10 +0800 From: zheng rui rzhengphy@gmail.com Subject: [ALPS-users] problems with "printgraph" or "lattice viewer" or "lattice previewer" To: comp-phys-alps-users@lists.phys.ethz.ch Message-ID: BANLkTi=FTE4RZKNq0KL1wpL_uPh4SBtUKQ@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Dear professors:
Yesterday i tried many ways to print out the lattice graph from the xml file, but still i cant make it. I install alps from synaptic of Ubuntu Marverick 10.10. In the tutorials, it says "printgraph parameter_file" will generate the graphy, so i made a xml file "temp.xml" like this:
<LATTICES>
<LATTICE name="square" dimension="2"> <BASIS> <VECTOR> 1 0 </VECTOR> <VECTOR> 0 1 </VECTOR> </BASIS> </LATTICE>
<FINITELATTICE name="rectangular periodic" dimension="2"> <LATTICE ref="square"/> <EXTENT dimension="1" size="5"/> <EXTENT dimension="2" size="6"/> <BOUNDARY type="periodic"/> </FINITELATTICE>
<UNITCELL name="complex example" dimension="2" vertices="2"> <VERTEX id="1" type="0"><COORDINATE> 0.3 0.7 </COORDINATE></VERTEX> <VERTEX id="2" type="1"><COORDINATE> 0.6 0.3 </COORDINATE></VERTEX> <EDGE><SOURCE vertex="1"/><TARGET vertex="1" offset="1 0"/></EDGE> <EDGE><SOURCE vertex="1"/><TARGET vertex="1" offset="0 1"/></EDGE> <EDGE><SOURCE vertex="1"/><TARGET vertex="2"/></EDGE> </UNITCELL>
<LATTICEGRAPH> <FINITELATTICE ref="rectangular periodic"/> <UNITCELL ref="complex example"/> </LATTICEGRAPH>
</LATTICES>
then i type "printgraph temp.xml", and it returns error: Caught exception: parameter parse error at "<LATTICES> <LATTICE name="squa" i also tried the parm1.in.xml and parm1.task.in.xml but got the same error msg, i dont know how to make printgraph work normally, can anyone show me an example?
In this posting:
https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2009/000676.html
someone had already asked exactly the same question, and i have installed all the stuff as Synge Todo said, and it did show a 3 dimensional cone after i type "wxVTKRenderWindowInteractorConeExample()" but after this i still dont know how to move on. In the pdf
http://alps.comp-phys.org/mediawiki/images/c/cb/Alps-gui.pdf
Synge Todo had showed a simple gui of making lattice and parameters, i dont know how to get the gui like that, i found the "preview.py. lattice-preview.in, printgraph.c" files in the "alps-2.0.0-r5363-src-with-boost/alps/tool/" documentary after i unzip the alps-2.0.0-r5363-src-with-boost.tar.gzhttp://alps.comp-phys.org/static/software/releases/alps-2.0.0-r5363-src-with-boost.tar.gz, so i think there must be ways to print the lattice graph, i tried to compile the "preview.py", but it says "no module named config", so i download a config softpackage from this website:
http://www.red-dove.com/config-doc/
and install the package so i could import config module in python, then i try to compile preview.py again, it says config module has no attribute version, i guess the config module in alps should be connected with the file "config.py.in" in the tool documentary, but not the config softpackage i download, but i dont know how to use the "config.py.in" file, so i get stucked again.
In another posting:
https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2007/000106.html
someone also asked a similar question, and Matthias suggested " To visualize it please use the lattice viewer that i send in a separate mail and copy&paste above text into it ", so i wonder whether the lattice previewer tool is only for private use, but those postings were years ago, i m confused.
Hope someone could tell me how to print out the lattice graph when i want to make my own lattice.
Thanks and Best Wishes!
Rui
On Apr 17, 2011, at 7:02 AM, muzi352 wrote:
thank you for your reply. I want to put the a.task1.out to a file.how to compile the output file.because every time I calculate 100 values at least ,thank you.
Hi,
Unfortunately I do not understand what you want to do,
Matthias
comp-phys-alps-users@lists.phys.ethz.ch