benchmarks icon indicating copy to clipboard operation
benchmarks copied to clipboard

Add n-body example

Open certik opened this issue 4 years ago • 1 comments

This benchmark / example could be identical to all the Fortran versions from:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/nbody.html

We can also try a few different n-body problems.

certik avatar Jun 28 '21 20:06 certik

nbody6.zip I modified the source file at https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-ifc-6.html by reorganizing the three sets of DO loops in subroutine advance() into two sets. On my PC, with Intel OneAPI 2021.5, this reorganization increased the speed by 18 percent.

xecej4 avatar May 02 '22 03:05 xecej4