Octopus
calc_mode_par.F90 File Reference

Go to the source code of this file.

Modules

module  calc_mode_par_oct_m
 This module handles the calculation mode.
 

Data Types

type  calc_mode_par_oct_m::calc_mode_par_t
 Octopus Parallelization modes, stored concurrently in a bit representation. More...
 

Functions/Subroutines

subroutine calc_mode_par_oct_m::calc_mode_par_set_parallelization (this, par, default)
 Add a parallelization strategy to the list of possible ones. More...
 
subroutine calc_mode_par_oct_m::calc_mode_par_unset_parallelization (this, par)
 Remove a parallelization strategy from the list of possible ones. It will also be removed from the default. More...
 
subroutine calc_mode_par_oct_m::calc_mode_par_set_scalapack_compat (this)
 Set that the current run mode requires division of states and domains to be compatible with scalapack. More...
 
logical pure function calc_mode_par_oct_m::calc_mode_par_scalapack_compat (this)
 Get whether the current run mode requires division of states and domains to be compatible with scalapack. More...
 
integer pure function calc_mode_par_oct_m::calc_mode_par_parallel_mask (this)
 Get parallel mask. More...
 
integer pure function calc_mode_par_oct_m::calc_mode_par_default_parallel_mask (this)
 Get the default parallel mask used for a calculation. More...
 

Variables

integer, parameter, public calc_mode_par_oct_m::p_strategy_serial = 0
 single domain, all states, k-points on a single processor More...
 
integer, parameter, public calc_mode_par_oct_m::p_strategy_domains = 1
 parallelization in domains More...
 
integer, parameter, public calc_mode_par_oct_m::p_strategy_states = 2
 parallelization in states More...
 
integer, parameter, public calc_mode_par_oct_m::p_strategy_kpoints = 3
 parallelization in k-points More...
 
integer, parameter, public calc_mode_par_oct_m::p_strategy_other = 4
 something else like e-h pairs More...
 
integer, parameter, public calc_mode_par_oct_m::p_strategy_max = 4
 
integer, parameter calc_mode_par_oct_m::default_parallelization_mask = ior(ibset(P_STRATEGY_SERIAL, P_STRATEGY_DOMAINS - 1), ibset(P_STRATEGY_SERIAL, P_STRATEGY_KPOINTS - 1))
 
type(calc_mode_par_t), public calc_mode_par_oct_m::calc_mode_par
 Singleton instance of parallel calculation mode. More...