deal.II does not use the C++ MPI interface (I do not know of any project that
does, for the record),

Which is, I guess, why the MPI committee has deprecated them :-)

But back to the issue at hand:


    I used downloaded PETSc source and built with:

    ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich

That last flag is generally a bad idea. It makes PETSc download and install an MPI version that may or may not conflict with any MPI package that is already installed on the system. In any case, it is going to be installed into some non-standard path where the remainder of the system will scratch its head trying to find out whether there is or is not an MPI installation. I wished the PETSc people just got rid of this option -- it has caused so many people so much heartache.

The way to install MPI is through the system's package manage system. Any distribution I can think of has either an openMPI or an mpich package. Either is fine (but not trying to install both). Once you've installed one of them on your system (via apt-get, zypper, or whatever package manager your system uses), you can install PETSc as you were doing, but without --download-mpich.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth               email:            bange...@math.tamu.edu
                                www: http://www.math.tamu.edu/~bangerth/

--
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