KTH framework for Nek5000 toolboxes; testing version  0.0.1

MPI communication wrappers. More...

+ Collaboration diagram for Comunication routines.:

Files

file  comm_mpi_tool.f
 Set of MPI wrappers for toolbox communication.
 

Functions

subroutine comm_ivglrsum (out, in, nl)
 Global MPI scan for integer array. More...
 
subroutine comm_ibcastn (buf, nl, sid)
 Broadcast integer array from specified process. More...
 

Detailed Description

MPI communication wrappers.

Set of subroutines to wrap MPI communication missing in Nek5000.

Module interface:
Global interface list:
Interface provided:
  1. comm_ivglrsum
  2. comm_ibcastn

Function Documentation

◆ comm_ibcastn()

subroutine comm_ibcastn ( integer, dimension(nl)  buf,
integer  nl,
integer  sid 
)

Broadcast integer array from specified process.

This routine is simillar to lbcast and bcast from comm_mpi.f

Parameters
[in,out]bufarray to be broadcased
[in]nlbuffer length
[in]sidbroadcasting process id
Todo:
Error mark should be exported

Definition at line 44 of file comm_mpi_tool.f.

References mpi_bcast().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ comm_ivglrsum()

subroutine comm_ivglrsum ( integer, dimension(nl)  out,
integer, dimension(nl)  in,
integer  nl 
)

Global MPI scan for integer array.

This routine is simillar to igl_running_sum and i8gl_running_sum from comm_mpi.f

Parameters
[in,out]outoutput array
[in]ininput array
[in]nlbuffer length
Todo:
Error mark should be exported

Definition at line 16 of file comm_mpi_tool.f.

References mpi_scan().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: