[petsc-dev] PETSc on OS X 10.8.x with Apple clang

Satish Balay balay at mcs.anl.gov
Wed Oct 9 11:17:11 CDT 2013


The nightlybuilds on OSX are primarily with gcc. We don't have a build
with clang.

I have Xcode 4.6 on OSX 10.8. I just attempted a build with clang and see errors.

Perhaps Barry/Srhi who use OSX know more about Xcode5/clang issues.

Attaching my make.log

Using configure Options: CC=clang CXX=clang++ FC=gfortran --download-mpich=1

[balay at petsc-mini petsc.test (next)]$ sw_vers 
ProductName:      Mac OS X
ProductVersion:   10.8.4
BuildVersion:     12E55
[balay at petsc-mini petsc.test (next)]$ xcodebuild -version
Xcode 4.6.2
Build version 4H1003
[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
[balay at petsc-mini petsc.test (next)]$ 

Satish

On Wed, 9 Oct 2013, Lisandro Dalcin wrote:

> Satish, I have problems to build PETSc with Apple's clang on OS X
> 10.8.5. Configure goes fine, then while building the compiler crashes
> bad at parsing the MPI_Xxx macros that log MPI calls (at petsclog.h).
> clang on Linux works just fine, but this Apple version crashes.
> 
> Can you tell me what OS X and clang versions are you testing PETSc on?
> 
> Here is my info (OS X 10.8.5, had same issues with previous 10.8.x):
> 
> $ uname -a
> Darwin macarena 12.5.0 Darwin Kernel Version 12.5.0: Mon Jul 29
> 16:33:49 PDT 2013; root:xnu-2050.48.11~1/RELEASE_X86_64 x86_64
> 
> $ cc --version
> Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin12.5.0
> Thread model: posix
> 
> $ c++ --version
> Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin12.5.0
> Thread model: posix
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131009/4e0ec2ec/attachment.ksh>


More information about the petsc-dev mailing list