Skip to content

mpfr: GNU Multiple-precision Floating point library

Overview of package

Package: mpfr
Description: GNU Multiple-precision Floating point library
For more information: https://www.mpfr.org/
Categories: SoftwareDevelopment
NumericalMethods
License: OpenSource (LGPL2.1)

General Usage

GNU MPFR is a library for Multiple-Precision Floating-point computation with correct Rounding. It strives for both efficiency and having well-defined semantics

The following environmental variables have been defined:

  • $MPFR_ROOT has been set to the root of the mpfr installation
  • $MPFR_LIBDIR points to the directory containing the libraries
  • $MPFR_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$MPFR_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$MPFR_LIBDIR -Wl,-rpath,$MPFR_LIBDIR

Available versions by cluster

This section lists the available versions of the package mpfron the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
4.0.2 4.0.2 zen Yes
4.2.0 4.2.0 icelake, x86_64, zen2 Yes
4.1.0 4.1.0 zen2 Yes
3.1.6 3.1.6 zen2 Yes