For a runtime flag, I recently rolled my own solution at https://github.com/JuliaQuantumControl/QuantumControlBase.jl/blob/master/src/conditionalthreads.jl, as discussed in Optional macro invocation - #21 by goerz
For a runtime flag, I recently rolled my own solution at https://github.com/JuliaQuantumControl/QuantumControlBase.jl/blob/master/src/conditionalthreads.jl, as discussed in Optional macro invocation - #21 by goerz