I implemented peer-to-peer connection in MPI using MPI_Open_port and MPI_Comm_accept . I start the server and client program using
rafael@server1:~$ mpirun server rafael@server2:~$ mpirun client
on different computers. I noticed that
rafael@server1:~$ ./server rafael@server2:~$ ./client
also works great. Do you know if there is a difference between running the MPI executable with and without mpirun ?
Of course, I canβt give additional parameters (for example, mpirun --mca btl self,openib ), and the rank of all processes is 0, which is absolutely normal. But is there something less obvious?
mpi openmpi
Rafael reiter
source share