|
[Sponsors] |
April 17, 2021, 08:19 |
[MPI]: MPI_Cart_* vs DYI topology
|
#1 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 347
Rep Power: 10 |
Howdy folks:
A bit of a question in MPI. For a simple 2D code for a rectangular uniform grid, I have defined my own domain topology. That is, for each rank (kP), the corresponding (i, j) coordinates, problem size (ni x nj), grid offset (i0, j0) and its neighbors in the four principal directions (kE, kW, kN, kS) have been determined manually and stored in arrays. Now I am thinking of replacing the part of this with MPI_Cart_* functions. I can see that, with this, I don't have to store the coordinate and neighbor information. However, I am still responsible for calculating the offset and problem size for the subdomains. So this begs the question, whether it are other advantages (I could only think of potential use of MPI I/O, and perhaps some saving in memory) by using MPI_Cart* functions. If not I can only only justify this as being an "exercise" for using this feature. Any opinions or comments are welcome. Thanks in advance, Gerry. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[TurboGrid] problem with topology | verinna | ANSYS Meshing & Geometry | 3 | July 12, 2021 07:28 |
Turbogrid Topology Generation Issues | t8fanning | CFX | 0 | November 6, 2019 11:37 |
[ANSYS Meshing] Selective Shared Topology / Conformal Mesh | Richard Renaud | ANSYS Meshing & Geometry | 2 | November 25, 2015 19:58 |
[TGrid] Water Turbine meshed in TurboGrid: Geometry and Topology issues | ama294 | ANSYS Meshing & Geometry | 12 | September 29, 2014 13:23 |
[ICEM] Shifted Periodic topology | venkat_aero2007 | ANSYS Meshing & Geometry | 17 | August 27, 2013 01:41 |