|
[Sponsors] |
July 18, 2008, 07:56 |
Hi!
I managed to compile 1.
|
#1 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi!
I managed to compile 1.5 on my iBook and I thought I might share my experience with the other Mac-Heads out there. Two words of caution: - I only have a PowerPC-iBook with 10.4 available (so the milage for the Intel/10.5-guys out there might vary) - the description is very short. Some info about previous versions (found on the Wiki and here) might be applicable (especially the disk-image etc) So be ready to wear your asbestos-pants (like a certain Canadian usually says). Previous experience with compiling OF helps I assume you have a Lower/Upper-case filesystem available. The two patch-files OpenFOAM-1.5-Mac-v1.patch.gz and ThirdParty1.5-Mac-v1.patch are to be applied with "patch -p0 <patchfile" in the appropriate directories (figure it out from the filename) After that compilation should work as described in the Release-notes Some notes: - On my system I use the ancient vendor supplied gcc 4.0.1 (don't know what the version is for 10.5) - I don't know the correct output of 'uname -p' on Intel-Macs. Could somebody please supply me with that so that I can update the scripts - I distinguish two architectures darwinPpc and darwinIntel. This might be a slight overkill and of course some of the #ifdefs are untested on Intels - My only testing so far was running interFoam on the damBreak-case and building household appliances for eskimos (you'll know the tutorial case when you see it) with snappyHexMesh. All of them successfully - due to the linker options some applications might compile AT RUNTIME about missing symbols. Usually from the finiteVolume-library. Add -lfiniteVolume in the Make/options-file of that application and recompile it. - I didn't bother to build the supplied version of paraView yet. So you'll have to go via the foamToVTK/downloadedParaviewBinary-route - The OpenMPI from ThirdParty is used (no need to get the one from ports) - For one of the (PAR)Metis-libraries the .dylib has to be copied to the corresponding .so (can't remember which one) Otherwise one of the linker scripts in ThirdParty won't find it - The only application that does not yet compile for me is the cht-solver (I blame the old compiler) Feedback that helps to improve the patch is most welcome Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New version fluent file open in Old version ? | MANOJKUMAR | FLUENT | 2 | July 10, 2013 04:43 |
Difference between Version 6.3 and Version 6.2 | erikaj | FLUENT | 0 | October 11, 2007 12:36 |
LES with version 6.3 | Steve | FLUENT | 0 | April 26, 2007 15:00 |
SEM in the 3.5 version | Anis | Phoenics | 0 | May 5, 2006 12:41 |
BUG IN VERSION 3.5!!!!!!!! | AERODYNAMIFUN | Phoenics | 0 | May 17, 2004 19:24 |