[mvapich-discuss] Problem Compiling MVAPICH2 using PGICompilers

Jonathan Perkins perkinjo at cse.ohio-state.edu
Tue Jun 30 17:40:14 EDT 2009


On Tue, Jun 30, 2009 at 08:56:31AM -0700, Saurabh Barve wrote:
>  Manually Qouting an intermediate what Jonathan Perkins wrote:
> > On Mon, Jun 29, 2009 at 10:16:01PM -0700, Saurabh Barve wrote:
> >> Hi,
> >>
> >> I'm trying to build MVAPICH2 (mvapich2-1.4rc1) on a CentOS Linux
> >> machine, and am running into errors.
> >>
> >> Here is how I run the configure script:
> >>
> >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >> CC=pgcc CXX=pgCC F77=pgf77 F90=pgf90 CFLAGS="-D_X86_64_ -D_SMP_ -
> >> DCH_PSM" LIBS="-lpthread -lpsm_infinipath" ./configure --enable-f77 --  
> >> enable-f90 --enable-cxx --with-device=ch3:psm --with-arch=LINUX --with-
> >> romio --without-mpe --prefix=/opt/mvapich2/pgi
> >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Don't set CFLAGS or LIBS, this is taken care of by the supplied
> > configure options.  There is also shouldn't be a need to specify the
> > arch.
> >
> > Do you get the same error with the following command?
> >
> > ./configure --with-device=ch3:psm --with-romio --without-mpe 
> > --prefix=/opt/mvapich2/pgi CC=pgcc CXX=pgCC F77=pgf77 F90=pgf90
> >
>
> I get the same error when I try to use your configure command and then 
> run 'make':
>

Thanks for this report.  We have reproduced this issue and are
investigating this further.  We'll get back to you once we find a
solution.

> >>
> >>
> >> This is the error I get when I run 'make':
> >>
> >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >> ...
> >> ...
> >> make[4]: Leaving directory `/usr/src/redhat/SOURCES/mvapich2/pgi/
> >> mvapich2-1.4rc1/src/pm/mpirun'
> >> make[3]: Leaving directory `/usr/src/redhat/SOURCES/mvapich2/pgi/
> >> mvapich2-1.4rc1/src/pm'
> >> make[2]: Leaving directory `/usr/src/redhat/SOURCES/mvapich2/pgi/
> >> mvapich2-1.4rc1/src/pm'
> >> make[1]: Leaving directory `/usr/src/redhat/SOURCES/mvapich2/pgi/
> >> mvapich2-1.4rc1/src'
> >> make[1]: Entering directory `/usr/src/redhat/SOURCES/mvapich2/pgi/
> >> mvapich2-1.4rc1/examples'
> >> ../bin/mpicc   -o cpi cpi.o  -lm
> >> /usr/src/redhat/SOURCES/mvapich2/pgi/mvapich2-1.4rc1/lib/
> >> libmpich.a(mpid_irecv.o): In function `MPID_Irecv':
> >> /usr/src/redhat/SOURCES/mvapich2/pgi/mvapich2-1.4rc1/src/mpid/ch3/src/
> >> mpid_irecv.c:84: undefined reference to `MPIDI_CH3_iRecv'
> >> /usr/src/redhat/SOURCES/mvapich2/pgi/mvapich2-1.4rc1/src/mpid/ch3/src/
> >> mpid_irecv.c:90: undefined reference to `MPIDI_CH3_iRecv'
> >> /usr/src/redhat/SOURCES/mvapich2/pgi/mvapich2-1.4rc1/lib/
> >> libmpich.a(mpid_recv.o): In function `MPID_Recv':
> >> /usr/src/redhat/SOURCES/mvapich2/pgi/mvapich2-1.4rc1/src/mpid/ch3/src/
> >> mpid_recv.c:62: undefined reference to `MPIDI_CH3_Recv'
> >> /usr/src/redhat/SOURCES/mvapich2/pgi/mvapich2-1.4rc1/src/mpid/ch3/src/
> >> mpid_recv.c:72: undefined reference to `MPIDI_CH3_Recv'
> >> make[1]: *** [cpi] Error 2
> >> make[1]: Leaving directory `/usr/src/redhat/SOURCES/mvapich2/pgi/
> >> mvapich2-1.4rc1/examples'
> >> make: *** [all-redirect] Error 2
> >>
> >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >>
> >>
> >> More details about the system I'm using:
> >>
> >> 1) Operating System - CentOS Linux 5.0
> >>
> >> 2) Kernel version - 2.6.18-8.1.14.el5
> >>
> >> 3) PGI Compiler Suite - Version 8.0-2
> >>
> >> 4) MVAPICH2 version 1.4rc1
> >>
> >> MVAPICH2 builds fine for me when I use the Intel compilers (icc, icpc,
> >> ifort) and use the same configure options as above.
> >>
> >> What am I doing wrong?
> >>
> >> Thanks,
> >> Saurabh
> >> --

-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20090630/f0e160bc/attachment.bin


More information about the mvapich-discuss mailing list