GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
context.cpp File Reference
#include "ghost/context.h"
#include "ghost/bench.h"
#include "ghost/bincrs.h"
#include "ghost/config.h"
#include "ghost/core.h"
#include "ghost/locality.h"
#include "ghost/log.h"
#include "ghost/machine.h"
#include "ghost/map.h"
#include "ghost/matrixmarket.h"
#include "ghost/omp.h"
#include "ghost/types.h"
#include "ghost/util.h"
#include <float.h>
#include <iomanip>
#include <math.h>
#include <sstream>
#include <vector>
Include dependency graph for context.cpp:

Functions

ghost_error ghost_context_comm_string (char **str, ghost_context *ctx, int root)
 Create a string holding the context's communication information. More...
 

Function Documentation

ghost_error ghost_context_comm_string ( char **  str,
ghost_context ctx,
int  root 
)

Create a string holding the context's communication information.

Parameters
strThe string, must be free'd by the caller.
ctxThe context.
rootOn which rank in the context's MPI communicator to gather the information and create the string.
Returns
GHOST_SUCCESS on success or an error indicator.

Here is the call graph for this function: