(git:cdd058b)
Loading...
Searching...
No Matches
dbt_io Module Reference

DBT tensor Input / Output. More...

Functions/Subroutines

subroutine, public dbt_write_tensor_info (tensor, unit_nr, full_info)
 Write tensor global info: block dimensions, full dimensions and process grid dimensions.
subroutine, public dbt_write_tensor_dist (tensor, unit_nr)
 Write info on tensor distribution & load balance.
subroutine, public dbt_write_blocks (tensor, io_unit_master, io_unit_all, write_int)
 Write all tensor blocks.
subroutine, public dbt_write_block (name, blk_size, blk_index, proc, unit_nr, blk_values_2, blk_values_3, blk_values_4, write_int)
 Write a tensor block.
subroutine, public dbt_write_block_indices (tensor, io_unit_master, io_unit_all)
subroutine, public dbt_write_split_info (pgrid, unit_nr)
integer function, public prep_output_unit (unit_nr)

Detailed Description

DBT tensor Input / Output.

Author
Patrick Seewald

Function/Subroutine Documentation

◆ dbt_write_tensor_info()

subroutine, public dbt_io::dbt_write_tensor_info ( type(dbt_type), intent(in) tensor,
integer, intent(in) unit_nr,
logical, intent(in), optional full_info )

Write tensor global info: block dimensions, full dimensions and process grid dimensions.

Parameters
full_infoWhether to print distribution and block size vectors
Author
Patrick Seewald

Definition at line 49 of file dbt_io.F.

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

◆ dbt_write_tensor_dist()

subroutine, public dbt_io::dbt_write_tensor_dist ( type(dbt_type), intent(in) tensor,
integer, intent(in) unit_nr )

Write info on tensor distribution & load balance.

Author
Patrick Seewald

Definition at line 160 of file dbt_io.F.

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

◆ dbt_write_blocks()

subroutine, public dbt_io::dbt_write_blocks ( type(dbt_type), intent(inout) tensor,
integer, intent(in) io_unit_master,
integer, intent(in) io_unit_all,
logical, intent(in), optional write_int )

Write all tensor blocks.

Parameters
io_unit_masterfor global output
io_unit_allfor local output
write_intconvert to integers (useful for testing with integer tensors)
Author
Patrick Seewald

Definition at line 211 of file dbt_io.F.

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

◆ dbt_write_block()

subroutine, public dbt_io::dbt_write_block ( character(len=*), intent(in) name,
integer, dimension(:), intent(in) blk_size,
integer, dimension(:), intent(in) blk_index,
integer, intent(in) proc,
integer, intent(in) unit_nr,
real(kind=dp), dimension(blk_size(1), blk_size(2)), intent(in), optional blk_values_2,
real(kind=dp), dimension(blk_size(1), blk_size(2), blk_size(3)), intent(in), optional blk_values_3,
real(kind=dp), dimension(blk_size(1), blk_size(2), blk_size(3), blk_size(4)), intent(in), optional blk_values_4,
logical, intent(in), optional write_int )

Write a tensor block.

Parameters
nametensor name
blk_sizeblock size
blk_indexblock index
blk_values_iblock values for 2 dimensions
write_intwrite_int convert values to integers
unit_nrunit number
procwhich process am I
Author
Patrick Seewald

Definition at line 271 of file dbt_io.F.

Here is the caller graph for this function:

◆ dbt_write_block_indices()

subroutine, public dbt_io::dbt_write_block_indices ( type(dbt_type), intent(inout) tensor,
integer, intent(in) io_unit_master,
integer, intent(in) io_unit_all )
Author
Patrick Seewald

Definition at line 364 of file dbt_io.F.

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

◆ dbt_write_split_info()

subroutine, public dbt_io::dbt_write_split_info ( type(dbt_pgrid_type), intent(in) pgrid,
integer, intent(in) unit_nr )
Author
Patrick Seewald

Definition at line 400 of file dbt_io.F.

Here is the call graph for this function:

◆ prep_output_unit()

integer function, public dbt_io::prep_output_unit ( integer, intent(in), optional unit_nr)
Author
Patrick Seewald

Definition at line 412 of file dbt_io.F.

Here is the caller graph for this function: