[petsc-dev] Clang configure

Satish Balay balay at mcs.anl.gov
Thu Oct 1 11:55:11 CDT 2015


Which clang? log?

I don't see this problem with:

$ clang --version
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix

However - I do get a bunch of plex warnings though. Attaching make.log

If -Qunused-arguments is required - perhaps it can go into the defaults in compilerOptions.py?

Satish

On Thu, 1 Oct 2015, Matthew Knepley wrote:

> Everything now flat-out fails for me using Clang unless I give
> 
>    -Qunused-arguments
> 
> This is because -fPIC is unrecognized, and this is because Clang
> puts a warning message out on stderr that says some include directory
> was not used.
> 
> Where does this gets fixed? Do we start filtering stderr, which is
> problematic,
> or do we try to detect this particular failure and give a good error
> message?
> 
>    Matt
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151001/84805bd5/attachment.ksh>


More information about the petsc-dev mailing list