Package Details: dolfin 2019.1.0.post0-4

Git Clone URL: https://aur.archlinux.org/dolfin.git (read-only, click to copy)
Package Base: dolfin
Description: The C++ interface of FEniCS, providing a consistent PSE (Problem Solving Environment) for ordinary and partial differential equations (stable).
Upstream URL: https://bitbucket.org/fenics-project/dolfin
Licenses: LGPL3
Groups: fenics
Conflicts: dolfin-git
Submitter: sigvald
Maintainer: sigvald (Polly, nw2190, entshuld)
Last Packager: entshuld
Votes: 6
Popularity: 0.53
First Submitted: 2018-01-08 14:06
Last Updated: 2021-10-13 19:52

Dependencies (10)

Required by (3)

Sources (4)

Latest Comments

1 2 3 Next › Last »

MartinDiehl commented on 2021-09-13 07:26

Unfortunately, the current version of dolfin is not compatible with recent third party packages. Since dolfin/Fenics is currently in transition to a new generation, it is unlikely that 2019.1 will get any upstream fixes.

I have problems with Trilinos (particularly Tpetra) and sundials. Would it make sense to add

-DDOLFIN_ENABLE_TRILINOS=FALSE
-DDOLFIN_ENABLE_SUNDIALS=FALSE

to PKGBUILD to avoid issues if trilinos or sundials are installed?

nw2190 commented on 2021-08-16 20:02

@sigvald: I have just pushed a patched version as a temporary workaround now. It appears to be installing correctly on all of my machines, but please let me know if you notice any issues and I will revert the changes. Hopefully this works until the next stable version is released; and thanks again for help!

sigvald commented on 2021-08-10 07:14

@nw2190: You are now a co-maintainer. One might think it shouldn't be necessary with three maintainers just to maintain a small PKGBUILD file :) But the fact is that we all do this just on the side of everything else we do, and FEniCS installations aren't always the easiest or most fun to deal with. Your efforts are much appreciated.

nw2190 commented on 2021-08-09 14:27

Hi @sigvald. Yes, I agree that patching the source is not an ideal solution, but it may be the best workaround until an updated version is released. And I would be happy to help maintain the package in the meantime.

sigvald commented on 2021-08-09 11:27

Thanks for your efforts @nw2190. I don't like patching the source of a supposedly stable release before installation, but it may well be the best option. The best would be if there were a new Dolfin release soon, but as far as I can tell a 2020 version never appeared. Limiting such a central library as Boost to be of old version is not very Arch Linux-friendly. I suppose the patches is the best way to go until there's a new release. Would you like to be a co-maintainer @nw2190, and add it to the package?

chilichiller commented on 2021-07-30 08:30

@nw2190 Your procedure still works, thank you for sharing it.

Possible to include that in the latest PKGBUILD? Unfortunately the hdf5.patch is not a file but required copy and paste.

dr460nf1r3 commented on 2021-04-27 08:53

Please add cmake to makedepends, thanks :)

tinux commented on 2021-02-15 10:25

@nw2190 Thank you, your instructions worked perfectly!

nw2190 commented on 2021-02-10 18:24

Sorry for the spam, but I just wanted to provide an update in case anyone else is experiencing this issue; I was able to successfully install the package using the following patches:

https://bitbucket.org/fenics-project/dolfin/issues/1115/compile-error-min_element-is-not-member-of

https://bitbucket.org/fenics-project/dolfin/issues/1110/hdf5interfacecpp-incompatible-with-recent

https://bitbucket.org/fenics-project/dolfin/issues/1116/boost-detail-endianhpp-no-longer-available

In particular, I saved these patches as "min_element.patch", "hdf5.patch", and "endian.patch" then updated the current PKGBUILD sources to:

source=(${pkgname}-${pkgver}.tar.gz::https://bitbucket.org/fenics-project/${_base}/downloads/${_base}-${pkgver}.tar.gz min_element.patch hdf5.patch endian.patch)

and added the following "prepare()" block:

prepare() {

cd "$pkgname-$pkgver"

patch --forward --strip=1 --input="${srcdir}/min_element.patch"

patch --forward --strip=0 --input="${srcdir}/hdf5.patch"

patch --forward --strip=1 --input="${srcdir}/endian.patch"

}

Then updated the checksums and installed the package from the command line using:

makepkg -g >> PKGBUILD

makepkg -si

nw2190 commented on 2021-02-10 15:21

I believe the error is caused by Boost no longer including 'algorithm' as mentioned in the following bug report: https://bitbucket.org/fenics-project/dolfin/issues/1115/compile-error-min_element-is-not-member-of.

It appears that the patch simply consists of manually including 'algorithm' in the "geometry/IntersectionConstruction.cpp" and "mesh/MeshFunction.h" files, and I am working to see if this fixes the issue now.