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

Driver program for PDGSSVX example. More...

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

Functions

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

Detailed Description

Driver program for PDGSSVX 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 PDDRIVE.
This example illustrates how to use PDGSSVX 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 pdgssvx
  5. Release the process grid and terminate the MPI environment
On an IBM SP, the program may be run by typing
   poe pddrive -r <proc rows>=""> -c <proc columns>=""> <input_file> -procs