fangohr / octopus-in-spack

Develop Octopus in spack (software packaging)
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Compiler optimisation level #93

Open lang-m opened 1 year ago

lang-m commented 1 year ago

Here, optimisation level -O2 is defined for Fortran, C and C++. In the (in-official) Debian package (mainly from @iamashwin99, I think) -O3 is used for Fortran and C. It would be good to check with the developers if there is any generic recommendation from their side.

fangohr commented 8 months ago

Discussion today: (@iamashwin99 @lang-m @glaweh )

Use -O3 unless we are debugging.