Documentation for module dbcsr_dist_methods

Routines related to DBCSR distributions

source: dbcsr_dist_methods.F
Loading...

Forwarded symbols:

dbcsr_distribution_release
dbcsr_methods::dbcsr_distribution_release
Releases and potentially destrops a distribution

public Subroutines/Functions:

FUNCTION
INTEGER
dbcsr_distribution_col_dist (dist)
...
Count number of images in the product matrix
FUNCTION
LOGICAL PURE
dbcsr_distribution_has_threads (dist)
...
Marks another use of the distribution
...
...
...
...
Creates a distribution for threads
...
...
...
FUNCTION
INTEGER PURE
dbcsr_distribution_ncols (dist)
...
Creates new distribution
FUNCTION
INTEGER PURE
dbcsr_distribution_nlocal_cols (dist)
...
FUNCTION
INTEGER PURE
dbcsr_distribution_nlocal_rows (dist)
...
Removes the thread distribution from a distribution
FUNCTION
INTEGER PURE
dbcsr_distribution_nrows (dist)
...
FUNCTION
INTEGER PURE
dbcsr_distribution_num_threads (dist)
...
FUNCTION
INTEGER PURE
dbcsr_distribution_processor (dist, row, col)
...
FUNCTION
INTEGER
dbcsr_distribution_row_dist (dist)
...
...

FUNCTIONdbcsr_distribution_col_dist(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

FUNCTIONdbcsr_distribution_get_num_images_1d(matrix_dense_size_1d, nblocks, nprows, npcols)

Count number of images in the product matrix

Return Value ::
INTEGER
Arguments:
INTEGER,
INTENT(in)
:: matrix_dense_size_1d 1D size of the (equivalent) dense matrix
INTEGER,
INTENT(in)
:: nblocks ...
INTEGER,
INTENT(in)
:: nprows Number of row processors
INTEGER,
INTENT(in)
:: npcols Number of column processors

PURE FUNCTIONdbcsr_distribution_has_threads(dist)

...

Return Value ::
LOGICAL
Arguments:
INTENT(in)
:: dist ...

SUBROUTINEdbcsr_distribution_hold(dist)

Marks another use of the distribution

Arguments:
INTENT(inout)
:: dist ...

FUNCTIONdbcsr_distribution_local_cols(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

FUNCTIONdbcsr_distribution_local_cols_obj(dist)

...

Return Value ::
Arguments:
INTENT(in)
:: dist ...

FUNCTIONdbcsr_distribution_local_rows(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

FUNCTIONdbcsr_distribution_local_rows_obj(dist)

...

Return Value ::
Arguments:
INTENT(in)
:: dist ...

SUBROUTINEdbcsr_distribution_make_threads(dist, row_sizes)

Creates a distribution for threads

Arguments:
INTENT(inout),
TARGET
:: dist Add thread distribution to this distribution
INTEGER,
INTENT(in),
OPTIONAL
:: row_sizes(:) row block sizes

FUNCTIONdbcsr_distribution_max_col_dist(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

FUNCTIONdbcsr_distribution_max_row_dist(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

FUNCTIONdbcsr_distribution_mp(dist)

...

Return Value ::
Arguments:
INTENT(in)
:: dist ...

PURE FUNCTIONdbcsr_distribution_ncols(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

SUBROUTINEdbcsr_distribution_new(dist, mp_env, row_dist_block, col_dist_block, local_rows, local_cols, row_dist_cluster, col_dist_cluster, reuse_arrays)

Creates new distribution

Arguments:
INTENT(out)
:: dist distribution
INTENT(in)
:: mp_env multiprocessing environment
INTEGER,
INTENT(in),
POINTER
:: row_dist_block(:) ...
INTEGER,
INTENT(in),
POINTER
:: col_dist_block(:) ...
INTEGER,
INTENT(in),
OPTIONAL, POINTER
:: local_rows(:) ...
INTEGER,
INTENT(in),
OPTIONAL, POINTER
:: local_cols(:) ...
INTEGER,
INTENT(in),
OPTIONAL, POINTER
:: row_dist_cluster(:) ...
INTEGER,
INTENT(in),
OPTIONAL, POINTER
:: col_dist_cluster(:) ...
LOGICAL,
OPTIONAL
:: reuse_arrays ...

PURE FUNCTIONdbcsr_distribution_nlocal_cols(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

PURE FUNCTIONdbcsr_distribution_nlocal_rows(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

SUBROUTINEdbcsr_distribution_no_threads(dist)

Removes the thread distribution from a distribution

Arguments:
INTENT(inout)
:: dist ...

PURE FUNCTIONdbcsr_distribution_nrows(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

PURE FUNCTIONdbcsr_distribution_num_threads(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

PURE FUNCTIONdbcsr_distribution_processor(dist, row, col)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...
INTEGER,
INTENT(in)
:: row ...
INTEGER,
INTENT(in)
:: col ...

FUNCTIONdbcsr_distribution_row_dist(dist)

...

Return Value ::
INTEGER
Arguments:
INTENT(in)
:: dist ...

FUNCTIONdbcsr_distribution_thread_dist(dist)

...

Return Value ::
Arguments:
INTENT(in)
:: dist ...