[mpich-discuss] mpich2 1.5rc3 error: initcxx.cxx: undefined reference to 'MPI_Type_size'....
Dave Goodell
goodell at mcs.anl.gov
Fri Oct 5 15:30:37 CDT 2012
On Oct 5, 2012, at 3:25 PM CDT, Charson Hu wrote:
> no, I use gcc, g++ and gfortran to compile the codes and the compilation is not successful and I have never had a chance to run it.
Please use "mpicxx" instead of "g++" in your makefile, and omit any "-lmpich" arguments (or similar). In a similar fashion, use "mpicc" instead of "gcc" and "mpif90" instead of "gfortran".
-Dave
More information about the mpich-discuss
mailing list