Functions | Variables
cmdline_gpmetis.c File Reference

Command-line argument parsing for gpmetis. More...

#include "metisbin.h"
Include dependency graph for cmdline_gpmetis.c:

Go to the source code of this file.

Functions

params_tparse_cmdline (int argc, char *argv[])
 

Variables

static gk_StringMap_t ctype_options []
 
static char helpstr [][100]
 
static gk_StringMap_t iptype_options []
 
static struct gk_option long_options []
 
static gk_StringMap_t objtype_options []
 
static gk_StringMap_t ptype_options []
 
static gk_StringMap_t rtype_options []
 
static char shorthelpstr [][100]
 

Detailed Description

Command-line argument parsing for gpmetis.

Date
12/24/2008
Author
George
Version
$Id: cmdline_gpmetis.c 13901 2013-03-24 16:17:03Z karypis $

Definition in file cmdline_gpmetis.c.

Function Documentation

◆ parse_cmdline()

params_t* parse_cmdline ( int  argc,
char *  argv[] 
)

This is the entry point of the command-line argument parser

Definition at line 217 of file cmdline_gpmetis.c.

Variable Documentation

◆ ctype_options

gk_StringMap_t ctype_options[]
static
Initial value:
= {
{"rm", METIS_CTYPE_RM},
{"shem", METIS_CTYPE_SHEM},
{NULL, 0}
}
#define NULL
Definition: ccolamd.c:609

Definition at line 64 of file cmdline_gpmetis.c.

◆ helpstr

char helpstr[][100]
static

Definition at line 87 of file cmdline_gpmetis.c.

◆ iptype_options

gk_StringMap_t iptype_options[]
static
Initial value:

Definition at line 70 of file cmdline_gpmetis.c.

◆ long_options

struct gk_option long_options[]
static
Initial value:

Definition at line 16 of file cmdline_gpmetis.c.

◆ objtype_options

gk_StringMap_t objtype_options[]
static
Initial value:

Definition at line 58 of file cmdline_gpmetis.c.

◆ ptype_options

gk_StringMap_t ptype_options[]
static
Initial value:
= {
{"rb", METIS_PTYPE_RB},
{"kway", METIS_PTYPE_KWAY},
{NULL, 0}
}
#define NULL
Definition: ccolamd.c:609

Definition at line 52 of file cmdline_gpmetis.c.

◆ rtype_options

gk_StringMap_t rtype_options[]
static
Initial value:
= {
{"fm", METIS_RTYPE_FM},
{"greedy", METIS_RTYPE_GREEDY},
{NULL, 0}
}
#define NULL
Definition: ccolamd.c:609

Definition at line 76 of file cmdline_gpmetis.c.

◆ shorthelpstr

char shorthelpstr[][100]
static
Initial value:
= {
" ",
" Usage: gpmetis [options] <filename> <nparts>",
" use 'gpmetis -help' for a summary of the options.",
""
}

Definition at line 205 of file cmdline_gpmetis.c.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:48