HPCToolkit
Args.cpp File Reference
#include <iostream>
#include <string>
#include <include/hpctoolkit-config.h>
#include "Args.hpp"
#include <lib/analysis/Util.hpp>
#include <lib/support/diagnostics.h>
#include <lib/support/FileUtil.hpp>
#include <lib/support/StrUtil.hpp>
Include dependency graph for Args.cpp:

Go to the source code of this file.

Macros

#define ARG_ERROR(streamArgs)
 
#define CLP   CmdLineParser
 
#define CLP_SEPARATOR   "!!"
 

Variables

static const char * version_info = "hpcserver version 0.9, protocol version 0.9. \n" HPCTOOLKIT_VERSION_STRING
 
static const char * usage_summary
 
static const char * usage_details
 
static const int DEFAULT_PORT = 21590
 

Macro Definition Documentation

◆ ARG_ERROR

#define ARG_ERROR (   streamArgs)
Value:
{ std::ostringstream WeIrDnAmE; \
WeIrDnAmE << streamArgs /*<< std::ends*/; \
printError(std::cerr, WeIrDnAmE.str()); \
exit(1); }

Definition at line 84 of file Args.cpp.

◆ CLP

#define CLP   CmdLineParser

Definition at line 131 of file Args.cpp.

◆ CLP_SEPARATOR

#define CLP_SEPARATOR   "!!"

Definition at line 132 of file Args.cpp.

Variable Documentation

◆ DEFAULT_PORT

const int DEFAULT_PORT = 21590
static

Definition at line 134 of file Args.cpp.

◆ usage_details

const char* usage_details
static
Initial value:
= "\
hpcserver is an optional component that works with hpctraceviewer to enable\n\
visualizations of larger databases. The disk access and heavy processing\n\
required by hpctraceviewer are offloaded to hpctraceserver, which can run in\n\
parallel with MPI. The results are streamed back to a connected hpctraceviewer\n\
client in a way that permits the same interactivity as running hpctraceviewer\n\
with the data located locally.\n\
\n\
Unlike standard web servers, for example, hpcserver is designed to run only\n\
while in use, and not perpetually as a daemon on background process. hpcserver\n\
also runs with the permissions of the user that launched it and allows the\n\
hpctraceviewer client to specify and access any database that hpcserver can read.\
\n\
Options: General\n\
-V, --version Print version information.\n\
-h, --help Print this help.\n\
-c, --compression Enables or disables compression (on by default)\n\
Allowed values: on off \n\
-p, --port Sets the main communication port (default is 21590)\n\
Specifying 0 indicates that an open port should be \n\
chosen automatically.\n\
-x, --xmlport Sets the port on which the experiment.xml file will be\n\
transmitted. Specifying 0 or not including this flag\n\
indicates that the port will be auto-negotiated with\n\
the client. Specifying 1 indicates that the xml will\n\
be transferred on the main data port.\n\
\n\
"

Definition at line 97 of file Args.cpp.

◆ usage_summary

const char* usage_summary
static
Initial value:
=
"[options]\n"

Definition at line 94 of file Args.cpp.

◆ version_info

const char* version_info = "hpcserver version 0.9, protocol version 0.9. \n" HPCTOOLKIT_VERSION_STRING
static

Definition at line 92 of file Args.cpp.