On 11/11/14 11:33 AM, Mark Adams wrote:


On Tue, Nov 11, 2014 at 12:27 PM, Satish Balay <ba...@mcs.anl.gov
<mailto:ba...@mcs.anl.gov>> wrote:

    On Tue, 11 Nov 2014, Mark Adams wrote:

    > On Tue, Nov 11, 2014 at 11:56 AM, Satish Balay <ba...@mcs.anl.gov 
<mailto:ba...@mcs.anl.gov>> wrote:
    >
    > > On Tue, 11 Nov 2014, Mark Adams wrote:
    > >
    > > > BTW, valgrind works on my Mac now after switching to HomeBrew.  
v10.9.5.


I've been using it via Mac Ports with v10.9.5. It started working maybe a couple of months ago. I used the defaults, no special compiler settings.

Emil

    > > Switching what to homebrew? valgrind from homebrew - or compilers from
    > > homebrew?
    > >
    > >
    > Everything is HomeBrew as far as I can tell ...

    Well unless you are using homebrew compilers explicitly [i.e
    --with-cc=gcc-4.9] you are using Xcode compilers. [i.e /usr/bin/gcc -
    which is an alias to clang]


12:29 tisaac/dmforest
~/Codes/petsc/src/dm/impls/forest/examples/tutorials$ which mpicc
/Users/markadams/homebrew/bin/mpicc
12:29 tisaac/dmforest
~/Codes/petsc/src/dm/impls/forest/examples/tutorials$ mpicc --version
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0

    > > Anyway - presumably valgrind doesn't work on 10.10 - which is the
    > > latest OSX - hence comments in that commit are still appropriate..
    > >
    > >
    > Yea, I'm a bit afraid of upgrading for that reason.  I could test that
    > today.  I really hate to switch my dev environment so I'm interested in
    > keeping OSX alive.
    >
    > Is PETSc working on 10.10? I've seen some emails but assume everything is
    > fixed in master.

    Yes - both maint and master should work.

    [as discussed - valgrind might not work. And 10.9 and 10.10 presumably
    use the same version of xcode. And we can confirm gfortran from
    homebrew works on 10.10]

    However the decision to upgrade to 10.10 (or not) shouldn't depend on
    petsc requirements.


I only use valgrind for PETSc code and I would like to see if I'm
alive.  And I have to upgrade at some point.

Thanks,
Mark


    Satish


Reply via email to