Navigation and service

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:

module load GCC
module load Intel
module load gmp/6.1.2
icc -I$EBROOTGMP/include main.c -L$EBROOTGMP/lib -lgmp -lm

Additionally there are GMP routines in MKL.