MPI-SCATCI
2.0
An MPI version of SCATCI
|
ScaLAPACK matrix module. More...
Data Types | |
type | scalapackmatrix |
Functions/Subroutines | |
logical function | am_i_involved (this) |
Is this process part of the BLACS grid. More... | |
subroutine | initialize_struct_scalapack (this, matrix_size, matrix_type, block_size) |
Initialize the type. More... | |
logical function | is_this_me (this, proc_row, proc_col) |
Check workitem association with current process. More... | |
subroutine | get_matelem_scalapack (this, idx, i, j, coeff) |
Retrieve matrix element. More... | |
logical function | insert_into_local_matrix (this, row, column, coefficient) |
Insert new element. More... | |
subroutine | print_scalapack (this) |
Print matrix. More... | |
subroutine | clear_scalapack (this) |
Clear matrix. More... | |
subroutine | destroy_scalapack (this) |
Destroy matrix. More... | |
ScaLAPACK matrix module.
Only compiled in when ScaLAPACK library is available during configuration step. Uses a compile-time macro for the BLAS/LAPACK integer, which is long integer by default, or controllable by the compiler flags -Dblas64int/-Dblas32int.
|
private |
Is this process part of the BLACS grid.
This function returns "true" when part of the matrix is allocated to this process. It returns false if this process is not part of the BLACS grid at all.
Definition at line 77 of file SCALAPACKMatrix_module.f90.
|
private |
|
private |
|
private |
|
private |
Initialize the type.
This subroutine also prepares the context for BLACS (ie. the MPI communicator layout). The number of processes is split into a grid of nprow
times npcol
processes, where both nprow
and npcol
are as close as possible to the square root of the number of processes.
Definition at line 95 of file SCALAPACKMatrix_module.f90.
|
private |
Insert new element.
This inserts an element into the hard storage which is considered the final location before diagonalization. It also checks wherther the element exists within the aloowed range and tells us if it was successfully inserted.
Definition at line 214 of file SCALAPACKMatrix_module.f90.
|
private |
Check workitem association with current process.
Definition at line 171 of file SCALAPACKMatrix_module.f90.
|
private |