# Usage of GMP on JUWELS

GMP version 6.1.2 is available on JUWELS.
It is available with GCC-core and thus can be loaded with GCC as well as with Intel compiler.

The general way to compile and link a program main.c with calls to GMP is:

icc -I$EBROOTGMP/include main.c -L$EBROOTGMP/lib -lgmp -lm