[mpich-discuss] undefined reference to `__muldc3'

Anthony Chan chan at mcs.anl.gov
Wed Aug 1 16:22:13 CDT 2012


mpich2-1.4.1p1 does not support parallel make which is
available in 1.5 and later releases, so try to build mpich2
with just "make" without -j.

----- Original Message -----
> 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