cctools
Data Fields
mpi_queue_task Struct Reference

A task description. More...

#include <mpi_queue.h>

Data Fields

char * tag
 An optional user-defined logical name for the task.
char * command_line
 The program(s) to execute, as a shell command line.
char * output
 The standard output of the task.
struct listinput_files
 The files to transfer to the worker and place in the executing directory.
struct listoutput_files
 The output files (other than the standard output stream) created by the program expected to be retrieved from the task.
int taskid
 A unique task id number.
int status
 Current status of the task.
int return_status
 The exit code of the command line.
int result
 The result of the task (successful, failed return_status, missing input file, missing output file).
timestamp_t submit_time
 The time the task was submitted.
timestamp_t start_time
 The time at which the task began.
timestamp_t finish_time
 The time at which it completed.
timestamp_t transfer_start_time
 The time at which it started to transfer input files.
timestamp_t computation_time
 The time of executing the command.
INT64_T total_bytes_transferred
 Number of bytes transferred since task has last started transferring input data.
timestamp_t total_transfer_time
 Time comsumed in microseconds for transferring total_bytes_transferred.

Detailed Description

A task description.

This structure should only be created with mpi_queue_task_create and delete with mpi_queue_task_delete. You may examine (but not modify) this structure once a task has completed.


Field Documentation

char* mpi_queue_task::tag

An optional user-defined logical name for the task.

char* mpi_queue_task::command_line

The program(s) to execute, as a shell command line.

char* mpi_queue_task::output

The standard output of the task.

struct list* mpi_queue_task::input_files

The files to transfer to the worker and place in the executing directory.

struct list* mpi_queue_task::output_files

The output files (other than the standard output stream) created by the program expected to be retrieved from the task.

int mpi_queue_task::taskid

A unique task id number.

int mpi_queue_task::status

Current status of the task.

int mpi_queue_task::return_status

The exit code of the command line.

int mpi_queue_task::result

The result of the task (successful, failed return_status, missing input file, missing output file).

timestamp_t mpi_queue_task::submit_time

The time the task was submitted.

timestamp_t mpi_queue_task::start_time

The time at which the task began.

timestamp_t mpi_queue_task::finish_time

The time at which it completed.

timestamp_t mpi_queue_task::transfer_start_time

The time at which it started to transfer input files.

timestamp_t mpi_queue_task::computation_time

The time of executing the command.

INT64_T mpi_queue_task::total_bytes_transferred

Number of bytes transferred since task has last started transferring input data.

timestamp_t mpi_queue_task::total_transfer_time

Time comsumed in microseconds for transferring total_bytes_transferred.


The documentation for this struct was generated from the following file: