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.
I know that IBM AIX is an OS not supported, but if you have any suggestions, we ask for a reply.
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.