IMTEK-Simulation / NuMPI

Utilities for MPI-parallel numerical calculations with Python
MIT License
2 stars 1 forks source link

make npy reader work on arbitrary dimensions #49

Open sannant opened 3 years ago

sannant commented 3 years ago

Currently it is only 2D.

@griessej, you were interested in 3D MPI io, correct ?

Do we need 1D MPI IO ?

griessej commented 3 years ago

Yes I am still interested.

sannant commented 2 years ago

I have a usecase for 3D so I work on this right now.

sannant commented 2 years ago

I rollback on that. As long as you don't need domain decomposition in all space directions, an easy workaround is to flatten and unflatten dimensions that are not domain decomposed, so that the actually stored array is atmost 2D. Thank you @griessej for suggesting this easy workaround.

sannant commented 2 years ago

I put the WIP here: https://github.com/IMTEK-Simulation/NuMPI/tree/feat/22_2d_npy_io