(git:c5411e0)
Loading...
Searching...
No Matches
negf_subgroup_types::negf_subgroup_env_type Type Reference

Parallel (sub)group environment. More...

Data Fields

integer ngroups = -1
 number of parallel groups. If it is >1 then the global MPI communicator has actually been split into subgroups. All other components of the structure are always initialised regardless of the split status (they simply point to the corresponding global variables if no splitting has been made).
 
integer mepos_global = -1
 global MPI rank of the given processor. Local MPI rank can be obtained as para_envmepos. Useful to find out the current group index by accessing the 'group_distribution' array.
 
type(mp_comm_typempi_comm_global = mp_comm_type()
 global MPI communicator
 
integer, dimension(:), allocatable group_distribution
 group_distribution(0:num_pe) : a process with rank 'i' belongs to the parallel group with index 'group_distribution(i)'
 
type(cp_blacs_env_type), pointer blacs_env => NULL()
 group-specific BLACS parallel environment
 
type(mp_para_env_type), pointer para_env => NULL()
 group-specific MPI parallel environment
 

Detailed Description

Parallel (sub)group environment.

History
  • 06.2017 created [Sergey Chulkov]

Definition at line 36 of file negf_subgroup_types.F.

Field Documentation

◆ ngroups

integer negf_subgroup_types::negf_subgroup_env_type::ngroups = -1

number of parallel groups. If it is >1 then the global MPI communicator has actually been split into subgroups. All other components of the structure are always initialised regardless of the split status (they simply point to the corresponding global variables if no splitting has been made).

Definition at line 41 of file negf_subgroup_types.F.

◆ mepos_global

integer negf_subgroup_types::negf_subgroup_env_type::mepos_global = -1

global MPI rank of the given processor. Local MPI rank can be obtained as para_envmepos. Useful to find out the current group index by accessing the 'group_distribution' array.

Definition at line 44 of file negf_subgroup_types.F.

◆ mpi_comm_global

type(mp_comm_type) negf_subgroup_types::negf_subgroup_env_type::mpi_comm_global = mp_comm_type()

global MPI communicator

Definition at line 46 of file negf_subgroup_types.F.

◆ group_distribution

integer, dimension(:), allocatable negf_subgroup_types::negf_subgroup_env_type::group_distribution

group_distribution(0:num_pe) : a process with rank 'i' belongs to the parallel group with index 'group_distribution(i)'

Definition at line 49 of file negf_subgroup_types.F.

◆ blacs_env

type(cp_blacs_env_type), pointer negf_subgroup_types::negf_subgroup_env_type::blacs_env => NULL()

group-specific BLACS parallel environment

Definition at line 51 of file negf_subgroup_types.F.

◆ para_env

type(mp_para_env_type), pointer negf_subgroup_types::negf_subgroup_env_type::para_env => NULL()

group-specific MPI parallel environment

Definition at line 53 of file negf_subgroup_types.F.


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