Jeff,<br><br>Thanks! This is an SMP machine and only one user can use this machine at a time. <br><br><br><div class="gmail_quote">On Thu, Mar 8, 2012 at 12:26 AM, Jeff Hammond <span dir="ltr"><<a href="mailto:jhammond@alcf.anl.gov">jhammond@alcf.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">Note that _r should be equivalent to *FLAGS+=-qthreaded, should you<br>
decide that you do not want to force all users of your MPICH2 build to<br>
use the _r compilers.<br>
<br>
Jeff<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Mar 7, 2012 at 10:40 PM, Eric Sun <<a href="mailto:eric.sunyy@gmail.com">eric.sunyy@gmail.com</a>> wrote:<br>
> Anthony,<br>
><br>
> Changing all compilers to the "_r" version makes the difference. Now I can<br>
> compile my Pi.f90 with no problem! Thank you very much!<br>
><br>
> Now the problem is that when I run the code using "mpiexec -f hostfile -n 4<br>
> Pi.x", there is nothing output. It looks like a hang there. I have attached<br>
> all c.txt, m.txt, mi.txt and config.log files in case you may need them for<br>
> diagnosis.<br>
><br>
> Thanks again!<br>
><br>
><br>
> On Wed, Mar 7, 2012 at 10:45 AM, Anthony Chan <<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>> wrote:<br>
>><br>
>><br>
>> Send us your configure and make output files as stated in README.<br>
>> Did you try build mpich2 with _r version of compilers ?<br>
>><br>
>> A.Chan<br>
>><br>
>> ----- Original Message -----<br>
>> > I configure and make MPICH2 using:<br>
>> > [bash] export CC=xlc<br>
>> > [bash] export CXX=xlC<br>
>> > [bash] export F77=xlf<br>
>> > [bash] export FC=xlf90<br>
>> > [bash] ./configure --prefix=/gpfs/small/shared/mpich2/pwr5 --with-<br>
>> > device=ch3:nemesis<br>
>> > [bash] make<br>
>> > [bash] make install<br>
>> ><br>
>> > Before I compile my Pi.f90, I did:<br>
>> > [bash] export PATH=/gpfs/small/shared/mpich2/pwr5/bin:$PATH<br>
>> ><br>
>> > Then, to compile my code:<br>
>> > [bash] mpif90 Pi.f90<br>
>> ><br>
>> > Thanks for your help!<br>
>> ><br>
>> > On Tue, Mar 6, 2012 at 11:54 PM, Rajeev Thakur <<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>><br>
>> > wrote:<br>
>> ><br>
>> > > What exact options did you pass to configure, and how exactly are<br>
>> > > you<br>
>> > > compiling your program?<br>
>> > ><br>
>> > > On Mar 6, 2012, at 10:41 PM, Eric Sun wrote:<br>
>> > ><br>
>> > > > Just tried. It didn't work ... The same error.<br>
>> > > ><br>
>> > > > On Tue, Mar 6, 2012 at 11:10 PM, Rajeev Thakur<br>
>> > > > <<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>><br>
>> > > wrote:<br>
>> > > > Try giving the full path to mpif90.<br>
>> > > ><br>
>> > > > On Mar 6, 2012, at 9:51 PM, Eric Sun wrote:<br>
>> > > ><br>
>> > > > > Thanks for your quick reply!<br>
>> > > > ><br>
>> > > > > Yes. But, I also tried "mpif77" and got the same error.<br>
>> > > > ><br>
>> > > > ><br>
>> > > > > On Tue, Mar 6, 2012 at 10:33 PM, Dave Goodell<br>
>> > > > > <<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>><br>
>> > > wrote:<br>
>> > > > > Are you building your application with "mpif90"?<br>
>> > > > ><br>
>> > > > > -Dave<br>
>> > > > ><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<br>
>> > > > > > machine<br>
>> > > running AIX system. The configure line was<br>
>> > > > > > ./configure --prefix=/install/directory<br>
>> > > > > > --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<br>
>> > > > > > when I<br>
>> > > try to compile a testing MPI code (calculating Pi), I receive the<br>
>> > > following<br>
>> > > 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>
>> > > > > > _______________________________________________<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>
>> > > > ><br>
>> > > > ><br>
>> > > > ><br>
>> > > > > --<br>
>> > > > > Yiyang Sun<br>
>> > > > > Department of Physics, Applied Physics, and Astronomy<br>
>> > > > > Rensselaer Polytechnic Institute<br>
>> > > > > Troy, NY 12180, USA<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>
>> > > ><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>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > > --<br>
>> > > > Yiyang Sun<br>
>> > > > Department of Physics, Applied Physics, and Astronomy<br>
>> > > > Rensselaer Polytechnic Institute<br>
>> > > > Troy, NY 12180, USA<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>
>> > ><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>
>> > ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Yiyang Sun<br>
>> > Department of Physics, Applied Physics, and Astronomy<br>
>> > Rensselaer Polytechnic Institute<br>
>> > Troy, NY 12180, USA<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>
>> _______________________________________________<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>
><br>
><br>
> --<br>
> Yiyang Sun<br>
> Department of Physics, Applied Physics, and Astronomy<br>
> Rensselaer Polytechnic Institute<br>
> Troy, NY 12180, USA<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>
><br>
<br>
<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Jeff Hammond<br>
Argonne Leadership Computing Facility<br>
University of Chicago Computation Institute<br>
<a href="mailto:jhammond@alcf.anl.gov">jhammond@alcf.anl.gov</a> / <a href="tel:%28630%29%20252-5381" value="+16302525381">(630) 252-5381</a><br>
<a href="http://www.linkedin.com/in/jeffhammond" target="_blank">http://www.linkedin.com/in/jeffhammond</a><br>
<a href="https://wiki.alcf.anl.gov/old/index.php/User:Jhammond" target="_blank">https://wiki.alcf.anl.gov/old/index.php/User:Jhammond</a><br>
<a href="https://wiki-old.alcf.anl.gov/index.php/User:Jhammond" target="_blank">https://wiki-old.alcf.anl.gov/index.php/User:Jhammond</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></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>