Hi @Limitless Technology ,
Thanks for the response.
As in the link you recommended, I am not using HPC for setting up cluster.
-Rather I installed msmpi on both my machines.
-Ran smpd -p 8676 on both the machines
-Used mpi_comm_spawn on a sample program on my local machine, and provided the remote machine ip, and port(8676) as mpi_info.
And the problem is that the machines don't talk. Rather, the prints I used in my sample program is spawning in my local machine's terminal. The link you recommended doesn't seem to address my problem.
I have attached my sample cpp code below.