#744: Define API for finding out which MPI processes share a host -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Cactus | Version: Keywords: | -------------------------+-------------------------------------------------- This API could be a flesh API, provided by the driver, or could be implemented via aliased functions.
For example:
int CCTK_nHosts(cGH*) int CCTK_MyHost(cGH*)
Probably also functions for mapping:
process <-> (host, hostprocess) host -> (list of processes)
#744: Define API for finding out which MPI processes share a host --------------------------+------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by jtao):
I didn't know that a ticket had been created already. :) Ian encouraged me to post to the list and create a ticket.
Just for references:
{{{ // return a unique id for the local host; int CCTK_MyHost(cGH *cctkGH);
// return total number of nodes; int CCTK_nHosts(cGH *cctkGH);
// return number of mpi processes on a given host int CCTK_nProcsOnHost(const int host);
// return a list of process on a given host void CCTK_ProcsOnHost(const int host, int *procs);
}}}
#744: Define API for finding out which MPI processes share a host --------------------------+------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: closed Priority: major | Milestone: Component: Cactus | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by eschnett):
* status: new => closed * resolution: => fixed
Comment:
I implemented the API.
trac@lists.einsteintoolkit.org