Closed ddundo closed 4 months ago
I tried changing the entire reconfigure-default.py to be the same as the one I have on my local install (which I installed using the install script here in animate/install a month ago). It basically has all configure options like this
configure_options = [
'--download-bison',
'--download-chaco',
'--download-cmake',
...
instead of '--with-bison', '--with-chaco-dir=/home/firedrake/petsc/packages',
etc., as in the current one. It reconfigured and installed everything it seems, and took quite a while (like a fresh petsc install does). The make PETSC_DIR=/home/firedrake/petsc PETSC_ARCH=default check
then returned fewer errors, and all with ex19 (but nothing in red font like the above errors, which I guess is worse :) ). But again got the same import error when trying mfe.py from Joe.
Thanks for looking into this @ddundo.
If possible, I'd like to avoid downloading packages all over again - it would slow things down significantly. (When I rebuild the Docker image locally it only takes 10 minutes with the current approach.)
Closing as duplicate of #79.
While investigating test suite failures in https://github.com/pyroteus/goalie/pull/128 , I noticed a few things:
--with-suitesparse-dir=/home/firedrake/petsc/packages
in reconfigure-default.py with--download-suitesparse
and./reconfigure-default.py
worked. Then I didmake all
and after that finishedmake PETSC_DIR=/home/firedrake/petsc PETSC_ARCH=default check
to verify the installation. It returned this:After all that, the mfe.py script no longer worked (returned
ImportError: /home/firedrake/firedrake/lib/python3.10/site-packages/petsc4py/lib/default/PETSc.cpython-310-x86_64-linux-gnu.so: undefined symbol: TaoMonitorCancel
).And here I got stuck. Could you please take over @jwallwork23? In summary, it looks like rebuilding PETSc is the big culprit here.