Tech Tip: Replacing NAG Fortran Library routines with their SMP equivalents

The NAG SMP Library is based on, and includes, the full functionality of the NAG Fortran Library so the argument list and routines names are identical.

This provides an easy upgrade path because the same code can call a routine that performs the same function, in either the Fortran Library or the SMP Library. The distinction between the two is only made when the final code is linked to a library. Applications that reference a NAG Library routine can therefore take advantage of the performance improvement simply by recompiling and linking your code on an SMP system.

No specialist parallel programming knowledge is required to apply the SMP techniques to your code. The parallelism is carried out automatically and transparently in certain distinct regions within the routines.

For specific technical advice in using NAG's products, please contact our technical experts.

Return to Technical Tips & Hints index page.