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.
Search Criteria
Package Details: python-fenics-dolfinx 0.9.0.post1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-fenics-dolfinx.git (read-only, click to copy) |
---|---|
Package Base: | python-fenics-dolfinx |
Description: | Next generation FEniCS problem solving environment (python interface) |
Upstream URL: | https://github.com/FEniCS/dolfinx |
Licenses: | GPL-3.0-or-later, LGPL-3.0-or-later |
Submitter: | carlosal1015 |
Maintainer: | carlosal1015 (AutoUpdateBot) |
Last Packager: | carlosal1015 |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2022-04-29 14:32 (UTC) |
Last Updated: | 2024-10-27 21:15 (UTC) |
Dependencies (16)
- dolfinxAUR (dolfinx-gitAUR)
- python-mpi4py (python-mpi4py-intelAUR)
- nanobind (make)
- python-build (make)
- python-installer (make)
- python-scikit-build-core (make)
- python-wheel (make)
- python-matplotlib (python-matplotlib-gitAUR) (check)
- python-numba (python-numba-gitAUR) (check)
- python-pytest (check)
- python-scipy (python-scipy-gitAUR, python-scipy-mkl-binAUR, python-scipy-mklAUR, python-scipy-mkl-tbbAUR) (check)
- python-sympy (python-sympy-gitAUR) (check)
- gmshAUR (gmsh-gitAUR, gmsh-binAUR) (optional) – for extract data from Gmsh models
- python-numba (python-numba-gitAUR) (optional) – for jit support
- python-pyvistaAUR (optional) – for plotting
- slepcAUR (slepc-gitAUR) (optional) – for eigenvalue solver support
Required by (2)
Sources (1)
Latest Comments
« First ‹ Previous 1 2
carlosal1015 commented on 2022-07-01 05:06 (UTC)
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_'...ninja: 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.
carlosal1015 commented on 2022-06-29 19:37 (UTC)
Hi @archuser2021, try to uninstall hypre
, dolfinx
, python-dolfinx
. No errors reported from my side. Video here.
I think that the error was caused by I did not increase by one pkgrel for dolfinx.
archuser2021 commented on 2022-06-29 14:02 (UTC) (edited on 2022-06-29 14:14 (UTC) by archuser2021)
With the latest HYPRE 2.25.0, "import dolfinx" gives error
>>> import dolfinx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/dolfinx/__init__.py", line 33, in <module>
from dolfinx import common
File "/usr/lib/python3.10/site-packages/dolfinx/common.py", line 10, in <module>
from dolfinx import cpp as _cpp
ImportError: libHYPRE-2.24.0.so: cannot open shared object file: No such file or directory
HYPRE is 2.25 when I installed this package. I don't know why it get linked to the old version somehow.
carlosal1015 commented on 2022-04-29 14:34 (UTC) (edited on 2022-06-22 01:09 (UTC) by carlosal1015)
Edited 2022-06-21: First, ensure to be sourced /etc/profile.d/petsc.sh
, reason: for update pythonpath with petsc4py.
I don't know why, but it works.
$ LD_PRELOAD=/usr/lib/openmpi/libmpi_cxx.so python
>>> import dolfinx
Pinned Comments
ng0177 commented on 2023-10-08 08:44 (UTC)
I guess, this package is the one of choice, see https://github.com/FEniCS/dolfinx/issues/2811
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.