MPFR

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.

Usage

  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.
Last Updated on Thursday, 04 October 2012 12:11  

More on MPFR

Sample Jobs

For blacklight

Documentation

  • MPFR is free and distributed under the GNU Lesser GPL.
  • The MPFR web site.

More User Information

Passwords

Connect to PSC systems:

PSC Policies

Technical questions:

Call the PSC hotline: 412-268-6350 / 800-221-1641 or mail to remarks@psc.edu.