What is GMP?

GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. The main target applications for GMP are cryptography applications and research, internet security applications, algebra systems, computational algebra research, etc.

GMP version supported in different HPC system is listed at Scientific Software and Programming Tools

Using GMP on HPC systems

To setup required environment variables for GMP, please use command module load gmp to load the GMP module.

To link a program with GMP, you can use the following command (or its equivalent if compilers other than GNU C Compiler is used):
gcc -lgmp your_program.c

Additional Information

More information can be found on http://gmplib.org/