This document is essential reading for every user of the NAG Parallel Library implementation specified in the title. It provides implementation-specific detail that augments the information provided in the NAG Parallel Library Manual.
NAG recommends that users read the following minimum reference material before calling any library routine:
(a) Essential Introduction
(b) Chapter Introduction
(c) Routine Document
(d) Implementation-specific Users' Note
Items (a), (b) and (c) are included in the NAG Parallel Library Manual, which should be available locally in printed and PDF form (see Section 4); item (d) is this document, which is provided in HTML form.
Parallel programs using the NAG Parallel Library require Fujitsu MPI-2 to be installed.
Assuming that a link to libnagmpi.a has been placed in a directory in the search path of the linker, then you may link to the NAG Parallel Library (using the Fujitsu Basic Linear Algebra Subprograms (BLAS), LAPACK and ScaLAPACK libraries) as follows:
mpifrt driver.f -lnagmpi -scalapack
where driver.f is your application program.
To run a user program (say a.out) linked with the NAG Parallel Library on multiple nodes, it is necessary to use either the jobexec command or the NQS system. For example
jobexec -vp 4 -mem 256 a.out
instructs the system to execute the executable program a.out in four parallel processes. This executable could also be run using the NQS system with a command such as
qsub -lP 4 -lM 256mb a.out ^D
The mpiexec command can also be used to run MPI programs. In this case, an additional (virtual) processor is necessary when running the job, and the number of processes is specified with the -n flag:
qsub -lP 5 -lM 256mb mpiexec -n 4 a.out ^D
The example programs and data and the results obtained during the preparation of this specific implementation are supplied so you can try them yourself, or use one as a template for your own program. Note that the example material has been adapted, if necessary, from that printed in the NAG Parallel Library Manual, so that programs are suitable for execution with this implementation.
The example programs are most easily accessed by using the script nagmpiexample, which will copy an example program and its data, compile it, link it with the libraries and run it.
For example, give the command
jobexec -vp 5 -mem 256 nagmpiexample f04ebfp
to run the F04EBFP example program. Almost all the example programs have 4 processes.
The following information file is provided in the doc directory:
See Section 4 for additional documentation.
The constants referred to in the NAG Parallel Library Manual have the following values in this implementation:
The values of the machine constants are:
The basic parameters of the model
X02BHF = 2 X02BJF = 53 X02BKF = -1021 X02BLF = 1024 X02DJF = .TRUE.
Derived parameters of the floating-point arithmetic
X02AJF = Z'3CA0000000000001' (1.11022302462516D-16) X02AKF = Z'0010000000000000' (2.22507385850721D-308) X02ALF = Z'7FEFFFFFFFFFFFFF' (1.79769313486234D+308) X02AMF = Z'0010000000000000' (2.22507385850721D-308) X02ANF = Z'0010000000000000' (2.22507385850721D-308)
Parameters of other aspects of the computing environment
X02AHF = Z'4320000000000000' (2.25179981368524D+15) X02BBF = 2147483647 X02BEF = 15 X02DAF = .FALSE.
Each supported NAG Parallel Library site is ordinarily provided with a printed copy of the NAG Parallel Library Manual (or Update). If you require additional copies the please contact NAG.
Online documentation is also provided, in PDF form, with this implementation. Please refer to local information for access to this documentation.
Queries concerning this document or the implementation generally should be directed initially to your local Advisory Service. If you have difficulty in making contact locally, you can contact NAG directly at one of the addresses given in the Appendix.
The NAG Response Centres are available for general enquiries from all users and also for technical queries from sites with an annually licensed product or support service.
The Response Centres are open during office hours, but contact is possible by fax, email and phone (answering machine) at all times.
When contacting a Response Centre please quote your NAG site reference and NAG product code (in this case FDFUJ03DM).
The NAG websites are an information service providing items of interest to users and prospective users of NAG products and services. The information is reviewed and updated regularly and includes implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at
or
http://www.nag.com/ (in North America)
or
http://www.nag-j.co.jp/ (in Japan)
If you would like to be kept up to date with news from NAG you may want to register to receive our electronic newsletter, which will alert you to special offers, announcements about new products or product/service enhancements, case studies and NAG's event diary. To register simply visit the NAG Ltd website or contact us at nagnews@nag.co.uk.
Many factors influence the way NAG's products and services evolve and your ideas are invaluable in helping us to ensure that we meet your needs. If you would like to contribute to this process we would be delighted to receive your comments. Please feel free to contact the appropriate NAG Response Centre who will be happy to record your comments.
NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: infodesk@nag.co.uk Tel: +44 (0)1865 511245 Tel: +44 (0)1865 311744 Fax: +44 (0)1865 310139 Fax: +44 (0)1865 311755 NAG Inc 1431 Opus Place, Suite 220 Downers Grove IL 60515-1362 NAG Inc Response Center USA email: infodesk@nag.com Tel: +1 630 971 2337 Tel: +1 630 971 2345 Fax: +1 630 971 2706 Fax: +1 630 971 2346 NAG GmbH Schleißheimerstraße 5 85748 Garching Deutschland email: info@naggmbh.de Tel: +49 (0)89 320 7395 Fax: +49 (0)89 320 7396 Nihon NAG KK Hatchobori Frontier Building 2F 4-9-9 Hatchobori Chuo-ku Tokyo 104-0032 Japan email: help@nag-j.co.jp Tel: +81 (0)3 5542 6311 Fax: +81 (0)3 5542 6312