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

This example illustrates how to divide up the processes into subgroups. More...

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

Functions

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

Detailed Description

This example illustrates how to divide up the processes into subgroups.

– Distributed SuperLU routine (version 1.0) –
Lawrence Berkeley National Lab, Univ. of California Berkeley.
September 1, 1999

Function Documentation

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

Purpose

The driver program pzdrive4_ABglobal.
This example illustrates how to divide up the processes into
subgroups (multiple grids) such that each subgroup solves a linear
system independently from the other.
In this example, there are 2 subgroups:
 1. subgroup 1 consists of processes 0 to 5 arranged as
    a 2-by-3 process grid.
 2. subgroup 2 consists of processes 6 to 9 arranged as
    a 2-by-2 process grid.
On an IBM SP, the program may be run by typing
   poe pzdrive4_ABglobal <input_file> -procs 10