PPL Logo

libs/ck-libs/metis/programs/cmdline_mpmetis.c File Reference

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

Go to the source code of this file.

Functions

params_tparse_cmdline (int argc, char *argv[])

Variables

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


Detailed Description

Command-line argument parsing for mpmetis.

Date:
12/24/2008
Author:
George
Version:
$Id: cmdline_mpmetis.c 13905 2013-03-25 13:21:20Z karypis $

Definition in file cmdline_mpmetis.c.


Function Documentation

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


Variable Documentation

struct gk_option long_options[] [static]

Initial value:

 {
  {"gtype",          1,      0,      METIS_OPTION_GTYPE},
  {"ptype",          1,      0,      METIS_OPTION_PTYPE},
  {"objtype",        1,      0,      METIS_OPTION_OBJTYPE},

  {"ctype",          1,      0,      METIS_OPTION_CTYPE},
  {"iptype",         1,      0,      METIS_OPTION_IPTYPE},

  {"minconn",        0,      0,      METIS_OPTION_MINCONN},
  {"contig",         0,      0,      METIS_OPTION_CONTIG},

  {"nooutput",       0,      0,      METIS_OPTION_NOOUTPUT},

  {"ufactor",        1,      0,      METIS_OPTION_UFACTOR},
  {"niter",          1,      0,      METIS_OPTION_NITER},
  {"ncuts",          1,      0,      METIS_OPTION_NCUTS},
  {"ncommon",        1,      0,      METIS_OPTION_NCOMMON},

  {"tpwgts",         1,      0,      METIS_OPTION_TPWGTS},

  {"seed",           1,      0,      METIS_OPTION_SEED},

  {"dbglvl",         1,      0,      METIS_OPTION_DBGLVL},

  {"help",           0,      0,      METIS_OPTION_HELP},
  {0,                0,      0,      0}
}

Definition at line 17 of file cmdline_mpmetis.c.

Initial value:

 {
 {"dual",               METIS_GTYPE_DUAL},
 {"nodal",              METIS_GTYPE_NODAL},
 {NULL,                 0}
}

Definition at line 50 of file cmdline_mpmetis.c.

Initial value:

 {
 {"rb",                 METIS_PTYPE_RB},
 {"kway",               METIS_PTYPE_KWAY},
 {NULL,                 0}
}

Definition at line 56 of file cmdline_mpmetis.c.

Initial value:

 {
 {"cut",                METIS_OBJTYPE_CUT},
 {"vol",                METIS_OBJTYPE_VOL},
 {NULL,                 0}
}

Definition at line 62 of file cmdline_mpmetis.c.

Initial value:

 {
 {"rm",                 METIS_CTYPE_RM},
 {"shem",               METIS_CTYPE_SHEM},
 {NULL,                 0}
}

Definition at line 68 of file cmdline_mpmetis.c.

Initial value:

 {
 {"grow",               METIS_IPTYPE_GROW},
 {"random",             METIS_IPTYPE_RANDOM},
 {NULL,                 0}
}

Definition at line 74 of file cmdline_mpmetis.c.

char helpstr[][100] [static]

Definition at line 84 of file cmdline_mpmetis.c.

char shorthelpstr[][100] [static]

Initial value:

 {
" ",
"   Usage: mpmetis [options] <filename> <nparts>",
"          use 'mpmetis -help' for a summary of the options.",
""
}

Definition at line 182 of file cmdline_mpmetis.c.


Generated on Mon Sep 21 08:10:21 2020 for Charm++ by  doxygen 1.5.5