Compiling and Running a Test Program

To compile and run a test program, do the following:

  1. (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

  2. 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.

  3. Run the test program with all available configurations on your cluster.

    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