[mpich-discuss] resources are equally shared when running processes in one machine ?

Gra zeus gra_zeus at yahoo.com
Thu Jul 16 16:11:54 CDT 2009


hello,
when i run my mpi code with "mpiexec -n 1 ./myprogram", everything work fine.
however, when i rn with "mpiexec -n 4 ./myprogram", performance of my program dropped significantly. 
I code my program to work only for "process 0" like this:-     if(id=0){  do_computation_task(); } else {  //do_nothing };
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)?
If the answer is "yes", can you pls tell me if it's stated somewhere in official document that I can make reference to. 
Thx,Gra




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090716/590a9faf/attachment.htm>


More information about the mpich-discuss mailing list