I wrote a MPI Program to run on Intel Xeon Phi in native mode.
I am using Stampede super computer.
I have defined omp pragmas in the code.
I have compiled using following command
$mpiicc program.c -openmp -mmic
To submit as a batch file, script file has the following commands
#!/bin/bash
#SBATCH -J myMPI # job name
#SBATCH -o result.o%j # output and error file name (%j expands to jobID)
#SBATCH -e result.e%j
#SBATCH -N 1 -n 2 # total number of mpi tasks requested
#SBATCH -p normal-mic # queue (partition) -- normal, development, etc.
#SBATCH -t 00:10:00 # run time (hh:mm:ss) - 1.5 hours
scp a.out mic0:/tmp
export I_MPI_MIC=enable
ibrun -host mic0 /tmp/a.out # run the MPI executable named a.out
I am getting the following errors
/tmp/a.out: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
/tmp/a.out: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
somebody please help me how to get rid of these errors.