Hi Brian, On 30/10/14 09:28, Brian Weston wrote:
Hello,
I am trying to install PyOp2 on my Macbook (10.9) and I'm having an issue. In my terminal, I typed:
wget -O - https://github.com/OP2/PyOP2/raw/master/install.sh | sudo bash
and at the end of my install log file:
Hmmm, I'm not sure that we believe the install script will work on MacOS, it's pretty much specific to apt-based Linux systems, so I'm somewhat surprised it got this far. On MacOS, we recommend obtaining a build environment for PyOP2 using homebrew. Can you try following the instructions for install given here: http://firedrakeproject.org/obtaining_pyop2.html#obtaining-a-build-environme... Suggestions as to how to make the different install descriptions clearer very welcome. Unfortunately, this isn't an automated script, however, it's quite a short list. Once you have the build environment you can then install PETSc and petsc4py using pip. With the homebrew setup we describe, you don't need to use sudo with pip. With that out of the way you can then follow the instructions at http://firedrakeproject.org/obtaining_pyop2.html#building-pyop2 To build PyOP2 itself. Cheers, Lawrence