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

Improve NEMOv4 numerical reproducibility #2895

Open
sergisiso opened this issue Feb 12, 2025 · 0 comments
Open

Improve NEMOv4 numerical reproducibility #2895

sergisiso opened this issue Feb 12, 2025 · 0 comments

Comments

@sergisiso
Copy link
Collaborator

NEMOv4 is still not tested for full numerical reproducibility as we do for NEMOv5. We just grep and compare the most significant digits of run.stat

Currently NEMOv4 is compiled with aggressive flags hardcoded in the runner NEMO/arch/* folder, this include -O3 -Mflushz -Mfma -Minline -fastsse, it would be good to parameterise this so that they can be explicitly controlled in the workflow and use the reproducible -O2 -Mnovect -Mnofma -gpu=math_uniform.

Also a few files of NEMOv4 did not work with "teams loop" but do with "loop", I suspect it has different behaviour with characters, but we need better understanding of this (do the flags above matter?).

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

1 participant