MpiFx 1.4.0
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
mpifx_win_module::mpifx_win Type Reference

MPI shared memory window with some additional information. More...

Public Member Functions

generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
generic allocate_shared (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure lock (self, error)
 Locks a shared memory segment for remote access.
 
procedure unlock (self, error)
 Unlocks a shared memory segment.
 
procedure sync (self, error)
 Synchronizes shared memory across MPI ranks after remote access.
 
procedure fence (self, assert, error)
 Ensures consistency of stores between fence calls.
 
procedure free (self, error)
 Deallocates memory associated with a shared memory segment.
 

Public Attributes

type(mpi_comm) comm
 MPI communicator handle.
 

Private Member Functions

procedure, private mpifx_win_allocate_shared_i_i4 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_i_i8 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_s_i4 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_s_i8 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_d_i4 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_d_i8 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_c_i4 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_c_i8 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_z_i4 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 
procedure, private mpifx_win_allocate_shared_z_i8 (self, mycomm, global_length, global_pointer, local_length, local_pointer, error)
 Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
 

Private Attributes

type(mpi_win) win
 MPI window handle.
 

Detailed Description

MPI shared memory window with some additional information.

Member Function/Subroutine Documentation

◆ allocate_shared() [1/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
integer, dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
integer, dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type integer in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type integer occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [2/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
integer, dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
integer, dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type integer in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type integer occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [3/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
real(sp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
real(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [4/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
real(sp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
real(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [5/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
real(dp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
real(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [6/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
real(dp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
real(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [7/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
complex(sp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
complex(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [8/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
complex(sp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
complex(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [9/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
complex(dp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
complex(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ allocate_shared() [10/10]

generic mpifx_win_module::mpifx_win::allocate_shared ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
complex(dp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
complex(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ fence()

procedure mpifx_win_module::mpifx_win::fence ( class(mpifx_win), intent(inout) self,
integer, intent(in), optional assert,
integer, intent(out), optional error )

Ensures consistency of stores between fence calls.

Parameters
selfHandle of the shared memory window.
assertHint to the MPI library to assume certain condition (e.g., MPI_MODE_NOSTORE).
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_FENCE)

◆ free()

procedure mpifx_win_module::mpifx_win::free ( class(mpifx_win), intent(inout) self,
integer, intent(out), optional error )

Deallocates memory associated with a shared memory segment.

Parameters
selfHandle of the shared memory window.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_FREE)

◆ lock()

procedure mpifx_win_module::mpifx_win::lock ( class(mpifx_win), intent(inout) self,
integer, intent(out), optional error )

Locks a shared memory segment for remote access.

Parameters
selfHandle of the shared memory window.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_LOCK_ALL)

◆ mpifx_win_allocate_shared_c_i4()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_c_i4 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
complex(sp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
complex(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_c_i8()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_c_i8 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
complex(sp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
complex(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_d_i4()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_d_i4 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
real(dp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
real(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_d_i8()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_d_i8 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
real(dp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
real(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_i_i4()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_i_i4 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
integer, dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
integer, dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type integer in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type integer occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_i_i8()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_i_i8 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
integer, dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
integer, dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type integer in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type integer occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_s_i4()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_s_i4 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
real(sp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
real(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_s_i8()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_s_i8 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
real(sp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
real(sp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type real(sp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type real(sp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_z_i4()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_z_i4 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int32), intent(in) global_length,
complex(dp), dimension(:), intent(out), pointer global_pointer,
integer(int32), intent(in), optional local_length,
complex(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ mpifx_win_allocate_shared_z_i8()

procedure, private mpifx_win_module::mpifx_win::mpifx_win_allocate_shared_z_i8 ( class(mpifx_win), intent(out) self,
class(mpifx_comm), intent(in) mycomm,
integer(int64), intent(in) global_length,
complex(dp), dimension(:), intent(out), pointer global_pointer,
integer(int64), intent(in), optional local_length,
complex(dp), dimension(:), intent(out), optional, pointer local_pointer,
integer, intent(out), optional error )
private

Initialized a window handle and returns a pointer to the address associated with a shared memory segment.

Parameters
selfHandle of the shared memory window on return.
mycommMPI communicator.
global_lengthNumber of elements of type complex(dp) in the entire shared memory window.
global_pointerPointer to the shared data array of length 'global_length' on return.
local_lengthNumber of elements of type complex(dp) occupied by the current rank.
local_pointerPointer to the local chunk of the data array of length 'local_length' on return.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_ALLOCATE_SHARED)

◆ sync()

procedure mpifx_win_module::mpifx_win::sync ( class(mpifx_win), intent(inout) self,
integer, intent(out), optional error )

Synchronizes shared memory across MPI ranks after remote access.

Parameters
selfHandle of the shared memory window.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_SYNC)

◆ unlock()

procedure mpifx_win_module::mpifx_win::unlock ( class(mpifx_win), intent(inout) self,
integer, intent(out), optional error )

Unlocks a shared memory segment.

Parameters
selfHandle of the shared memory window.
errorOptional error code on return.
See also
MPI documentation (MPI_WIN_UNLOCK_ALL)

The documentation for this type was generated from the following file: