00001 #ifndef MPIB_GETOPT_H_
00002 #define MPIB_GETOPT_H_
00003
00004 #include "mpib_measurement.h"
00005 #include "mpib_coll_benchmarks.h"
00006
00065 #ifdef __cplusplus
00066 extern "C" {
00067 #endif
00068 void MPIB_getopt_help_default(int* exit);
00069 void MPIB_getopt_multicore_default(int* multicore);
00070 const char* MPIB_getopt_help_options();
00071 void MPIB_getopt_help_optarg(int c, const char* program, int* exit);
00072 void MPIB_getopt_help_bcast(int* exit, int root, MPI_Comm comm);
00073
00074 void MPIB_getopt_msgset_default(MPIB_msgset* msgset);
00075 const char* MPIB_getopt_msgset_options();
00076 void MPIB_getopt_msgset_optarg(int c, MPIB_msgset* msgset);
00077 void MPIB_getopt_msgset_bcast(MPIB_msgset* msgset, int root, MPI_Comm comm);
00078
00079 void MPIB_getopt_precision_default(MPIB_precision* precision);
00080 const char* MPIB_getopt_precision_options();
00081 void MPIB_getopt_precision_optarg(int c, MPIB_precision* precision);
00082 void MPIB_getopt_precision_bcast(MPIB_precision* precision, int root, MPI_Comm comm);
00083
00084 void MPIB_getopt_p2p_default(int* parallel, int* p2p_type, int* proc_num_spawned);
00085 const char* MPIB_getopt_p2p_options();
00086 void MPIB_getopt_p2p_optarg(int c, int* parallel, int* p2p_type, int* proc_num_spawned);
00087 void MPIB_getopt_p2p_bcast(int* parallel, int *p2p_type, int* proc_num_spawned, int root, MPI_Comm comm);
00088
00089 void MPIB_getopt_coll_default(char* timing);
00090 const char* MPIB_getopt_coll_options();
00091 void MPIB_getopt_coll_optarg(int c, char* timing);
00092 void MPIB_getopt_coll_bcast(char* timing, MPIB_measure_coll* measure, int root, MPI_Comm comm);
00093 #ifdef __cplusplus
00094 }
00095 #endif
00096
00100 #endif