sp-announcements mailing list archive
Index NAG SMP 32-bit library also available for evaluation on Seaborg

From: Harsh Anand (harsh_at_nersc.gov)
Date: 03/08/2002


Dear SP Users,

NERSC is considering buying license for the NAG SMP library for the
IBM SP (seaborg.nersc.gov).  This library is available for evaluation
till end of March 2002. Please test it and send your feedback/comments
to
Harsh Anand (hanand_at_lbl_dot_gov).

The NAG SMP Library is a library of Fortran 77 routines optimised for
use on Symmetric Multi-processor (SMP) machines which are
multi-processor platforms with a (virtual or real) shared memory (such
as a single node of the SP).  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.

Note: NAG_SMP 64-bit library is also available fo evaluation.
See the announcement:

http://hpcf.nersc.gov/hypermail/sp-announcements/0077.html


To use the NAG SMP 32-bit library:

1. First load the module "nag_smp32"
   %module load nag_smp32


2. Then compile and link with the library, e.g.

   xlf_r -q32 -qsmp=omp -qnosave -o driver.exe driver.f $NAG_SMP32


   where driver.f is your application program.

3. Set the environment variable OMP_NUM_THREADS to the number of
   available processors. E.g. for C-shell:
   setenv OMP_NUM_THREADS 16

4. Then execute the program in the "normal" way:

./driver.exe

To run example program, (say) c06eaf, do the following:
%nagsmpexample c06eaf

It will copy the example program and its data into the files c06eafe.f
and c06eafe.d in the current directory and process them to produce the
example program results.

For implementation-specific detail see "Users' Note" at:
http://hpcf.nersc.gov/software/libs/math/nag_smp/un.html

General Description: http://www.nag.com/numeric/fl/FSdescription.asp

Link to full documentation:
http://www.nag.com/numeric/FL/manual/html/FSlibrarymanual.asp

List of routines that are enhanced:
http://www.nag.com/numeric/FL/manual19/pdf/genint/news_fs20.pdf


Regards,

Harsh Anand

User Services Group           email: harsh_at_nersc_dot_gov
NERSC Division                phone: (510) 486-5575
Berkeley Lab                           fax: (510) 486-7520