[MPICH] example failed to link for mpich2 with pgf90(v6.2) and gcc

Jinyou Liang jliang at arb.ca.gov
Thu Mar 15 14:01:53 CDT 2007


Dear mpi nerds,

Has anyone succeeded in the example of mpich2-1.0.5p3/examples/f90(f77) 
using the combination of gcc and pgf90(version 6.2) ?

I got the error message like
{  fpi.f: (...): undefined reference to 'mpi_init_' }
   ... and for all other mpi subroutines.

The same code worked fine with pgf90 (v6.1) + gcc, so I guess it is a 
compilation option problem.  FYI, my LINUX machine has the following 
output for 'uname -a' command: 
Linux auster 2.6.19-1.2288.fc5smp #1 SMP Feb 10 ... 2007 i686 i686 i386 
GNU/Linux

Your setup for environment variables and configure options would be 
helpful, if you succeeded in this case.


Thanks,
Jinyou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jliang.vcf
Type: text/x-vcard
Size: 145 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070315/67d1ec23/attachment.vcf>


More information about the mpich-discuss mailing list