SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
pztest.c File Reference

Driver program for testing PZGSSVX. More...

#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <math.h>
#include "superlu_dist_config.h"
#include "superlu_zdefs.h"
Include dependency graph for pztest.c:

Macros

#define _XOPEN_SOURCE
 
#define NTESTS   1 /*5*/ /* Number of test types */
 
#define NTRAN   2
 
#define THRESH   20.0
 
#define FMT1   "%10s:n=%d, test(%d)=%12.5g\n"
 
#define FMT2   "%10s:fact=%4d, DiagScale=%d, n=%d, imat=%d, test(%d)=%12.5g, berr=%12.5g\n"
 
#define FMT3   "%10s:info=%d, izero=%d, n=%d, nrhs=%d, imat=%d, nfail=%d\n"
 

Functions

static void parse_command_line (int argc, char *argv[], int *nprow, int *npcol, char *matrix_type, int *n, int *relax, int *maxsuper, int *fill_ratio, int *min_gemm_gpu_offload, int *nrhs, FILE **fp)
 
int pzcompute_resid (int m, int n, int nrhs, SuperMatrix *A, doublecomplex *x, int ldx, doublecomplex *b, int ldb, gridinfo_t *grid, zSOLVEstruct_t *SOLVEstruct, double *resid)
 
void zCopy_CompRowLoc_NoAllocation (SuperMatrix *A, SuperMatrix *B)
 Copy matrix A into matrix B, in distributed compressed row format. More...
 
void PrintSumm (char *type, int nfail, int nrun, int nerrs)
 Print a summary of the testing results. More...
 
int main (int argc, char *argv[])
 
int cpp_defs ()
 

Detailed Description

Driver program for testing PZGSSVX.

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

-- Distributed SuperLU routine (version 5.2) --
Lawrence Berkeley National Lab, Univ. of California Berkeley.
September 30, 2017

Macro Definition Documentation

◆ _XOPEN_SOURCE

#define _XOPEN_SOURCE

◆ FMT1

#define FMT1   "%10s:n=%d, test(%d)=%12.5g\n"

◆ FMT2

#define FMT2   "%10s:fact=%4d, DiagScale=%d, n=%d, imat=%d, test(%d)=%12.5g, berr=%12.5g\n"

◆ FMT3

#define FMT3   "%10s:info=%d, izero=%d, n=%d, nrhs=%d, imat=%d, nfail=%d\n"

◆ NTESTS

#define NTESTS   1 /*5*/ /* Number of test types */

◆ NTRAN

#define NTRAN   2

◆ THRESH

#define THRESH   20.0

Function Documentation

◆ cpp_defs()

int cpp_defs ( )

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ parse_command_line()

static void parse_command_line ( int  argc,
char *  argv[],
int *  nprow,
int *  npcol,
char *  matrix_type,
int *  n,
int *  relax,
int *  maxsuper,
int *  fill_ratio,
int *  min_gemm_gpu_offload,
int *  nrhs,
FILE **  fp 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintSumm()

void PrintSumm ( char *  type,
int  nfail,
int  nrun,
int  nerrs 
)

Print a summary of the testing results.

Here is the caller graph for this function:

◆ pzcompute_resid()

int pzcompute_resid ( int  m,
int  n,
int  nrhs,
SuperMatrix A,
doublecomplex x,
int  ldx,
doublecomplex b,
int  ldb,
gridinfo_t grid,
zSOLVEstruct_t SOLVEstruct,
double *  resid 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zCopy_CompRowLoc_NoAllocation()

void zCopy_CompRowLoc_NoAllocation ( SuperMatrix A,
SuperMatrix B 
)

Copy matrix A into matrix B, in distributed compressed row format.

Here is the caller graph for this function: