GMP
From ScientificComputing
Contents
Category
Development, LibraryDescription
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 |
Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.
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 |
Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.
License information
GPLv3 or laterLGPLv3 or later
Links
https://gmplib.org/https://ftp.gnu.org/gnu/gmp/
https://en.wikipedia.org/wiki/GNU_Multiple_Precision_Arithmetic_Library