IntelĀ® MPI Library User's Guide for Linux* OS
To compile and run a test program, do the following:
(SDK only) Compile one of the test programs included with the product release as follows:
$ cd /opt/intel/samples_2016/en/mpi
$ mpiicc -o myprog test.c
If you are using InfiniBand*, Myrinet*, or other RDMA-capable network hardware and software, verify that everything is functioning correctly using the testing facilities of the respective network.
Run the test program with all available configurations on your cluster.
Test the TCP/IP-capable network fabric using:
$ mpirun -n 2 -genv I_MPI_DEBUG 2 -genv I_MPI_FABRICS tcp ./myprog
You should see one line of output for each rank, as well as debug output indicating the TCP/IP-capable network fabric is used.
Test the shared-memory and DAPL-capable network fabrics using:
$ mpirun -n 2 -genv I_MPI_DEBUG 2 -genv I_MPI_FABRICS shm:dapl ./myprog
You should see one line of output for each rank, as well as debug output indicating the shared-memory and DAPL-capable network fabrics are being used.
For each of the mpirun commands used, you should see one line of output for each rank, as well as debug output indicating which fabric was used. The fabric(s) should agree with the I_MPI_FABRICS setting.
The /opt/intel/samples_2016/en/mpi directory in the IntelĀ® MPI Library Development Kit contains other test programs in addition to test.c