SuperLU_DIST  4.0
superlu_dist on CPU and GPU clusters
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
pzdrive.c File Reference

Driver program for PZGSSVX example. More...

#include <math.h>
#include "superlu_zdefs.h"

Functions

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

Detailed Description

Driver program for PZGSSVX example.

– Distributed SuperLU routine (version 2.1) –
Lawrence Berkeley National Lab, Univ. of California Berkeley.
November 1, 2007

Function Documentation

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

Purpose

The driver program PZDRIVE.
This example illustrates how to use PZGSSVX 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 pzgssvx
  5. Release the process grid and terminate the MPI environment
On an IBM SP, the program may be run by typing
   poe pzdrive -r <proc rows>=""> -c <proc columns>=""> <input_file> -procs