[petsc-users] PETSC ERROR: Can only handle MPIU_REAL or MPIU_COMPLEX with ML preconditioner

Matthew Knepley knepley at gmail.com
Wed Oct 1 05:33:17 CDT 2014


On Wed, Oct 1, 2014 at 3:51 AM, Chris Richardson <chris at bpi.cam.ac.uk>
wrote:

>
> I have just run into this error after pulling the master branch of petsc,
> when using the ML preconditioner in FEniCS.
> It looks like a type error, but I guess FEniCS uses PETScInt, so should be
> safe?
>
>
> PETSC ERROR: Can only handle MPIU_REAL or MPIU_COMPLEX data types
>

We need to see the entire error (with the stack).

  Thanks,

     Matt


> Previously, it worked, so I think it might be due to a recent change?
> Here is my configure script for petsc... I don't think I am doing anything
> weird.
>
> ./configure \
> --with-c-support --with-clanguage=C++ --with-debugging=0
> --with-shared-libraries=1 \
> --with-mpi-dir=$MPICH_DIR \
> --with-blas-lib=[$CRAY_LIBSCI_PREFIX_DIR/lib/libsci_gnu.so] \
> --with-lapack-lib=[$CRAY_LIBSCI_PREFIX_DIR/lib/libsci_gnu.so] \
> --with-scalapack-lib=[$CRAY_LIBSCI_PREFIX_DIR/lib/libsci_gnu.so]
> --with-scalapack-include=$CRAY_LIBSCI_PREFIX_DIR/include
> --with-scalapack=1\
> --with-blacs-lib=[$CRAY_LIBSCI_PREFIX_DIR/lib/libsci_gnu.so]
> --with-blacs-include=$CRAY_LIBSCI_PREFIX_DIR/include --with-blacs=1\
> --with-fortran-interfaces=1 \
> --with-ptscotch=1 --download-ptscotch=1 \
> --with-mumps=1 --download-mumps=1 \
> --with-hypre=1 --download-hypre=1 \
> --with-superlu_dist=1 --download-superlu_dist=1 \
> --with-suitesparse=1 --download-suitesparse=1 \
> --with-metis=1 --download-metis=1 \
> --with-ml=1 --download-ml=1 \
> --with-parmetis=1 --download-parmetis=1
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141001/9369fa81/attachment.html>


More information about the petsc-users mailing list