StarNEig Library
version v0.1-beta.6
A task-based library for solving nonsymmetric eigenvalue problems
|
This file contains various BLACS helper functions. More...
Go to the source code of this file.
Functions | |
void | starneig_blacs_pinfo (int *my_rank, int *rank_count) |
Queries process rank information. More... | |
int | starneig_blacs_get (starneig_blacs_context_t context, starneig_blacs_query_id_t query) |
Returns BLACS context's internal defaults. More... | |
starneig_blacs_context_t | starneig_blacs_gridinit (starneig_blacs_context_t system_context, char *order, int rows, int cols) |
Initializes a BLACS process grid. More... | |
void | starneig_blacs_gridinfo (starneig_blacs_context_t context, int *rows, int *cols, int *row, int *col) |
Queries BLACS process grid information. More... | |
void | starneig_blacs_pcoord (starneig_blacs_context_t context, int process, int *row, int *col) |
Queries BLACS process grid coordinates. More... | |
void | starneig_blacs_gridexit (starneig_blacs_context_t context) |
Releases process grid specific resources. More... | |
void | starneig_blacs_exit (int cont) |
Releases all contexts and related resources. More... | |
int | starneig_blacs_numroc (int n, int nb, int iproc, int isrcproc, int nprocs) |
Computes the number of matrix rows/columns owned by a given process. More... | |
int | starneig_numroc (int n, int nb, int iproc, int isrcproc, int nprocs) |
Computes the number of matrix rows/columns owned by a given process. Deprecated. More... | |
int | starneig_blacs_descinit (struct starneig_blacs_descr *descr, int m, int n, int sm, int sn, int irsrc, int icsrc, starneig_blacs_context_t context, int ld) |
Initializes a BLACS descriptor. More... | |
int | starneig_descinit (struct starneig_blacs_descr *descr, int m, int n, int sm, int sn, int irsrc, int icsrc, starneig_blacs_context_t context, int ld) |
Initializes a BLACS descriptor. Deprecated. More... | |
Query indeces | |
#define | STARNEIG_BLACS_GET_DEFAULT_CONTEXT 0 |
Query id for getting the default system context. | |
typedef int | starneig_blacs_query_id_t |
Data type for blacs_get() function query id. | |
This file contains various BLACS helper functions.
Copyright (c) 2019-2020, 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.