[mpich-discuss] installation problem on AIX
Jeff Hammond
jhammond at alcf.anl.gov
Wed Mar 7 23:26:53 CST 2012
Note that _r should be equivalent to *FLAGS+=-qthreaded, should you
decide that you do not want to force all users of your MPICH2 build to
use the _r compilers.
Jeff
On Wed, Mar 7, 2012 at 10:40 PM, Eric Sun <eric.sunyy at gmail.com> wrote:
> Anthony,
>
> Changing all compilers to the "_r" version makes the difference. Now I can
> compile my Pi.f90 with no problem! Thank you very much!
>
> Now the problem is that when I run the code using "mpiexec -f hostfile -n 4
> Pi.x", there is nothing output. It looks like a hang there. I have attached
> all c.txt, m.txt, mi.txt and config.log files in case you may need them for
> diagnosis.
>
> Thanks again!
>
>
> On Wed, Mar 7, 2012 at 10:45 AM, Anthony Chan <chan at mcs.anl.gov> wrote:
>>
>>
>> Send us your configure and make output files as stated in README.
>> Did you try build mpich2 with _r version of compilers ?
>>
>> A.Chan
>>
>> ----- Original Message -----
>> > I configure and make MPICH2 using:
>> > [bash] export CC=xlc
>> > [bash] export CXX=xlC
>> > [bash] export F77=xlf
>> > [bash] export FC=xlf90
>> > [bash] ./configure --prefix=/gpfs/small/shared/mpich2/pwr5 --with-
>> > device=ch3:nemesis
>> > [bash] make
>> > [bash] make install
>> >
>> > Before I compile my Pi.f90, I did:
>> > [bash] export PATH=/gpfs/small/shared/mpich2/pwr5/bin:$PATH
>> >
>> > Then, to compile my code:
>> > [bash] mpif90 Pi.f90
>> >
>> > Thanks for your help!
>> >
>> > On Tue, Mar 6, 2012 at 11:54 PM, Rajeev Thakur <thakur at mcs.anl.gov>
>> > wrote:
>> >
>> > > What exact options did you pass to configure, and how exactly are
>> > > you
>> > > compiling your program?
>> > >
>> > > On Mar 6, 2012, at 10:41 PM, Eric Sun wrote:
>> > >
>> > > > Just tried. It didn't work ... The same error.
>> > > >
>> > > > On Tue, Mar 6, 2012 at 11:10 PM, Rajeev Thakur
>> > > > <thakur at mcs.anl.gov>
>> > > wrote:
>> > > > Try giving the full path to mpif90.
>> > > >
>> > > > On Mar 6, 2012, at 9:51 PM, Eric Sun wrote:
>> > > >
>> > > > > Thanks for your quick reply!
>> > > > >
>> > > > > Yes. But, I also tried "mpif77" and got the same error.
>> > > > >
>> > > > >
>> > > > > On Tue, Mar 6, 2012 at 10:33 PM, Dave Goodell
>> > > > > <goodell at mcs.anl.gov>
>> > > wrote:
>> > > > > Are you building your application with "mpif90"?
>> > > > >
>> > > > > -Dave
>> > > > >
>> > > > > On Mar 6, 2012, at 9:15 PM CST, Eric Sun wrote:
>> > > > >
>> > > > > > Dear MPICH2 developers and users,
>> > > > > >
>> > > > > > I successfully installed mpich2-1.4.1p1 on an IBM Power5 SMP
>> > > > > > machine
>> > > running AIX system. The configure line was
>> > > > > > ./configure --prefix=/install/directory
>> > > > > > --with-device=ch3:nemesis
>> > > > > >
>> > > > > > I had CC=xlc CXX=xlC F77=xlf FC=xlf90
>> > > > > >
>> > > > > > "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:
>> > > > > >
>> > > > > > ** main === End of Compilation 1 ===
>> > > > > > 1501-510 Compilation successful for file Pi.f90.
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_init
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_comm_rank
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_comm_size
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_type_contiguous
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_type_commit
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_send
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_recv
>> > > > > > ld: 0711-317 ERROR: Undefined symbol: .mpi_finalize
>> > > > > >
>> > > > > > Any suggestion?
>> > > > > >
>> > > > > > Thanks!
>> > > > > > _______________________________________________
>> > > > > > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> > > > > > To manage subscription options or unsubscribe:
>> > > > > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > > > >
>> > > > > _______________________________________________
>> > > > > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> > > > > To manage subscription options or unsubscribe:
>> > > > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Yiyang Sun
>> > > > > Department of Physics, Applied Physics, and Astronomy
>> > > > > Rensselaer Polytechnic Institute
>> > > > > Troy, NY 12180, USA
>> > > > > _______________________________________________
>> > > > > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> > > > > To manage subscription options or unsubscribe:
>> > > > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > > >
>> > > > _______________________________________________
>> > > > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> > > > To manage subscription options or unsubscribe:
>> > > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Yiyang Sun
>> > > > Department of Physics, Applied Physics, and Astronomy
>> > > > Rensselaer Polytechnic Institute
>> > > > Troy, NY 12180, USA
>> > > > _______________________________________________
>> > > > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> > > > To manage subscription options or unsubscribe:
>> > > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > >
>> > > _______________________________________________
>> > > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> > > To manage subscription options or unsubscribe:
>> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > >
>> >
>> >
>> >
>> > --
>> > Yiyang Sun
>> > Department of Physics, Applied Physics, and Astronomy
>> > Rensselaer Polytechnic Institute
>> > Troy, NY 12180, USA
>> >
>> > _______________________________________________
>> > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> > To manage subscription options or unsubscribe:
>> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> _______________________________________________
>> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
>
>
> --
> Yiyang Sun
> Department of Physics, Applied Physics, and Astronomy
> Rensselaer Polytechnic Institute
> Troy, NY 12180, USA
>
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
--
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/old/index.php/User:Jhammond
https://wiki-old.alcf.anl.gov/index.php/User:Jhammond
More information about the mpich-discuss
mailing list