[petsc-users] undefined reference to MPI_Comm_f2c

Satish Balay balay at mcs.anl.gov
Wed Jul 24 17:39:49 CDT 2013


On Wed, 24 Jul 2013, Yaakoub El Khamra wrote:

> With petsc 3.4.1, --download-parmetis=1 I keep getting undefined references
> to MPI_Comm_f2c in the configure.log. Checking the mpi.h for mvapich2 1.9,
> this is what I find:
> 
> #define MPI_Comm_f2c(comm) (MPI_Comm)(comm)

this is same as mpich - which works for many of us.
> 
> Even with using mpi compilers, I keep getting undefined reference. Am I
> doing something wrong?

send us configure.log [preferably compressed]

Satish


More information about the petsc-users mailing list