[petsc-dev] Clang configure

Matthew Knepley knepley at gmail.com
Thu Oct 1 11:59:14 CDT 2015


On Thu, Oct 1, 2015 at 11:55 AM, Satish Balay <balay at mcs.anl.gov> wrote:

> 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
>

master *:~$ clang --version
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
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?


That is probably the best place.

   Matt


>
> 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
> >
> >
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151001/8542a6f8/attachment.html>


More information about the petsc-dev mailing list