|
[Sponsors] |
[Other] howto optimize OpenFOAM for Core i7 CPU using extended instruction set |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 23, 2015, 04:49 |
howto optimize OpenFOAM for Core i7 CPU using extended instruction set
|
#1 |
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16 |
Hi,
I tried to compile and optimize OpenFOAM for some new Core i7 CPUs with AVX2 and FMA. As far as I understand the default settings are using the general x86_64 instruction set. I forced the compiler to optimize for the extended instruction set by adding the -march=corei7 flag in /wmake/rules/linux64Gcc/c++Opt and /wmake/rules/linux64Gcc/cOpt. The compiler successfully used the settings, my first benchmarks did not show any noticeable effect though. I've been using a single thread for my cases in order to rule out MPI wait times and measure the raw CPU performance. I've got two questions regarding this issue: 1. Is this the best or correct way to set the compiler flags? 2. What performance gain can be expected from optimized binaries? Many Thanks Cutter |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
OpenFOAM CPU Usage | musahossein | OpenFOAM Running, Solving & CFD | 26 | July 18, 2013 09:03 |
OpenFOAM 13 Intel quadcore parallel results | msrinath80 | OpenFOAM Running, Solving & CFD | 13 | February 5, 2008 05:26 |
OpenFOAM 13 AMD quadcore parallel results | msrinath80 | OpenFOAM Running, Solving & CFD | 1 | November 10, 2007 23:23 |