ROOTPWA-Maintainers / ROOTPWA

ROOTPWA is a toolkit for partial-wave analysis of multi-particle final states produced in high-energy particle reactions. It is used to determine hadron spectra from experimental data.
Other
8 stars 14 forks source link

Fortran compiler flags #56

Closed suhlatwork closed 10 years ago

suhlatwork commented 10 years ago

Change the Fortran compiler flags so that they still can be changed from the Cmake command-line. Add special flags for Release and Debug builds, increase the optimization level for release builds (to the Cmake default for 'gfortran' and to the same level C++ code is compiled with).

In addition one might think about adding -Wall, -Werror, and -fimplicit-none (then at least implicit variables would need to be specified in each function) to the Fortran flags. The last two options will certainly break the build.