Intel® MPI Library User's Guide for Linux* OS
To ensure that the Intel® MPI Library is installed and functioning correctly, complete the general testing below, in addition to compiling and running a test program.
To test the installation (on each node of your cluster):
Verify that <installdir>/<arch>/bin is in your PATH:
$ ssh <nodename> which mpirun
You should see the correct path for each node you test.
(SDK only) If you use the Intel® Composer XE packages, verify that the appropriate directories are included in the PATH and LD_LIBRARY_PATH environment variables
$ mpirun -n <# of processes> env | grep PATH
You should see the correct directories for these path variables for each node you test. If not, call the appropriate compilervars.[c]sh script. For example, for the Intel® Composer XE 2015 use the following source command:
$. /opt/intel/composer_xe_2015/bin/compilervars.sh intel64
In some unusual circumstances, you need to include the <installdir>/<arch>/lib directory in your LD_LIBRARY_PATH. To verify your LD_LIBRARY_PATH settings, use the command:
$ mpirun -n <# of processes> env | grep LD_LIBRARY_PATH