1. drmaa2_j_get_info(3)
  2. DRMAA2
  3. drmaa2_j_get_info(3)

NAME

drmaa2_j_get_info - drmaa2_j_get_info, Returns the detailed information about a job.

SYNOPSIS

#include "drmaa2.h"

typedef struct { drmaa2_string jobId; int exitStatus; drmaa2_string terminatingSignal; drmaa2_string annotation; drmaa2_jstate jobState; drmaa2_string jobSubState; drmaa2_string_list allocatedMachines; drmaa2_string submissionMachine; drmaa2_string jobOwner; long long slots; drmaa2_string queueName; time_t wallclockTime; long long cpuTime; time_t submissionTime; time_t dispatchTime; time_t finishTime; } drmaa2_jinfo_s; typedef drmaa2_jinfo_s * drmaa2_jinfo;

drmaa2_jinfo drmaa2_j_get_info(const drmaa2_j job)

DESCRIPTION

Creates a drmaa2_jinfo object containing all currently available job information. Not all fields might be set depeding on the job state.

RETURN VALUES

Returns a newly allocated drmaa2_jinfo object which must be freed from the calling function or NULL in case of an error. In case of an error the error reason is set in the context of the calling thread. It can be read out by using the drmaa2_geterror(3) and drmaa2_geterror_text(3) functions.

SEE ALSO

drmaa2_jinfo_free(3), drmaa2_geterror(3), drmaa2_geterror_text(3), drmaa2_j_suspend(3), drmaa2_j_resume(3), drmaa2_j_hold(3), drmaa2_j_release(3), drmaa2_j_terminate(3), drmaa2_j_get_id(3), drmaa2_j_get_session_name(3), drmaa2_j_get_jt(3), drmaa2_j_get_state(3), drmaa2_j_get_info(3), drmaa2_j_wait_started(3), drmaa2_j_wait_terminated(3), drmaa2_jsession_run_job(3), drmaa2_j_free(3)

AUTHOR

Copyright Univa Corporation 2013

  1. Univa Corporation
  2. October 2013
  3. drmaa2_j_get_info(3)