You need to build DOLFIN with PETSc enabled in order to have a
parallel linear algebra backend.

Garth

On Tue, Feb 10, 2015 at 2:51 AM, Bart Verleye <[email protected]> wrote:
> Hi,
>
> We have installed Dolfin, and for a simple poisson problem the code works,
> however, for the attached example, and run in parallel, we get the error
> below. Below the error is the cmake output which shows which modules are
> installed.
>
> Is there any module that should be installed additionally to make this work?
>
> Thanks,
> Bart
>
>
>
>
> <<<<ERROR MESSAGE>>>>
>
>
> Traceback (most recent call last):
>   File "code_steady.py", line 125, in <module>
> Traceback (most recent call last):
>   File "code_steady.py", line 125, in <module>
>     pi = Function(DG)
>   File
> "/projects/uoa00295/dolfin-1.5.0/install/dolfin/functions/function.py", line
> 274, in __init__
>     pi = Function(DG)
>   File
> "/projects/uoa00295/dolfin-1.5.0/install/dolfin/functions/function.py", line
> 274, in __init__
>     self.__init_from_function_space(V)
>   File
> "/projects/uoa00295/dolfin-1.5.0/install/dolfin/functions/function.py", line
> 319, in __init_from_function_space
>     self.__init_from_function_space(V)
>   File
> "/projects/uoa00295/dolfin-1.5.0/install/dolfin/functions/function.py", line
> 319, in __init_from_function_space
>     cpp.Function.__init__(self, V)
>   File "/projects/uoa00295/dolfin-1.5.0/install/dolfin/cpp/function.py",
> line 626, in __init__
>     cpp.Function.__init__(self, V)
>   File "/projects/uoa00295/dolfin-1.5.0/install/dolfin/cpp/function.py",
> line 626, in __init__
>     _function.Function_swiginit(self,_function.new_Function(*args))
> RuntimeError:
>
> ***
> -------------------------------------------------------------------------
> *** DOLFIN encountered an error. If you are not able to resolve this issue
> *** using the information listed below, you can ask for help at
> ***
> ***     [email protected]
> ***
> *** Remember to include the error message listed below and, if possible,
> *** include a *minimal* running example to reproduce the error.
> ***
> ***
> -------------------------------------------------------------------------
> *** Error:   Unable to creating uBLASVector.
> *** Reason:  Distributed uBLASVector is not supported.
> *** Where:   This error was encountered inside uBLASVector.cpp.
> *** Process: unknown
> ***
> *** DOLFIN version: 1.5.0
> *** Git changeset:
> ***
> -------------------------------------------------------------------------
>
> ******************************************************************************************
> ******************************************************************************************
> ******************************************************************************************
> ******************************************************************************************
> ******************************************************************************************
>
>
> <<<<MODULES>>>>>
>
>
> -- The following optional packages were found:
> -- -------------------------------------------
> -- (OK) OPENMP
> -- (OK) MPI
> -- (OK) PETSC
> -- (OK) UMFPACK
> -- (OK) CHOLMOD
> -- (OK) SCOTCH
> -- (OK) PARMETIS
> -- (OK) ZLIB
> -- (OK) PYTHON
> -- (OK) VTK
> --
> -- The following optional packages were not enabled:
> -- -------------------------------------------------
> -- (--) PETSC4PY
> -- (--) SLEPC
> -- (--) SLEPC4PY
> -- (--) TRILINOS
> -- (--) PASTIX
> -- (--) SPHINX
> -- (--) HDF5
> -- (--) QT
>
>
> --
> Dr. Bart Verleye
> Centre for eResearch
> Level G, Room 409-G21
> 24 Symonds St.
> Auckland 1010
> New Zealand
> +64 (0) 9 923 9740 ext 89740
>
> _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to