<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)">Is there a way to restrict yt to only use a subset of the available processes when it's running in parallel? I have a set of ipython engines running, and I'm trying to launch a yt script on a subset of them, but it just hangs. It works fine if I launch the same script on all the processes. </span><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)">Printing out MPI.COMM_WORLD.Get_size() from the script gives the total number of engines, not the size of the subset I'm trying to use.</span><br><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)">I haven't done a lot of parallel programming, but I would guess that the running processes are waiting on one that's not running a yt script, s</span><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)">ince they can see the total number of processes available, but not the size of the subset of processes that are actually running a yt script.</span></div></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)">Does anyone have any thoughts on how to do this?</span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)">Thanks,</span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:16px;background-color:rgb(240,247,255)">Dan</span></div></div>