[mpich-discuss] installation problem on AIX
Anthony Chan
chan at mcs.anl.gov
Wed Mar 7 09:45:21 CST 2012
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
More information about the mpich-discuss
mailing list