[petsc-users] undefined reference to MPI_Comm_f2c

Yaakoub El Khamra yaakoub at tacc.utexas.edu
Wed Jul 24 17:13:10 CDT 2013


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)

Even with using mpi compilers, I keep getting undefined reference. Am I
doing something wrong?


Regards
Yaakoub El Khamra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130724/df29a9c7/attachment.html>


More information about the petsc-users mailing list