Re: [Libmesh-users] problem compiling on MacOS mavericks

2014-09-12 Thread John Peterson
On Fri, Sep 12, 2014 at 4:23 AM, Eduardo Hernandez wrote: > > This line of code has been in the library forever and never given us > any trouble, but now that I look at it closely I'm not sure you are > allowed to compare two streams for equality like this. Can you try > changing that line of cod

Re: [Libmesh-users] problem compiling on MacOS mavericks

2014-09-12 Thread Eduardo Hernandez
> This line of code has been in the library forever and never given us > any trouble, but now that I look at it closely I'm not sure you are > allowed to compare two streams for equality like this. Can you try > changing that line of code to: > > if (os.rdbuf() == std::cout.rdbuf()) > > instead,

Re: [Libmesh-users] problem compiling on MacOS mavericks

2014-09-11 Thread John Peterson
On Thu, Sep 11, 2014 at 8:57 AM, Eduardo Hernandez wrote: > > > Hello John, > > Thank you for your speedy response. I did as you suggested and downloaded the > latest development version; sadly it still fails at the make stage, but this > time with a different error, still apparently related to

Re: [Libmesh-users] problem compiling on MacOS mavericks

2014-09-11 Thread John Peterson
On Thu, Sep 11, 2014 at 7:22 AM, Jed Brown wrote: > John Peterson writes: > > > Hmmm I haven't tried PETSc 3.5.2 yet (3.5.1 should work with libmesh). > Maybe they changed the PCSetOperators API? > > No, subminor releases maintain source and binary compatibility. > They do nowadays, anyway ;-

Re: [Libmesh-users] problem compiling on MacOS mavericks

2014-09-11 Thread John Peterson
What version of libmesh are you using? Try grabbing the latest from github, 0.9.3 is really old. > On Sep 11, 2014, at 4:38 AM, Eduardo Hernandez > wrote: > > > Hello, > > I am struggling with the installation of libmesh on a mac running mavericks > with clang/clang++. I successfully inst

Re: [Libmesh-users] problem compiling on MacOS mavericks

2014-09-11 Thread John Peterson
Hmmm I haven't tried PETSc 3.5.2 yet (3.5.1 should work with libmesh).Maybe they changed the PCSetOperators API? As for VTK, there should be more information in config.log as to why it failed... Could be a linking problem. > On Sep 11, 2014, at 4:38 AM, Eduardo Hernandez > wrote: > > >

[Libmesh-users] problem compiling on MacOS mavericks

2014-09-11 Thread Eduardo Hernandez
Hello, I am struggling with the installation of libmesh on a mac running mavericks with clang/clang++. I successfully installed PETSc 3.5.2 and SLEPc 3.5.1. I also installed open-mpi and vtk 5.10.1 (these last two via homebrew, and mpi as a pre-requisite to PETSc and SLEPc). My configure opti