NERSC logo National Energy Research Scientific Computing Center
  A DOE Office of Science User Facility
  at Lawrence Berkeley National Laboratory
PackagePlatformCategoryVersionModule Install DateDate Made Default
nag bassi libraries/math 32-bit 21 nag_32
nag bassi libraries/math 64-bit Mark 20 nag_64/20
nag bassi libraries/math 64-bit Mark 21 nag_64
nag bassi libraries/math SMP 64-bit 2.0 nag_smp
nag jacquard libraries/math 21 nag

NAG SMP Math Library

The NAG SMP Library is a library of Fortran 77 routines optimised for use on Symmetric Multi-processor (SMP) machines. It contains all the routines contained in the NAG Fortran Library.

The subroutine interfaces of the SMP version are identical to those of the NAG Fortran library; this makes porting from NAG Fortran library to NAG SMP library trivial -- just recompile and relink your code to the SMP Library to take advantage of the capabilities of the architecture IBM SP Power3. The version on IBM SP is double precision.

Note: In current release, a much larger number of routines have been specially tuned to maximize their performance on shared memory parallel systems. For list of tuned routines, see NAG SMP Library Release 2 News

How to use

  • On Bassi
    % module load nag_smp 
    % xlf_r  -qsmp=omp -qnosave  $NAG_SMP ...  
    

    Example Programs

    NAG SMP example programs can be accessed by the command nagsmpexample. For example,

    % nagsmpexample c06eaf
    

    It will copy the example program and its data into the files c06eafe.f and c06eafe.d in the current directory and then compile, link, and execute the example and write its results to stdout. Further usage details may be obtained by using the command nagsmpexample without arguments.

    Documentation

    For NERSC implementation-specific detail see Users' Notes. For NAG SMP on-line documentation, see the NAG Website: NAG SMP Library, NAG SMP Library Release 2 News


  • LBNL Home
    Page last modified: Tue, 12 Feb 2008 22:40:20 GMT
    Page URL: http://www.nersc.gov/nusers/resources/software/libs/math/nag_smp/
    Web contact: webmaster@nersc.gov
    Computing questions: consult@nersc.gov

    Privacy and Security Notice
    DOE Office of Science