.TH "Users'_Note" 3NAG "08/10/97" "Parallel Library" .SH NAME nag_pvm_un \- NAG Parallel Library (PVM-based version), Release 2, Users' Note .SH "Title" .B " NAG Parallel Library (PVM-based version), Release 2 .B " FDLUX02DP .B " Linux (Intel) g77 .B " Users' Note .SH "Introduction" 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: .in +5 .ti -4 (a) Essential Introduction .ti -4 (b) Tutorial (PVM version) .ti -4 (c) Chapter Introduction .ti -4 (d) Implementation-specific Users' Note .in -5 Items (a), (b) and (c) are included in the NAG Parallel Library Manual; item (d) is this document. Each NAG Parallel Library site is supplied with at least one copy of each of the above. A postscript version of (a) and (b) and a Unix man version of (d) are available. .SH "General Information" .SS "Accessing the Library" The NAG Parallel Library is composed of six different libraries. Assuming that libnagpvm.a, libnagpvmz.a, libnagpblas.a, libnagpvmblacs.a, libnagtools.a and libnagfls.a have been installed in a directory in the search path of the linker and that the PVM libraries, libfpvm3.a and libpvm3.a, are already installed in a directory in the search path of the linker, then a user may link to the NAG Parallel Library in the following manner: .nf g77 driver.f -lnagpvm -lnagpblas -lnagpvmz -lnagtools \\ -lnagpvmblacs -lfpvm3 -lpvm3 -lnagfls .fi where driver.f is the user's application program. .SS "Starting PVM" A brief introduction to running the PVM daemon is given here. For more information, consult the man pages for pvm or pvmd. Detailed information can be found in the PVM User's Guide and Reference Manual, supplied with PVM. It is necessary to have a copy of PVM installed on the machine(s) you intend to use before executing any program that uses PVM. Before using any NAG Parallel Library routine, you must start the PVM daemon. There are two ways of doing this, through the PVM console or by invoking the PVM daemon directly. To enter the PVM console, type the command pvm which should cause the following console prompt to appear pvm> At this point the user can add hosts to the virtual machine, leave the console with the PVM daemon running or halt PVM completely. A summary of the available PVM console commands can be obtained by typing help at the console prompt. Typing quit at the console prompt exits from the console but leaves the PVM daemon running, allowing PVM programs to access PVM functions. After a program has completed successfully, the PVM daemon can be stopped by re-entering the console and typing halt. The second method of running the PVM daemon is to use the command pvmd hostfile & where hostfile is an ASCII file containing the names of the machines (nodes) to be added to the virtual machine (one name per line). This command automatically starts the PVM daemon on each of the machines. To halt the daemon, simply kill the PVM daemon background process. .SS "Example Programs" 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 runex, which will copy an example program and its data, compile it, link it with the libraries and run it. For example, give the command runex f04ebfp to run the F04EBFP example program. This will place the results in the subdirectory examples/newresults. .SS "On-line User Documentation" The following information is available in man page form: Users' Note - nag_pvm_un.3 The following information is available as ASCII files: .nf List of Contents - contents.ascii Reserved Names - reserved.ascii .fi The following information is available in postscript form: .nf Release 2 News - news.ps Future Developments - future.ps Essential Introduction - essint.ps Tutorial - tutorial.ps (step by step instructions for using the NAG Parallel Library) .fi .SH "Routine-specific Information" .ti -4 (a) X02 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 .nf .in +4 X02BHF = 2 X02BJF = 53 X02BKF = -1021 X02BLF = 1024 X02DJF = .TRUE. .in -4 Derived parameters of floating-point arithmetic .in +4 X02AJF = 1.11130722679765D-16 X02AKF = 2.22507385850721D-308 X02ALF = 1.79769313486231D+308 X02AMF = 2.22507385850721D-308 X02ANF = 2.22507385850721D-308 .in -4 Parameters of other aspects of the computing environment .in +4 X02AHF = 1.84467440737095D+19 X02BBF = 2147483647 X02BEF = 15 X02DAF = .FALSE. .in -4 .fi .SH "Additional Services from NAG" .ti -4 (a) Documentation Each NAG Parallel Library site is provided with a printed copy of the NAG Parallel Library Manual. Additional manuals are available at prices published in the NAG documentation order form. The NAG Parallel Library is also supported by a Hypertext system at extra cost which allows the user to browse through the Library documentation. Users will be advised of the availability of this system for different platforms as they become available. If you require further information please contact NAG. .SH "Support from NAG" .ti -4 (a) Contact with NAG 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 write to NAG directly, at one of the supplied addresses. Users subscribing to the support service are encouraged to contact one of the NAG Response Centres (see below). .ti -4 (b) NAG Response Centres 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 user reference and NAG product code. .ti -4 (c) Network Network, NAG's newsletter, is produced periodically and sent free of charge to sites with a supported product or service. .ti -4 (d) NAG Website The NAG Website is an information service providing items of interest to users and prospective users of NAG products and services. The information is regularly updated and reviewed and includes implementation availability, descriptions of products, downloadable software and technical reports. The NAG Website can be accessed at .nf http://www.nag.co.uk/ or http://www.nag.com/ (in the USA) .fi .SH "NAG Users Association" NAGUA, the NAG Users Association, is a self-financing, non-profitmaking body. It exists to promote communications between NAG and users of its products and services. It provides information to NAG on the requirements of users, who are in turn kept informed of developments in services. Membership is available to any institution or individual holding a licence for any NAG product or service. Members receive discounts on the registration fees at conferences and workshops. For an information pack and membership application form, please contact NAGUA at the supplied address. .SH "Appendix - supplied addresses" .nf NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: support@nag.co.uk Tel: +44 (0)1865 511245 Tel: +44 (0)1865 311744 Fax: +44 (0)1865 310139 Fax: +44 (0)1865 310139 NAG Inc 1400 Opus Place, Suite 200 Downers Grove IL 60515-5702 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 Schleissheimerstrasse 5 D-85748 Garching Deutschland Tel: +49 89 3207395 Fax: +49 89 3207396 NAG Users Association PO Box 426 OXFORD OX2 8SD United Kingdom email: nagua@nag.co.uk Tel: +44 (0)1865 31110