I heard the Intel® MPI Library 4.0 has a fancy new fabric to enable support for tag matching interfaces (TMI) such as QLogic* PSM* and Myrinet* MX*. How do I enable it?
It’s as easy as 1-2-3:
- Create a
tmi.conffile for your chosen fabric driver. You can find an exampletmi.conffile in the<impi_install_dir>/etc[64]directory.- If your cluster is running the Myrinet* MX* drivers, your
tmi.conffile should have the following contents:$ cat tmi.conf
# TMI provider configuration
mx 1.0 libtmip_mx.so " " # comments ok - If your cluster is running the Qlogic* PSM* drivers, your
tmi.conffile should have the following contents:$ cat tmi.conf
# TMI provider configuration
psm 1.0 libtmip_psm.so " " # comments ok
Make sure your
LD_LIBRARY_PATHincludes the Intel MPI Librarylib[64]directory. You can do that easily by sourcing the providedmpivars.[c]shscripts.Alternatively, you can specify the full path to the TMI library in the
tmi.conffile as illustrated in the following example for the PSM* interface:$ cat tmi.conf
# TMI provider configuration
psm 1.0 /opt/intel/impi/4.0/lib64/libtmip_psm.so " " # comments ok - If your cluster is running the Myrinet* MX* drivers, your
-
Position the new
tmi.conffile appropriately. The default location for this configuration file is/etc/tmi.conf. If the/etcdirectory is not shared amongst all nodes, manually copy thetmi.conffile across the cluster.Alternatively, you can use the
TMI_CONFIGenvironment variable to point to a new location, as follows:$ export TMI_CONFIG=/home/myid/tmi.conf
If you use the
TMI_CONFIGvariable as specified, the Intel MPI Library will use the new/home/myid/tmi.confconfiguration file instead of/etc/tmi.conf. -
Enable the use of the tmi fabric on your Intel MPI Library command line by setting the
I_MPI_FABRICSenvironment variable as follows:$ export I_MPI_FABRICS=shm:tmi # for shared memory and TMI communication
or$ export I_MPI_FABRICS=tmi # for TMI-only communication
Alternatively, this can be selected at runtime on your command line:
$ mpirun –genv I_MPI_FABRICS shm:tmi –n 2 ./exe
You can find additional information in the Intel MPI Library Reference Manual, or contact us by posting at the Intel® Clusters and HPC Technology Forums.
