[petsc-users] one compilation error in PETSc-dev with enabling GPU and complex number

Jed Brown jedbrown at mcs.anl.gov
Tue Feb 7 15:34:34 CST 2012


On Tue, Feb 7, 2012 at 23:18, Barry Smith <bsmith at mcs.anl.gov> wrote:

> I have not tried complex quad precision. If you are right than it may not
> be possible right out of the box with std:complex.    We are not in
>  position to provide a proper complex class for this case (for the same
> reasons I listed before) so if someone wants PETSc with complex quad they
> may have their work cut out for them.


It's spelled __complex128.
http://gcc.gnu.org/onlinedocs/gcc-4.6.2/libquadmath.pdf

Perhaps it's a shame they didn't use C99 complex __float128, but such is
life.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/3f2dba2a/attachment.htm>


More information about the petsc-users mailing list