p-costa / SNaC

A multi-block solver for massively parallel direct numerical simulations (DNS) of fluid flows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pencil-to-slab collective for uneven data

p-costa opened this issue · comments

Modify transposing subroutines using ALLTOALLW to accommodate uneven data distribution.

Steps:

  1. create an array of MPI types subarray with the size of the non-uniform local subdomains.
  2. save the extents which account for the non-uniformity of data distribution (passing lo_p(:), n_p(:), lo_s(:), n_s(:)).

this is now implemented!