Hi! I just tried out the the demos delivered with ASCot, and everything works fine except two demos:
For the hodgelaplace.py demo I receive the error message:
python hodgelaplace.py
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
File "hodgelaplace.py", line 34, in <module>
result = test_stability(a, m, spaces=Vs, bcs=bcs)
File "/Users/andre/local/lib/python2.6/site-packages/ascot/stabilitytester.py", line 37, in test_stability
return _test_babuska_stability(forms, inner_products, spaces, bcs)
File "/Users/andre/local/lib/python2.6/site-packages/ascot/stabilitytester.py", line 53, in _test_babuska_stability
for (W_h, bc) in zip(spaces, bcs)]
File "/Users/andre/local/lib/python2.6/site-packages/ascot/conditions.py", line 83, in compute_babuska_infsup
eigenvalues = EigenProblem(lhs, rhs, params, bc).solve(num)
File "/Users/andre/local/lib/python2.6/site-packages/ascot/eigenvalues.py", line 74, in solve
self.bc.apply(B)
And for the stokes.py demo I got the following message:
0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Dimensions of A and B do not match!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 7, Mon Dec 20 14:26:37 CST 2010
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Unknown Name on a darwin10. named beluga.local by andre Tue Apr 5 11:57:00 2011
[0]PETSC ERROR: Libraries linked from /Users/andre/Work/software/src/FEniCS-unstable/install/lib
[0]PETSC ERROR: Configure run at Thu Mar 31 17:32:15 2011
[0]PETSC ERROR: Configure options COPTFLAGS=-O2 --prefix=/Users/andre/Work/software/src/FEniCS-unstable/install --with-debugging=0 --with-shared=1 --with-clanguage=cxx --with-parmetis=1 --with-parmetis-dir=/Users/andre/Work/software/src/FEniCS-unstable/install --with-fc=0 --download-umfpack=1 --prefix=/Users/andre/Work/software/src/FEniCS-unstable/install
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: EPSSetOperators() line 259 in src/eps/interface/setup.c
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[0]PETSC ERROR: to get more information on the crash.
[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Signal received!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 7, Mon Dec 20 14:26:37 CST 2010
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Unknown Name on a darwin10. named beluga.local by andre Tue Apr 5 11:57:00 2011
[0]PETSC ERROR: Libraries linked from /Users/andre/Work/software/src/FEniCS-unstable/install/lib
[0]PETSC ERROR: Configure run at Thu Mar 31 17:32:15 2011
[0]PETSC ERROR: Configure options COPTFLAGS=-O2 --prefix=/Users/andre/Work/software/src/FEniCS-unstable/install --with-debugging=0 --with-shared=1 --with-clanguage=cxx --with-parmetis=1 --with-parmetis-dir=/Users/andre/Work/software/src/FEniCS-unstable/install --with-fc=0 --download-umfpack=1 --prefix=/Users/andre/Work/software/src/FEniCS-unstable/install
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
This seems to no longer be a problem, closing the bug.