- removed comment
Define API for finding out which MPI processes share a host
Issue #744
closed
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)
Keyword:
Comments (3)
-
-
reporter - changed status to resolved
- removed comment
I implemented the API.
-
- edited description
- changed status to closed
- Log in to comment
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);