[ET Trac] [Einstein Toolkit] #515: Silently overrides DEBUG and OPTIMISE options
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Aug 24 14:34:55 CDT 2011
#515: Silently overrides DEBUG and OPTIMISE options
----------------------------+-----------------------------------------------
Reporter: barry.wardell | Owner: eschnett
Type: defect | Status: new
Priority: major | Milestone:
Component: SimFactory | Version:
Resolution: | Keywords:
----------------------------+-----------------------------------------------
Comment (by barry.wardell):
Replying to [comment:7 hinder]:
> > However, even when this is fixed, the effect of --no-optimise is to
not enable optimisation. Note that this is not the same as disabling
optimisation as it relies on the compiler's default optimisation level,
which I think is typically -O2.
>
> I added *_NO_OPTIMISE_FLAGS for precisely this reason
(http://cactuscode.org/documentation/usersguide/UsersGuidech6.html#x9-19000B2.1).
Cactus/make/configure.in sets these to default to -O0. So if you have
OPTIMISE=no, you should get -O0. If this is not working, this is a bug in
Cactus.
I hadn't realised this. In that case, --no-optimise would have been
sufficient for my purpose. I have now committed the patch to make
--optimise work as it should.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/515#comment:8>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list