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

PRIMA_INTEGER_KIND slightly affects the result when compiled with -Ofast -fno-stack-arrays #186

Open
zaikunzhang opened this issue Apr 7, 2024 · 0 comments

Comments

@zaikunzhang
Copy link
Member

zaikunzhang commented Apr 7, 2024

According to https://github.com/primalib/prima/actions/workflows/profile_integer_kind.yml, PRIMA_INTEGER_KIND slightly affects the result of the following solvers when compiled with -Ofast -fno-stack-arrays.

  • PRIMA_INTEGER_KIND = 16: uobyqa, newuoa, bobyqa, cobyla

  • PRIMA_INTEGER_KIND = 64: cobyla

No visible difference is observed when compiled with -ffast-math.

This is strange.

@zaikunzhang zaikunzhang changed the title PRIMA_INTEGER_KIND affects the result when compiled with -Ofast -fno-stack-arrays PRIMA_INTEGER_KIND slightly affects the result when compiled with -Ofast -fno-stack-arrays Apr 7, 2024
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