.TH "Users' Note" 3NAG "15/08/97" "Parallel Library" .SH "Name" nag_mpi_un \- NAG Parallel Library (MPI-based version), Release 2, Users' Note .SH "Title" .B " NAG Parallel Library (MPI-based version), Release 2 .B " FDHIT02DM .B " Hitachi SR2201 .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 (MPI 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 "MPI" HI-UX/MPP MPI is compatible with MPICH 1.0.11. The low-level communication layer has been replaced with the remote DMA mechanism in HI-UX/MPP. Inter-process communication in HI-UX/MPP MPI is based on Combuf Message-passing Library (CML) communication using the remote Direct Memory Access (DMA) communication. ADI (Abstract Device Interface) layer in HI-UX/MPP MPI handles the CML functions. See `Explanation and Usage of HI-UX/MPP MPI Functions' manual for further information. .SS "Accessing the Library" The NAG Parallel Library is composed of six different libraries. Assuming that .nf (a) libnagmpi.a, libnagmpiz.a, libnagpblas.a, libnagmpiblacs.a, libnagtools.a and libnagfls.a have been installed in a directory in the search path of the linker (b) the MPI libraries libmpi.a and libfmpi.a have been been installed in /usr/local/mpi/lib/hmpp2/cml N.B. The MPICH Version 1.0.11 has been used as the basis for the HI-UX/MPP implementation. .fi then a user may link to the NAG Parallel Library as follows: .nf f90 driver.f -lnagmpi -lnagpblas -lnagmpiz -lnagtools \\ -lnagmpiblacs -L/usr/local/mpi/lib/hmpp2/cml -lmpi \\ -L/usr/local/mpi/lib/hmpp2/cml -lfmpi -lnagfls .fi where driver.f is the user's application program. N.B. Version 1.1 of the BLACS (Basic Linear Algebra Communication Subprogram) was used in this implementation. .SS "Running NAG Parallel Library Programs" The `mpirun' command has to be used to run a user program, say a.out, linked with the NAG Parallel Library on multiple nodes of a partition defined as an environment variable DEFPART in a Hitachi SR2201 system, e.g. mpirun -np 4 -part $DEFPART a.out instructs the system to execute the executable program a.out in four parallel processes in partion `$DEFPART' (use the HI-UX/MPP command `hpstatus' to display node partition status). Using the `-np' option leaves the task of mapping parallel processes onto the available processor nodes to the operating system. .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_mpi_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 = Z'3CA0000000000001' ( 1.11022302462516D-16 ) X02AKF = Z'0010000000000000' ( 2.22507385850721D-308 ) X02ALF = Z'7FEFFFFFFFFFFFFF' ( 1.79769313486231D+308 ) X02AMF = Z'0010000000000000' ( 2.22507385850721D-308 ) X02ANF = Z'0020000000000000' ( 4.45014771701441D-308 ) .in -4 Parameters of other aspects of the computing environment .in +4 X02AHF = Z'42F0000000000000' ( 2.81474976710656D+14 ) 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