NAG Library for the Xeon Phi™ Coprocessor


Unrivalled functionality, increased speed and heightened performance for the Intel Xeon Phi™ coprocessor

The NAG Library for the Xeon Phi™ Coprocessor has been developed in conjunction with Intel to harness the performance of the Intel Xeon Phi™ coprocessor.

Many of the algorithms in this Library are tuned to run significantly faster on the coprocessor both in offload or native modes.

NAG functionality now available

Why should I use the NAG Library for the Xeon Phi™ Coprocessor?

The NAG Library for the Xeon Phi™ Coprocessor has proven scalability, speed and correctness making it easy to exploit the power of the coprocessor. It contains all the powerful, robust and flexible algorithms in the NAG Library but is specifically optimized for coprocessor systems. By using the NAG Library you are future proofing your numerical software investment as your hardware grows.

Specialized parallel functionality

  • Fast Fourier Transforms (FFTs)
  • Random Number Generators
  • Quadrature
  • Partial Differential Equations
  • Interpolation
  • Curve and Surface Fitting
  • Correlation and Regression Analysis
  • Multivariate Methods
  • Time Series Analysis
  • Financial Option Pricing
  • Dense Linear Algebra (LAPACK)
  • Sparse Iterative Solvers
  • Sparse Direct Solvers (based on SuperLU)
  • Sparse Iterative Eigensolvers (based on ARPACK)
  • Ordinary Differential Equations (ODEs)
  • Optimization
  • Multivariate Statistics

Supports three modes of working with the coprocessor

The NAG Library can run in native mode, can run in a programmer controlled offload mode; and, can also be set to automatically manage offloads to help optimize total system performance depending on the size of calculations.

When working in native mode all of the library functions and routines are executed on the coprocessor; whilst working in the two offload modes when certain routines are called from the host they may execute regions of parallel work on the coprocessor. In automated offload the NAG Performance Parameters module controls which routines are run on the coprocessor, based on the nature of the routine and the scale of the problem together with the configuration of the host processor system. In the programmer controlled mode the automation is overridden by user-controlled switches that can target a specific coprocessor when required.


The software in the library is accompanied by first-class documentation giving you the detailed information you need to carry out your work quickly and effectively.

Expert Support

Subscription to our dedicated Customer Support Service includes automatic notification of updates and access to our domain experts who are there to assist you with your technical queries or difficulties

Quality Assurance

The validity of each component is tested on each of the machine ranges for which the product is available. Only when an implementation satisfies our stringent accuracy standards is it released. As a result, you can rely on the proven accuracy and reliability of the components to give you the right answers.


Supporting Documentation

The complete NAG Library for Xeon Phi™ Manual, Mark 23 can be viewed on-line in the following format:

  • HTML: The full manual available as HTML (using HTML5 features such as MathML and SVG in suitable browsers)

The Library is organized into Chapters - each being documented with its own Introduction and Contents list followed by a comprehensive document for each function detailing its purpose, description, list of parameters and possible error exits. Example programs and results are also supplied. All examples are available on-line to facilitate their use as templates for the users' calling programs.

Product Availability

The table shows current implementations.

Linux (x86)

Intel Fortran 64 bit FSLM623DC


Intel Fortran 64 bit later in 2014


Website Feedback

If you would like a response from NAG please provide your e-mail address below.

(If you're a human, don't change the following field)
Your first name.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.