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

Chris Richardson chris at bpi.cam.ac.uk
Wed Oct 1 03:51:53 CDT 2014


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


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




More information about the petsc-users mailing list