CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   OpenFOAM on a Mac Show Leopard 10.6 (http://www.cfd-online.com/Forums/openfoam-programming-development/68512-openfoam-mac-show-leopard-10-6-a.html)

hjasak September 22, 2009 18:23

OpenFOAM on a Mac Show Leopard 10.6
 
Dear All,

I have just rebuilt FOAM on my (new) Mac Pro using Snow Leopard, and linking to a native mpi. I am happy to say that the new operating system on 4 cores gives me the execution time 3 times faster (!) than the old OS on the identical machine with identical code. The timing for 5 iterations is 310 seconds (new) vs. 749 seconds (old) for a large case with GGI interfaces.

Important changes are the new OS (Snow), new native compiler (4.2, tweaked by the looks of things) and native mpi (also tweaked). Any info from McFOAMers on the improvements in the OS would be welcome.

Basic port required one (stupid) change that is checked in + some hacking to make sure the Third Party pack compiles properly.

The 1.6-dev is in the works - watch this space.

Just so you know,

Hrv

lakeat September 23, 2009 06:34

Shocking! Buy Snow Leopard next time

gschaider September 23, 2009 09:11

Quote:

Originally Posted by hjasak (Post 230195)
Dear All,

I have just rebuilt FOAM on my (new) Mac Pro using Snow Leopard, and linking to a native mpi. I am happy to say that the new operating system on 4 cores gives me the execution time 3 times faster (!) than the old OS on the identical machine with identical code. The timing for 5 iterations is 310 seconds (new) vs. 749 seconds (old) for a large case with GGI interfaces.

Important changes are the new OS (Snow), new native compiler (4.2, tweaked by the looks of things) and native mpi (also tweaked). Any info from McFOAMers on the improvements in the OS would be welcome.

I just upgraded my MacBook to Snow Leopard (nice typo in the title, by the way ;) ) but my OF installation was compiled on Leopard so I might do a benchmark now and then recompile. Of course by blindly upgrading I lost the opportunity to compare the effect of the OS. And I used a 4.3-gcc which might make a difference


Quote:

Originally Posted by hjasak (Post 230195)
Basic port required one (stupid) change that is checked in + some hacking to make sure the Third Party pack compiles properly.

The 1.6-dev is in the works - watch this space.

Just so you know,

Hrv

Bernhard

akidess September 23, 2009 16:16

Any idea how the performance is compared to Linux?

podallaire February 10, 2010 10:03

Good morning Gents-

on this topic, I'd like to suggest a very minor change for the Darwin wmake rules :

- on my intel machine, it seems that wmake needs rules/darwinIntelGcc instead of rules/darwinIntel
- in rules/darwinIntelGcc/general, I suggest using cpp-4.2 instead of cpp

And yes, GGI works well under snow leopard :-)

Best regards,

PO

hjasak February 10, 2010 11:40

"Thy will be done" :)

podallaire February 10, 2010 17:43

Sounds good !

Regarding ggi (used as a sliding interface in my case) / is it possible it's not compatible with libfvMotionSolvers.so ? I'm getting a strange warning :

Not implemented

From function coupledFacePointPatch::pointNormals() const
in file meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.C at line 74.

Let me know if you prefer that I post this ggi question on another thread

Thanks

PO

podallaire February 11, 2010 09:23

sorry, my question was not clear, I should reformulate by saying that I'm
trying to use the velocityComponentLaplacian solver from dynamicMotionSolverFvMesh
where my mesh has 2 regions connected with a ggi.

Regards,

PO


All times are GMT -4. The time now is 08:45.