Dear All,
I try the example script provided by
alps. But the following information shows that there is an error. I attach the
spin_one.py, which can also be found in the alps. What is the problem?
Thank you very much.
Sincerely,
Huaiming Guo
C:\alpsproject\mps>vispython spin_one.py
C:\alpsproject\mps>REM Copyright
Matthias Troyer 2010-2013.
C:\alpsproject\mps>REM Distributed
under the Boost Software License, Version 1.
0.
C:\alpsproject\mps>REM
(See accompanying file LICENSE_1_0.txt or copy at
C:\alpsproject\mps>REM
http://www.boost.org/LICENSE_1_0.txt)
C:\alpsproject\mps>IF EXIST
C:\"Program Files"\VisTrails\Python27\python.exe C:\
"Program Files"\VisTrails\Python27\python.exe
spin_one.py
C:\alpsproject\mps>IF EXIST
C:\"Program Files"\VisTrails\Python27_64\python.exe
C:\"Program
Files"\VisTrails\Python27_64\python.exe spin_one.py
mps_optim parm_spin_one.in.xml --write-xml
Traceback (most recent call last):
File "spin_one.py", line
57, in <module>
for s in data[0]:
IndexError: list index out of range
C:\alpsproject\mps>IF EXIST
C:\"Program Files (x86)"\VisTrails\Python27\python.e
xe C:\"Program Files
(x86)"\VisTrails\Python27\python.exe spin_one.py
C:\alpsproject\mps>IF EXIST
C:\"Program Files"\VisTrails\vistrails\Python27\pyth
on.exe C:\"Program
Files"\VisTrails\vistrails\Python27\python.exe spin_one.py
C:\alpsproject\mps>IF EXIST
C:\"Program Files"\VisTrails\vistrails\Python27_64\p
ython.exe C:\"Program
Files"\VisTrails\vistrails\Python27_64\python.exe spin_one
.py
C:\alpsproject\mps>IF EXIST
C:\"Program Files (x86)"\VisTrails\vistrails\Python2
7\python.exe C:\"Program Files
(x86)"\VisTrails\vistrails\Python27\python.exe sp
in_one.py