GNU MP (GMP)

About

GNU MP (shortly GMP) is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers. It usually accompanies GNU Compiler Collection (GCC). There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface.

Versions available

Important

GNU MP is included in the embedded third-party library in all GCC builds available in the software repository. See GNU Compiler Collection (GCC).

If you want to add GNU MP support to the baseline version of GCC, there are environment modules that provide access to the GMP installation. To list those modules execute on login node:

module available gmp

Then select the required version and gain access to its installation by executing:

module load gmp/6/6.3.0-gcc

Build recipe

If you are interested in the recipe we followed to compile the programming code of GNU GMP, you can find it here:

https://gitlab.discoverer.bg/vkolev/recipes/-/tree/main/gmp

Getting help

See Getting help