StarNEig Library
version v0.1-beta.1
A task-based library for solving nonsymmetric eigenvalue problems
|
This file contains data types and functions for BLACS formatted distributed matrices. More...
Go to the source code of this file.
Data Structures | |
struct | starneig_blacs_descr |
BLACS descriptor. More... | |
BLACS contexts | |
typedef int | starneig_blacs_context_t |
BLACS context. | |
starneig_blacs_context_t | starneig_distr_to_blacs_context (starneig_distr_t distr) |
Convers a data distribution to a BLACS context. More... | |
starneig_distr_t | starneig_blacs_context_to_distr (starneig_blacs_context_t context) |
Convers a BLACS context to a data distribution. More... | |
int | starneig_distr_is_blacs_compatible (starneig_distr_t distr) |
Checks whether a data distribution is BLACS compatible. More... | |
int | starneig_distr_is_compatible_with (starneig_distr_t distr, starneig_blacs_context_t context) |
Checks whether a data distribution is compatible with a given BLACS context. More... | |
BLACS descriptors | |
typedef struct starneig_blacs_descr | starneig_blacs_descr_t |
BLACS descriptor. | |
void | starneig_create_blacs_matrix (int rows, int cols, int row_blksz, int col_blksz, starneig_datatype_t type, starneig_blacs_context_t context, starneig_blacs_descr_t *descr, void **local) |
Creates a BLACS matrix with uninitialized matrix elements. More... | |
void | starneig_distr_matrix_to_blacs_descr (starneig_distr_matrix_t matrix, starneig_blacs_context_t context, starneig_blacs_descr_t *descr, void **local) |
Convers a distributed matrix to a BLACS descriptor and a matching local array. More... | |
starneig_distr_matrix_t | starneig_blacs_descr_to_distr_matrix (starneig_datatype_t type, starneig_distr_t distr, starneig_blacs_descr_t *descr, void *local) |
Convers a BLACS descriptor and a matching local array to a distributed matrix. More... | |
int | starneig_distr_matrix_is_blacs_compatible (starneig_distr_matrix_t matrix) |
Checks whether a distributed matrix is BLACS compatible. More... | |
int | starneig_distr_matrix_is_compatible_with (starneig_distr_matrix_t matrix, starneig_blacs_context_t context) |
Checks whether a distributed matrix is compatible with a given BLACS context. More... | |
This file contains data types and functions for BLACS formatted distributed matrices.
Copyright (c) 2019, Umeå Universitet
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.