bgcios Namespace Reference

Namespaces

namespace  toolctl

Data Structures

struct  MessageHeader
 Header describing a I/O service message. More...

Enumerations

enum  ReturnCode {
  Success = 0, WrongService, UnsupportedType, JobIdError,
  ProcessIdError, RequestFailed, SubBlockJobError, SendError,
  RecvError, VersionMismatch, NodeNotReady, SecondaryGroupIdError,
  PrimaryGroupIdError, UserIdError, WorkingDirError, AppOpenError,
  AppAuthorityError, AppReadError, AppElfHeaderSize, AppElfHeaderError,
  AppNoCodeSection, AppCodeSectionSize, AppSegmentAlignment, AppTooManySegments,
  AppStaticTLBError, AppMemoryError, ArgumentListSize, ToolStartError,
  ToolAuthorityError, ToolIdError, ToolTimeoutExpired, ToolPriorityConflict,
  ToolMaxAttachedExceeded, ToolIdConflict, JobsDirError, JobsObjectError,
  ToolPriorityError, ToolRankNotFound, CornerCoreError, NumCoresInProcessError,
  ProcessActive, NumProcessesError, RanksInJobError, ClassRouteDataError,
  ToolNumberOfCmdsExceeded, RequestIncomplete, PrologPgmStartError, PrologPgmError,
  EpilogPgmStartError, EpilogPgmError, RequestInProgress, ToolControlConflict,
  NodesInJobError, ToolConflictingCmds, ReturnCodeListEnd
}
 

Values for return code field of MessageHeader.

More...

Functions

void initHeader (struct MessageHeader *header)
 Initialize message header.
uint32_t dataLength (struct MessageHeader *header)
 Get the length of the data in a message (can be zero).

Variables

const uint8_t IosctlService = 1
 Values for service field of MessageHeader.
const uint8_t JobctlService = 2
 Job control service.
const uint8_t StdioService = 3
 Standard I/O service.
const uint8_t SysioService = 4
 System I/O service.
const uint8_t ToolctlService = 5
 Tool control service.
const uint32_t SmallMessageRegionSize = 65536
 Default size for small message memory regions (match Linux page size).
const uint32_t SmallMessageDataSize = 65472
 Maximum size of data in a small message.
const uint32_t ImmediateMessageSize = 512
 Size of an immediate message (fits in one packet).

Enumeration Type Documentation

Values for return code field of MessageHeader.

Enumerator:
Success 

Success (no error).

WrongService 

Service value in message header is not valid.

UnsupportedType 

Type value in message header is not supported.

JobIdError 

Job id value is not valid.

ProcessIdError 

Rank value is not valid.

RequestFailed 

Requested operation failed.

SubBlockJobError 

Sub-block job specifications are not valid.

SendError 

Sending a message failed.

RecvError 

Receiving a message failed.

VersionMismatch 

Protocol versions do not match.

NodeNotReady 

Compute node is not ready for requested operation.

SecondaryGroupIdError 

Setting secondary group id failed.

PrimaryGroupIdError 

Setting primary group id failed.

UserIdError 

Setting user id failed.

WorkingDirError 

Changing to working directory failed.

AppOpenError 

Opening application executable failed.

AppAuthorityError 

No authority to application executable.

AppReadError 

Reading data from application executable failed.

AppElfHeaderSize 

Application executable ELF header is wrong size.

AppElfHeaderError 

Application executable ELF header contains invalid value.

AppNoCodeSection 

Application executable contains no code sections.

AppCodeSectionSize 

Application executable code section is too big.

AppSegmentAlignment 

Application executable segment has wrong alignment.

AppTooManySegments 

Application executable has too many segments.

AppStaticTLBError 

Generating static TLB map for application failed.

AppMemoryError 

Initializing memory for process failed.

ArgumentListSize 

Argument list has too many items.

ToolStartError 

Starting tool process failed.

ToolAuthorityError 

No authority to tool executable.

ToolIdError 

Tool id is not valid.

ToolTimeoutExpired 

Timeout expired ending a tool.

ToolPriorityConflict 

Tool priority conflict.

ToolMaxAttachedExceeded 

Tool maximum number of tools exceeded.

ToolIdConflict 

Tool id conflict.

JobsDirError 

Creating /jobs directory failed.

JobsObjectError 

Creating object in /jobs directory failed.

ToolPriorityError 

Tool priority level is not valid.

ToolRankNotFound 

Tool request could not find requested target process.

CornerCoreError 

Corner core number is not valid.

NumCoresInProcessError 

Number of cores allocated to a process is not valid.

ProcessActive 

Process is currently active on a hardware thread.

NumProcessesError 

Number of processes on node is not valid.

RanksInJobError 

Number of active ranks in job is not valid.

ClassRouteDataError 

Class route data is not valid.

ToolNumberOfCmdsExceeded 

Tool number of commands is not valid.

RequestIncomplete 

Requested operation was partially successful.

PrologPgmStartError 

Starting job prolog program process failed.

PrologPgmError 

Job prolog program failed.

EpilogPgmStartError 

Starting job epilog program process failed.

EpilogPgmError 

Job epilog program failed.

RequestInProgress 

Requested operation is currently in progress.

ToolControlConflict 

Control authority conflict with another tool.

NodesInJobError 

No compute nodes matched job specifications.

ToolConflictingCmds 

An invalid combination of commands was specifed in the command list.

ReturnCodeListEnd 

End of the return code enumerations.

Definition at line 60 of file MessageHeader.h.


Function Documentation

uint32_t bgcios::dataLength ( struct MessageHeader *  header  )  [inline]

Get the length of the data in a message (can be zero).

Parameters:
header Pointer to message header.
Returns:
Length of data in message.

Definition at line 137 of file MessageHeader.h.

References bgcios::MessageHeader::length.

void bgcios::initHeader ( struct MessageHeader *  header  )  [inline]

Initialize message header.

Parameters:
header Pointer to message header.
Returns:
Nothing.

Definition at line 131 of file MessageHeader.h.


Variable Documentation

Size of an immediate message (fits in one packet).

Definition at line 125 of file MessageHeader.h.

Values for service field of MessageHeader.

I/O control service.

Definition at line 52 of file MessageHeader.h.

Job control service.

Definition at line 53 of file MessageHeader.h.

Maximum size of data in a small message.

Definition at line 122 of file MessageHeader.h.

Default size for small message memory regions (match Linux page size).

Definition at line 119 of file MessageHeader.h.

Standard I/O service.

Definition at line 54 of file MessageHeader.h.

System I/O service.

Definition at line 55 of file MessageHeader.h.

Tool control service.

Definition at line 56 of file MessageHeader.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1