Before you start using any of the Intel® MPI Library functionality, make sure to establish the proper environment settings:
Set up the Intel MPI Library environment by running the setvars.bat file, which is found in your installation directory (by default, C:\Program Files (x86)\Intel\oneAPI\mpi\<version> ).
To run an MPI application on a cluster, the Intel MPI Library needs to know names of all its nodes. Create a text file listing the cluster node names. The format of the file is one name per line, and the lines starting with # are ignored. To get the name of a node, use the hostname utility.
A sample host file may look as follows:
> type hosts # This line is ignored clusternode1 clusternode2 clusternode3 clusternode4
After completing these steps, you are ready to use the Intel MPI Library.