Re: [petsc-users] Can not configure PETSc-master with clang-3.9

2017-10-16 Thread Satish Balay
Ok - this is not clang from apple. So I guess it needs that extra 'xcode-select --install' I don't think gcc from brew needed this. [And I don't remember if I checked clang from brew] Satish On Mon, 16 Oct 2017, Kong, Fande wrote: > On Mon, Oct 16, 2017 at 12:07 PM, Satish Balay

Re: [petsc-users] Can not configure PETSc-master with clang-3.9

2017-10-16 Thread Kong, Fande
On Mon, Oct 16, 2017 at 12:07 PM, Satish Balay wrote: > BTW: Which clang are you using? > > mpicc -show > mpicc -show clang -Wl,-commons,use_dylibs -I/opt/moose/mpich/mpich-3.2/clang-opt/include -L/opt/moose/mpich/mpich-3.2/clang-opt/lib -lmpi -lpmpi > mpicc --version >

Re: [petsc-users] Can not configure PETSc-master with clang-3.9

2017-10-16 Thread Satish Balay
BTW: Which clang are you using? mpicc -show mpicc --version Satish On Mon, 16 Oct 2017, Satish Balay wrote: > Thats weird. > > From what I can recall - some tools (like pgi compilers) need this - > but the xcode compilers do not. > > Basically xcode clang can pick up includes from the xcode

Re: [petsc-users] Can not configure PETSc-master with clang-3.9

2017-10-16 Thread Kong, Fande
Now it is working. It turns out I need to do something like "xcode-select --install" after upgrading OS, and of course we need to agree the license. Fande, On Mon, Oct 16, 2017 at 10:58 AM, Richard Tran Mills wrote: > Fande, > > Did you remember to agree to the XCode license

Re: [petsc-users] Can not configure PETSc-master with clang-3.9

2017-10-16 Thread Richard Tran Mills
Fande, Did you remember to agree to the XCode license after your upgrade, if you did an XCode upgrade? You have to do the license agreement again, otherwise the compilers don't work at all. Apologies if this seems like a silly thing to ask, but this has caused me a few minutes of confusion

Re: [petsc-users] Can not configure PETSc-master with clang-3.9

2017-10-16 Thread Jed Brown
"Kong, Fande" writes: > Hi All, > > I just upgraded MAC OS, and also updated all other related packages. Now > I can not configure PETSc-master any more. Your compiler paths are broken.

Re: [petsc-users] Can not configure PETSc-master with clang-3.9

2017-10-16 Thread Matthew Knepley
On Mon, Oct 16, 2017 at 12:07 PM, Kong, Fande wrote: > Hi All, > > I just upgraded MAC OS, and also updated all other related packages. Now > I can not configure PETSc-master any more. > > See the attachment for more details. > Something is really wrong with your compilers