[mpich-discuss] undefined reference to `__muldc3'
Ted Sariyski
tsariysk at craft-tech.com
Wed Aug 1 16:18:20 CDT 2012
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
More information about the mpich-discuss
mailing list