I just installed mpi on my linux. Then I write a test program.
make
main.out is generated.
mpirun -n 4 ./main.out
Then error:.
error while open shared libraries libmpi.so.12
I find libmpi.so.12 is just located at /usr/local/lib. I have included this directory in makefile. Why I cannot run main.out?