Andreas, I have the same message after make on Scientific Linux 6.1, nevertheless make install goes smoothly and I did not notice any problems going through tutorial. Tadeusz
2012/2/16 comp-phys-alps-users-request@lists.phys.ethz.ch
The lattice constant test can be ignored and I hope that Synge can look into the others, but if the loop tutorials work then the is no serious problem.
Matthias
On Feb 16, 2012, at 12:54, Tadeusz Wasiutyński tadeusz.wasiutynski@ifj.edu.pl wrote:
Thanks for the reply.. I think the first three failed tests could be ignored. Results look like this:
sinder@l17:/scratch/sinder/alps-2.0.3-src-with-boost/alps/example/parapack/loop$ diff loop_single_output loop.op 45c45 < Temperature: 0.1 +/- 9.12e-10 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.1 +/- 0
91c91 < Temperature: 0.2 +/- 1.82e-09 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.2 +/- 0
118c118 < Inverse Temperature: 3.33333 +/- 1.99e-08 Warning: potential error underflow. Errors might be smaller ---
Inverse Temperature: 3.33333 +/- 0
137c137 < Temperature: 0.3 +/- 1.83e-09 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.3 +/- 0
183c183 < Temperature: 0.4 +/- 3.65e-09 Warning: potential error underflow. Errors might be smaller ---
Temperature: 0.4 +/- 0
Best wishes Andreas
On Thu, 16 Feb 2012, Matthias Troyer wrote:
Dear all,
I tried to install vistrails on a Debian system. When calling vistrails with python 2.6.6 and trying to enable the alps module in the preferences error messages appear concerning the alps initialization:
Critical message: Initialization of package 'alps' failed
Package 'ALPS' failed to initialize, raising 'ImportError: No module named modules.constant_configuration'. Traceback: Traceback (most recent call last): File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/module_registry.py", line 1355, in initialize_package package.initialize() File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 368, in initialize __import__(name, globals(), locals(), []) File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 262, in _import (name, globals, locals, fromlist, level)) File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/packages/alps/init.py", line 17, in <module> import parameters File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 262, in _import (name, globals, locals, fromlist, level)) File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/packages/alps/parameters.py", line 22, in <module> from gui.modules.constant_configuration import StandardConstantWidget File "/tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/core/modules/package.py", line 262, in _import (name, globals, locals, fromlist, level)) ImportError: No module named modules.constant_configuration
Time: 2012-03-06 12:18:54,455 Location: /tmp/spielwiese/vistrails-src-1.7-51517a6cdab6/vistrails/gui/preferences.py, line 308
Any ideas? :-)
Best wishes Andreas
Can you try the following patch:
Index: vistrails/alps/parameters.py =================================================================== --- vistrails/alps/parameters.py (revision 6020) +++ vistrails/alps/parameters.py (working copy) @@ -19,7 +19,10 @@
import numpy as np
-from gui.modules.constant_configuration import StandardConstantWidget +try: + from gui.modules.constant_configuration import StandardConstantWidget +except: + from core.modules.constant_configuration import StandardConstantWidget
On Mar 6, 2012, at 10:33 PM, Andreas Sindermann wrote:
Hi,
concerning this problem, we tried your patch and it worked. The alps module is now enabled, but we get these additional error messages when we load the file from the tutorial (http://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Autocor...) :
CRITICAL 2012-03-07 16:39:38,019 /tmp/alps/vistrails-src/vistrails/gui/vistrail_controller.py, line 777 The current workflow could not be validated. Pipeline cannot be instantiated: Missing module Tools|ShowListOfHTMLFiles in package org.comp-phys.alps (version 2.0.0) Missing module Dataset|Plot|ShowListOfPlots in package org.comp-phys.alps (version 2.0.0) Upgrading workflow failed. Could not upgrade module ShowListOfHTMLFiles from package org.comp-phys.alps. Upgrading workflow failed. Could not upgrade module ShowListOfPlots from package org.comp-phys.alps.
We are using the alps version andreas mentioned and vistrails 1.7.
regards Markus
On 03/07/2012 03:08 PM, Matthias Troyer wrote:
Matthias Troyer writes:
If that does not work then please try either Vistrails 1.6 or the beta of 2.0.
Dear Matthias,
thanks a lot for your help and comments. I think we now will try Vistrails 1.6 to circumvent compatibility issues with ALPS 2.0.3.
Best wishes Andreas
Dear Matthias,
we now tried Vistrails 1.6, but get the same errors i pasted before. It says we are still missing these 2 modules: Tools|ShowListOfHTMLFiles and Dataset|Plot|ShowListOfPlots.
I deleted the .vistrails folder in my home-dir and also found ShowListOfHTMLFiles.xml and ShowListOfPlots.xml in /vistrails/packages/alps.
oh, and I also tried the tutorials from our alps directory, but this doesnt make a difference.
Do you have any idea how to get Vistraisl to recognize them?
regards Markus
Quoting Andreas Sindermann sinder@thp.Uni-Koeln.DE:
i tried a example file and it worked In the attached is the output you wanted to see.
Quoting Matthias Troyer troyer@phys.ethz.ch:
comp-phys-alps-users@lists.phys.ethz.ch