Intel® MPI Library

File System Support

Intel® MPI Library provides loadable shared modules to provide native support for the following file systems:

  • Panasas* ActiveScale* File System (PanFS)

  • Lustre* File System

  • IBM* General Parallel File System* (GPFS*)

Compiling an MPI Program

This topic describes the basic steps required to compile and link an MPI program, using the Intel® MPI Library SDK.

To simplify linking with MPI library files, Intel MPI Library provides a set of compiler wrapper scripts with the mpi prefix for all supported compilers. To compile and link an MPI program, do the following:

Using -gtool for Debugging

The -gtool runtime option can help you with debugging, when attaching to several processes at once. Instead of attaching to each process individually, you can specify all the processes in a single command line. For example:

$ mpirun -n 16 -gtool "gdb:3,5,7-9=attach" ./myprog

The command line above attaches the GNU* Debugger (GDB*) to processes 3, 5, 7, 8 and 9.

Environment Problems

Environmental errors may happen when there are problems with the system environment, such as mandatory system services are not running, shared resources are unavailable and so on.

When you encounter environmental errors, check the environment. For example, verify the current state of important services.

Example 1

Symptom/Error Message

librdmacm: Warning: couldn't read ABI version.
librdmacm: Warning: assuming: 4
librdmacm: Fatal: unable to get RDMA device list


Running an MPI Program

Before running an MPI program, place it to a shared location and make sure it is accessible from all cluster nodes. Alternatively, you can have a local copy of your program on all the nodes. In this case, make sure the paths to the program match.

Run the MPI program using the mpiexec command. The command line syntax is as follows:

> mpiexec -n <# of processes> -ppn <# of processes per node> -f <hostfile> myprog.exe

For example:

Secure Loading of Dynamic Link Libraries

The Intel® MPI Library provides enhanced security options for the loading of Dynamic Link Libraries*. You can enable the enhanced security mode for the dynamic library loading, as well as define a set of directories in which the library will attempt to locate an external DLL*.

The security options are placed in the HKEY_LOCAL_MACHINE\Software\Intel\MPI protected Windows* registry key. The location prevents the options from being changed with non-administrative privileges.

Subscribe to Intel® MPI Library