SuperLU Distributed 9.0.0
gpu3d
psdrive3d.c File Reference
#include "superlu_sdefs.h"
Include dependency graph for psdrive3d.c:

Macros

#define NRFRMT
 

Functions

static void matCheck (int n, int m, float *A, int LDA, float *B, int LDB)
 The driver program PSDRIVE3D. More...
 
static void checkNRFMT (NRformat_loc *A, NRformat_loc *B)
 
int main (int argc, char *argv[])
 
int cpp_defs ()
 

Detailed Description

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.

Macro Definition Documentation

◆ NRFRMT

#define NRFRMT

Function Documentation

◆ checkNRFMT()

static void checkNRFMT ( NRformat_loc A,
NRformat_loc B 
)
static
Here is the call graph for this function:

◆ cpp_defs()

int cpp_defs ( )
Here is the caller graph for this function:

◆ main()

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

◆ matCheck()

static void matCheck ( int  n,
int  m,
float *  A,
int  LDA,
float *  B,
int  LDB 
)
static

The driver program PSDRIVE3D.

Purpose
=======

This example illustrates how to use PSGSSVX3D or PSGSSVX3D_CSC_BATCH
with the full (default) options to solve a linear system.

Five basic steps are required:
  1. Initialize the MPI environment and the SuperLU process grid
  2. Set up the input matrix and the right-hand side
  3. Set the options argument
  4. Call psgssvx
  5. Release the process grid and terminate the MPI environment

The program may be run by typing
   mpiexec -np 
 psdrive3d -r <proc rows> -c <proc columns> \
                                  -d <proc Z-dimension> <input_file>
NOTE: total number of processes p = r * c * d
      d must be a power-of-two, e.g., 1, 2, 4, ...

Here is the caller graph for this function: