<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">hello,<div><br></div><div>when i run my mpi code with "mpiexec -n 1 ./myprogram", everything work fine.</div><div><br></div><div>however, when i rn with "mpiexec -n 4 ./myprogram", performance of my program dropped significantly. </div><div><br></div><div>I code my program to work only for "process 0" like this:-</div><div> if(id=0){ do_computation_task(); } else { //do_nothing };</div><div><br></div><div>Is this mean physical resources are shared when I spawn more than one process in one physical machine(even all of work were done by "process 0" and other processes do nothing)?</div><div><br></div><div>If the answer is "yes", can you pls tell me if it's stated somewhere in official document that I can make reference
to. </div><div><br></div><div>Thx,</div><div>Gra</div><div><br></div><div><br></div></td></tr></table><br>