[MITgcm-support] Optimization in x and not y?

Klymak Jody jklymak at uvic.ca
Thu Aug 18 10:59:43 EDT 2011


Hi Martin,

On 2011-08-18, at 3:17 AM, Martin Losch wrote:

> What happens, when you turn the domain around so that is has ny=1 and nx=1000? (On a vector machine this will be much faster, but even on a single cpu with some vectorization, it will be faster).

Umm, OK, can you explain this in more detail?  I've done tons of 2-D models nx = 1, ny=N, and had no idea that there was an optimization if I do it the other way around.  Is it because the x-loop is the inner loop?  I run on some 8 core xserves.  

Thanks,   Jody

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20110818/1170c39d/attachment.htm>


More information about the MITgcm-support mailing list