ScalES-PPM
Loading...
Searching...
No Matches
ppm_distributed Module Reference

distributed data structures base module More...

Data Types

interface  build_graph
 construct graph from rectilinear slices More...
 
type  graph_csr_dist_i4
 proxy object for distributed graph-structured data More...
 
interface  graph_gather
 gather distributed data structure on one process in MPI program More...
 
interface  num_edges
 number of edges More...
 
interface  num_nodes
 number of vertices More...
 

Functions/Subroutines

subroutine build_graph_from_rect_dist_i4 (graph_g, rect_g, rect_l)
 Construct graph of distributed global rectilinear where the calling process has data for one rectilinear section.
 
integer(i4) function num_nodes_csr_dist_i4 (csr_dist)
 the communicator can be omitted if num_nodes has already been called collectively (i.e. with a comm object) and the cached result is already present
 
integer(i4) function num_nodes_csr_dist_i4_mp (csr_dist, comm)
 use this if num_nodes has not yet been called
 
integer(i4) function num_edges_csr_dist_i4_mp (csr_dist, comm)
 use this if num_edges has not yet been called collectively
 
integer(i4) function num_edges_csr_dist_i4 (csr_dist)
 query number of edges in distributed graph the communicator can be omitted IF num_edges has already been called collectively (i.e. with a comm object) and the cached result is already present
 
subroutine gather_graph_dist_i4_mp (graph_g_dist, dest, comm, graph_g_gather)
 gather distributed graph object into local representation
 

Variables

character(len= *), parameter filename = 'ppm_distributed.f90'
 

Detailed Description

distributed data structures base module

Function/Subroutine Documentation

◆ build_graph_from_rect_dist_i4()

subroutine ppm_distributed::build_graph_from_rect_dist_i4 ( type(graph_csr_dist_i4), intent(out) graph_g,
type(extent), dimension(:), intent(in) rect_g,
type(extent), dimension(:), intent(in) rect_l )
private

Construct graph of distributed global rectilinear where the calling process has data for one rectilinear section.

Parameters
graph_gproxy object for local representation of shared global graph
rect_gdistributed rectilinear extents
rect_llocal rectilinear part

◆ gather_graph_dist_i4_mp()

subroutine ppm_distributed::gather_graph_dist_i4_mp ( type(graph_csr_dist_i4), intent(in) graph_g_dist,
integer, intent(in) dest,
integer, intent(in) comm,
type(graph_csr), intent(out), optional graph_g_gather )
private

gather distributed graph object into local representation

Parameters
graph_g_gatherlocal destination object on dest
graph_g_distproxy object of graph distributed over processes in comm
destprocess to gather graph on
commcommunicator handle for processes sharing graph_g_dist

◆ num_edges_csr_dist_i4()

integer(i4) function ppm_distributed::num_edges_csr_dist_i4 ( type(graph_csr_dist_i4), intent(in) csr_dist)
private

query number of edges in distributed graph the communicator can be omitted IF num_edges has already been called collectively (i.e. with a comm object) and the cached result is already present

Parameters
csr_distproxy object for distributed graph data structure
Returns
number of edges of graph in total

◆ num_edges_csr_dist_i4_mp()

integer(i4) function ppm_distributed::num_edges_csr_dist_i4_mp ( type(graph_csr_dist_i4), intent(inout) csr_dist,
integer, intent(in) comm )
private

use this if num_edges has not yet been called collectively

Parameters
csr_distproxy object for distributed graph data structure
commcommunicator handle for processes sharing the data structure
Returns
number of edges of graph in total

◆ num_nodes_csr_dist_i4()

integer(i4) function ppm_distributed::num_nodes_csr_dist_i4 ( type(graph_csr_dist_i4), intent(in) csr_dist)
private

the communicator can be omitted if num_nodes has already been called collectively (i.e. with a comm object) and the cached result is already present

Parameters
csr_distproxy object for distributed graph data structure
Returns
number of nodes of graph in total

◆ num_nodes_csr_dist_i4_mp()

integer(i4) function ppm_distributed::num_nodes_csr_dist_i4_mp ( type(graph_csr_dist_i4), intent(inout) csr_dist,
integer, intent(in) comm )
private

use this if num_nodes has not yet been called

Parameters
csr_distproxy object for distributed graph data structure
commcommunicator handle for processes sharing the data structure
Returns
number of nodes of graph in total

Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.