BaM-tools / BaM

BaM (Bayesian Modeling) is a framework aimed at estimating a model using a bayesian approach and using it for prediction, with a particular focus on uncertainty quantification.
Other
2 stars 0 forks source link

Review compiler options under CodeBlocks #3

Closed benRenard closed 1 year ago

benRenard commented 2 years ago

Options were: "-Wl,-z,stack-size=999999999,-rpath,'$ORIGIN/lib_so'"

These options were not recognized by gfortran and are not consistent with the makefile options

DONE: simplified codeblocks options to "-Wall" 2DO: review options for both the codeblock project and the makefile, in particular stack size, and make them consistent

benRenard commented 1 year ago

Current options seem ok, no memory issue if executable is compiled within a 64-bits environment. See here for one way to achieve this under Windows (should be set up out-of-the-box for Linux).

Compiler options are hence left as is, and from now on the makefile should be considered as the only trusted reference (since the released executables are compiled with the makefile). IDE-specific projects are kept for convenience (CodeBlocks, IVF, maybe others in the future), but at any given time they be out-of-sync with the makefile.