Overhead of modern Fortran features

For the Himeno Benchmark for incompressible fluid analysis

This program is a Himeno benchmark problem written in Modern Fortran style, achieving almost the same execution performance as the original version. In this program, global variables are eliminated, and some variable names and subroutine names are refactored.

it was found that the modern version is about 2% slower than the original.

3 Likes