CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Port of OpenFOAM14 to FreeBSD (http://www.cfd-online.com/Forums/openfoam-installation/57552-port-openfoam14-freebsd.html)

thierry April 28, 2007 10:36

Hello, I have upgraded the
 
Hello,

I have upgraded the FreeBSD port of OpenFOAM to the latest 1.4. As
usual, several patches are necessary.

Most of them are FreeBSD- (or at least non-Linux-) specific:

- I have added the wmake rules for FreeBSD (already submitted for the
previous releases);

- many patches fix the shebang line of bash scripts from /bin to
/usr/local/bin;

- several patches set the locations of dependences installed by the
packages mechanism (Mico, LAM or MPICH2, readline, paraview, Java,
parmetis, VTK headers, etc.);

- "-lpthread" is replaced by the actual threading library ("-pthread" on
FreeBSD -Stable);

- some linuxisms are removed (e.g. "ps -u" or "find -printf");

- <malloc.h> is replaced by <stdlib.h>, and don't build malloc;

- "Allwmake" is replaced by "./Allwmake", because "." is not included in
the default $PATH

- <sys/stat.h> must be included in
applications/utilities/preProcessing/FoamX/C++/FoamXLib/ProcessControl.C
and ulong must be defined;

- add support of FreeBSD in foamInstallationTest;

The complete patches are available at
<http://people.freebsd.org/~thierry/p...4_freebsd.diff>.

Best regards,
--
Th. Thomas.


All times are GMT -4. The time now is 18:41.