Search Criteria
Package Details: python-dolfin 2019.1.0.post0-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-dolfin.git (read-only, click to copy) |
|---|---|
| Package Base: | python-dolfin |
| Description: | The Python interface of FEniCS |
| Upstream URL: | https://bitbucket.org/fenics-project/dolfin |
| Licenses: | LGPL-3.0-or-later |
| Submitter: | sigvald |
| Maintainer: | carlosal1015 |
| Last Packager: | carlosal1015 |
| Votes: | 5 |
| Popularity: | 0.000000 |
| First Submitted: | 2018-06-23 09:12 (UTC) |
| Last Updated: | 2024-02-29 20:55 (UTC) |
Dependencies (14)
- dolfinAUR (dolfin-hpcAUR)
- python-mpi4py (python-mpi4py-intelAUR)
- python-pkgconfig
- python-ply
- cmake (cmake3AUR, cmake-gitAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-decorator (check)
- python-pytest (check)
- petscAUR (petsc-gitAUR, petsc-complexAUR) (optional) – interface with PETSc from python
- python-matplotlib (python-matplotlib-gitAUR) (optional) – plotting support
- slepcAUR (slepc-gitAUR) (optional) – interface with SLEPc from python
Latest Comments
1 2 Next › Last »
carlosal1015 commented on 2022-06-30 03:19 (UTC)
This modified PKGBUILD is working from my side.
carlosal1015 commented on 2022-06-22 14:16 (UTC) (edited on 2022-06-22 14:27 (UTC) by carlosal1015)
I will try the advice, I was suspecting that the issue is more related with petsc4py and
cmakestuff than with python. I am reading bothFindPetsc.cmakefor have a better understanding and try a patch. It is ok, it takes some time to fix.https://bitbucket.org/fenics-project/dolfin/raw/d29e24d19eab5200a55e43a3e18e1f38214fb5a8/cmake/modules/FindPETSc.cmake
https://raw.githubusercontent.com/FEniCS/dolfinx/37c71813ad21c2c1d378953b060a1e4c05cec849/cpp/cmake/modules/FindPETSc.cmake
I also should mentioned that before petsc includes petsc4py by default, like 3 month agos, python-dolfin was working fine, always that user install cmake before to compile for avoid errors, but recently broke with openmpi 4.1.4 upgrade.
entshuld commented on 2022-06-20 17:58 (UTC)
@carlosal1015 To be honest, I don't think that I will have much time to add all the dependencies into the PKGBUILD for now (may be in a couple of weeks). For the moment, I would recommend you to install all the packages which are listed in the following post manually (note that it's 2 columns): https://aur.archlinux.org/packages/python-dolfin#comment-829010 . If you want, you can try with:
depends=('dolfin=2019.1.0.post0' 'mpfr' librsvg=2:2.50.7-1 libsasl=2.1.27-3 libseccomp=2.5.2-1 libsecret=0.20.4-1 libsm=1.2.3-2 libsoup=2.74.0-1 libssh2=1.9.0-3 libtasn1=4.17.0-1 libthai=0.1.28-2 libtiff=4.3.0-1 libtirpc=1.3.2-1 libtool=2.4.6+42+gb88cebd5-16 libunistring=0.9.10-3 libunwind=1.5.0-1 libuv=1.42.0-1 libx11=1.7.2-1 libxau=1.0.9-3 libxaw=1.0.14-1 libxcb=1.14-1 libxcomposite=0.4.5-3 libxcrypt=4.4.25-1 libxcursor=1.2.0-2 libxdamage=1.1.5-3 libxdmcp=1.1.3-3 libxext=1.3.4-3 libxfixes=6.0.0-1 libxfont2=2.0.5-1 libxft=2.3.4-1 libxi=1.7.10-3 libxinerama=1.1.4-3 libxkbcommon=1.3.1-1 libxkbfile=1.1.0-2 libxml2=2.9.12-2 libxmu=1.1.3-2 libxpm=3.5.13-2 libxrandr=1.5.2-3 libxrender=0.9.10-4 libxshmfence=1.3-2 libxss=1.2.3-3 libxt=1.2.1-1 libxtst=1.2.3-4 libxxf86vm=1.1.4-4 libyaml=0.2.5-1 libyuv=r2212+dfaf7534-2 linux-libre=5.13.8-1 llvm-libs=12.0.1-4 lz4=1:1.9.3-2 lzo=2.10-3 m17n-db=1.8.0-3 m17n-lib=1.8.0-10 m4=1.4.19-1 make=4.3-3 med-openmpi=4.1.0-1 mesa=21.2.1-1 metis=5.1.0.p10-2 mpfr=4.1.0.p13-1 mtdev=1.1.6-1 mumps=5.4.1-3 ncurses=6.2-2 npth=1.6-3 openblas=0.3.17-1 opencl-headers=2:2021.04.29-1 opencl-mesa=21.2.2-1 openmp=12.0.1-1 openmpi=4.1.1-2 openrc=0.42.1-7 openrc-init=0.42.1-7 openrc-net=0.42.1-7 openssh=8.8p1-1 openssl=1.1.1.l-1 opus=1.3.1-2 p11-kit=0.24.0-1.nonsystemd1 pango=1:1.48.10-1 patch=2.7.6-8 pciutils=3.7.0-1 pcre=8.45-1 pcre2=10.37-1 perl=5.34.0-2 perl-error=0.17029-3 perl-mailtools=2.21-5 perl-timedate=2.33-3 petsc-git= 3.15.4.39.g3348d10f62a-1 pinentry=1.1.1-1 pixman=0.40.0-1 pkgconf=1.8.0-1 popt=1.18-1 procps-ng=3.3.17-1 psmisc=23.4-1 pybind11=2.7.1-1 python=3.9.7-1 python-appdirs=1.4.4-3 python-dijitso=2019.1.0-1 python-dolfin=2019.1.0.post0-1 python-ffc=2019.1.0-2 python-fiat=2019.1.0-1 python-gmpy2=2.1.0rc1-1 python-more-itertools =8.10.0-1 python-mpi4py=3.0.3-3 python-mpmath=1.2.1-2 python-numpy=1.21.2-1 python-ordered-set=4.0.2-3 python-packaging=20.9-2 python-pkgconfig=1.5.5-1 python-ply=3.11-7 python-pyparsing=2.4.7-3 python-setuptools=1:57.4.0-2 python-six=1.16.0-1 python-sympy=1.8-1 python-ufl=2019.1.0-1 rav1e=0.4.1-1 readline=8.1.001-1 rest=0.8.1-3 rhash=1.4.2-1 rpcbind=1.2.6-1 rpcbind-openrc=20170927-3 run-parts=5.4-1 scalapack=2.1.0-1 scotch=6.0.6-1 sed=4.8-1 shadow=4.8.1-4 sowing=1.1.26-2 speex=1.2.0-3 speexdsp=1.2.0-2 sqlite=3.36.0-1 sudo=1.9.8-1 suitesparse=5.10.1-1 superlu=5.2.2-2 svt-av1=0.8.7-1 syslog-ng=3.33.1-1 syslog-ng-openrc=20170927-3 tar=1.34-1 tbb=2020.3-1 tcl=8.6.11-1 tdb=1.4.5-1 texinfo=6.8-2 tk=8.6.11.1-1 tlp=1.3.1-2 tlp-openrc=20201202-1 tzdata=2021a-2 util-linux=2.36-4.nonsystemd1 util-linux-libs=2.36-4.nonsystemd1 which=2.21-5 x265=3.5-1 xcb-proto=1.14.1-3 xf86-input-libinput=1.1.0-1 xkeyboard-config=2.33-2 xorg-fonts-encodings=1.0.5-2 xorg-server=1.20.13-2 xorg-server-common=1.20.13-2 xorg-setxkbmap=1.3.2-2 xorg-xauth=1.1-2 xorg-xinit=1.4.1-3 xorg-xkbcomp=1.4.5-1 xorg-xmodmap=1.0.10-2 xorg-xrdb=1.2.1-1 xorgproto=2021.4-1 xz=5.2.5-1 zlib=1:1.2.11-4 zstd=1.5.0-1 acl=2.3.1-1 adobe-source-code-pro-fonts=2.038ro+1.058it+1.018var-1 at-spi2-atk=2.38.0-1 at-spi2-core=2.40.3-1 atk=2.36.0-1 attr=2.5.1-1 audit=3.0.4-1 autoconf=2.71-1 automake=1.16.4-1 avahi=0.8+22+gfd482a7-1 avahi-openrc=20201202-1 base=2-2.parabola1.nonsystemd3 bash=5.1.008-1 binutils=2.36.1-3 bison=3.7.6-1 boost=1.76.0-1 boost-libs=1.76.0-1 bzip2=1.0.8-4 ca-certificates=20210603-1 ca-certificates-mozilla=3.70-1 ca-certificates-utils=20210603-1 cairo=1.17.4-5 cantarell-fonts=1:0.301-1 cblas=3.10.0-1 cgns=4.1.2-1 chrony=4.1-1 chrony-openrc=20201202-1 chrpath=0.16-3 clang=12.0.1-1 cmake=3.21.3-1 compiler-rt=12.0.1-2 coreutils=8.32-1 cppunit=1.15.1-2 curl=7.78.0-1 cython=0.29.24-1 db=5.3.28-5 dbus=1.12.20-1.nonsystemd2 dconf=0.40.0-1 desktop-file-utils=0.26-1 diffutils=3.8-1 ding-libs=0.6.1-3 dnssec-anchors=20190629-3 dolfin=2019.1.0.post0-4 e2fsprogs=1.46.4-1 eigen=3.4.0-1 elfutils=0.185-1 emacs=27.2-1 esysusers=248.3-1 etmpfiles=248.3-1 eudev=3.2.9-1 eudev-libudev=3.2.9-1 expat=2.4.1-1 fakeroot=1.26-1 fftw=3.3.10-1 file=5.40-5 filesystem=2020.09.03-1.nonsystemd1 findutils=4.8.0-1 flac=1.3.3-3 flex=2.6.4-3 fontconfig=2:2.13.94-1 freetype2=2.11.0-3 fribidi=1.0.10-1 gawk=5.1.0-1 gc=8.0.4-4 gcc=11.1.0-1 gcc-fortran=11.1.0-1 gcc-libs=11.1.0-1 gd=2.3.3-1 gdb-common=11.1-1 gdbm=1.21-1 gdk-pixbuf2=2.42.6-2 gentoo-functions=0.12-1 gettext=0.21-1 giflib=5.2.1-2 git=2.33.0-1 gl2ps=1.4.2-2 glib-networking=1:2.68.2-1 glib2=2.68.4-1 glibc=2.33-5 glibc-openrc=20170927-3 glu=9.0.2-1 gmp=6.2.1-1 gnupg=2.2.29-1 gnutls=3.7.2-2 gpgme=1.16.0-1 gpm=1.20.7.r38.ge82d1a6-4 gpm-openrc=20201202-1 graphite=1:1.3.14-1 grep=3.6-1 groff=1.22.4-6 gssproxy=0.8.4-1 gtk3=1:3.24.30-2 guile=2.2.7-1 gzip=1.11-1 harfbuzz=2.9.1-1 hdf5-openmpi=1.12.0-2 hdparm=9.62-1 hwids=20210613-1 hwloc=2.5.0-1 hypre=2.18.2-1 icu=69.1-1 iso-codes=4.7.0-1 jansson=2.13.1-1 json-c=0.15-1 json-glib=1.6.6-1 jsoncpp=1.9.4-1 kbd=2.4.0-2 kexec-tools=2.0.21-1 keyutils=1.6.3-1 kmod=29-1 krb5=1.19.2-1 lapack=3.10.0-1 lcms2=2.12-1 ldns=1.7.1-2 libaec=1.0.5-1 libarchive=3.5.2-1 libassuan=2.5.5-1 libasyncns=0.8+3+g68cd5af-3 libavif=0.9.2-1 libcanberra=0.30+2+gc0620e4-5 libcap=2.56-1 libcap-ng=0.8.2-3 libclc=12.0.1-1 libcloudproviders=0.3.1-2 libcolord=1.4.5-4 libcroco=0.6.13-2 libdaemon=0.14-5 libdatrie=0.2.13-1 libde265=1.0.8-1 libdrm=2.4.107-1 libedit=20210714_3.1-1 libelf=0.185-1 libelogind=246.10-2 libepoxy=1.5.9-1 libevdev=1.11.0-1 libevent=2.1.12-1 libffi=3.3-4 libfontenc=1.1.4-3 libgcrypt=1.9.4-1 libglvnd=1.3.3-1 libgpg-error=1.42-1 libgudev=237-1 libheif=1.12.0-1 libical=3.0.10-1 libice=1.0.10-3 libidn2=2.3.2-1 libinput=1.18.1-1 libjpeg-turbo=2.1.1-1 libksba=1.6.0-1 libmnl=1.0.4-3 libmpc=1.2.1-1 libnsl=2.0.0-1 libogg=1.3.5-1 libomxil-bellagio=0.9.3-3 libp11-kit=0.24.0-1.nonsystemd1 libpcap=1.10.1-1 libpciaccess=0.16-2 libpng=1.6.37-3 libpsl=0.21.1-1 )or
depends=('dolfin=2019.1.0.post0' 'mpfr' librsvg libsasl libseccomp libsecret libsm libsoup libssh2 libtasn1 libthai libtiff libtirpc libtool libunistring libunwind libuv libx11 libxau libxaw libxcb libxcomposite libxcrypt libxcursor libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxi libxinerama libxkbcommon libxkbfile libxml2 libxmu libxpm libxrandr libxrender libxshmfence libxss libxt libxtst libxxf86vm libyaml libyuv linux-libre llvm-libs lz4 lzo m17n-db m17n-lib m4 make med-openmpi mesa metis mpfr mtdev mumps ncurses npth openblas opencl-headers opencl-mesa openmp openmpi openrc openrc-init openrc-net openssh openssl opus p11-kit pango patch pciutils pcre pcre2 perl perl-error perl-mailtools perl-timedate petsc-git= 3.15.4.39.g3348d10f62a-1 pinentry pixman pkgconf popt procps-ng psmisc pybind11 python python-appdirs python-dijitso python-dolfin python-ffc python-fiat python-gmpy2 python-more-itertools python-mpi4py python-mpmath python-numpy python-ordered-set python-packaging python-pkgconfig python-ply python-pyparsing python-setuptools python-six python-sympy python-ufl rav1e readline rest rhash rpcbind rpcbind-openrc run-parts scalapack scotch sed shadow sowing speex speexdsp sqlite sudo suitesparse superlu svt-av1 syslog-ng syslog-ng-openrc tar tbb tcl tdb texinfo tk tlp tlp-openrc tzdata util-linux util-linux-libs which x265 xcb-proto xf86-input-libinput xkeyboard-config xorg-fonts-encodings xorg-server xorg-server-common xorg-setxkbmap xorg-xauth xorg-xinit xorg-xkbcomp xorg-xmodmap xorg-xrdb xorgproto xz zlib zstd acl adobe-source-code-pro-fonts at-spi2-atk at-spi2-core atk attr audit autoconf automake avahi avahi-openrc base bash binutils bison boost boost-libs bzip2 ca-certificates ca-certificates-mozilla ca-certificates-utils cairo cantarell-fonts cblas cgns chrony chrony-openrc chrpath clang cmake compiler-rt coreutils cppunit curl cython db dbus dconf desktop-file-utils diffutils ding-libs dnssec-anchors dolfin e2fsprogs eigen elfutils emacs esysusers etmpfiles eudev eudev-libudev expat fakeroot fftw file filesystem findutils flac flex fontconfig freetype2 fribidi gawk gc gcc gcc-fortran gcc-libs gd gdb-common gdbm gdk-pixbuf2 gentoo-functions gettext giflib git gl2ps glib-networking glib2 glibc glibc-openrc glu gmp gnupg gnutls gpgme gpm gpm-openrc graphite grep groff gssproxy gtk3 guile gzip harfbuzz hdf5-openmpi hdparm hwids hwloc hypre icu iso-codes jansson json-c json-glib jsoncpp kbd kexec-tools keyutils kmod krb5 lapack lcms2 ldns libaec libarchive libassuan libasyncns libavif libcanberra libcap libcap-ng libclc libcloudproviders libcolord libcroco libdaemon libdatrie libde265 libdrm libedit libelf libelogind libepoxy libevdev libevent libffi libfontenc libgcrypt libglvnd libgpg-error libgudev libheif libical libice libidn2 libinput libjpeg-turbo libksba libmnl libmpc libnsl libogg libomxil-bellagio libp11-kit libpcap libpciaccess libpng libpsl)entshuld commented on 2022-04-07 17:53 (UTC)
Hello @carlosal1015, did you see the list which is below of all the software which may be needed? have you tried installing CMake? Can you report back if installing it helps? Thanks.
sigvald commented on 2021-09-30 07:01 (UTC)
@entshuld: Thank you. Your efforts are much appreciated. I added you as maintainer for this package, so you can update dependency requirements in the PKGBUILD file as needed. I think where the newest versions of the dependencies work, we should allow those versions to be used. Where older (or specific) versions are required, this can be specified in the PKGBUILD.
There's a rather large chain of dependencies for FEniCS. python-dolfin depends on dolfin, which again depends on petsc, and so on. If you need to change the PKGBUILD for any of the other packages (that I maintain), just let me know.
entshuld commented on 2021-09-30 01:05 (UTC) (edited on 2021-09-30 01:07 (UTC) by entshuld)
@sigvald I was able to build, install and run in a virtual machine. Then, I used those same packages in my system and they work. I am guessing that it has to do with some cache or residual configuration. At this point, I think that I could help to maintain the package, if you want.
This is not the full list in the system, but should suffice to know what is needed to compile:
entshuld commented on 2021-09-28 16:24 (UTC)
Thanks @sigvald. Indeed, I tried with both PETSc 3.14.5--which is what the CMake log said was the requirement (PETSc>=3.14.5), and the current PETSc 3.15.4 (installed through Git sources). I don't have SLEPc, but that was an optional requirement, so I removed it from the PKGBUILD.
The compilation of the Dolfin package goes well, but the error that I see is when trying to import it. I have tried with both the -git and the non-git packages of the FEniCS dependencies from AUR. I will give it a shot again in a virtual machine to see if it has to do with my system.
Thanks for the list from Conda, I do have it, and was able to run Dolfin by installing Miniconda and creating a working environment with it. As I said, unfortunately, this is not a real option for me. Installation with pip isn't either. I also tried to roll back and forth the Git sources of Dolfin (there is no 2019 tag that I can check out, and the structure of the tar-ball is very different. The other sources do have the tag).
I was planning to look at the Conda recipe to check how exactly they built it as well.
sigvald commented on 2021-09-28 07:16 (UTC)
@entshuld: I believe the FEniCS packages (dolfin, python-ffc, python-ufl and so forth) should be correct if they're installed from AUR. The dependency requirements are such that you must have exactly the right version, i.e., version 2019.1.0 of all these packages.
Just looking at your error message, I suspect either an error with PETSc, or with your Python 3.9 environment. The latest version of PETSc and SLEPc in here is 3.15. The most recent versions I know works is PETSc 3.13.6 and SLEPc 3.13.4. It could be that this is unrelated, but perhaps worth a shot downgrading to version 3.13? Beware that SLEPc needs to be of the same major and minor version number as PETSc, but the patch number (the last number in the version) can be different.
Here is a list from one of my Conda environments where FEniCS 2019 works as it should:
Although you're not planning to use Conda, it can give you an idea of which versions of dependencies should work well with FEniCS 2019.
Hope this helps :)
1 2 Next › Last »