This allows any compiled instrument to run with --trace=0#2010
Conversation
…ve of compiled-in support (modern versions of mc/mxdisplay use either trace=1 or trace=2 in visualisation mode)
|
@farhi @g5t @mads-bertelsen @tweber-ill I was also considering to swap the default, i.e. let all instrument have Anyone running using Also, in my view the users are most often confused that the default of the What do you think? (I will actually copy this across to a "discussion" - better place to have it I think...) |
|
That makes sense indeed. 5% faster means a coffee during calculation. I vote for. |
In 3.5.27 and earlier recent releases, running e.g.
mcstas my.instr(leaving out--trace)mcrun my.instr(for compilation)results in this type of error message, since mcrun passes
--trace=0to the resulting binary:This PR allows any compiled instrument to run with
--trace=0irrespective of compiled-in support.To actually use visualisation mode, --trace needs to be assigned a value (1/2), since introduction of the modernised mc/mxdisplay with
--trace=2or legacy --trace=1.The instruments now only report an error if
--traceare built withoutMCDISPLAYsupport and actually given a non-zero value.