← Back to team overview

dorsal team mailing list archive

Re: PETSc found, but not found

 

On Tue, Aug 31, 2010 at 4:13 PM, Marie Rognes <meg@xxxxxxxxx> wrote:
>
> I having some issues with PETSc (surprise) as of today.
>
> Dorsal tells me that (full log attached):
>
> [\snip]
>
> -- The following optional packages were found:
> -- (OK) MPI
> -- (OK) PETSC
> -- (OK) SLEPC
> -- (OK) UMFPACK
>
> [\snap]
>
> But:
>
>>>> from dolfin import *
>>>> has_la_backend("PETSc")
> False
>>>> A = PETScMatrix()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'PETScMatrix' is not defined
>>>>
>
> Help?

There is no -DHAS_PETSC in your log. Try to clean up/remove the
dorsal_build_dir inside the DOLFIN source directory. Then rerun Dorsal
and see if the PETSc test passes.

Johannes



Follow ups

References