Q

3 – Using InfiniPath MPI InfiniPath MPI Details

To use the Intel compiler for Fortran90/Fortran95 programs, use:

$ mpif90 -f90=ifort .....

$ mpif95 -f95=ifort .....

Usage for other compilers will be similar to the examples above, substituting the options following -cc, -CC, -f77, -f90, or -f95. Consult the documentation for specific compilers for more details.

Also, use mpif77, mpif90, or mpif95 for linking, otherwise you may have problems with .true. having the wrong value. If you are not using the provided scripts for linking, you should link a sample program using the -showoption as a test, to see what libraries to add to your link line. Some examples follow.

For Fortran90 programs:

$ mpif90 -f90=pgf90 -show pi3f90.f90 -o pi3f90

pgf90 -I/usr/include/mpich/pgi5/x86_64 -c -I/usr/include pi3f90.f90 -c

pgf90 pi3f90.o -o pi3f90 -lmpichf90 -lmpich -lmpichabiglue_pgi5

Fortran95 programs will be similar to the above.

For C programs:

$ mpicc -cc=pgcc -show cpi.c pgcc -c cpi.c

pgcc cpi.o -lmpich -lpgftnrtl -lmpichabiglue_pgi5

3.5.3.1

Compiler and Linker Variables

If you use environment variables (e.g., $MPICH_CC) to select which compiler mpicc, et al. should use, the scripts will also set the matching linker variable (e.g. $MPICH_CLINKER), if not already set. If both the environment variable and command line options are used (e.g, -cc=gcc), the command line variable is used.

If both the compiler and linker variables are set, and they do not match for the compiler you are using, it is likely that the MPI program will fail to link, or if it links, it may not execute correctly. For a sample error message, please see section C.8.3 in the Troubleshooting chapter.

3.5.4

Cross-compilation Issues

The 2.x PathScale compilers aren’t currently supported on systems that use the GNU 4.x compilers and compiler environment (header files and libraries). This includes Fedora Core 4, Fedora Core 5 and SLES 10. The GNU 4.x environment will be supported in the PathScale Complier Suite 3.0 release.

IB6054601-00 D

3-9

Page 51
Image 51
Q-Logic IB6054601-00 D Compiler and Linker Variables, Cross-compilation Issues, $ mpif90 -f90=ifort $ mpif95 -f95=ifort

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.