multiprocessing - Classify node processes together with MPI and FORTRAN -
i trying make implementation using mpi , fortran separates processes wich on same node groups. mpi have routine can identify that?
i had idea of separating these processes hostnames, same on nodes of machine using. don't know if general clusters.
you want check out mpi_comm_split_type. allow split existing communicator based on split_type pass in parameter:
int mpi_comm_split_type(mpi_comm comm, int split_type, int key, mpi_info info, mpi_comm *newcomm) right now, split_type mpi_comm_type_shared, defined in standard as:
this type splits communicator subcommunicators, each of can create shared memory region.
this same thing you're asking, you'll have double check it's true on machine.
the other thing need know new function in mpi-3 might not available in implementations of mpi. know it's available mpich , it's derivatives. afaik, it's not available in last release of open mpi. make sure have version of mpi supports it.
Comments
Post a Comment