[petsc-dev] C++11, compatibility versus simplicity

Satish Balay balay at mcs.anl.gov
Tue Oct 8 16:38:31 CDT 2013


On Tue, 8 Oct 2013, Jed Brown wrote:

> Satish Balay <balay at mcs.anl.gov> writes:
> > configure appears to test for <random> and this is failing on OSX with
> > clang-3.2. Is this supporsed to work?
> >
> > balay at petsc-mini petsc.test (next)]$ clang++ -v
> > Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
> > Target: x86_64-apple-darwin12.4.0
> > Thread model: posix
> 
> Looks like this old version doesn't support -std=c++11 or -std=c++0x, so
> you may need to upgrade Clang to use Elemental.

perhaps xcode 5 supports it. For now I've disabled elemental in
nightly tests on machines without a suitable compiler.

Satish



More information about the petsc-dev mailing list