Single node, multiple MPI tasks -


i need debug mpi code have access single node/machine. problem bug looking arises when running on more node doesn't when running, example, 2 mpi tasks in same node, goes fine. assume mpi implementation (mviapich2) cleverly treats tasks running on same node by, example, replacing network communications ipc strategies or memcpy.

so question is: how run 2 mpi tasks on single node making mpi treat them tasks on different nodes? possible?

you can disable mvapich2 shared memory device setting mv2_use_shared_mem environment variable 0:

mpiexec ... -env mv2_use_shared_mem 0 ... ./executable 

make sure mvapich2 built tcp/ip device, otherwise ranks won't able communicate shared memory support turned off.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -