ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the image_type type for generating objects that contain information about the current image/processor/thread and facilitate its synchronization with other processes, or the global finalization of all inter-process parallel communications (e.g., as is done in MPI applications). More...
Public Member Functions | |
procedure, nopass | sync => setImageSynced |
procedure, nopass | finalize => setImageFinalized |
Public Attributes | |
integer(IK) | count = -huge(1_IK) |
The scalar integer of default kind IK representing the total count of runtime parallel processes available within the current communication. More... | |
integer(IK) | id = -huge(1_IK) |
The scalar integer of default kind IK representing the ID of the runtime parallel process starting with 1 : 1 , 2 , 3 , ... More... | |
type(imageis_type) | is = imageis_type() |
The scalar of type imageis_type containing logical components that signify the current image role. More... | |
character(:, SK), allocatable | label |
The allocatable scalar character of default kind SK containing the ID of the current process in the format @process(ID) . More... | |
This is the image_type type for generating objects that contain information about the current image/processor/thread and facilitate its synchronization with other processes, or the global finalization of all inter-process parallel communications (e.g., as is done in MPI applications).
image
: The output scalar of type image_type.
Possible calling interfaces ⛓
id
assigned to the zeroth process is 1
in this type.omp_get_num_threads()
routine, that is, the number of threads in the team that is executing the parallel region to which the routine region binds.1
.1
, this routine must be called from within an OpenMP-enabled parallel region.omp_set_num_threads()
.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 133 of file pm_parallelism.F90.
procedure, nopass pm_parallelism::image_type::finalize |
Definition at line 140 of file pm_parallelism.F90.
procedure, nopass pm_parallelism::image_type::sync |
Definition at line 139 of file pm_parallelism.F90.
integer(IK) pm_parallelism::image_type::count = -huge(1_IK) |
The scalar integer
of default kind IK representing the total count of runtime parallel processes available within the current communication.
Definition at line 134 of file pm_parallelism.F90.
integer(IK) pm_parallelism::image_type::id = -huge(1_IK) |
The scalar integer
of default kind IK representing the ID of the runtime parallel process starting with 1
: 1
, 2
, 3
, ...
Definition at line 135 of file pm_parallelism.F90.
type(imageis_type) pm_parallelism::image_type::is = imageis_type() |
The scalar of type imageis_type containing logical
components that signify the current image role.
Definition at line 136 of file pm_parallelism.F90.
character(:, SK), allocatable pm_parallelism::image_type::label |
The allocatable
scalar character
of default kind SK containing the ID of the current process in the format @process(ID)
.
Definition at line 137 of file pm_parallelism.F90.