|
MpiFx 1.4.0
|
Contains routined for MPI shared memory windows. More...
Data Types | |
| type | mpifx_win |
| MPI shared memory window with some additional information. More... | |
Functions/Subroutines | |
| subroutine | mpifx_win_lock (self, error) |
| Locks a shared memory segment for remote access. Starts a remote access epoch. | |
| subroutine | mpifx_win_unlock (self, error) |
| Unlocks a shared memory segment. Finishes a remote access epoch. | |
| subroutine | mpifx_win_sync (self, error) |
| Synchronizes shared memory across MPI ranks after remote access. Completes all memory stores in a remote access epoch. | |
| subroutine | mpifx_win_fence (self, assert, error) |
| Ensure consistency of stores between fence calls. | |
| subroutine | mpifx_win_free (self, error) |
| Deallocates memory associated with a shared memory segment. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
| subroutine | 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. | |
Contains routined for MPI shared memory windows.
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type complex(sp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type complex(sp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type complex(sp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type complex(sp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type real(dp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type real(dp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type real(dp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type real(dp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type integer in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type integer occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type integer in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type integer occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type real(sp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type real(sp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type real(sp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type real(sp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type complex(dp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type complex(dp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Initialized a window handle and returns a pointer to the address associated with a shared memory segment.
| self | Handle of the shared memory window on return. |
| mycomm | MPI communicator. |
| global_length | Number of elements of type complex(dp) in the entire shared memory window. |
| global_pointer | Pointer to the shared data array of length 'global_length' on return. |
| local_length | Number of elements of type complex(dp) occupied by the current rank. |
| local_pointer | Pointer to the local chunk of the data array of length 'local_length' on return. |
| error | Optional error code on return. |
MPI_WIN_ALLOCATE_SHARED)
|
private |
Ensure consistency of stores between fence calls.
| self | Handle of the shared memory window. |
| assert | Hint to the MPI library to assume certain condition (e.g., MPI_MODE_NOSTORE). |
| error | Optional error code on return. |
MPI_WIN_FENCE)
|
private |
Deallocates memory associated with a shared memory segment.
| self | Handle of the shared memory window. |
| error | Optional error code on return. |
MPI_WIN_FREE) | subroutine 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. Starts a remote access epoch.
| self | Handle of the shared memory window. |
| error | Optional error code on return. |
MPI_WIN_LOCK_ALL)
|
private |
Synchronizes shared memory across MPI ranks after remote access. Completes all memory stores in a remote access epoch.
| self | Handle of the shared memory window. |
| error | Optional error code on return. |
MPI_WIN_SYNC)
|
private |
Unlocks a shared memory segment. Finishes a remote access epoch.
| self | Handle of the shared memory window. |
| error | Optional error code on return. |
MPI_WIN_UNLOCK_ALL)