Building MPICH2 with PGI 6.0

Jeffrey B. Layton laytonjb at charter.net
Mon Jun 6 08:48:35 CDT 2005


William Gropp wrote:

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


Thanks! I wasn't sure if this was a bug or I screwed up the
configuration. Where can I get a tarball of the next release
(snapshot is fine)?

Thanks!

Jeff




More information about the mpich-discuss mailing list