Difference between revisions of "Numba"

From UFRC
Jump to navigation Jump to search
m (Text replacement - "#uppercase" to "uc")
Line 1: Line 1:
[[Category:Software]][[Category:Compiler]]
+
[[Category:Software]][[Category:Compilers]]
 
{|<!--CONFIGURATION: REQUIRED-->
 
{|<!--CONFIGURATION: REQUIRED-->
 
|{{#vardefine:app|numba}}
 
|{{#vardefine:app|numba}}

Revision as of 14:23, 27 May 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