<div dir="ltr"><div dir="ltr">On Thu, Dec 3, 2020 at 3:10 PM Yann Jobic <<a href="mailto:yann.jobic@univ-amu.fr">yann.jobic@univ-amu.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I'm running on a surprising  compilation problem with petsc 14.1 and <br>
14.2 on centos 7.9, with the intel compiler (17 and 18).<br>
<br>
I've got this error on the scotch lib :<br>
<br>
make[2]: Leaving directory <br>
`/home/yjobic/petsc/petsc-3.14.2/intel-mkl-sky/externalpackages/git.ptscotch/src/libscotch'<br>
make[1]: Leaving directory <br>
`/home/yjobic/petsc/petsc-3.14.2/intel-mkl-sky/externalpackages/git.ptscotch/src/libscotch'In <br>
file included from /usr/include/sys/wait.h(30),<br>
                  from common.h(130),<br>
                  from common_string.c(57):<br>
/usr/include/signal.h(156): error: identifier "siginfo_t" is undefined<br>
   extern void psiginfo (const siginfo_t *__pinfo, const char *__s);<br>
<br>
I know it's not a petsc error, but it's mandatory for mumps, and as it's <br>
a well known lib that should be used a lot, maybe someone has <br>
encountered this error.<br>
<br>
I tried intel 17, and intel 18 on centos 7.9<br>
I don't have any problems with the gcc compiler, but i would like to <br>
compile petsc with the intel compiler.<br>
<br>
Just in case, i put the configure.log in attachment.<br></blockquote><div><br></div><div>I found this related thing with Clang: <a href="https://stackoverflow.com/questions/22912674/unknown-type-name-siginfo-t-with-clang-using-posix-c-source-2-why">https://stackoverflow.com/questions/22912674/unknown-type-name-siginfo-t-with-clang-using-posix-c-source-2-why</a></div><div>Can you see if </div><div><br></div><div>  --COPTFLAGS="<span style="background-color:rgb(228,230,232);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap">-D_POSIX_C_SOURCE=199309L"</span></div><div><span style="background-color:rgb(228,230,232);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap"><br></span></div><div><span style="background-color:rgb(228,230,232);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap">fixes this?</span></div><div><span style="background-color:rgb(228,230,232);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap"><br></span></div><div><span style="background-color:rgb(228,230,232);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap">  Thanks,</span></div><div><span style="background-color:rgb(228,230,232);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap"><br></span></div><div><span style="background-color:rgb(228,230,232);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap">     Matt</span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks,<br>
<br>
Regards,<br>
<br>
Yann<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>