On Fri, Apr 18, 2014 at 04:44:58AM -0700, pbrunet wrote:
> In pythran/toolchain.py:
> > @@ -221,6 +222,12 @@ def __str__(self):
> >                   '#endif' % (n.__name__.upper(), n.__name__, n.__name__)
> >                   ) for n in sorted_exceptions])
> >
> > +        mod.add_to_init([
> > +            # make sure we get no nested parallelism that wreaks havoc in
> perf
> > +            Line('#ifdef _OPENMP\n'
> > +                 'omp_set_max_active_levels(1);\n'
> Hum, what if the user change this value as he write omp in his own code?
Then it's changed :-)