Package Details: deal-ii 9.1.1-2

Git Clone URL: (read-only)
Package Base: deal-ii
Description: An Open Source Finite Element Differential Equations Analysis Library
Upstream URL:
Keywords: fem pde science
Licenses: LGPL
Submitter: coincoin
Maintainer: coincoin (drwells)
Last Packager: drwells
Votes: 8
Popularity: 0.000278
First Submitted: 2013-09-11 11:11
Last Updated: 2019-06-26 01:40

Dependencies (23)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

chuckdaniels commented on 2017-05-03 21:12

@drwells - I suppose that kind of optional package detection should be done in the build system of deal.II and not in the PKGBUILD. Anyways, it seems good enough for me if there is no other way to build the package.

Additionally, you can always ask in AUR mailing list, AUR forum or IRC channel for help. I'm sure you'll get some good tips from expert people about these questions.

drwells commented on 2017-05-02 13:16

@chuckdaniels Thank you for the feedback. I don't have much experience posting my PKGBUILD files to the AUR and I really do appreciate the criticism :)

I edited my comments in the PKGBUILD according to your comments.

I got rid of as many pacman checks as I could and instead I now rely on environment variables. The MPI detection is not so nice and is arguably a bug in our own build scripts: I opened an issue for it in the deal.II bug tracker (

Do you have a recommendation for how to check for user installed software? I tried to write the PKGBUILD file to be as agnostic to that as possible, but I don't really know how to handle such things.

I disabled make test for now.

chuckdaniels commented on 2017-04-24 16:17

I'm having problems to install AUR package. 'deal-ii' seems to compile just right but at the final step some quick-tests are ran and they fail.

I've commented out 'make test' in check() function on PKGBUILD and fixes this issue.

chuckdaniels commented on 2017-04-24 10:51

First, good job updating and completing PKGBUILD. I've got several questions/points:

* You detect if some optional libraries are on the system using: 'if pacman -Qs PKG >/dev/null'. This will ignore them if you manually install any of these libraries since you rely on 'pacman' database. I'm not saying that this is plain wrong but certainly presents some limitations. You are forced to install those packages from AUR to work. I'll definitely install those packages using AUR way, just want it to point it out.

* Some comments are really useful but others seems to be just information that should not be on a PKGBUILD and in general very extense. For example, you describe how makepkg.conf and its options works and show examples of how to set a flag in CMake. I this this clutters the PKGBUILD and simply it is not the place to put it on. You can create a new page on the Wiki for deal.II or invite to find more documentation on the deal.II website.

That is just my two cents. Great work with this library and this package.

drwells commented on 2017-04-22 21:16

Hello everyone,

After some discussion with @coincoin I am now listed as a comaintainer. For those of you who do not know me: I am one of the developers of deal.II and I also use Arch Linux.

I uploaded a new PKGBUILD for version 8.5: we should now correctly capture all optional dependencies.

Let me know what you think, and post if something does not work: I am familiar enough with the build system of deal.II that I should be able to fix any hiccups.

David Wells

chuckdaniels commented on 2017-01-24 14:28

@coincoin Thanks, setting MPI flag (-DWITH_MPI=ON) worked!

I tested this with the example 'step-18' that uses PETSC/MPI and it runs OK.

Nevertheless, only using PETSC flag (-DWITH_PETSC=ON) did not worked. You got to add the flags I mentioned before:

These variables can be safely added since it does not break the installation even if PETSC package is not present.

I totally understand that you cannot change to -DWITH_XX=ON flags in the PKGBUILD.

Thanks for the support. ;)

coincoin commented on 2017-01-24 13:56

Have you tried using the flags -DWITH_MPI=ON and -DWITH_PETSC=ON as mentionned in the doc : ?
You might also see subsection 3.3 External library locations I have not tried with PETSC yet. Something might prevent deal-ii from finding the packages and unfortunately I cannot change the PKGBUILD for your needs (it should be done within deal-ii build system).

chuckdaniels commented on 2017-01-24 11:36

Compilation with OpenMPI and PETSC is not working even if the packages are installed. I've managed to make deal-II detect PETSC with these flags:

However, it does not activate this functionality since MPI is not properly detected.

coincoin commented on 2016-02-01 15:51

@asartori86 Indeed, I will also remove Lapack which is optional. Every packages are actually optional. Thanks I ll change that.

asartori86 commented on 2016-02-01 15:47

I, why did you set that boost and openmpi are required dep?

In fact, deal-ii is shipped with bundled boost and it can run fine also without mpi.