Package Details: openfoam 4.x-7

Git Clone URL: (read-only)
Package Base: openfoam
Description: The open source CFD toolbox
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: Xwang
Last Packager: Xwang
Votes: 32
Popularity: 0.570374
First Submitted: 2009-07-02 09:16
Last Updated: 2016-07-04 20:11

Latest Comments

Xwang commented on 2016-08-11 10:26

I've obtained the same by changing MAKEFLAGS option as described in my comment of 2016-06-13 16:17

tomracing commented on 2016-08-01 20:51

Great package!
Could I suggest changing this line:
# Build and clean up OpenFOAM
./Allwmake > ../../openfoam_log.make 2>&1 #|| return 1
To incorporate the compile in parallel build as specified in the OpenFOAM documentation:
"or compile in parallel with all available cores/hyperthreads with:
./Allwmake -j
Serial compilation takes several hours, whereas compilation on 8 cores/threads should take approximately one hour, possibly less, depending on the processor."
That would save much time on builds.

threeofsix commented on 2016-06-24 17:33


Yes, I modified the PKGBUILD that way and it installed fine, but I haven't gotten to any testing yet. My PKGBUILD ended up looking just like the current one, but with line 26 modified as I described. Here is a copy of it if you like:

I did not update the pkgrel line.


Xwang commented on 2016-06-22 21:59

Have you already tried to modify the PKGBUILD in that way?
In case it works properly, can you copy it here as a comment so that I modify the PKGBUILD?
Thank you,

threeofsix commented on 2016-06-22 19:37

I am getting the error:

error: package 'paraview' was not found

This occurs after starting prepare(), and appears to be due to the line

_pversion=`pacman -Q paraview | sed -e 's/.* //; s/-.*//g'`

I have paraview-bin installed, which provides paraview, so the hardcoded search for paraview fails. Something like the following, which searches for the package that provides the paraview command, may be a better alternative:

_pversion=$(pacman -Q $(pacman -Qqo $(which paraview)) | sed -e 's/.* //; s/-.*//g')

ioquatix commented on 2016-06-20 21:34

Hello @Xwang, @D0NB0T, I just adopted scotch package and updated it so it should work out of the box with OpenFOAM. That was not working due to linking issues. The details are here:

I would like your feedback, if possible, to confirm that the build is working correctly with this new package. Thanks :)

D0NB0T commented on 2016-06-17 19:08

I tried this already and reimported all keys. Same Error with the Minerva Package. But the AUR Paraview and Scotch Packages seem to work now.

Edit: Ok now it works with paraview and scotch from AUR and OpenFoam from Minerva, because OpenFoam from AUR couldnt be installed, it always stopped while building. I hope this will do it.

Xwang commented on 2016-06-17 18:09

D0NB0T commented on 2016-06-17 17:32

I always get the Error: "Failed to commit transaction (invalid or corrupted package)" while downloading. I tried installing from AUR and Minerva always the same error for Paraview and Scotch. It worked fine before the last update. Any suggestions? Thanks for your help!

Xwang commented on 2016-06-13 16:17

Change the MAKEFLAGS option in /etc/makepkg.conf (I've set it to MAKEFLAGS="-j5" to use 5 cores of 8 so that the system responds while compiling and I can keep using it).

All comments