Failed to compile MPICH3 v3.2a2-115-g93e816cc on Power755 (Power7/Linux)
Hi, I am trying to compile the latest MPICH3 snapshot on Power7/Linux platform by using the XLF/XLC compiler suite v14.1. The cluster is equipped with common IB hardware. Unfortunately, the compilation failed with the following error message: lib/.libs/libmpi.a(lib_libmpi_la-ib_poll.o): In function `MPID_nem_ib_drain_scq': src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x5bc4): undefined reference to `__builtin_ctz' src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x5e90): undefined reference to `__builtin_ctz' lib/.libs/libmpi.a(lib_libmpi_la-ib_poll.o): In function `MPID_nem_ib_cm_drain_scq$AF227_75': src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x7d7c): undefined reference to `__builtin_ctz' src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x7e14): undefined reference to `__builtin_ctz' src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x8040): undefined reference to `__builtin_ctz' lib/.libs/libmpi.a(lib_libmpi_la-ib_poll.o):src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x814c): more undefined references to `__builtin_ctz' follow For the configure's options used please check the attached 'config.power7.linux.log' file. In addition, the IBM compiler produces few warnings: #1 "src/mpid/ch3/channels/nemesis/netmod/ib/ib_ibcom.h", line 169.39: 1506-1147 (W) The asm constraint "a" is not supported. "src/mpid/ch3/channels/nemesis/netmod/ib/ib_ibcom.h", line 169.49: 1506-1147 (W) The asm constraint "d" is not supported. "src/mpid/ch3/channels/nemesis/netmod/ib/ib_reg_mr.c", line 89.12: 1506-1332 (W) A function with return type "void" may not return a value of type "void". 1500-064: (W) The register name %rax is unknown. 1500-064: (W) The register name %rbx is unknown. 1500-064: (W) The register name %rcx is unknown. 1500-064: (W) The register name %rdx is unknown. #2 "/usr/include/bits/mman.h", line 45.9: 1506-236 (W) Macro name MAP_SHARED has been redefined. "/usr/include/bits/mman.h", line 45.9: 1506-358 (I) "MAP_SHARED" is defined on line 17 of /usr/include/asm-generic/mman-common.h. "/usr/include/bits/mman.h", line 46.9: 1506-236 (W) Macro name MAP_PRIVATE has been redefined. "/usr/include/bits/mman.h", line 46.9: 1506-358 (I) "MAP_PRIVATE" is defined on line 18 of /usr/include/asm-generic/mman-common.h. "/usr/include/bits/mman.h", line 48.10: 1506-236 (W) Macro name MAP_TYPE has been redefined. "/usr/include/bits/mman.h", line 48.10: 1506-358 (I) "MAP_TYPE" is defined on line 19 of /usr/include/asm-generic/mman-common.h. "/usr/include/bits/mman.h", line 52.9: 1506-236 (W) Macro name MAP_FIXED has been redefined. "/usr/include/bits/mman.h", line 52.9: 1506-358 (I) "MAP_FIXED" is defined on line 20 of /usr/include/asm-generic/mman-common.h. "/usr/include/bits/mman.h", line 54.10: 1506-236 (W) Macro name MAP_FILE has been redefined. "/usr/include/bits/mman.h", line 54.10: 1506-358 (I) "MAP_FILE" is defined on line 43 of /usr/include/asm-generic/mman-common.h. "/usr/include/bits/mman.h", line 55.10: 1506-236 (W) Macro name MAP_ANONYMOUS has been redefined. "/usr/include/bits/mman.h", line 55.10: 1506-358 (I) "MAP_ANONYMOUS" is defined on line 21 of /usr/include/asm-generic/mman-common.h. "/usr/include/bits/mman.h", line 61.10: 1506-236 (W) Macro name MAP_GROWSDOWN has been redefined. "/usr/include/bits/mman.h", line 61.10: 1506-358 (I) "MAP_GROWSDOWN" is defined on line 19 of /usr/include/asm/mman.h. "/usr/include/bits/mman.h", line 62.10: 1506-236 (W) Macro name MAP_DENYWRITE has been redefined. "/usr/include/bits/mman.h", line 62.10: 1506-358 (I) "MAP_DENYWRITE" is defined on line 20 of /usr/include/asm/mman.h. "/usr/include/bits/mman.h", line 63.10: 1506-236 (W) Macro name MAP_EXECUTABLE has been redefined. "/usr/include/bits/mman.h", line 63.10: 1506-358 (I) "MAP_EXECUTABLE" is defined on line 21 of /usr/include/asm/mman.h. "/usr/include/bits/mman.h", line 64.10: 1506-236 (W) Macro name MAP_LOCKED has been redefined. "/usr/include/bits/mman.h", line 64.10: 1506-358 (I) "MAP_LOCKED" is defined on line 17 of /usr/include/asm/mman.h. "/usr/include/bits/mman.h", line 65.10: 1506-236 (W) Macro name MAP_NORESERVE has been redefined. "/usr/include/bits/mman.h", line 65.10: 1506-358 (I) "MAP_NORESERVE" is defined on line 16 of /usr/include/asm/mman.h. "/usr/include/bits/mman.h", line 66.10: 1506-236 (W) Macro name MAP_POPULATE has been redefined. "/usr/include/bits/mman.h", line 66.10: 1506-358 (I) "MAP_POPULATE" is defined on line 26 of /usr/include/asm/mman.h. Is the error message related to the warnings observed? Or, I simply should avoid using the nemesis:ib channel? With best regards, Victor. _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Victor Vysotskiy