Neko  0.9.0
A portable framework for high-order spectral element flow simulations
gs_mpi Module Reference

Defines MPI gather-scatter communication.

Data Types

type  gs_comm_mpi_t
 MPI buffer for non-blocking operations. More...
 
type  gs_mpi_t
 Gather-scatter communication using MPI. More...
 

Functions/Subroutines

subroutine gs_mpi_init (this, send_pe, recv_pe)
 Initialise MPI based communication method. More...
 
subroutine gs_mpi_free (this)
 Deallocate MPI based communication method. More...
 
subroutine gs_nbsend_mpi (this, u, n, deps, strm)
 Post non-blocking send operations. More...
 
subroutine gs_nbrecv_mpi (this)
 Post non-blocking receive operations. More...
 
subroutine gs_nbwait_mpi (this, u, n, op, strm)
 Wait for non-blocking operations. More...
 

Function/Subroutine Documentation

◆ gs_mpi_free()

subroutine gs_mpi::gs_mpi_free ( class(gs_mpi_t), intent(inout)  this)
private

Definition at line 94 of file gs_mpi.f90.

◆ gs_mpi_init()

subroutine gs_mpi::gs_mpi_init ( class(gs_mpi_t), intent(inout)  this,
type(stack_i4_t), intent(inout)  send_pe,
type(stack_i4_t), intent(inout)  recv_pe 
)

Definition at line 68 of file gs_mpi.f90.

◆ gs_nbrecv_mpi()

subroutine gs_mpi::gs_nbrecv_mpi ( class(gs_mpi_t), intent(inout)  this)
private

Definition at line 153 of file gs_mpi.f90.

◆ gs_nbsend_mpi()

subroutine gs_mpi::gs_nbsend_mpi ( class(gs_mpi_t), intent(inout)  this,
real(kind=rp), dimension(n), intent(inout)  u,
integer, intent(in)  n,
type(c_ptr), intent(inout)  deps,
type(c_ptr), intent(inout)  strm 
)
private

Definition at line 122 of file gs_mpi.f90.

◆ gs_nbwait_mpi()

subroutine gs_mpi::gs_nbwait_mpi ( class(gs_mpi_t), intent(inout)  this,
real(kind=rp), dimension(n), intent(inout)  u,
integer, intent(in)  n,
integer  op,
type(c_ptr), intent(inout)  strm 
)
private
Todo:
Check size etc against status

Definition at line 175 of file gs_mpi.f90.