I installed PETSc using this configuration line:
Configure Options: --configModules=PETSc.Configure 
--optionsModule=config.compilerOptions 
PETSC_ARCH=linux-gnu-complex --with-scalar-type=complex --with-cc=gcc --with
-cxx=g++ --with-fc=gfortran --with-mkl_pardiso=1 --with-blas-lapack-dir=
/opt/intel/compilers_and_libraries/linux/mkl/lib/ --with-debugging=0 
COPTFLAGS="-O3 -march=native -mtune=native" CXXOPTFLAGS="-O3 -march=native 
-mtune=native" --with-mpi=0
and also disabled MPI in dealII. But now when trying to compile example 3 
using the line
g++ -I/opt/intel/mkl/include -I/petsc/linux-gnu-complex/include/ -I/petsc/
include/ -I/opt/intel/tbb/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP 
-MF"src/dealII_test3.d" -MT"src/dealII_test3.o" -o "src/dealII_test3.o" 
"../src/dealII_test3.cpp"
I get the error message 
In file included from /petsc/include/petscbag.h:4:0,
                 from /petsc/include/petsc.h:5,
                 from /usr/local/include/deal.II/fe/fe_values.h:46,
                 from ../src/dealII_test3.cpp:18:
/petsc/include/petscsys.h:140:6: error: #error "PETSc was configured with 
--with-mpi=0 but now appears to be compiling using a different mpi.h"
Why is petsc still using an mpi.h-include file? And how can I fix that?

Thanks!

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to