Hi ! I am getting "mpirun: command not found" error on my xeon PHI card. Could you please help me to solve the problem ? The response of "which mpirun" on my main procesor is : /opt/intel/compilers_and_libraries_2016.1.150/linux/mpi/intel64/bin/mpirun.
In order to run MPI programs on the coprocessor, you can either copy MPI libraries for the coprocessor from the host, or mount an NFS shared from the host.
The first method is simpler but it consumes memory in your coprocessor. In your case, to copy MPI libraries for the coprocessor from the host:
$ sudo scp /opt/intel/compilers_and_libraries_2016.1.150/linux/mpi/mic/bin/* mic0:/bin/
$ sudo scp /opt/intel/compilers_and_libraries_2016.1.150/linux/mpi/mic/lib/* mic0:/lib64/
For more details, please refer to https://software.intel.com/en-us/articles/using-intel-mpi-library-on-intel-xeon-phi-product-family