[petsc-users] PETSC installation on Cray

Matthew Knepley knepley at gmail.com
Tue Mar 2 07:13:43 CST 2021


On Tue, Mar 2, 2021 at 7:49 AM Enrico <degregori at dkrz.de> wrote:

> Hi,
>
> I'm having some problems installing PETSC with Cray compiler.
> I use this configuration:
>
> ./configure --with-cc=cc --with-cxx=CC --with-fc=0 --with-debugging=1
> --with-shared-libraries=1 COPTFLAGS=-O0 CXXOPTFLAGS=-O0
>
> and when I do
>
> make all
>
> I get the following error because of cmathcalls.h:
>
> CC-1043 craycc: ERROR File = /usr/include/bits/cmathcalls.h, Line = 55
>    _Complex can only be used with floating-point types.
>    __MATHCALL (cacos, (_Mdouble_complex_ __z));
>    ^
>
> Am I doing something wrong?
>

This was expended from somewhere. Can you show the entire err log?

  Thanks,

     Matt


> Regards,
> Enrico Degregori
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210302/3778e3db/attachment.html>


More information about the petsc-users mailing list