<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hi Victor,<br>
<br>
Most likely your hardware or compiler does not support <span id="summary_alias_container"><span id="short_desc_nonedit_display">atomic memory access</span></span>.
Unfortunately, our IB netmod uses these builtin functions. If you
have Mellanox InfiniBand, you can give a try to the MXM netmod.<br>
<br>
Best,<br>
Antonio<br>
<br>
<br>
On 01/23/2015 05:04 AM, Victor Vysotskiy wrote:<br>
</div>
<blockquote cite="mid:8D58A4B5E6148C419C6AD6334962375DDD9BDAB6@UWMBX04.uw.lu.se" type="cite">
<style type="text/css" id="owaParaStyle"></style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000;
font-size:10pt">
<div style="direction:ltr; font-family:Tahoma; color:#000000;
font-size:10pt">
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment">
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">Hi, </p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">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:</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">lib/.libs/libmpi.a(lib_libmpi_la-ib_poll.o):
In function `MPID_nem_ib_drain_scq':</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x5bc4):
undefined reference to `__builtin_ctz'</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x5e90):
undefined reference to `__builtin_ctz'</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">lib/.libs/libmpi.a(lib_libmpi_la-ib_poll.o):
In function `MPID_nem_ib_cm_drain_scq$AF227_75':</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x7d7c):
undefined reference to `__builtin_ctz'</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x7e14):
undefined reference to `__builtin_ctz'</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">src/mpid/ch3/channels/nemesis/netmod/ib/ib_poll.c:(.text+0x8040):
undefined reference to `__builtin_ctz'</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">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</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">For the configure's
options used please check the attached
'config.power7.linux.log' file.</p>
<div> </div>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">In addition, the
IBM compiler produces few warnings:</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">#1 </p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"src/mpid/ch3/channels/nemesis/netmod/ib/ib_ibcom.h",
line 169.39: 1506-1147 (W) The asm constraint "a" is
not supported.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"src/mpid/ch3/channels/nemesis/netmod/ib/ib_ibcom.h",
line 169.49: 1506-1147 (W) The asm constraint "d" is
not supported.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"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".</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"> 1500-064: (W)
The register name %rax is unknown.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"> 1500-064: (W)
The register name %rbx is unknown.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"> 1500-064: (W)
The register name %rcx is unknown.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"> 1500-064: (W)
The register name %rdx is unknown.</p>
<div><br>
</div>
<div>#2</div>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 45.9: 1506-236 (W) Macro name MAP_SHARED has been
redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/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.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 46.9: 1506-236 (W) Macro name MAP_PRIVATE has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/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.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 48.10: 1506-236 (W) Macro name MAP_TYPE has been
redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/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.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 52.9: 1506-236 (W) Macro name MAP_FIXED has been
redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/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.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 54.10: 1506-236 (W) Macro name MAP_FILE has been
redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/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.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 55.10: 1506-236 (W) Macro name MAP_ANONYMOUS has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/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.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 61.10: 1506-236 (W) Macro name MAP_GROWSDOWN has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 61.10: 1506-358 (I) "MAP_GROWSDOWN" is defined on
line 19 of /usr/include/asm/mman.h.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 62.10: 1506-236 (W) Macro name MAP_DENYWRITE has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 62.10: 1506-358 (I) "MAP_DENYWRITE" is defined on
line 20 of /usr/include/asm/mman.h.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 63.10: 1506-236 (W) Macro name MAP_EXECUTABLE has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 63.10: 1506-358 (I) "MAP_EXECUTABLE" is defined
on line 21 of /usr/include/asm/mman.h.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 64.10: 1506-236 (W) Macro name MAP_LOCKED has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 64.10: 1506-358 (I) "MAP_LOCKED" is defined on
line 17 of /usr/include/asm/mman.h.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 65.10: 1506-236 (W) Macro name MAP_NORESERVE has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 65.10: 1506-358 (I) "MAP_NORESERVE" is defined on
line 16 of /usr/include/asm/mman.h.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 66.10: 1506-236 (W) Macro name MAP_POPULATE has
been redefined.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">"/usr/include/bits/mman.h",
line 66.10: 1506-358 (I) "MAP_POPULATE" is defined on
line 26 of /usr/include/asm/mman.h.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">Is the error
message related to the warnings observed? Or, I simply
should avoid using the nemesis:ib channel? </p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">With best regards, </p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo">Victor.</p>
<p style="margin-right:0px; margin-left:0px;
font-size:11px; font-family:Menlo"><br>
</p>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Antonio J. Peña
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
<a class="moz-txt-link-abbreviated" href="mailto:apenya@mcs.anl.gov">apenya@mcs.anl.gov</a>
<a class="moz-txt-link-abbreviated" href="http://www.mcs.anl.gov/~apenya">www.mcs.anl.gov/~apenya</a></pre>
</body>
</html>