tem_comm_env_module Module

This module provides basic information on the parallel environment


Uses

  • module~~tem_comm_env_module~~UsesGraph module~tem_comm_env_module tem_comm_env_module mpi mpi module~tem_comm_env_module->mpi

Used by

  • module~~tem_comm_env_module~~UsedByGraph module~tem_comm_env_module tem_comm_env_module module~hvs_vtk_module hvs_vtk_module module~hvs_vtk_module->module~tem_comm_env_module module~tem_reduction_spatial_module tem_reduction_spatial_module module~tem_reduction_spatial_module->module~tem_comm_env_module module~tem_adaptation_module tem_adaptation_module module~tem_adaptation_module->module~tem_comm_env_module program~tem_face_test~3 tem_face_test program~tem_face_test~3->module~tem_comm_env_module module~tem_stlb_io_module tem_stlb_io_module module~tem_stlb_io_module->module~tem_comm_env_module module~tem_construction_module tem_construction_module module~tem_construction_module->module~tem_comm_env_module module~hvs_ascii_module hvs_ascii_module module~hvs_ascii_module->module~tem_comm_env_module module~tem_surfacedata_module tem_surfaceData_module module~tem_surfacedata_module->module~tem_comm_env_module module~tem_restart_module tem_restart_module module~tem_restart_module->module~tem_comm_env_module module~hvs_output_module hvs_output_module module~hvs_output_module->module~tem_comm_env_module module~tem_status_module tem_status_module module~tem_status_module->module~tem_comm_env_module module~tem_tracking_module tem_tracking_module module~tem_tracking_module->module~tem_comm_env_module module~tem_simcontrol_module tem_simControl_module module~tem_simcontrol_module->module~tem_comm_env_module module~tem_convergence_module tem_convergence_module module~tem_convergence_module->module~tem_comm_env_module module~tem_aux_module tem_aux_module module~tem_aux_module->module~tem_comm_env_module module~tem_general_module tem_general_module module~tem_general_module->module~tem_comm_env_module module~tem_stencil_module tem_stencil_module module~tem_stencil_module->module~tem_comm_env_module module~hvs_vtk_module~2 hvs_vtk_module module~hvs_vtk_module~2->module~tem_comm_env_module module~tem_face_module tem_face_module module~tem_face_module->module~tem_comm_env_module

Contents


Derived Types

type, public :: tem_comm_env_type

Information about parallel runs

Components

TypeVisibilityAttributesNameInitial
integer, private :: comm_size

size of MPI communicator

integer, private :: rank

MPI rank

integer, private :: root

MPI root rank

integer, private :: comm

MPI communicator

integer, private :: nThreads

Maximal Number of OpenMP threads

logical, private :: isRoot

Whether this process is the root


Subroutines

public subroutine tem_comm_env_init(proc, comm)

Initialize the environment. This routine is called by tem_start which should be the very first action in a program.

Arguments

TypeIntentOptionalAttributesName
type(tem_comm_env_type) :: proc

The process communicator type

integer, intent(in), optional :: comm

mpi communicator if it is predefined as in apesmate

public subroutine tem_comm_env_init_empty(proc)

Initialize a debug environment for just one process without envoking MPI

Arguments

TypeIntentOptionalAttributesName
type(tem_comm_env_type) :: proc

The process communicator type

public subroutine tem_comm_env_fin(proc)

Finalize the environment. This routine is called by tem_finalize which should be the very last action in a program.

Arguments

TypeIntentOptionalAttributesName
type(tem_comm_env_type) :: proc

The process communicator type