[petsc-dev] SuperLU build error

Garth N. Wells gnw20 at cam.ac.uk
Fri Dec 18 10:23:42 CST 2015


On 18 December 2015 at 16:10, Jeff Hammond <jeff.science at gmail.com> wrote:

> Are you intentionally turning printf security warnings into errors for an
> HPC code or is that the default setting for PETSc? Or perhaps GCC enables
> that by default now?
>
>
It's the default with the Ubuntu MPICH package.

Garth


> Jeff
>
>
> On Thursday, December 17, 2015, Garth N. Wells <gnw20 at cam.ac.uk> wrote:
>
>> I've reported before that SuperLU has a bug that causes compile failures:
>>
>>   util.c:32:18: error: format not a string literal and no format
>> arguments [-Werror=format-security]
>>        fprintf(stderr, msg);
>>
>> I usually fix this by hand, but the way PETSc since very recently resets
>> user changes in cloned external packages is overwriting the change I make.
>>
>> There is a similar bug in SuperLU_dist that I also fix by hand.
>>
>> Garth
>>
>
>
> --
> Jeff Hammond
> jeff.science at gmail.com
> http://jeffhammond.github.io/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151218/57969bfd/attachment.html>


More information about the petsc-dev mailing list