CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

OpenFOAM on a Mac Show Leopard 10.6

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2009, 18:23
Default OpenFOAM on a Mac Show Leopard 10.6
  #1
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
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
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   September 23, 2009, 06:34
Default
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Shocking! Buy Snow Leopard next time
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   September 23, 2009, 09:11
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by hjasak View Post
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 View Post
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
gschaider is offline   Reply With Quote

Old   September 23, 2009, 16:16
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Any idea how the performance is compared to Linux?
akidess is offline   Reply With Quote

Old   February 10, 2010, 09:03
Default
  #5
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire is offline   Reply With Quote

Old   February 10, 2010, 10:40
Default
  #6
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
"Thy will be done"
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   February 10, 2010, 16:43
Default
  #7
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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:ointNormals() 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 is offline   Reply With Quote

Old   February 11, 2010, 08:23
Default
  #8
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
OpenFOAM 15 on Mac OS X Leopard gschaider OpenFOAM Installation 13 April 29, 2009 13:33
OpenFOAM on mac OSX Nick Colam Main CFD Forum 3 January 27, 2009 00:06
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 02:12.