[petsc-dev] SuperLU link error on BGP FEN

Jed Brown jed at 59A2.org
Thu Dec 30 20:01:30 CST 2010


On Thu, Dec 23, 2010 at 09:18, Satish Balay <balay at mcs.anl.gov> wrote:

> petsc configure will now download superlu/superlu_dist directly from
> this location as we won't have any more local patches..
>

We need one more patch (attached) to compile with Clang.  This only fixes
the fatal errors, none of the calls to these functions check the return
value so maybe they should just return void.

Additionally, there are lots of functions returning non-void but lacking a
return statement.  This is not valid C, but Clang (and other compilers,
evidently) happen to only issue warnings for these violations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101230/1bf60d77/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-non-void-function-cannot-return-without-a-value.patch
Type: text/x-patch
Size: 1764 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101230/1bf60d77/attachment.bin>


More information about the petsc-dev mailing list