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

OpenFoam in docker (gcc 6) vs. OpenFoam natively compiled (gcc 8.1.1)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2018, 09:02
Default OpenFoam in docker (gcc 6) vs. OpenFoam natively compiled (gcc 8.1.1)
  #1
New Member
 
Join Date: Jan 2018
Posts: 12
Rep Power: 8
Anouk is on a distinguished road
We have an AMD Epyc Workstation running OpenSuse Tumbleweed and installed OpenFoam 5.x & 6.0 both natively compiled (gcc 8.1.1) and a docker version OpenFoam 5.0 & 6.0. Running the same example in pimpleDyMFoam (pimpleFoam in 6) on one core, we got pretty different calculation times

OpenFoam 5.0 docker: 54872s
OpenFoam 5.x native gcc8.1.1: 67117s (+22.3% to docker OF5.0)
OpenFoam 6.0 docker: 98128s (+78.8% to docker OF5.0)
OpenFoam 6.0 native gcc8.1.1: 115184s (+17.4% to docker OF6.0, 71.6% to OF5.x native)

In overall the docker OpenFoam was 17-22% faster than the natively compiled versions.
Is there a good explanation for this. Do the docker versions of OpenFoam have more aggressive compiler settings or is it really an issue between gcc 8.1.1 and gcc 5 Ubuntu 5.4.0 for the docker? If the docker version has a more aggressive compiler setting could this be provided to get also better results in the native compiled versions?

The time difference of Version 5 to 6 is also a little bit annoying but is probably caused by some changes in the standard inner iteration settings that we did not yet figure out. Most likely the PIMPLE iterations termination criteria changed since in OF5 we get 11-12 PIMPLE iterations while for OF6 we get always 20 (maximum number of inner iteration was set to 200).
Anouk is offline   Reply With Quote

Reply


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
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 20:00
OpenFOAM 1.6 ext fportela OpenFOAM Installation 11 December 26, 2013 19:55
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 06:51
Question on specify gcc compiler for OpenFOAM 15 peterlai OpenFOAM Installation 2 October 2, 2008 08:20
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 13:35.