PGADebugPrint(7)

NAME
PGADebugPrint - Writes debugging prints

INPUT PARAMETERS
ctx - context variable
level
    - a symbolic constant that maps to the type of print requested (e.g., an entry or exit print)
funcname
    - the name of the function that called this routines
msg - a message that will be printed
datatype
    - a symbolic constant that maps to the data type of the parameter data
data
    - a pointer, whose contents will be interpreted based upon the datatype parameter

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
void  PGADebugPrint(ctx, level, funcname, msg, datatype, data)
PGAContext *ctx
int level
char *funcname
char *msg
int datatype
void *data

LOCATION
debug.c

EXAMPLE
Print the value of the int variable num as a debugging tool in the routine
Add2Nums
PGAContext *ctx;
int num;
PGADebugPrint(ctx, PGADEBUG_PRINTVAR, "Add2Nums", "num = ", PGA_INT,
(void *) &num);