Building MPICH2 with PGI 6.0

William Gropp gropp at mcs.anl.gov
Mon Jun 6 08:45:22 CDT 2005


At 08:28 AM 6/6/2005, Jeffrey B. Layton wrote:
>Good morning,
>
>   I'm trying to build MPICH2-1.0.1 with PGI 6.0
>for the F90 compiler and gcc for the C compiler
>(I'm building on CentOS 4.0). I'm getting the following errors:
>
>../bin/mpicc -L../lib -o cpi cpi.o  -lm -lmpich       -lpthread
>-lrt          -lpthread  -lrt
>/home/laytonj/src/mpich2-1.0.1/lib/libmpich.a(setbotf.o)(.data+0x0): 
>undefined reference to `__pgdbg_stub'
>/home/laytonj/src/mpich2-1.0.1/lib/libmpich.a(setbotf.o)(.data+0x4): 
>undefined reference to `pgf90_compiled'
>/home/laytonj/src/mpich2-1.0.1/lib/libmpich.a(setbotf.o)(.init+0x6): 
>undefined reference to `__pgio_ini'
>
>I'm not sure what the problem is - any advice?

We've fixed this for the next release; the PG compiler is adding 
unnecessary symbols to the object file that make it difficult to include in 
a library used by C.  Also, bug reports about MPICH2 are best sent to 
mpich2-maint at mcs.anl.gov .

Bill


>Thanks!
>
>Jeff

William Gropp
http://www.mcs.anl.gov/~gropp 




More information about the mpich-discuss mailing list