-
Notifications
You must be signed in to change notification settings - Fork 10
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
optimisation coded, but not used #23
Comments
credit to Evert! |
from some preliminary tests, using the optimisation flags speeds up SeBa by a factor 2-3. |
I have no objections, provided the tests on the AMUSE side don’t fail on this.
Probably they won’t.
Btw, is this for standalone SeBa or also the version in AMUSE (which inherits some settings from config.mk)?
|
It would be for both. @spzwart do you remember if for some reason it was switched of? otherwise I'll switch it back on. A factor 2-3 improvement is always nice. |
Yes, I think that we had done problems with the convergence in teaching RLOF. but lets them out back on, and test the code, see what happens. |
The Makefiles of SeBa include the optimisation flag -O through CFLAGS += -O
However CFLAGS is not used.
My suggestion: add a flag: CXXFLAGS += -O (or -O2)
Any objections of why not to do this?
The text was updated successfully, but these errors were encountered: