[Coin-discuss] Optimization level for OsiClp, bug in pack1.mps

Matthew Saltzman mjs at ces.clemson.edu
Sun May 29 11:52:34 EDT 2005


On Sun, 29 May 2005, Michael Hennebry wrote:

> On Fri, 27 May 2005, Francois Margot wrote:
>
>>
>> Why is the default for compiling OsiClp set to -g instead of -O, like
>> for all the other modules?
>
> More importantly, why is -g treated as an optimization level?
> Debugging optimized code isn't necessarily useless.
> GNU in particular allows it, but the Coin setup makes
> doing so all too interesting.

Is there anything that stops one from putting both -Ox and -g flags in 
OptLevel, say, with += ?

I agree it would be nice to find a more flexible way to handle this 
problem, though.


>
>> As a side note, it would be easier for me to have an optimization level for
>> all the modules (like GobalOptLevel) and then using CoinOptLevel,
>> CglOptLevel, etc ... for each of the modules, setting them to
>> GlobalOptLevel by default  and leaving the option to the user to go in the
>> Makefile of a particular module to modify the optimization setting of that
>> module.
>
> I'll second that notion.

This sounds like a good first step.

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs



More information about the Coin-discuss mailing list