Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add n-body example #13

Open
certik opened this issue Jun 28, 2021 · 1 comment
Open

Add n-body example #13

certik opened this issue Jun 28, 2021 · 1 comment

Comments

@certik
Copy link
Member

certik commented Jun 28, 2021

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.

@xecej4
Copy link

xecej4 commented May 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants