<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><span style="font-size:13px">Thanks Rob, here is the specific part from my mpl config, almost looks like your config:</span><div style="font-size:13px"><br></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13058: checking for strncmp</span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13058: icc -std=gnu99 -o conftest       conftest.c  >&5</span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13058: $? = 0</span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13058: result: yes</span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13070: checking whether strncmp needs a declaration</span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13089: icc -std=gnu99 -c      conftest.c >&5</span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13089: $? = 0</span></div><div style="font-size:13px"><span style="background-color:rgb(255,255,0)">configure:13097: result: no</span></div><div style="font-size:13px"><br></div><div style="font-size:13px">I get build errors even with GCC 4.9 and clang with older versions of mpich, so this is definitely a system issue as you mentioned.</div><div style="font-size:13px"><br></div><div style="font-size:13px"><div><span style="background-color:rgb(255,255,0)">sg@sg:~/sources/mpich-3.1.4/build$ cat /etc/debian_version </span></div><div><span style="background-color:rgb(255,255,0)">8.2</span></div><div><span style="background-color:rgb(255,255,0)">sg@sg:~/sources/mpich-3.1.4/build$ uname -a</span></div><div><span style="background-color:rgb(255,255,0)">Linux sg 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux</span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 7:39 AM, Rob Latham <span dir="ltr"><<a href="mailto:robl@mcs.anl.gov" target="_blank">robl@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The warnings are intel's preprocessor being a bit pickier than gnu's cpp<br>
<br>
the errors, though, are indeed odd.<br>
I will eat my sock if strncmp really truly is not on your system; far more likely the strncmp test failed for some unrelated reason.<br>
<br>
Look at your src/mpl/config.log.  On my system, the (successful) check for strncmp looks like this:<br>
<br>
configure:12723: checking for strncmp<br>
configure:12723: ccache gcc -o conftest -Wall -g -Wno-unused-label -fstack-usage -fPIC -ggdb3   -I /home/robl/work/soft/lustre/include conftest.c  >&5<br>
conftest.c:65:6: warning: conflicting types for built-in function 'strncmp'<br>
 char strncmp ();<br>
      ^<br>
configure:12723: $? = 0<br>
configure:12723: result: yes<br>
configure:12734: checking whether strncmp needs a declaration<br>
configure:12752: ccache gcc -c -Wall -g -Wno-unused-label -fstack-usage -fPIC -ggdb3   -I /home/robl/work/soft/lustre/include  conftest.c >&5<br>
configure:12752: $? = 0<br>
configure:12759: result: no<br>
<br>
Does yours look like this?<br>
<br>
==rob<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
I am getting an error while trying to compile the latest mpich (from the<br>
git repo) with Intel 15.0.1 compiler...excerpt of the error:<br>
<br>
In file included from ../../.././src/mpl/include/mpl.h(10),<br>
                  from ../../.././src/mpl/src/mplstr.c(7):<br>
./include/mplconfig.h(238): warning #14: extra text after expected end<br>
of preprocessing directive<br>
   #ifndef _mpl_                 ^<br>
<br>
In file included from ../../.././src/mpl/include/mpl.h(10),<br>
                  from ../../.././src/mpl/src/mplstr.c(7):<br>
./include/mplconfig.h(239): warning #2217: white space is required<br>
between the macro name "_mpl_" and its replacement text<br>
   #define _mpl_                   ^<br>
<br>
In file included from ../../.././src/mpl/include/mpl.h(111),<br>
                  from ../../.././src/mpl/src/mplstr.c(7):<br>
../../.././src/mpl/include/mplstr.h(48): error: #error directive:<br>
"strncmp is required"<br>
   #error "strncmp is required"<br>
    ^<br>
<br>
../../.././src/mpl/src/mplstr.c(41): warning #266: function "isdigit"<br>
declared implicitly<br>
               if (isdigit(nc)) {<br>
                   ^<br>
<br>
Internal error: null pointer<br>
<br>
<br>
Please suggest.<br>
<br>
--<br>
Regards,<br>
Sayan<br>
<br>
<br></div></div>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">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">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Rob Latham<br>
Mathematics and Computer Science Division<br>
Argonne National Lab, IL USA<br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">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">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,</div>Sayan<br></div></div>
</div>