Optimize OpenFOAM from the Compiler Perspective

Article Preview

Abstract:

OpenFOAM is a widely used open source computational fluid dynamics (CFD) , and the performance of its application is critical for the CFD user, and many researchers try to optimize it from various perspectives. In this paper, we try to optimization OpenFOAM application from the compiler perspective, which is the simplest way to get the optimization affect. We compare two mainstream compilers: Intel compiler icc and an open source compiler, as well as a serious of optimization option flags. Through the experiment, we find that Intel compiler has a much better performance than gcc, which is up to 9.88%, and a suitable combination of the optimization option flags is important to the compile performance.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

3183-3186

Citation:

Online since:

November 2014

Authors:

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] Jasak H, Jemcov A, Tukovic Z. OpenFOAM: A C++ library for complex physics simulations. International workshop on coupled methods in numerical dynamics. 2007: 1-20.

Google Scholar

[2] Lord R E, Kowalik J S, Kumar S P. Solving linear algebraic equations on an MIMD computer. Journal of the ACM (JACM), 1983, 30(1): 103-117.

DOI: 10.1145/322358.322366

Google Scholar

[3] Tian X, Bik A, Girkar M, et al. Intel® OpenMP C++/Fortran Compiler for Hyper-Threading Technology: Implementation and Performance. Intel Technology Journal, 2002, 6(1).

DOI: 10.1109/ipdps.2003.1213118

Google Scholar

[4] Griffith A. GCC: the complete reference. McGraw-Hill, Inc., (2002).

Google Scholar

[5] Lubin M, McMillan S, Kruse C G, et al. Efficient Software Development: 4 What's New in Intel® Parallel Studio XE 2013 Service Pack. (2013).

Google Scholar

[6] Faeh R. Erosion-based dambreak simulation/Proceedings of the 2nd International Conference on Hydroinformatics, Zurich, Switzerland. 1996: 9-13.

Google Scholar