Thanks Lawrence.
> I tried. But all four versions work for me.
> ...
> If you built your own PETSc, can you say what commit you used?
I was indeed using my own petsc. It was 3.8.4.
When I reinstalled firedrake using "unset PYTHONPATH" and "unset PETSC_DIR" before running the firedrake-install script ... I think this is the right way to get firedrake to install its own PETSC ... then all four version worked.
(firedrake) ~/repos/mccarthy/stokes[master*]$ ./linflowstep.py -version
--------------------------------------------------------------------------
Petsc Development GIT revision: v3.4.2-20859-g7bfdb6492c GIT Date: 2018-04-03 16:04:52 -0500
The PETSc Team
See docs/changes/index.html for recent updates.
See docs/faq.html for problems.
See docs/manualpages/index.html for help.
Libraries linked from /home/ed/firedrake/lib/python3.6/site-packages/petsc/lib
--------------------------------------------------------------------------
effective viscosity 1.46e+12 Pa s
reading mesh from glacier.msh ...
...
> Can you post the output of:
> firedrake-status?
Both with the reinstalled firedrake, and the old, it crashes; here is the reinstalled case:
(firedrake) ~/repos/mccarthy/stokes[master*]$ source ~/firedrake/bin/firedrake-status
__requires__: command not found
bash: /home/ed/firedrake/bin/firedrake-status: line 4: syntax error near unexpected token `'pkg_resources''
bash: /home/ed/firedrake/bin/firedrake-status: line 4: `__import__('pkg_resources').require('firedrake==0.13.0+2004.gc8a194d9')'
Thanks for your help!
Ed