using MPI for nested simulations

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
xupeng66
Posts: 79
Joined: Sat Mar 06, 2010 3:38 pm
Location: University of Washington

using MPI for nested simulations

#1 Unread post by xupeng66 »

Hello,

Here is a simple question. I am wondering if there is a way to assign different numbers of processors for different grids in a nested simulation. If not, does it mean that all nested grids have to have the same number of segments?

Thanks!

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: using MPI for nested simulations

#2 Unread post by jcwarner »

currently you need to use the same number of tiles for each grid.
So if you have 12 tiles, then grid 1 could be NtileI=3 and NtileJ = 4; grid 2 could be NtileI=12 NtileJ=1; etc.
but the total has to be 12 (or whatever you use) for each grid.

I am looking into changing this, but it takes a redistribution of the tiles. i am actually thinking to have a way that the child grid is on the same tile as the parent, so that way we dont need to do any mpi gather scatter stuff for the fine2 coarse. it will all be on the same processor.
-j

Post Reply