GMP

From ScientificComputing
Revision as of 13:03, 26 September 2016 by Sfux (talk | contribs) (Created page with "{{Application}}")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Category

Development, Library

Description

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

Links

https://gmplib.org/

https://ftp.gnu.org/gnu/gmp/
https://en.wikipedia.org/wiki/GNU_Multiple_Precision_Arithmetic_Library