[RegCNET] In parallel run, how to control the GRID
congc84
congc84 at 163.com
Mon Apr 27 15:21:40 CEST 2009
Dear all;
When the RegCM is running in parallel way, the domain is divided according to the x grid number:
1 2 3 4 +++ 5 6 7 8 +++ 9 10 11 12
If I want to change a variable (for example heart) based on 3456, I could use if(i>3&i<6) in serial run.
But in parallel run, they are cut into 3 blocks, and their subscripts are all 1-4. So I want to ask help on how I can only modify 3 4 5 6 grid value in parallel way. (the 4 grid belong two different blocks)
May be controling the CPU number is a feasible way, but I don't familiar with MPI so much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20090427/80f7ff18/attachment.html>
More information about the RegCNET
mailing list