<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I was just creating the issue on MPICH github when Jeff replied.<br>
<br>
Please use this issue to keep track:<br>
<a class="moz-txt-link-freetext" href="https://github.com/pmodels/mpich/issues/3178">https://github.com/pmodels/mpich/issues/3178</a><br>
<br>
Min<br>
<div class="moz-cite-prefix">On 2018/06/13 15:19, Jeff Hammond
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAGKz=uJH1r4zT6ckrh+PzwAhOWqo-qXUqjLqcM+L5cYjbo7p8g@mail.gmail.com">
<div dir="ltr">
<div>
<div class="gmail_extra">_Static_assert comes from C11.<br>
<br>
src/include/mpir_assert.h does a direct test for C11 support
based upon the GCC version, which is unsafe since ICC (and
other non-GCC compilers) define these macros.</div>
<div class="gmail_extra"><br>
/* GCC 4.6 added support for _Static_assert:<br>
* <a href="http://gcc.gnu.org/gcc-4.6/changes.html" moz-do-not-send="true">http://gcc.gnu.org/gcc-4.6/changes.html</a>
*/<br>
#if (__GNUC__ > 4 || (__GNUC__ == 4 &&
__GNUC_MINOR__ >= 6)) && !defined __cplusplus<br>
#define HAVE_C11__STATIC_ASSERT 1<br>
#endif<br>
<br>
MPICH needs to test for _Static_assert properly using
configure. You should file a GitHub issue to track this.<br>
<br>
Jeff</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jun 13, 2018 at 2:33 PM,
Gus Correa <span dir="ltr"><<a href="mailto:gus@ldeo.columbia.edu" target="_blank" moz-do-not-send="true">gus@ldeo.columbia.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
MPICH experts<br>
<br>
I am trying to build MPICH 3.2.1 with Intel<br>
compilers (icc, ifort).<br>
C++ is disabled.<br>
<br>
The configuration step goes well,<br>
but make fails,<br>
after a lot of stuff is compiled,<br>
with the error below (undefined reference to
`_Static_assert').<br>
<br>
FYI, the OS is Linux Fedora Core 26:<br>
<br>
Linux 4.15.17-200.fc26.x86_64 #1 SMP Thu Apr 12 18:28:26
UTC 2018 x86_64 x86_64 GNU/Linux<br>
<br>
The Intel compiler version is 12.1.6:<br>
ifort (IFORT) 12.1.6 20120928<br>
icc (ICC) 12.1.6 20120928<br>
<br>
The Intel compiler environment is set the standard way<br>
recommended by Intel:<br>
<br>
source /path/to/intel/bin/compilervar<wbr>s.sh intel64<br>
<br>
<br>
Any help is appreciated.<br>
Gus Correa<br>
<br>
****** make errror message
******************************<wbr>*******<br>
make[2]: Entering directory
'/home/sw/mpich/inst/3.2.1/mpi<wbr>ch-3.2.1/build_intel-2011.13.<wbr>367'<br>
CCLD src/env/mpivars<br>
lib/.libs/libmpi.a(lib_libmpi_<wbr>la-ch3_progress.o):
In function `MPIDI_CH3I_Shm_send_progress'<wbr>:<br>
../src/mpid/ch3/channels/nemes<wbr>is/src/ch3_progress.c:(.text+<wbr>0x1ea2):
undefined reference to `_Static_assert'<br>
lib/.libs/libmpi.a(lib_libmpi_<wbr>la-ch3i_eagernoncontig.o):
In function `MPIDI_CH3I_SendNoncontig':<br>
../src/mpid/ch3/channels/nemes<wbr>is/src/ch3i_eagernoncontig.c:(<wbr>.text+0x1d3):
undefined reference to `_Static_assert'<br>
make[2]: *** [Makefile:19701: src/env/mpivars] Error 1<br>
make[2]: Leaving directory
'/home/sw/mpich/inst/3.2.1/mpi<wbr>ch-3.2.1/build_intel-2011.13.<wbr>367'<br>
make[1]: *** [Makefile:38608: all-recursive] Error 1<br>
make[1]: Leaving directory
'/home/sw/mpich/inst/3.2.1/mpi<wbr>ch-3.2.1/build_intel-2011.13.<wbr>367'<br>
make: *** [Makefile:10337: all] Error 2<br>
******************************<wbr>******************************<wbr>*******<br>
<br>
______________________________<wbr>_________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank" moz-do-not-send="true">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.mpich.org/mailma<wbr>n/listinfo/discuss</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br>
<a href="mailto:jeff.science@gmail.com" target="_blank" moz-do-not-send="true">jeff.science@gmail.com</a><br>
<a href="http://jeffhammond.github.io/" target="_blank" moz-do-not-send="true">http://jeffhammond.github.io/</a></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>
</body>
</html>