[petsc-users] osx configuration error

Satish Balay balay at mcs.anl.gov
Tue Jan 12 18:31:49 CST 2016

> 'file' object has no attribute 'getvalue'  File "/Users/markadams/Codes/petsc/config/configure.py", line 363, in petsc_configure

Hm - have to figure this one out - but the primary issue is:

> stderr:
> gfortran: warning: couldn't understand kern.osversion '15.2.0
> ld: -rpath can only be used when targeting Mac OS X 10.5 or later

Perhaps you've updated xcode or OSX - but did not reinstall brew/gfortran.

> Executing: mpif90 --version
> stdout:
> GNU Fortran (Homebrew gcc 4.9.1) 4.9.1

I suggest uninstalling/reinstalling homebrew packages.


On Tue, 12 Jan 2016, Mark Adams wrote:

> I did nuke the arch directory.  This has worked in the past and don't know
> what I might have changed.  it's been awhile since I've reconfigured.
> Thanks,
> Mark

More information about the petsc-users mailing list