Problem with parallel_copy #3401
Unanswered
avergnaud002
asked this question in
Q&A
Replies: 1 comment 6 replies
-
amrex::MultiFab is a distributed container for data. So it cannot be used in this way. It's very likely the case that you should be able to do the communication outside the loop over cells. (Even if we could do communication inside the loop over cells, the performance would be terrible.) If you can show more codes around the code snippet shown in the question and the code works without MPI, we might have more concrete suggestions. |
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
-
Hello,
I am trying to access data at a given location with parallel_copy (using Fortran Interface) inside a loop. Possibly, those data are on another proc than the current proc and on different level of refinement. I tried something like bellow but it didn't work when data (on the intersection of the box bx with the boxarray data(lev)%ba) are not on the current proc...
In other words, I want to have access to data at the location given by the box bx, regardless of the proc that owns them...
I am missing something on how parallel_copy work ?
Alban
Beta Was this translation helpful? Give feedback.
All reactions