[mpich-discuss] undefined reference to `__muldc3'

Darius Buntinas buntinas at mcs.anl.gov
Wed Aug 1 16:21:51 CDT 2012


MPICH2 1.4.1p1 doesn't support parallel builds, so that might have messed something up.  Do a make clean then try to make again without the -j option.

-d

On Aug 1, 2012, at 4:18 PM, Ted Sariyski wrote:

> Hi,
> I compiled mpich2-1.4.1p1 with the following script:
> 
> export FC=sunf90
> export F77=sun77
> export CC=suncc
> export CXX=sunCC
> make distclean
> ./configure --prefix=/opt/mpich2-1.4.1p1_sun
> make -j 6
> 
> Compilation and installation went clean, but when compile the example under examples/f90 i get:
> 
> make
> ../../bin/mpif90   -o pi3f90 pi3f90.o -lrt -lpthread
> /home/tsariysk/mpich2-1.4.1p1/lib/libmpich.a(opprod.o): In function `MPIR_PROD':
> opprod.c:(.text+0x858): undefined reference to `__muldc3'
> opprod.c:(.text+0xa28): undefined reference to `__mulsc3'
> opprod.c:(.text+0x1083): undefined reference to `__mulxc3'
> make: *** [pi3f90] Error 2
> 
> I also tried to use the system c and c++ compilers, but the error persists. What do I miss here?
> 
> I'll highly appreciate any help.
> Thanks,
> --Ted
> _______________________________________________
> 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