(git:c5411e0)
Loading...
Searching...
No Matches
cp_blacs_env Module Reference

methods related to the blacs parallel environment More...

Data Types

type  cp_blacs_env_type
 represent a blacs multidimensional parallel environment (for the mpi corrispective see cp_paratypes/mp_para_cart_type) More...
 

Functions/Subroutines

subroutine get_blacs_info (blacs_env, my_process_row, my_process_column, my_process_number, number_of_process_rows, number_of_process_columns, number_of_processes, para_env, blacs2mpi, mpi2blacs)
 Return informations about the specified BLACS context.
 
subroutine, public cp_blacs_env_create (blacs_env, para_env, blacs_grid_layout, blacs_repeatable, row_major, grid_2d)
 allocates and initializes a type that represent a blacs context
 
subroutine, public cp_blacs_env_release (blacs_env)
 releases the given blacs_env
 

Variables

integer, parameter, public blacs_grid_square = 1
 
integer, parameter, public blacs_grid_row = 2
 
integer, parameter, public blacs_grid_col = 3
 

Detailed Description

methods related to the blacs parallel environment

History
08.2002 created [fawzi] 02.2004 modified to associate a blacs_env with a given para_env
Author
Fawzi Mohamed

Function/Subroutine Documentation

◆ get_blacs_info()

subroutine cp_blacs_env::get_blacs_info ( class(cp_blacs_env_type), intent(in)  blacs_env,
integer, intent(out), optional  my_process_row,
integer, intent(out), optional  my_process_column,
integer, intent(out), optional  my_process_number,
integer, intent(out), optional  number_of_process_rows,
integer, intent(out), optional  number_of_process_columns,
integer, intent(out), optional  number_of_processes,
type(mp_para_env_type), optional, pointer  para_env,
integer, dimension(:, :), optional, pointer  blacs2mpi,
integer, dimension(:, :), optional, pointer  mpi2blacs 
)

Return informations about the specified BLACS context.

Parameters
blacs_env...
my_process_row...
my_process_column...
my_process_number...
number_of_process_rows...
number_of_process_columns...
number_of_processes...
para_env...
blacs2mpi...
mpi2blacs...
Date
19.06.2001
History
MM.YYYY moved here from qs_blacs (Joost VandeVondele)
Author
Matthias Krack
Version
1.0

Definition at line 88 of file cp_blacs_env.F.

◆ cp_blacs_env_create()

subroutine, public cp_blacs_env::cp_blacs_env_create ( type(cp_blacs_env_type), intent(out), pointer  blacs_env,
type(mp_para_env_type), intent(inout), target  para_env,
integer, intent(in), optional  blacs_grid_layout,
logical, intent(in), optional  blacs_repeatable,
logical, intent(in), optional  row_major,
integer, dimension(:), intent(in), optional  grid_2d 
)

allocates and initializes a type that represent a blacs context

Parameters
blacs_envthe type to initialize
para_envthe para_env for which a blacs env should be created
blacs_grid_layout...
blacs_repeatable...
row_major...
grid_2d...
History
08.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 122 of file cp_blacs_env.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cp_blacs_env_release()

subroutine, public cp_blacs_env::cp_blacs_env_release ( type(cp_blacs_env_type), pointer  blacs_env)

releases the given blacs_env

Parameters
blacs_envthe blacs env to release
History
08.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 281 of file cp_blacs_env.F.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ blacs_grid_square

integer, parameter, public cp_blacs_env::blacs_grid_square = 1

Definition at line 32 of file cp_blacs_env.F.

◆ blacs_grid_row

integer, parameter, public cp_blacs_env::blacs_grid_row = 2

Definition at line 32 of file cp_blacs_env.F.

◆ blacs_grid_col

integer, parameter, public cp_blacs_env::blacs_grid_col = 3

Definition at line 32 of file cp_blacs_env.F.