Hi Felix, I confirm I can reproduce the bug. I'm going to try the straightforward fix of telling petsc4py it is allowed to use petsc 3.6. Stay tuned... David On 8 January 2015 at 19:14, de Souza, Felix <felix.de-souza11@imperial.ac.uk
wrote:
Hello and happy new year all!
For about a week and half or so (not for the entire time), I've been trying to install PETSc along with petsc4py, so I could get PyOP2 passing tests. I'm on a Mac running OS X 10.10 (Yosemite).
Initially, whenever running `make test' within the PyOP2 directory, it was reporting a weird thing of wanting to load shared libraries from the temporary location in which pip installed PETSc, (wanted to load hwloc or something). Someone pointed out to me that it was non-essential to have hwloc, so I installed it without. But tests just wouldn't run, some dependency issue or mismatch or versions.
So I scrapped it and started again a few days later, however the version of PETSc installed via the command:
pip install https://bitbucket.org/mapdes/petsc/get/firedrake.tar.bz2
was `petsc-3.6.dev0', and with the version of petsc4py that is installed (attempted to) by the command:
pip install git+https://bitbucket.org/mapdes/petsc4py.git@firedrake#egg=petsc4py
I get a dependency mismatch: Could not find any downloads that satisfy the requirement petsc<3.6,>=3.5 (from petsc4py) Some externally hosted files were ignored as access to them may be unreliable (use --allow-external petsc to allow). No distributions at all found for petsc<3.6,>=3.5 (from petsc4py)
How can I get versions of PETSc and petsc4py that are compatible with each other and PyOP2, firedrake etc.
Hopefully with this out of the way, PyOP2 tests will pass. If not I'll be back here again :(
Thanks,
Felix
-- Dr David Ham Departments of Mathematics and Computing Imperial College London http://www.imperial.ac.uk/people/david.ham