Package Details: openfoam-esi v2006-1

Git Clone URL: https://aur.archlinux.org/openfoam-esi.git (read-only, click to copy)
Package Base: openfoam-esi
Description: The open source CFD toolbox (ESI-OpenCFD version)
Upstream URL: http://www.openfoam.com/
Licenses: GPL
Submitter: dl6tud
Maintainer: dl6tud
Last Packager: dl6tud
Votes: 5
Popularity: 0.97
First Submitted: 2018-06-28 10:20
Last Updated: 2020-07-27 11:25

Latest Comments

MakisH commented on 2020-08-02 08:13

Thank you for actively maintaining this package. I have two issues/suggestions trying this package on Manjaro 20.0.3, but should also affect Arch:

  • Issue 1. The prepare() and build() ask for user input ("press any key to continue"). This makes automation difficult, does not work with some GUI package managers such as Manjaro's Pamac, and may surprise the user that knows that building will take quite some time so goes through the usual process in the beginning and leaves the building unattended.

I understand the intention to make sure the user understands the problem before continuing, but I would suggest adding an explicit "Warning:" (maybe with some color characters) and removing the "press any key", or even aborting and advising to edit the PKGBUILD or take some other action.

  • Issue 2. This built "successfully" (falsely) unusually fast on my system (1-2h instead of expected 3-5h), only to realize later that the solvers were not built because of an error:
make: *** [/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/wmake/rules/General/transform:35: /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/makeChemistryReductionMethods.o] Error 1

One problem here is the actual error, but this is probably upstream (I opened an issue there).

An issue concerning the package is that, despite this error, PKGBUILD continues to package(), which then leads to a half-baked installation.

Interestingly, the same error appears in the openfoam package (OpenFOAM 7), but there this error is caught like this:

  # Build and clean up OpenFOAM
  bash -c "source ${foamDotFile}
  ./Allwmake || exit 1
  wclean all || exit 1
  wmakeLnIncludeAll || exit 1"