This Information is Intended for: Faculty, Guests, Researchers, Staff
Last Updated: December 13, 2023
Average Rating: Not Rated
Current Version
The current version of MPFR runnning on SeaWulf is 3.1.5. Since MPFR is based on the GMP library, you will need to load the GMP module as well using these commands:
module load mpfr/3.1.5 module load gmp/6.1.2
Compiling with MPFR
When compiling a program with MPFR, you will have to link it with the MPFR and GMP libraries:
gcc -o my_prog my_prog.c -lmpfr -lgmp
An example PBS script for compiling with MPFR can be found at:
/gpfs/projects/samples/mpfr
For more information, visit: http://www.mpfr.org/