SuperLU 6.0.1
Macros | Functions
cdrive.c File Reference
#include <getopt.h>
#include <string.h>
#include "slu_cdefs.h"
#include "MATGEN/matgen.h"
Include dependency graph for cdrive.c:

Macros

#define NTESTS   5 /* Number of test types */
 
#define NTYPES   11 /* Number of matrix types */
 
#define NTRAN   2
 
#define THRESH   20.0
 
#define FMT1   "%10s:n=%d, test(%d)=%12.5g\n"
 
#define FMT2   "%10s:fact=%4d, trans=%4d, equed=%c, n=%d, imat=%d, test(%d)=%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[], char *matrix_type, int *n, int *w, int *relax, int *nrhs, int *maxsuper, int *rowblk, int *colblk, int_t *lwork, double *u, FILE **fp)
 
int main (int argc, char *argv[])
 

Detailed Description

CDRIVE is the main test program for the COMPLEX linear equation driver routines CGSSV and CGSSVX.

The program is invoked by a shell script file – ctest.csh. The output from the tests are written into a file – ctest.out.

Macro Definition Documentation

◆ FMT1

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

◆ FMT2

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

◆ FMT3

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

◆ NTESTS

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

◆ NTRAN

#define NTRAN   2

◆ NTYPES

#define NTYPES   11 /* Number of matrix types */

◆ THRESH

#define THRESH   20.0

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Entry point of test program.

Here is the call graph for this function:

◆ parse_command_line()

static void parse_command_line ( int  argc,
char *  argv[],
char *  matrix_type,
int *  n,
int *  w,
int *  relax,
int *  nrhs,
int *  maxsuper,
int *  rowblk,
int *  colblk,
int_t lwork,
double *  u,
FILE **  fp 
)
static

Parse command line options to get relaxed snode size, panel size, etc.