[MITgcm-support] nPx vs. nPy

Gus Correa gus at ldeo.columbia.edu
Thu Jul 26 16:51:16 EDT 2012


Hi Taimaz

Nx, Ny, Nr are the number of points in your [full] domain,
which should match the domain size in your initial condtion files,
etc, so they should be fixed for each experiment you run.
If there is no match the run fails.

Given Nx, you need to find out the the values
nPx, and sNx such that their product is Nx
[assuming nSx is 1, i.e. you're not using threads/OpenMP].
Likewise for nPy, sNy, etc.

Note that in SIZE.h is defined as
Nx  = sNx*nSx*nPx,
and Ny  = sNy*nSy*nPy.
Hence, it is you need to choose the
right factors to get the expected products Nx and Ny.

I hope this helps,
Gus Correa

On 07/26/2012 03:56 PM, taimaz.bahadory wrote:
> Attached
>
>
> On Thu, Jul 26, 2012 at 5:17 PM, Chris Horvat <horvat at fas.harvard.edu
> <mailto:horvat at fas.harvard.edu>> wrote:
>
>     Taimaz,
>
>     Could you include your SIZE.h file so we can see what the other set
>     parameters are?
>
>     Chris Horvat
>
>
>     On Thu, Jul 26, 2012 at 3:45 PM, taimaz.bahadory
>     <taimaz.bahadory at mun.ca <mailto:taimaz.bahadory at mun.ca>> wrote:
>
>         Hi;
>
>         I have configures a code to run my topography file using
>         parallel system (mpi). Everything works fine when I set nPy=10
>         (or anything), but the errors come out when I try to break the
>         x-direction to different sections, i.e. increasing nPx to
>         something more than 1.
>         summary:
>
>           * nPx = 1; nPy = 10 => works fine
>           * nPx = 10; nPy = 1 => fails
>
>         Is there any limitation on the x-axis?
>
>         _______________________________________________
>         MITgcm-support mailing list
>         MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
>         http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
>
>     _______________________________________________
>     MITgcm-support mailing list
>     MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
>     http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list