Installation Error on WSL #4066
Unanswered
calvin-reedy
asked this question in
Firedrake support
Replies: 1 comment
-
Hi @calvin-reedy, sorry for taking so long to get back to you. This error looks a bit like you are using a petsc4py linked against an older version of PETSc. Running
should confirm this (I may have gotten the path wrong slightly). The fix would then I think be to run
However, I do not actually recommend that you do this. We are deprecating |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I've been trying to install Firedrake on WSL and even after running the update script, when I activate the virtual environment and run the "make check" command for the unit tests as suggested in the installation instructions, I get the following output:
ImportError while loading conftest '/home/calvinreedy/firedrake/src/firedrake/tests/firedrake/conftest.py'.
tests/firedrake/conftest.py:4: in
from firedrake.petsc import PETSc, get_external_packages
firedrake/init.py:20: in
petsc4py.init(sys.argv)
../../lib/python3.10/site-packages/petsc4py/init.py:42: in init
PETSc = petsc4py.lib.ImportPETSc(arch)
../../lib/python3.10/site-packages/petsc4py/lib/init.py:29: in ImportPETSc
return Import('petsc4py', 'PETSc', path, arch)
../../lib/python3.10/site-packages/petsc4py/lib/init.py:73: in Import
module = import_module(pkg, name, path, arch)
../../lib/python3.10/site-packages/petsc4py/lib/init.py:58: in import_module
with f: return imp.load_module(fullname, f, fn, info)
/usr/lib/python3.10/imp.py:243: in load_module
return load_dynamic(name, filename, file)
/usr/lib/python3.10/imp.py:343: in load_dynamic
return _load(spec)
E ImportError: libpetsc.so.3.017: cannot open shared object file: No such file or directory
make: *** [Makefile:101: check] Error 4
Any suggestions?
configure.log
firedrake-update.log
firedrake-install.log
Beta Was this translation helpful? Give feedback.
All reactions