[petsc-users] Petsc Installation error in OS X

Satish Balay balay at mcs.anl.gov
Wed Mar 30 22:20:55 CDT 2016


Another alternative might be to use brew gcc

./configure CC=gcc-5 CXX=g++-5 FC=gfortran .....

Satish

On Wed, 30 Mar 2016, Satish Balay wrote:

> >>>>>
> ld: section __DATA/__thread_bss extends beyond end of file, file 'CMakeFiles/metis.dir/__/GKlib/error.c.o' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> <<<<<<
> 
> We suspect its xcode 7.3 bug. You can workarround with the following
> patch to metis
> https://bitbucket.org/petsc/pkg-metis/commits/c27a7c30921dc587ae07286774ea2735ad21bb80
> 
> BTW: We recommend upgrading to using currently supported release [3.6]  if possible.
> 
> Satish
> 
> 
> On Wed, 30 Mar 2016, Cindy Chen wrote:
> 
> > Hi,
> > 
> > I try to install PETSc-3.5.4 in my macbook (version 10.11.3) but failed.
> > 
> > Best,
> > Xiaocui
> > 
> 
> 



More information about the petsc-users mailing list