--prefix

C – Troubleshooting InfiniPath MPI Troubleshooting

Q

For these examples in Section C.8.5 below, we assume that these new locations are:

/path/to/devel (for mpi-devel-*) /path/to/libs (for mpi-libs-*)

C.8.5

Compiling on Development Nodes

If the mpi-devel-*rpm is installed with the --prefix /path/to/develoption then mpicc, etc. will need to be passed -I/path/to/devel/includein order for the compiler to find the MPI include files, as in this example:

$ mpicc myprogram.c -I/path/to/devel/include

If you are using Fortran90 or Fortran95, a similar option is needed for the compiler to find the module files:

$ mpif90 myprogramf90.f90 -I/path/to/devel/include

If the mpi-lib-*rpm is installed on these development nodes with the /path/to/libs option, then the compiler will need to be given the -L/path/to/libsoption so it can find the libraries. Here is the example for mpicc:

$ mpicc myprogram.c -L/path/to/libs/lib (for 32 bit) $ mpicc myprogram.c -L/path/to/libs/lib64 (for 64bit)

To find both the include files and the libraries with these non-standard locations, we would now see an example like this:

$ mpicc myprogram.c -I/path/to/devel/include -L/path/to/libs/lib

C.8.6

Specifying the Run-time Library Path

There are several ways to specify the run-time library path so that when the programs are run the appropriate libraries are found in the new location. There are three different ways to do this:

Use the -Wl,-rpath,option when compiling on the development node.

Update the /etc/ld.so.conf file on the compute nodes to include the path.

Export the path in the .mpirunrc file.

These methods are explained in more detail below.

1.An additional linker option, -Wl,-rpath,supplies the run-time library path when compiling on the development node. The compiler options now look like this:

$ mpicc myprogram.c -I/path/to/devel/include

-L/path/to/libs/lib -Wl,-rpath,/path/to/libs/lib

C-16

IB6054601-00 D

Page 90
Image 90
Q-Logic IB6054601-00 D manual Compiling on Development Nodes, Specifying the Run-time Library Path

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.