I am trying to build small cluster from two laptops,and I was following some tutorial for that purpose, in which they have asked to comment:
"127.0.1.1 jayesh"(from etc/hosts --jayesh is my username),
but after commenting this statement my MPI executable files are unable to run.
compiled with:"mpicc hello.c"
run :mpirun -np 4 ./a.out
so whenever I removes the comment It runs but on localhost only ,means I cant run the process on cluster.
If anyone have some idea please advice me to get out of the stuk.