Skip to content

How to implement MPI_ALLREDUCE in AMREX? #4004

Answered by atmyers
solarmaterial asked this question in Q&A
Discussion options

You must be logged in to vote

Hi solar,

AMReX_ParallelDescriptor.H contains a number of wrappers around MPI functions like that, including for example ReduceRealMin, which can be used to do what you want here.

-Andrew

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@solarmaterial
Comment options

Answer selected by solarmaterial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants