nemo icon indicating copy to clipboard operation
nemo copied to clipboard

falcon compilation does not follow NEMO's configure model

Open teuben opened this issue 5 years ago • 3 comments

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 avatar Apr 10 '21 00:04 teuben

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

teuben avatar Apr 10 '21 01:04 teuben

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.

teuben avatar Nov 12 '21 00:11 teuben

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...

jcldc avatar Nov 12 '21 12:11 jcldc