cmdline.h

来自「Path MPICH-V for MPICH the MPI Implement」· C头文件 代码 · 共 80 行

H
80
字号
/* cmdline.h *//* File autogenerated by gengetopt version 2.12.2  */#ifndef CMDLINE_H#define CMDLINE_H/* If we use autoconf.  */#ifdef HAVE_CONFIG_H#include "config.h"#endif#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#ifndef CMDLINE_PARSER_PACKAGE#define CMDLINE_PARSER_PACKAGE "vrun"#endif#ifndef CMDLINE_PARSER_VERSION#define CMDLINE_PARSER_VERSION VERSION#endifstruct gengetopt_args_info{  int n_procs_arg;	/* number of processes for the MPI application (np flag of mpirun).  */  int jobid_arg;	/* unique id for the job. (default=rand).  */  char * machines_file_arg;	/* machines file like for any MPICH device (typical deployment may use at least 3 more machines than np) (default='machines').  */  char * stable_machines_file_arg;	/* file of stable machines (machines having a high MTBF).  */  int n_el_arg;	/* number of event loggers (default='1').  */  int n_cs_arg;	/* number of checkpoint servers (default=np/5).  */  short runtime_port_arg;	/* port for the runtime process (default=autoselect).  */  short el_port_arg;	/* port for the event logger (default=autoselect).  */  short cs_port_arg;	/* port for the checkpoint server (default=autoselect).  */  short sc_port_arg;	/* port for the checkpoint scheduler (default=autoselect).  */  char * rsh_arg;	/* remote shell program for executing remote commands (default='/usr/bin/ssh').  */  char * working_dir_arg;	/* working directory for running the MPI application (default=current pwd).  */  char * tmp_dir_arg;	/* writeable directory (this directory must be writeable on all machines of the machines file and stable machines file. A local filesystem is necessary for performances) (default='/tmp').  */  char * helpers_dir_arg;	/* directory with the helpers (checkpointserver, etc...) (default=same directory as vrun).  */  char * master_sched_arg;	/* address of the master scheduler (only for multiple applications scheduling).  */  char * debug_arg;	/* debugging options. First part is the target, second part the selection. Target may be %filename for storing in a file, or ip:[port] for sending debugs to a debug server. Selection use +label or -label to force or prevent the displaying of certain informations..  */  int help_given ;	/* Whether help was given.  */  int version_given ;	/* Whether version was given.  */  int n_procs_given ;	/* Whether n-procs was given.  */  int jobid_given ;	/* Whether jobid was given.  */  int machines_file_given ;	/* Whether machines-file was given.  */  int stable_machines_file_given ;	/* Whether stable-machines-file was given.  */  int n_el_given ;	/* Whether n-el was given.  */  int n_cs_given ;	/* Whether n-cs was given.  */  int runtime_port_given ;	/* Whether runtime-port was given.  */  int el_port_given ;	/* Whether el-port was given.  */  int cs_port_given ;	/* Whether cs-port was given.  */  int sc_port_given ;	/* Whether sc-port was given.  */  int rsh_given ;	/* Whether rsh was given.  */  int working_dir_given ;	/* Whether working-dir was given.  */  int tmp_dir_given ;	/* Whether tmp-dir was given.  */  int helpers_dir_given ;	/* Whether helpers-dir was given.  */  int master_sched_given ;	/* Whether master-sched was given.  */  int debug_given ;	/* Whether debug was given.  */  char **inputs ; /* unamed options */  unsigned inputs_num ; /* unamed options number */} ;int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required);void cmdline_parser_print_help(void);void cmdline_parser_print_version(void);void cmdline_parser_init (struct gengetopt_args_info *args_info);void cmdline_parser_free (struct gengetopt_args_info *args_info);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* CMDLINE_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?