After I installed a new
linux system(RedHat_Enterprise_Linux_AS3 ), I have gcc 3.2.3 and libxslt 1.0.33. Then I installed icc and iff(10.1)
and downloaded boost(1.34.1), alps(1.3) ,alps-applications(1.3),
lp_solve(4.0) to /root/src/. After unzipped them, I have installed ALPS and
alps-applications to my computer.
And now when I use parameter2xml to convert
task.txt to task.xml, I met error just like alps_para2xml_error.JPG. The error
information is Caught exception: parameter parse error at
"[L*SWEEPS]; { L=10; T=0.1; } {"
Please help me. Thank
you very much. With best regards.
task.txt
MODEL="Ising";
SWEEPS=1000;
THERMALIZATION=100;
WORK_FACTOR=[L*SWEEPS];
{ L=10; T=0.1; }
{ L=20; T=0.05; }
job.in.xml
<JOB>
<OUTPUT file="parm.xml"/>
<TASK status="new">
<INPUT file="parm.task1.in.xml"/>
<OUTPUT file="parm.task1.xml"/>
</TASK>
</JOB>
parm.task1.in.xml
<SIMULATION>
<PARAMETERS>
<PARAMETER name="L">100</PARAMETER>
<PARAMETER name="SWEEPS">10000</PARAMETER>
<PARAMETER name="T">0.5</PARAMETER>
<PARAMETER name="THERMALIZATION">100</PARAMETER>
<PARAMETER name="WORK_FACTOR">SWEEPS * L</PARAMETER>
</PARAMETERS>
</SIMULATION>
2008-03-13