Difference between revisions of "Numba"

From UFRC
Jump to navigation Jump to search
m (Text replacement - "#uppercase" to "uc")
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 20:44, 15 August 2022

Description

numba website  

Numba is an Open Source NumPy-aware optimizing compiler for Python sponsored by Anaconda, Inc. It uses the remarkable LLVM compiler infrastructure to compile Python syntax to machine code.

It is aware of NumPy arrays as typed memory regions and so can speed-up code using NumPy arrays. Other, less well-typed code will be translated to Python C-API calls effectively removing the "interpreter" but not removing the dynamic indirection.

Numba is also not a tracing JIT. It compiles your code before it gets run either using run-time type information or type information you provide in the decorator.

Numba is a mechanism for producing machine code from Python syntax and typed data structures such as those that exist in NumPy.

Environment Modules

Run module spider numba to find out what environment modules are available for this application.

System Variables

  • HPC_NUMBA_DIR - installation directory
  • HPC_NUMBA_BIN - executable directory