Thanks for your quick reply!<br><br>Yes. But, I also tried "mpif77" and got the same error.<br><br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 10:33 PM, Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Are you building your application with "mpif90"?<br>
<br>
-Dave<br>
<div><div class="h5"><br>
On Mar 6, 2012, at 9:15 PM CST, Eric Sun wrote:<br>
<br>
> Dear MPICH2 developers and users,<br>
><br>
> I successfully installed mpich2-1.4.1p1 on an IBM Power5 SMP machine running AIX system. The configure line was<br>
> ./configure --prefix=/install/directory --with-device=ch3:nemesis<br>
><br>
> I had CC=xlc CXX=xlC F77=xlf FC=xlf90<br>
><br>
> "configure" and "make" are quite smooth without error. But when I try to compile a testing MPI code (calculating Pi), I receive the following error message:<br>
><br>
> ** main === End of Compilation 1 ===<br>
> 1501-510 Compilation successful for file Pi.f90.<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_init<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_comm_rank<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_comm_size<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_type_contiguous<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_type_commit<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_send<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_recv<br>
> ld: 0711-317 ERROR: Undefined symbol: .mpi_finalize<br>
><br>
> Any suggestion?<br>
><br>
> Thanks!<br>
</div></div>> _______________________________________________<br>
> mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
_______________________________________________<br>
mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Yiyang Sun<br>Department of Physics, Applied Physics, and Astronomy<br>Rensselaer Polytechnic Institute<br>Troy, NY 12180, USA<br>