StarNEig User's Guide  master branch
A task-based library for solving dense nonsymmetric eigenvalue problems
blacs_helpers.h File Reference

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_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...
 

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.
 

Detailed Description

This file contains various BLACS helper functions.

Author
Mirko Myllykoski (mirko.nosp@m.m@cs.nosp@m..umu..nosp@m.se), UmeƄ University