CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [foam-extend.org] Foam Extend 4.0 on MAC (https://www.cfd-online.com/Forums/openfoam-installation/189554-foam-extend-4-0-mac.html)

simone.rowing June 22, 2017 06:16

Foam Extend 4.0 on MAC
 
Good morning, I tried to compile Foam extend on Mac 10.11 El Capitan following the wiki instruction.

During the compilation of the ThirdParty I got this error:

Code:


 collect2: error: ld returned 1 exit status
-- Configuring incomplete, errors occurred!
error: Bad exit status from /Users/simomartini/foam/foam-extend-4.0/ThirdParty/rpmBuild/tmp/rpm-tmp.68495 (%build)
RPM build errors:
error: open of /Users/simomartini/foam/foam-extend-4.0/ThirdParty/rpmBuild/RPMS/i386/metis-5.1.0-darwinIntel64GccDPOpt.i386.rpm failed: No such file or directory
  collect2: error: ld returned 1 exit status
-- Configuring incomplete, errors occurred!
error: Bad exit status from /Users/simomartini/foam/foam-extend-4.0/ThirdParty/rpmBuild/tmp/rpm-tmp.85302 (%build)
RPM build errors:
error: open of /Users/simomartini/foam/foam-extend-4.0/ThirdParty/rpmBuild/RPMS/i386/parmetis-4.0.3-darwinIntel64GccDPOpt.i386.rpm failed: No such file or directory


I installed all package with the MacPort package manager. I used gcc48 and rpm rpm @4.4.9_19.

After this I try to compile Foam Extend 4.0, and also in this compilation I got this error:

Code:

metisDecomp.H:38:33: fatal error: decompositionMethod.H: No such file or directory
parMetisDecomp.H:37:33: fatal error: decompositionMethod.H: No such file or directory
+ wmake libso errorEstimation
'/Users/simomartini/foam/foam-extend-4.0/lib/darwinIntel64GccDPOpt/liberrorEstimation.dylib' is up to date.

Now in the version installed some tutorials works fine, other stop to run for floating point exception:8. I note that this happen when I use the PIMPLE loop. Have you some suggestion ?

wyldckat July 2, 2017 15:23

Quick questions:
  1. Which specific tutorials aren't working for you?
  2. The compilation errors seem to be related only to Metis, which should not be strictly necessary. Are you certain there aren't any other errors during the build of foam-extend?
  3. More specifically, if you can provide the build log file, it would make it easier to diagnose if there are any other critical errors.


All times are GMT -4. The time now is 15:57.