From ScientificComputing
Jump to: navigation, search


Development, Library


The GNU Multiple Precision Arithmetic Library (GMP) is a free library for arbitrary-precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. GMP has a rich set of functions, and the functions have a regular interface. The basic interface is for C but wrappers exist for other languages including Ada, C++, C#, OCaml, Perl, PHP, Python, Ruby and R.

Available versions (Euler, old software stack)

Legacy versions Supported versions New versions
5.1.3 6.0.0a, 6.1.0_cxx

Environment modules (Euler, old software stack)

The gmp module is a smart module, which checks for a loaded compiler module and then loads the corresponding GMP version. For the module load command example, we use the standard compiler gcc/4.8.2.
Version Module load command Additional modules loaded automatically
5.1.3 module load gcc/4.8.2 gmp/5.1.3
6.0.0a module load new gcc/4.8.2 gmp/6.0.0a
6.1.0_cxx module load new gcc/4.8.2 gmp/6.1.0_cxx

License information

GPLv3 or later
LGPLv3 or later