Global variables of Grapnel API

Variables defined in grapnel.h

int parent

Identification number of the parent process.

int mytid

Identification number of the process.

Variables defined in grapnel_srv.h

Variables defined in grapnel_cl.h

int server

Identification number of the server process.

Variables defined in ddstuff.h

Variables defined in ddstuff_srv.h

int Debug

Debug flag, can be set to TRUE by the -d option of the server process. Value of this flag is sent to processes by the grp_create_proc() function. Value of this variable is sent to client process during process creation in grp_create_proc and it is received by grp_start in client.

int Verbose

Verbose mode flag, can be set to TRUE by the -V option of the server process. Value of this flag is sent to processes by the grp_create_proc() function. Value of this variable is sent to client process during process creation in grp_create_proc and it is received by grp_start in client.

int Force

Force flag, can be set to TRUE by the -f option of the server process. If this variable is TRUE, server process skips cheking of version numbers.

int SkipMap

SkipMap flag can be set to TRUE by the -m option of the server process. If this variable is TRUE, server process skips reading of mapping file which describes what process must be started on what host (cpu resource).
long TimeLimit

This variable is used in the server process and its value can be set by the -t option. If it is not zero, the server process uses this value as a time limit of the execution. If the limited time elapsed the server stops every processes and exits.
int FirstPar

This variable specifies the index of the first parameter which will be passed to client processes by the server process. Default value is 1 which means that every parameters of the server program will be passed to the clients. Value of this variable can be set by -p option of the server program.
int TapeLevel

This variable specifies verbosity of Tape event generation. Default value of it is 0 but it can be set by -T option of the server process. See more description at -T option. Value of this variable is sent to client process during process creation in grp_create_proc and it is received by grp_start in client.

Variables defined in ddstuff_cl.h


Back to Grapnel Compiler