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

falcon compilation does not follow NEMO's configure model #48

Open
teuben opened this issue Apr 10, 2021 · 3 comments
Open

falcon compilation does not follow NEMO's configure model #48

teuben opened this issue Apr 10, 2021 · 3 comments

Comments

@teuben
Copy link
Owner

teuben commented Apr 10, 2021

This is a well known problem, but the recent introduction of make.sh.in that configure will turn into make.sh, which the falcON build system inherits, can help the situation.
In particular, setting a non-standard compiler should be done via configure, e.g.

   CC=gcc-10 CXX=g++-10 F77=gfortran-10 ./configure 

There are still some problems left to resolve, e.g. compiler options, non-compliance in clang, the compiler setting in bodyfunc

@teuben
Copy link
Owner Author

teuben commented Apr 10, 2021

Compiler name for bodyfunc is now properly inherited (e.g. g++ vs. g++-10)

@teuben
Copy link
Owner Author

teuben commented Nov 12, 2021

make.gcc seems to set the std=c++03, which is good, but this way we'll never find out how falcON has to grow with C++ versions.

@jcldc
Copy link
Collaborator

jcldc commented Nov 12, 2021

Well, falcON c++ has been designed quite a long time ago and since then, c++ specs have been evolved a lot. And the way how falcON have been developed, it would be difficult to adapt it to the latest c++ standard....
The problem will be when new c++ compilers will not provide std=c++03 compilation options...

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