3 – Using InfiniPath MPI InfiniPath MPI Details

Q

programs will be started on that host before using the next entry in the mpihosts file. If the full mpihosts file is processed, and there are still more processes requested, processing starts again at the start of the file.

You have several alternative ways of specifying the mpihosts file.

1.First, as noted in section 3.3.1, you can use the command line option -m: $ mpirun -npn -m mpihosts [other options] program-name

In this case, if the named file cannot be opened, the MPI job fails.

2.If the -moption is omitted, mpirun checks the environment variable MPIHOSTS for the name of the MPI hosts file. If this variable is defined and the file it names cannot be opened, then the MPI job fails.

3.In the absence of both the -moption and the MPIHOSTS environment variable, mpirun uses the file ./mpihosts, if it exists.

4.If none of these three methods of specifying the hosts file are used, mpirun looks for the file ~/.mpihosts.

If you are working in the context of a batch queuing system, it may provide you with a job submission script that generates an appropriate mpihosts file.

3.5.7

Console I/O in MPI Programs

mpirun sends any output printed to stdout or stderr by any node program to the terminal. This output is line-buffered, so the lines output from the various node programs will be non-deterministically interleaved on the terminal. Using the -loption to mpirun will label each line with the rank of the node program that produced it.

Node programs do not normally use interactive input on stdin, and by default, stdin is bound to /dev/null. However, for applications that require standard input redirection, InfiniPath MPI supports two mechanisms to redirect stdin:

1.If mpirun is run from the same node as MPI rank 0, all input piped to the mpirun command will be redirected to rank 0.

2.If mpirun is not run from the same node as MPI rank 0 or if the input must be redirected to all or specific MPI processes, the -stdinoption can be used to redirect a file as standard input to all nodes or to a particular node as specified by the -stdin-targetoption.

3.5.8

Environment for Node Programs

The environment variables existing on the front end node on which you run mpirun are not propagated to the other nodes. You can set the paths, such as

3-12

IB6054601-00 D

Page 54
Image 54
Q-Logic IB6054601-00 D manual Console I/O in MPI Programs, Environment for Node Programs

IB6054601-00 D specifications

The Q-Logic IB6054601-00 D is a high-performance InfiniBand adapter card designed for data centers and enterprise applications requiring robust connectivity and low-latency communication. This adapter is part of QLogic's extensive portfolio of networking solutions, catering to the needs of high-performance computing (HPC), cloud computing, and virtualization environments.

One of the standout features of the IB6054601-00 D is its capability to support data transfer rates of up to 56 Gbps. This makes it ideal for applications demanding large bandwidth and quick data processing. The adapter is optimized for RDMA (Remote Direct Memory Access) technology, which allows data to be transferred directly between the memory of different computers without involving the CPU. This reduces latency and CPU overhead, leading to enhanced overall system performance.

The architecture of the IB6054601-00 D includes support for a dual-port design, which offers increased bandwidth, redundancy, and fault tolerance. This dual-port configuration is especially advantageous for environments that require high availability and reliability, such as financial services and mission-critical applications.

The adapter utilizes advanced error detection and correction mechanisms, ensuring that data integrity is maintained during transmission. With features like adaptive routing and congestion management, the IB6054601-00 D is capable of optimizing the handling of data flows, thereby enhancing performance even under heavy loads.

In terms of compatibility, the Q-Logic IB6054601-00 D supports a wide range of operating systems and virtualization technologies, making it easy to integrate into diverse IT environments. It also includes drivers and software packages that facilitate seamless deployment and management.

In addition to high-speed connectivity, the adapter is designed with power efficiency in mind. It adheres to Energy Star regulations, helping organizations lower their operational costs while minimizing their environmental footprint.

Overall, the Q-Logic IB6054601-00 D stands out for its high throughput, low latency, and reliability. Its combination of advanced features and technologies positions it as an excellent choice for organizations looking to enhance their data center performance and maximize the efficiency of their network infrastructure. With the growing demands for faster and more efficient data transfer, solutions like the IB6054601-00 D are essential in meeting the evolving needs of modern enterprises.