[petsc-users] csqrt

Jed Brown jedbrown at mcs.anl.gov
Fri Mar 1 06:27:01 CST 2013


On Thu, Feb 28, 2013 at 5:08 PM, Hui Zhang <mike.hui.zhang at hotmail.com>wrote:

> >>   If you are using PETSc with complex numbers you might consider
> changing the cluster software.
> >
> > presumably csqrt() is c99 - so c++ std:sqrt() is perhaps ok ok? [so one
> could use --with-clanguage=cxx]
>
> Unfortunately, this does not work. Thanks any way!
>

You can install a functional libc as a user. PETSc is not in the business
of implementing basic arithmetic for people that don't want to upgrade
decade-old software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130301/c43ccf43/attachment.html>


More information about the petsc-users mailing list