[mvapich-discuss] Problem Compiling MVAPICH2 using PGI Compilers

Saurabh Barve saurabh.barve at gmail.com
Tue Jun 30 01:16:01 EDT 2009


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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


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
--
Fortune favors the Barve


More information about the mvapich-discuss mailing list