Concatenating domain decomposition shot gathers for disk write #1751
Unanswered
dimitri-voytan
asked this question in
Q&A
Replies: 1 comment 6 replies
-
check the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I modified the seismic acoustic example to use mpi for domain decomposition and output the pressure at the receiver locations by
If I run e.g.
mpirun -n 4 python3 acoustic_example.py
, therec.data.shape
will be smaller by a factor of ~4 along the last axis (spatial axis) relative to a run with-n 1
. This is an expected behavior. However, I would like to organize this data into a single array (undoing the domain decomposition) to save it to disk.Is there a way to get the portion of the domain allocated to each MPI process so that the receiver data can be concatenated (e.g. on the rank 0 process)?
Beta Was this translation helpful? Give feedback.
All reactions