pythonnumexpr

numexpr, check for the presence of VML


There are many different Python distributions that allow for the installation of complementary modules, sometimes using different tools so that, when one installs a new package, it's not always immediately apparent how the package was built.

A specific question that I'd like to ask in this respect is, was my numexpr module built against the MKL libraries and, more specifically, the Vector Mathematical Functions code (VML).

Is it possible to check, using Python, if the numexpr module installed by my distribution supports VML?


Solution

  • You can try this:

    import numexpr as ne
    ne.use_vml