Module Expr Str Import alias ImportFrom alias Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Dict Str Str Str ListLoad Str ListLoad Str ListLoad Str Assign NameStore Dict Str Str ListLoad Str ListLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad NameLoad body For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad NameLoad body For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Return NameLoad decorator_list
N/A N/A 
Compile openmp extensions with distutils.

:func:`openmp_ext` returns a replacement *build_ext* command that adds
OpenMP command line parameters to the C compiler for your system.  Use
this is setup.py for any modules that need to be compiled for OpenMP.
 N/A sys distutils.command.build_ext build_ext N/A __all__ N/A openmp_ext openmp_ext N/A N/A default N/A True N/A N/A 
    Enable openmp.

    Add the following to setup.py::

        setup(..., cmdclass={'build_ext': openmp_build_ext()}, ...)

    Enable openmp using "--with-openmp" as a setup parameter, or disable
    it using "--without-openmp".  If no option is specfied, the developer
    *default* value will be used.

    On OS X you will need to specify an openmp compiler::

        CC=openmp-cc CXX=openmp-c++ python setup.py --with-openmp

    Note: when using openmp, you should not use multiprocessing parallelism
    otherwise python will hang.  This is a known bug in the current version
    of python and gcc.  If your modeling code is compiled with openmp, you
    can set OMP_NUM_THREADS=1 in the environment to suppress openmp threading
    when you are running --parallel fits in batch.
     N/A with_openmp default N/A N/A --with-openmp N/A sys argv N/A N/A with_openmp True N/A N/A N/A N/A sys argv remove --with-openmp N/A N/A N/A --without-openmp N/A sys argv N/A N/A with_openmp False N/A N/A N/A N/A sys argv remove --without-openmp N/A N/A with_openmp N/A N/A build_ext N/A compile_opts N/A msvc mingw32 unix N/A /openmp N/A -fopenmp N/A -fopenmp N/A link_opts N/A mingw32 unix N/A -fopenmp N/A -lgomp OpenMPExt N/A build_ext N/A build_extensions N/A N/A self N/A N/A N/A c N/A N/A self compiler compiler_type N/A N/A c compile_opts N/A N/A e N/A self extensions N/A N/A N/A e extra_compile_args N/A compile_opts N/A c N/A N/A c link_opts N/A N/A e N/A self extensions N/A N/A N/A e extra_link_args N/A link_opts N/A c N/A N/A N/A build_ext build_extensions self N/A N/A N/A OpenMPExt N/A