This holds a collection of information mostly related to the capabilities of the various nodes the program is running on, used for load balancing, program control, etc.
Public Fields
-
char* Server
- If this NCS simulation communicates with a central server, this is the hostname
-
int Port
- The control port of the central server if this NCS simulation has contact to one
-
int Node
- MPI rank in the parallel job
-
int nNodes
- Number of nodes in the job
-
int IONode
- Node that handles I/O for all the nodes
-
int pid
- The process id for this node
-
int CellCount
- Total number of cells in the brain (not just this node)
-
int SynapseCount
- Total number of synapses in the brain (not just this node)
-
double TotalBmips
- Total compute power of all the nodes
-
char* buffer
- Name of each node (value of host on node)
-
char** names
- Name of each node (value of host on node)
-
int* pids
- Process id from each node
-
int* nClusters
- Number of clusters on each node
-
int* nCells
- Number of cells on each node
-
int* firstCell
- Index into GCList, etc of first cell on node
-
int* nSynapses
- Number of Synapses (receiving side) on each node
-
double* Bmips
- Compute power of each node
-
double* weight
- Share of weight that should be assigned to each node
-
double* Aweight
- Actual weight assigned to each node after distribution
-
int nSend
- Number of nodes that this node send messages to
-
int nRecv
- Number of nodes that this node receives messages from
-
int* Send
- The number of synapses sending to each node
-
int* Recv
- The number of synapses receiving from each node
-
int MaxSynDelay
- The maximum synaptic delay on this node
-
char* host
- Name of this node
-
char* cwd
- Working directory - aquired from command-line arguments
-
char* job
- Job name, taken from input
-
int FSV
- Frequency, ticks per second
-
ARRAYS* AR
- Pointer to initial objects created after parsing input file
-
char* input
- Pointer to input file name (one of argv)
-
int nSleep
- For debug use
-
double tstart
- Time the program was started (from MPI_Wtime)
-
bool check
- if true, run distribution check only
-
bool ConnectRpt
- if true, print report of connections
-
bool SpikeRpt
- if true, print report of spikes, mem usage, &c at end of each timestep
Public Methods
-
NodeInfo(int, int, int, char* [])
- Constructor.
-
int Save( FILE* out )
- Save important information to a savefile.
-
void Load( FILE* in )
- Aquire important data from a file.
Documentation
This holds a collection of information mostly related to the capabilities
of the various nodes the program is running on, used for load balancing,
program control, etc. Since some of this needs to be available to almost
every routine, various other things that have no obvious home have been
put in here too.
- char* Server
- If this NCS simulation communicates with a central server, this is the hostname
- int Port
- The control port of the central server if this NCS simulation has contact to one
- int Node
- MPI rank in the parallel job
- int nNodes
- Number of nodes in the job
- int IONode
- Node that handles I/O for all the nodes
- int pid
- The process id for this node
- int CellCount
- Total number of cells in the brain (not just this node)
- int SynapseCount
- Total number of synapses in the brain (not just this node)
- double TotalBmips
- Total compute power of all the nodes
- char* buffer
- Name of each node (value of host on node)
- char** names
- Name of each node (value of host on node)
- int* pids
- Process id from each node
- int* nClusters
- Number of clusters on each node
- int* nCells
- Number of cells on each node
- int* firstCell
- Index into GCList, etc of first cell on node
- int* nSynapses
- Number of Synapses (receiving side) on each node
- double* Bmips
- Compute power of each node
- double* weight
- Share of weight that should be assigned to each node
- double* Aweight
- Actual weight assigned to each node after distribution
- int nSend
- Number of nodes that this node send messages to
- int nRecv
- Number of nodes that this node receives messages from
- int* Send
- The number of synapses sending to each node
- int* Recv
- The number of synapses receiving from each node
- int MaxSynDelay
- The maximum synaptic delay on this node
- char* host
- Name of this node
- char* cwd
- Working directory - aquired from command-line arguments
- char* job
- Job name, taken from input
- int FSV
- Frequency, ticks per second
- ARRAYS* AR
- Pointer to initial objects created after parsing input file
- char* input
- Pointer to input file name (one of argv)
- int nSleep
- For debug use
- double tstart
- Time the program was started (from MPI_Wtime)
- bool check
- if true, run distribution check only
- bool ConnectRpt
- if true, print report of connections
- bool SpikeRpt
- if true, print report of spikes, mem usage, &c at end of each timestep
- NodeInfo(int, int, int, char* [])
-
Constructor. Parses arguments and allocates memory
- int Save( FILE* out )
-
Save important information to a savefile. This data is node specific, so each Node must
save its own copy
- Parameters:
- out - File Pointer to write data to
- Returns:
- number of bytes written
- void Load( FILE* in )
-
Aquire important data from a file. Not all data was saved, since new data will be
filled in when a new run is started.
- Parameters:
- in - File Pointer to obtain data from
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.