Pittsburgh Supercomputing Center 

Advancing the state-of-the-art in high-performance computing,
communications and data analytics.


MPFR is a C library for multiple-precision floating-point computations with correct rounding. MPFR is based on the GMP multiple-precision library.

The main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both efficient and has a well-defined semantics.

Installed on blacklight.


  1. Create a batch job to do the following things:
    1. Set up the module command.
    2. Load the MPFR and the GMP modules. You can see which modules are available by typing
      module avail mpfr
      module avail gmp
      and then load the one you want with
      module load mpfr
      module load gmp
    3. Compile with a command like:
      icc -o prog  prog.c -I${GMP_DIR}/include -I${MPFR_DIR}/include -L${MPFR_DIR}/lib -lmpfr
  2. Submit the job with the qsub command.