Dear Giovanni,
The mentioned script only works with the development version of ALPS, available from the subversion repository. Lukas Gamper might be able to tell you if there is a way to easily make it work with the release version. Alternatively you can wait for the ALPS 2.2 release, due later this year.
Matthias
On Sep 2, 2013, at 2:43 PM, Borghi Giovanni giovanni.borghi@epfl.ch wrote:
Dear Alps staff,
I downloaded Alps in order to use the maximum entropy code for some analytic continuations, and wanted to start understanding it by using the script by Pruschke, found in a previous post,
https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2013/001978.html
So after installing alps from source, using package
alps-2.1.1-r6176-src-with-boost
and following the instructions (I installed it on a linux machine with Ubuntu)...
.. I performed the tutorial dmft-04-mott/tutorial4a.py, to produce a sample imaginary time Green's function data, and afterwards, from ipython, tried to follow some of the instructions of Pruschke's script, quoting from that script:
"from pyalps.ngs import h5ar # hdf5 interface"
this produced the error message:
/opt/alps/lib/pyalps/ngs.py in <module>() 29 import types 30 ---> 31 from pyngsparams_c import * 32 params.__bases__ = (MutableMapping, ) + params.__bases__ 33
ImportError: No module named pyngsparams_c
And indeed I could not find any such module in the source. My question is: what is going on? Did I miss to install some pre-requisite? Note that the tutorial simulation for the hubbard model works fine till the end, same thing can be said for all tests which I ran before installing the code in its /opt/alps path.
Thank you in advance for your help,
Giovanni