Package Details: python-fenics-dolfinx 0.6.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-fenics-dolfinx
Description: Next generation FEniCS problem solving environment (python interface)
Upstream URL:
Licenses: LGPL3
Submitter: carlosal1015
Maintainer: carlosal1015 (AutoUpdateBot)
Last Packager: carlosal1015
Votes: 3
Popularity: 0.010204
First Submitted: 2022-04-29 14:32 (UTC)
Last Updated: 2023-01-15 02:33 (UTC)

Pinned Comments

carlosal1015 commented on 2022-09-20 03:45 (UTC)

Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.

Latest Comments

1 2 Next › Last »

CrocoDuck commented on 2023-03-04 16:56 (UTC) (edited on 2023-03-04 17:02 (UTC) by CrocoDuck)

Hi! I think hypre, suitesparse, fftw, scotch (but the version 7.0.2) and triangle are needed dependencies. Otherwise when using import dolfinx in python it will fail to find various .so objects. The 7.0.2 version for scotch is not the most up to date. This probably needs fixing too.

carlosal1015 commented on 2022-09-20 03:45 (UTC)

Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.

archuser2021 commented on 2022-09-08 02:10 (UTC)

Thank you @carlosal1015! I am finally able to find out the cause and the workaround for the issue. See the linked post for more details.

tldr For anyone having the same issue, try switch back to the normal linux kernel.

carlosal1015 commented on 2022-09-07 18:23 (UTC)

Hi @archuser2021, I look the post and run the programs without errors. I hope help the answer in discourse.

archuser2021 commented on 2022-09-07 08:57 (UTC)

I am not sure if this is the right place to ask this, but I have been struggling to figure out why this strange issue is happening:

The developer cannot reproduce this issue with docker, so I am wondering if this is something specific to the the AUR package? Can anyone reproduce this?

archuser2021 commented on 2022-07-01 06:38 (UTC)

Sent :) Thank you!

carlosal1015 commented on 2022-07-01 05:06 (UTC)

Right, if you want you could create a tar.gz from build directories, i.e. ~./cache/yay/* or /tmp/makepkg to analyze to the email (first comment of PKGBUILD) for take a look.

archuser2021 commented on 2022-07-01 03:13 (UTC) (edited on 2022-07-01 03:14 (UTC) by archuser2021)

Hi @carlosal1015. I followed your instructions and reinstall the packages you have listed, but get the same error as before. I have also tried "yay -Syu hypre python-fenics-dolfinx" on one of my Arch VM (which should be clean. I also did "pacman -Syu" and rebooted before the install) but again encountered the same error.

carlosal1015 commented on 2022-06-30 17:06 (UTC) (edited on 2022-06-30 17:25 (UTC) by carlosal1015)

Well to clarify, I would try to uninstall dolfinx, python-fenics-ffcx, python-fenics-basix, xtensor, xtl, python-fenics-ufl, petsc, parmetis, superlu_dist, hypre. Upgrade the system, clean ~/.cache/*, clean /tmp/makepkg/, restart, clean leftover shows by pacman -Qtdq.

I could write something rm -r build to delete build folder anytime to rebuild, but I let for the user to do. Then, if can not install python-fenics-basix again, let me know. I will take a look.

Note that dolfin's dependencies are different to dolfinx's dependencies, for example for UFL.

Therefore, can not be installed dolfin and dolfinx at the same system.

archuser2021 commented on 2022-06-30 15:55 (UTC) (edited on 2022-06-30 16:08 (UTC) by archuser2021)

Thanks for helping @carlosal1015 !

I removed all the packages and tried to install again but this time I'm getting error when building python-fenics-basix. The error message is "Could NOT find Python3 (missing: Development.Module) (found version "3.10.5")". I looked into the build folder, in .cache/yay/python-fenics-basix/src/basix-0.4.2.post1/skbuild/linux-x86_64-3.10/cmake-build/CMakeFiles/CMakeError.log, the log states something like "Determining if the function sgemm exists...undefined reference to `sgemm_' build stopped: subcommand failed.", and a similar message for "cheev_", and then "g++: error: unrecognized command-line option ‘-fortranlibs’".

I have tried reinstalling cmake and python, clean build all the fenics packages, but the problem persists.

Since you can complete the install without any errors (and I didn't encounter this issue last time I install the package), it is very likely that there is something messed up in my system. I will try it again next time I reinstall Arch.