c - MPI Gather From SELECT Processors Only -


i'm looking function in mpi similar allgather except gathers data subset of processors.

furthermore, combine data order not depend on rank of processor.

is there function this? if not, how implement efficiently?

thank you!

i don't think there's way change order inside mpi call (though can reorder things afterward if like), solving first problem relatively easy.

in mpi, it's not required of collective calls happen on mpi_comm_world (which contains of processes started @ beginning of execution). can create new communicators contain whatever subset of original group of processes like. call mpi_comm_create.

to use mpi_comm_create, need manipulate mpi_group of processes want put in new communicator using appropriate functions (mpi_group_excl, mpi_group_incl, mpi_group_intersection, etc.). there's plenty of tutorials on web can find out how these sorts of things if it's not obvious.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -