[petsc-users] osx configuration error

Matthew Knepley knepley at gmail.com
Wed Jan 13 04:15:53 CST 2016


On Tue, Jan 12, 2016 at 6:31 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> > '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
>

I get this. The remedy I use is to put

  MACOSX_DEPLOYMENT_TARGET=10.5

in the environment. Its annoying, and quintessentially Mac.

  Matt


> 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.
>
> Satish
>
>
>
> 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
> >
>
>


-- 
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-users/attachments/20160113/d9b0d2cc/attachment.html>


More information about the petsc-users mailing list