> How is it possible to configure which MPI library deal will use? I > tried to follow includes and got that deal uses #include "mpi.h" in > some PETSC header files. Is it possible to configure a separate > library for deal, different from that is configured for PETSC? My > problem is that I have 4 MPI libraries installed at the cluster, and > that one (MPICH I), that PETSC is configured to use, does not work > properly. Is it possible to get rid of any PETSC references and add a > relevant mpi.h header directly?
When you configure deal.II with MPI, you need to say which MPI C++ compiler to use by setting something like export CXX=mpiCC This mpiCC compiler will then determine itself which mpi.h file it considers the right one. That said: if PETSc and deal.II are compiled with different MPI compilers, you'll probably run into trouble at the very least when you try to link something; if linking should for some reason happen to work, I would be very very surprised if your program actually worked. Using different MPI libraries seems like a really bad idea to me. W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
