[petsc-dev] defaulting gnu compilers on Apple

Matthew Knepley knepley at gmail.com
Wed Oct 30 13:57:45 CDT 2013


On Wed, Oct 30, 2013 at 1:53 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> On Oct 30, 2013, at 1:39 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
> > Barry Smith <bsmith at mcs.anl.gov> writes:
> >>     I think ./configure still defaults to using gcc/g++ on Apple if
> >>     just run. Can you please change this in petsc-dev to default to
> >>     the clang compilers clang and clang++
> >
> > It doesn't seem to matter because Apple now considers "gcc" to be a
> > spelling of Clang…
>
>    That I do not think is completely the case. Yes it uses “a variant” of
> clang for gcc but it is NOT EXACTLY the same as calling the clang compiler
> directly.


Barry is right because 'gcc' does not do OpenCL, but 'clang' does.

  Matt


>
>    Barry
>
>
>


-- 
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/20131030/38132e2b/attachment.html>


More information about the petsc-dev mailing list