.TH NAG_MPI_UN 3NAG .SH NAME nag_mpi_un \- NAG Parallel Library (MPI-based version), Release 2, Users' Note .ce 7 .B "NAG Parallel Library (MPI-based version), Release 2 .B "FDFU302DM .B "Fujitsu VPP300 .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 "Fujitsu VP300 and UXP/V MPI (VPP MPI) This implementation was produced on the ANU (Australian National University) thirteen processor Fujitsu VPP300 which has a peak speed of about 29 Gflops with 14 Gbytes of memory. Each processing element (PE) consists of: .ti -4 (a) a scalar unit (SU) .nf * an LIW (long-instruction-word) RISC CPU * approximatively 100 Mflops peak * simultaneous scalar, VU and DTU instructions .fi .ti -4 (b) a vector unit (VU) .nf * 1 load, 1 store, 1 add, 1 multiply, 1 divide pipe completing 8 operations per cycle (except divide which does 8 operations per 7 cycles) * chained load-mult-add allowing a peak of 2.2 Gflops (matrix multiplication achieves 2.18 Gflops) * 128 kb of vector registers configurable in "power-of-two" steps between 256 registers of length 64 words to 8 registers of length 2048 words .fi .ti -4 (c) memory (MSU) .nf * 512 Mb of SDRAM memory on 8 PEs and 2 Gb on the other 5 PEs * 4 and 16 Mbit chips on the small and large memory PEs, respectively * 64 banks .fi .ti -4 (d) a data transfer unit (DTU) .nf * for direct memory access data communication to the interprocessor network .fi All processors are "equidistant" from one another. The system has 48 Gb of RAID disk array to be used mainly for scratch and production work. The machine host is a SUN 167 MHz UltraSPARC which is available as a file server and development platform. The UXP/V MPI (VPP MPI), which is based on the specification of MPI 1.1 is used to centralize the management of the messages (data transfer between processors). In order to achieve optimal performance, the NAG Parallel Library was built from its source codes using, amongst other things, the following compiler switches for the Fortran source code: .nf -Aa the variables are aligned on the correct boundaries -Ab all dummy arguments are treated as the arguments of reference by location -Wl,-P,-J -dn suppresses the debugging function -Of flag for highest level of optimization for the Fortran compiler .fi The C source was compiled (vcc for vectorizing compiler) with -Wl,-P,-J -dn and the following switches: .nf -Ka4 specifies, in bytes, the minimum alignment boundary for external and static variables. Here, one-byte to four-byte boundary data is aligned on four-byte boundaries -K 4 -O flag for highest level of optimization for the C compiler .fi More detailed information on the meaning of the different switches can be found in the Fujitsu UXP/V FORTRAN 90/VP User's Guide (V1.0) and UXP/V C Language User's Guide (V1.0). .SS "Accessing the Library" The NAG Parallel Library consists 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 UXP/V MPI (VPP MPI) libraries specified by `-L/usr/lang/mpi/lib -lmpi' have been installed (c) the Fujitsu system libraries specified by `-lmp -lelf -lpx' have been installed .fi then a user may link (with the full optimization switch) to the NAG Parallel Library as follows: .nf frt -Aab -Wl,-P,-J -dn -Of driver.f -lnagmpi -lnagpblas -lnagmpiz \ -lnagtools -lnagmpiblacs -L/usr/lang/mpi/lib -lmpi -lmp -lelf \ -lpx -lnagfls .fi where driver.f is the user's application program. .SS "Running NAG Parallel Library Programs" To run a job on twelve processors (PE1 - PE12), one needs to submit a job from the processor PE0 to a queue which has enough attached processors (in the example below the queue is called `normal'). .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 nqsub -q normal -lM 100mb -lP 4 -lT 00:10 script where the script file `script' contains, for example: cd $HOME/fdfu302dm/scripts runex f04ebfp to compile and 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 = 1.11022302462516D-16 X02AKF = 2.22507385850721D-308 X02ALF = 1.79769313486231D+308 X02AMF = 2.22507385850721D-308 X02ANF = 4.45014771701441D-308 .in -4 Parameters of other aspects of the computing environment .in +4 X02AHF = 2.25179981368524D+15 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 email: naggmbh@nag.co.uk 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