1
/* $Header: /tmp/hpctools/ga/tcgmsg/ipcv4.0/defglobals.h,v 1.7 2000-10-12 22:43:45 d3g681 Exp $ */
7
/* Actual definition of these globals ... need this once in
8
any executable ... included by cluster.c */
10
/*********************************************************
11
Global information and structures ... all begin with SR_
12
********************************************************/
14
long SR_n_clus; /* No. of clusters */
15
long SR_n_proc; /* No. of processes excluding dummy
18
int SR_socks[MAX_PROCESS];
19
int SR_socks_proc[MAX_PROCESS];
23
long SR_clus_id; /* Logical id of current cluster */
24
long SR_proc_id; /* Logical id of current process */
26
long SR_debug; /* flag for debug output */
28
long SR_parallel; /* True if job started with parallel */
30
long SR_exit_on_error; /* flag to exit on error */
31
long SR_error; /* flag indicating error has been called
32
with SR_exit_on_error == FALSE */
34
long SR_numchild; /* no. of forked processes */
35
long SR_pids[MAX_SLAVE]; /* pids of forked processes */
38
/* This is used to store info from the PROCGRP file about each
39
cluster of processes */
41
struct cluster_info_struct SR_clus_info[MAX_CLUSTER];
43
struct process_info_struct SR_proc_info[MAX_PROCESS];