<div dir="ltr"><div dir="ltr">On Tue, Mar 2, 2021 at 7:49 AM Enrico <<a href="mailto:degregori@dkrz.de">degregori@dkrz.de</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,<br>
<br>
I'm having some problems installing PETSC with Cray compiler.<br>
I use this configuration:<br>
<br>
./configure --with-cc=cc --with-cxx=CC --with-fc=0 --with-debugging=1 <br>
--with-shared-libraries=1 COPTFLAGS=-O0 CXXOPTFLAGS=-O0<br>
<br>
and when I do<br>
<br>
make all<br>
<br>
I get the following error because of cmathcalls.h:<br>
<br>
CC-1043 craycc: ERROR File = /usr/include/bits/cmathcalls.h, Line = 55<br>
_Complex can only be used with floating-point types.<br>
__MATHCALL (cacos, (_Mdouble_complex_ __z));<br>
^<br>
<br>
Am I doing something wrong?<br></blockquote><div><br></div><div>This was expended from somewhere. Can you show the entire err log?</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</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">
Regards,<br>
Enrico Degregori<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>