[Contents] [Preface] [Chapter 2] [Index]
This chapter provides a description of Compaq MPI, and the information required to install it. The chapter consists of the following sections:
Compaq MPI is a proprietary implementation of MPI software for Alpha systems running the Compaq Tru64 UNIX (formerly DIGITAL® UNIX) operating system, and is supported on both standalone SMP systems and Memory Channel clusters. Compaq MPI is derived from MPICH Version 1.1.1 from Argonne National Laboratories. Compaq MPI is optimized to give you low latency, high bandwidth message passing in SMP and SMP cluster environments.
The goal of MPI software is to provide a practical, portable, efficient, and flexible standard for message passing programs.
This section describes the requirements to check before installing Compaq MPI; how to install the Compaq MPI kit; and, after installation, how to verify the installation, initialize machines in a cluster, and set shared memory and Memory Channel parameters.
You need the following hardware to run Compaq MPI:
You need the following software to run Compaq MPI:
Note: If you are using multiple Memory Channel rails, you must use Tru64 UNIX Version 4.0D and TruCluster Version 1.5.
To install Compaq MPI from a CD-ROM, follow these steps.
If you are using Memory Channel, you must check that each machine in the cluster is initialized for user-level access.
To check, and initialize if necessary, follow these steps:
To search for the process imc_mapper on each machine, enter this command:
for example, the return message below might appear:If the process described in step 1 does not exist on a machine that you intend using as part of the cluster, enter the following command as root on the machine:
You enter this once and it is in effect until the machine is shut down. (There is no problem in executing this if the command was entered previously. See the imc_init man pages for details.)This prevents Memory Channel resources from being inherited by a forked process.
To configure the use of the single-rail style, change the /etc/sysconfigtab file by adding or modifying the following entry:
Compaq MPI uses shared memory for communication within a host, and Memory Channel for communication between hosts. This is achieved by setting up "communication channels", each of which is either a shared memory segment or a group of Memory Channel pages.
The size of each communication channel is set by the user using the -ump_bufs option. (See Executing with Options.) The default value is 32K.
If very large applications are being run, it may be appropriate to increase the data and stack size using the limit command; for example,
To modify the value of the shm-seg variable, edit the /etc/sysconfigtab file and include or modify the following entry:
To change the system parameter, edit the /etc/sysconfigtab file and include or modify the following entry:
Communication across Memory Channel uses a similar scheme to shared memory. The maximum Memory Channel allocation allowed is set by default to 10MB. There is a limit of 128MB on Memory Channel allocation using Memory Channel Version 1.5, and a limit of 512MB on Memory Channel Version 2.0.
It is desirable before running an MPI program to increase the default values. Increasing the default values does not use up memory resources but allows MPI to access more Memory Channel space.
To increase from the default 10MB allocation on each host, for example to 100MB, follow one of these steps:
It is recommended that you increase these values to the maximum allowed for your configuration.
Each shared memory or Memory Channel communication channel uses up a virtual memory object. The number of virtual memory objects allowed is a kernel-defined parameter. This parameter needs to be at least twice as large as the number of communication channels between tasks.
To change this value, follow these steps:
[Contents] [Preface] [Chapter 2] [Index]
Copyright © 1999, Digital Equipment Corporation. All rights reserved. Unpublished rights reserved under the copyright laws of the United States.