[petsc-users] WHY "C++ error! MPI_Finalize() could not be located!"? Thanks.

Satish Balay balay at mcs.anl.gov
Sun Jan 18 11:54:29 CST 2015


BTW: Does your MPI install not provide mpicc,mpicxx,mpif90 compilers?

Satish

On Sun, 18 Jan 2015, Jerry wrote:

> Now, I configured as follows, and then compile. It seems ok.
> 
> ./configure --prefix=/usr/local --with-cc=gcc --with-cxx=0 --with-fc=0
> --with-mpi-include=/usr/include/mpi --with-mpi-lib=/usr/lib/libmpi.so
> 
> 2015-01-17 11:29 GMT-08:00 Matthew Knepley <knepley at gmail.com>:
> 
> > If you are using your own installation of MPI, it is best to use its
> > compiler wrappers:
> >
> >   --with-cc=/usr/bin/mpicc --with-cxx=/usr/bin/mpicxx



More information about the petsc-users mailing list