ScaLAPACKFX
|
Some extension routines to the scalapack library making it more usable. More...
Data Types | |
type | blocklist |
List of the local blocks of a distributed matrix. More... | |
Private Member Functions | |
subroutine | blocklist_init (self, mygrid, desc, rowcol) |
Initializes a blocklist instance. | |
integer function | blocklist_getsize (self) |
Returns the size of the blocklist. | |
subroutine | blocklist_getblock (self, iblock, iglob, iloc, bsize) |
Returns the indices (local and global) of a local block. | |
subroutine | cpl2g_real (mygrid, loc, desc, ii, jj, glob) |
Copies the content of a local matrix to a global one (real). | |
subroutine | cpl2g_dreal (mygrid, loc, desc, ii, jj, glob) |
Copies the content of a local matrix to a global one (dreal). | |
subroutine | cpl2g_complex (mygrid, loc, desc, ii, jj, glob) |
Copies the content of a local matrix to a global one (complex). | |
subroutine | cpl2g_dcomplex (mygrid, loc, desc, ii, jj, glob) |
Copies the content of a local matrix to a global one (dcomplex). | |
subroutine | cpl2g_int (mygrid, loc, desc, ii, jj, glob) |
Copies the content of a local matrix to a global one (int). | |
subroutine | cpg2l_real (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | cpg2l_dreal (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | cpg2l_complex (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | cpg2l_dcomplex (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | cpg2l_int (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | addl2g_real (mygrid, loc, desc, ii, jj, glob) |
Adds the content of a local matrix to a global one (real). | |
subroutine | addl2g_dreal (mygrid, loc, desc, ii, jj, glob) |
Adds the content of a local matrix to a global one (dreal). | |
subroutine | addl2g_complex (mygrid, loc, desc, ii, jj, glob) |
Adds the content of a local matrix to a global one (complex). | |
subroutine | addl2g_dcomplex (mygrid, loc, desc, ii, jj, glob) |
Adds the content of a local matrix to a global one (dcomplex). | |
subroutine | addl2g_int (mygrid, loc, desc, ii, jj, glob) |
Adds the content of a local matrix to a global one (int). | |
subroutine | addg2l_real (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | addg2l_dreal (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | addg2l_complex (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | addg2l_dcomplex (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | addg2l_int (mygrid, desc, ii, jj, glob, loc) |
Copies the content from the global matrix into a local one. | |
subroutine | writearray_master_int (mygrid, fd, desc, mtxloc, rowwise, elemformat) |
Writes a distributed array to a file (master, int). | |
subroutine | writearray_master_real (mygrid, fd, desc, mtxloc, rowwise, elemformat) |
Writes a distributed array to a file (master, real). | |
subroutine | writearray_master_dreal (mygrid, fd, desc, mtxloc, rowwise, elemformat) |
Writes a distributed array to a file (master, dreal). | |
subroutine | writearray_master_complex (mygrid, fd, desc, mtxloc, rowwise, elemformat) |
Writes a distributed array to a file (master, complex). | |
subroutine | writearray_master_dcomplex (mygrid, fd, desc, mtxloc, rowwise, elemformat) |
Writes a distributed array to a file (master, dcomplex). | |
subroutine | writearray_slave_int (mygrid, desc, mtxloc, rowwise) |
Writes a distributed array to a file (slave, int). | |
subroutine | writearray_slave_real (mygrid, desc, mtxloc, rowwise) |
Writes a distributed array to a file (slave, real). | |
subroutine | writearray_slave_dreal (mygrid, desc, mtxloc, rowwise) |
Writes a distributed array to a file (slave, dreal). | |
subroutine | writearray_slave_complex (mygrid, desc, mtxloc, rowwise) |
Writes a distributed array to a file (slave, complex). | |
subroutine | writearray_slave_dcomplex (mygrid, desc, mtxloc, rowwise) |
Writes a distributed array to a file (slave, dcomplex). | |
subroutine | readarray_master_int (mygrid, fd, desc, mtxloc, rowwise, formatted) |
Reads a distributed array from a file (master, int). | |
subroutine | readarray_master_real (mygrid, fd, desc, mtxloc, rowwise, formatted) |
Reads a distributed array from a file (master, real). | |
subroutine | readarray_master_dreal (mygrid, fd, desc, mtxloc, rowwise, formatted) |
Reads a distributed array from a file (master, dreal). | |
subroutine | readarray_master_complex (mygrid, fd, desc, mtxloc, rowwise, formatted) |
Reads a distributed array from a file (master, complex). | |
subroutine | readarray_master_dcomplex (mygrid, fd, desc, mtxloc, rowwise, formatted) |
Reads a distributed array from a file (master, dcomplex). | |
subroutine | readarray_slave_int (mygrid, desc, mtxloc, rowwise) |
Reads a distributed array from a file (slave, int). | |
subroutine | readarray_slave_real (mygrid, desc, mtxloc, rowwise) |
Reads a distributed array from a file (slave, real). | |
subroutine | readarray_slave_dreal (mygrid, desc, mtxloc, rowwise) |
Reads a distributed array from a file (slave, dreal). | |
subroutine | readarray_slave_complex (mygrid, desc, mtxloc, rowwise) |
Reads a distributed array from a file (slave, complex). | |
subroutine | readarray_slave_dcomplex (mygrid, desc, mtxloc, rowwise) |
Reads a distributed array from a file (slave, dcomplex). | |
Some extension routines to the scalapack library making it more usable.
Some of the types exported by this module are defined in other modules. Therefore, see also the documentation of the following modules:
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Adds the content of a local matrix to a global one (complex).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Adds the content of a local matrix to a global one (dcomplex).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Adds the content of a local matrix to a global one (dreal).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Adds the content of a local matrix to a global one (int).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Adds the content of a local matrix to a global one (real).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Returns the indices (local and global) of a local block.
self | Blocklist instance. |
iblock | Number of local block. |
iglob | Index of the first element of the block in the global matrix. |
iloc | Index of the first element of the block in the local matirx. |
bsize | Size of the block (number of elements in the block). |
|
private |
Returns the size of the blocklist.
self | Instance. |
|
private |
Initializes a blocklist instance.
self | Initialized instance on exit. |
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix. |
rowcol | "C" for column, "R" for row blocks. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content from the global matrix into a local one.
mygrid | BLACS descriptor |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
loc | Local matrix. |
|
private |
Copies the content of a local matrix to a global one (complex).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Copies the content of a local matrix to a global one (dcomplex).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Copies the content of a local matrix to a global one (dreal).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Copies the content of a local matrix to a global one (int).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Copies the content of a local matrix to a global one (real).
mygrid | BLACS descriptor |
loc | Local matrix. |
desc | Descriptor of the global matrix. |
ii | Starting row in the global matrix. |
jj | Starting column in the global matrix |
glob | Local part of the global matrix. |
|
private |
Reads a distributed array from a file (master, complex).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
formatted | If .true. matrix will be read formatted otherwise unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! (default: .false.) |
|
private |
Reads a distributed array from a file (master, dcomplex).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
formatted | If .true. matrix will be read formatted otherwise unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! (default: .false.) |
|
private |
Reads a distributed array from a file (master, dreal).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
formatted | If .true. matrix will be read formatted otherwise unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! (default: .false.) |
|
private |
Reads a distributed array from a file (master, int).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
formatted | If .true. matrix will be read formatted otherwise unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! (default: .false.) |
|
private |
Reads a distributed array from a file (master, real).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
formatted | If .true. matrix will be read formatted otherwise unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! (default: .false.) |
|
private |
Reads a distributed array from a file (slave, complex).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
|
private |
Reads a distributed array from a file (slave, dcomplex).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
|
private |
Reads a distributed array from a file (slave, dreal).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
|
private |
Reads a distributed array from a file (slave, int).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
|
private |
Reads a distributed array from a file (slave, real).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is assumed to be stored rowwise otherwise columnwise (default: .false.) |
|
private |
Writes a distributed array to a file (master, complex).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
elemformat | Formatting of one element (e.g. "(E23.15)"). If present matrix will be written formatted, otherwise the matrix is written unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! The formatting string must contain the delimiting parantheses. |
|
private |
Writes a distributed array to a file (master, dcomplex).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
elemformat | Formatting of one element (e.g. "(E23.15)"). If present matrix will be written formatted, otherwise the matrix is written unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! The formatting string must contain the delimiting parantheses. |
|
private |
Writes a distributed array to a file (master, dreal).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
elemformat | Formatting of one element (e.g. "(E23.15)"). If present matrix will be written formatted, otherwise the matrix is written unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! The formatting string must contain the delimiting parantheses. |
|
private |
Writes a distributed array to a file (master, int).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
elemformat | Formatting of one element (e.g. "(E23.15)"). If present matrix will be written formatted, otherwise the matrix is written unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! The formatting string must contain the delimiting parantheses. |
|
private |
Writes a distributed array to a file (master, real).
mygrid | BLACS descriptor |
fd | File descriptor of an opened file. |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
elemformat | Formatting of one element (e.g. "(E23.15)"). If present matrix will be written formatted, otherwise the matrix is written unformatted. The file descriptor must accordingly belong to a formatted or an unformatted file! The formatting string must contain the delimiting parantheses. |
|
private |
Writes a distributed array to a file (slave, complex).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
|
private |
Writes a distributed array to a file (slave, dcomplex).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
|
private |
Writes a distributed array to a file (slave, dreal).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
|
private |
Writes a distributed array to a file (slave, int).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |
|
private |
Writes a distributed array to a file (slave, real).
mygrid | BLACS descriptor |
desc | Descriptor of the distributed matrix |
mtxloc | Local portion of the distributed matrix |
rowwise | If .true. matrix is dumped rowwise otherwise columnwise |