[gmx-developers] Turning off optimization

Mark Abraham Mark.Abraham at anu.edu.au
Wed Jul 1 10:25:15 CEST 2009


David van der Spoel wrote:
> Hi,
> 
> how do I turn off optimization when compiling gromacs, now that it has 
> become much more difficult to use CFLAGS, CXXFLAGS etc.?
> --disable-cpu-optimization drops the optimization from -03 to 02, but I 
> don't want any optimization (not just for debugging but because my code 
> does not compile otherwise).

Sounds like whatever mechanism is being used by 
--disable-cpu-optimization should be used by a new option 
--disable-all-optimization as well. Why is CFLAGS now harder to use?

Mark



More information about the gromacs.org_gmx-developers mailing list