On Fri, Nov 2, 2018 at 1:20 PM Lawrence Mitchell <wence@gmx.li> wrote:
On 2 Nov 2018, at 17:16, Matthew Knepley <knepley@gmail.com> wrote:
I went on to
cd src/h5py pip install .
and it that worked
(firedrake) :/PETSc3/fem/firedrake$ pushd src/h5py/ /PETSc3/fem/firedrake/src/h5py /PETSc3/fem/firedrake /PETSc3/fem (firedrake) firedrake:/PETSc3/fem/firedrake/src/h5py$ pip install . Processing /PETSc3/fem/firedrake/src/h5py Requirement already satisfied: numpy>=1.7 in /PETSc3/fem/firedrake/lib/python3.6/site-packages (from h5py==2.8.0.post0) (1.15.3) Requirement already satisfied: six in /PETSc3/fem/firedrake/lib/python3.6/site-packages (from h5py==2.8.0.post0) (1.11.0) Installing collected packages: h5py Found existing installation: h5py 2.8.0 Uninstalling h5py-2.8.0: Successfully uninstalled h5py-2.8.0 Running setup.py install for h5py ... done Successfully installed h5py-2.8.0.post0
Great!
How do I restart the whole Firedrake now?
This is unsupported, but I think it should work:
$ cp firedrake-install firedrake/bin/firedrake-update $ chmod u+x firedrake/bin/firedrake-update $ . firedrake/bin/activate $ rm -rf firedrake/src/libspatialindex $ firedrake-update
I get (firedrake) :/PETSc3/fem$ cp firedrake-install firedrake/bin/firedrake-update (firedrake) :/PETSc3/fem$ chmod u+x firedrake/bin/firedrake-update (firedrake) :/PETSc3/fem$ rm -rf firedrake/src/libspatialindex (firedrake) :/PETSc3/fem$ firedrake-update Running /PETSc3/fem/firedrake/bin/firedrake-update Traceback (most recent call last): File "/PETSc3/fem/firedrake/bin/firedrake-update", line 277, in <module> import firedrake_configuration ModuleNotFoundError: No module named 'firedrake_configuration' Thanks, Matt Cheers,
Lawrence
-- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>