[petsc-dev] Enabling single precision for MUMPS and SUPERLU
Stefano Zampini
stefano.zampini at gmail.com
Fri Sep 21 09:41:31 CDT 2012
Sorry. I forgot the attachment
2012/9/21 Stefano Zampini <stefano.zampini at gmail.com>
> Yesterday it was the first time I try to build a single-precision version
> of PETSc with some external packages.
> I noticed that SuperLU and MUMPS, which are currently fully compiled (i.e.
> with scalar types s,d,c and z) by the configure, cannot be used when
> requiring single precision at configure time. So I decided to wrote a patch
> to enable their use when PETSC_USE_REAL_SINGLE is defined.
>
> Attached please find a patch. Is there any reason for which you did not
> already provide this functionality?
> I tested the patch on BlueGene/Q and it works for scalar types real.
> Currently, I don't have a complex version of PETSc installed. Can someone
> test it?
>
> I also noticed that UMFPACK (which itself does not have support for single
> precision), is accepted by the configure by requiring
> --with-precision=single --download-umfpack=1. Is it normal? It breaks the
> final linking of the executables.
>
> --
> Stefano
>
--
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120921/a72cc823/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_mumps_superlu_single.diff
Type: application/octet-stream
Size: 20346 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120921/a72cc823/attachment.obj>
More information about the petsc-dev
mailing list