[mpich-discuss] Compile error with MPICH library on IBM machine

Kihang Youn kyoun at lenovo.com
Sat Jan 23 08:39:19 CST 2021


Hello, all.

I install MPICH on IBM AIX and try to compile pi3f90.f90 in the example, but I get an error not finding emutls_get_address, muldc3, mulsc3.
There was a similar problem in the previous case, but it's not clear how it was resolved, so I'm sending you an email.
Old thread: https://lists.mcs.anl.gov/pipermail/mpich-discuss/2012-August/012920.html
I know that IBM AIX is an OS not supported, but if you have any suggestions, we ask for a reply.

Best Regards,
Kihang

########## OS version ##########
powerpc-ibm-aix6.1.0.0

##########  MPICH version ##########
mpich2-1.4.1

##########  Installation Configuration ##########
 ./configure CC=gcc F77=xlf_r FC=xlf90_r --disable-shared --enable-static

##########  GCC version ##########
mpich2-1.4.1

##########  Error Message ##########

../../bin/mpif90   -o pi3f90 pi3f90.o -lpthread -lm -lc -bnoquiet


ld: 0711-317 ERROR: Undefined symbol: .__emutls_get_address(ld): /lib/crt0.o
(ld): pi3f90.old: 0711-317 ERROR: Undefined symbol: .__muldc3
(ld): lib /usr/lib/libm.a
ld: 0711-317 ERROR: Undefined symbol: .__mulsc3
(ld): lib /usr/lib/libc.a

(ld): lib /COE/2020_NIER/mpich2-1.4.1/lib/libmpichf90.a
(ld): lib /COE/2020_NIER/mpich2-1.4.1/lib/libmpich.a
(ld): lib /COE/2020_NIER/mpich2-1.4.1/lib/libopa.a
(ld): lib /COE/2020_NIER/mpich2-1.4.1/lib/libmpl.a
...
LIBRARY: Shared object libxlomp_ser.a[omp_ser.o]: 87 symbols imported.
FILELIST: Number of previously inserted files processed: 14


        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 ----------------------------------------------------------------------------------------------
 .__emutls_get_address     [6]     ER PR comm_rank.c(/COE/2020_NIER/mpich2-1.4.1/lib/libmpich.a[comm_rank.o])
                                   00000014 .text    R_RBR    [34]    <.MPIU_Thread_CS_exit_lockname_recursive_impl_.isra.1.constprop.2>
                                   00000134 .text    R_RBR    [36]    <.MPIU_Thread_CS_enter_lockname_recursive_impl_.isra.0.constprop.3>
 ...
 .__emutls_get_address     [2]     ER PR initthread.c(/COE/2020_NIER/mpich2-1.4.1/lib/libmpich.a[initthread.o])
                                   0000001c .text    R_RBR    [56]    <.MPIU_Thread_CS_exit_lockname_recursive_impl_.isra.1.constprop.2>
                                   0000014c .text    R_RBR    [58]    <.MPIU_Thread_CS_enter_lockname_recursive_impl_.isra.0.constprop.3>
 .__muldc3                 [4]     ER PR opprod.c(/COE/2020_NIER/mpich2-1.4.1/lib/libmpich.a[opprod.o])
                                   00000588 .text    R_RBR    [14]    .MPIR_PROD
                                   000009d8 .text    R_RBR    [14]    .MPIR_PROD
 .__mulsc3                 [10]    ER PR opprod.c(/COE/2020_NIER/mpich2-1.4.1/lib/libmpich.a[opprod.o])
                                   000010d8 .text    R_RBR    [14]    .MPIR_PROD
ER: The return code is 8.
make: 1254-004 The error code from the last command is 8.



Kihang Youn(윤기항) - Application Analyst | Lenovo DCG Professional Services
Mobile: +82-10-9374-9396
E-mail: kyoun at lenovo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20210123/4b445ce8/attachment-0001.html>


More information about the discuss mailing list