microsoft / Microsoft-MPI

Microsoft MPI
MIT License
244 stars 74 forks source link

MS-MPI in multiple windows machines in a LAN network #58

Open soumyardash opened 2 years ago

soumyardash commented 2 years ago

I am trying to establish a cluster of multiple windows machine connected in a LAN using MSMPI. I have installed msmpi of the same version, have same username and password and ran smpd -p 8676 on both machines.

I made a simple program to establish a communication between two machines using mpi_comm_spawn. I used the command line as mpiexec -host -p 8676 sample.exe. The issue is the parent and child are being compulsorily created in the same machine(either local or remote). How to make the communication such that the parent runs on the local machine and the child on remote machine.

Can you please guide on how to establish the communication between both the machines.