-
Notifications
You must be signed in to change notification settings - Fork 52
Falcon stdc++17 #200
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
Falcon stdc++17 #200
Conversation
|
The VERSION is still 3.6, we should change that. The "make check" and "make bench5" didn't' show any issues, but I found a small difference in the final result of another test done, two ways: I ran this on Ubuntu 22.04 with g++ 11.4. Will also test with a g++ 14 |
|
For the diferrences, they are very small. It can be the result of the compilation with "-std=c++11", plus some modifications. It does not seem to be critical. |
|
Btw, to be compatible with c++17, I had to remove some "register" keyword, which could be why there are some tiny differences in the results. |
|
version really is a MUST! Although the differences are small, the regression test is being run with "make check" does not show any differences. Quite puzzling. Regression is on a 1024 plummer, to tstop=2, and the Etot shows a difference in the 9th decimal instead of the 8th. |
|
Are you considering merging this branch at some point? |
|
Yes, I think we only need a new version ID....but should it be just
gyrfalcon?
Btw, I'm snorkeling in Fiji as we speak, but flying back this evening
…On Thu, Sep 18, 2025, 03:26 Jean-Charles Lambert ***@***.***> wrote:
*jcldc* left a comment (teuben/nemo#200)
<#200 (comment)>
Are you considering merging this branch at some point?
—
Reply to this email directly, view it on GitHub
<#200 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZ4MGOFI67MV77AEQQOG5D3TF4QVAVCNFSM6AAAAACE262AYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGMBTGUZDOOJTGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
What do you mean by new version ID ? (Lucky guy in Fidji) |
|
Ok, I see, it's too early to merge in master. |
|
in falcON/src/public/exe/gyrfalcON.cc we should then edit the but the problem is now that every executable would need such a patch :-( There is no VERSION type tag for the library. On the other hand, gyrfalcON is the main engine, and I would probably like on a user level that one can see this is the new version so I would suggest we just change the 3.6 to 3.7 (and the date). I guess would keep Walter as the main author. |
Yes sure ! |
In this branch, the Dehnen code (falcON) is now compatible with the C++17 standard. When compiling, there are practically no more warnings, both with g++ (Linux) and with clang++ on Mac Intel/ARM.
In the make.gcc and make.clang configurations files, I have forced the C++11 standard because some compilers are not yet C++17 compatible.