[ET Trac] [Einstein Toolkit] #746: new flesh APIs

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Feb 2 01:30:14 CST 2012


#746: new flesh APIs
-------------------------+--------------------------------------------------
 Reporter:  jtao         |       Owner:                     
     Type:  enhancement  |      Status:  new                
 Priority:  major        |   Milestone:  Cactus_4.1.0       
Component:  Cactus       |     Version:  development version
 Keywords:               |  
-------------------------+--------------------------------------------------
 To support parallel programming on heterogeneous systems, it will be
 convenient to have the following APIs provided via flesh. These APIs
 will be helpful for properly handling the matching between devices (e.g.
 GPUs) and MPI processes.

 // 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);

 Regards,
 Jian

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/746>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list