jobs man page

jobs — Remembering submitted job in session.

Data Structures

struct drmaa_job_s
Job data stored for each submitted job.
struct drmaa_job_iter_s
Iterates over submitted jobs set.

Functions

void drmaa_get_job_list_iter (drmaa_session_t *session, drmaa_job_iter_t *iter)
Returns iterator to jobs held in DRMAA session.
drmaa_job_t * drmaa_get_next_job (drmaa_job_iter_t *iter)
Returns next job identifier from set or NULL if set finished.
void drmaa_add_job (drmaa_session_t *c, drmaa_job_t *job)
Adds job identifier to session.
bool drmaa_find_job (drmaa_session_t *c, const char *jobid, drmaa_job_t *found, unsigned flags)
Checks if job with given identifier exist in hash table and optionally removes it.

Function Documentation

void drmaa_get_job_list_iter (drmaa_session_t * session, drmaa_job_iter_t * iter)

Returns iterator to jobs held in DRMAA session. Caller thread should have drmaa_session_s::jobs_mutex acquired iterator remains valid until job list is modified (or lock is released).

drmaa_job_t* drmaa_get_next_job (drmaa_job_iter_t * iter)

Returns next job identifier from set or NULL if set finished.

void drmaa_add_job (drmaa_session_t * c, drmaa_job_t * job)

Adds job identifier to session.

Parameters:

c DRMAA session.
job Malloced drmaa_job_t structure with filled jobid field (also malloced).

bool drmaa_find_job (drmaa_session_t * c, const char * jobid, drmaa_job_t * found, unsigned flags)

Checks if job with given identifier exist in hash table and optionally removes it.

Parameters:

c Opened DRMAA session.
jobid Job identifier.
found If not NULL and job was found job session data will be stored here.
flags Information to store into session. If DRMAA_JOB_DISPOSE bit is set session data will be removed.

See also:

job_flag_t

Author

Generated automatically by Doxygen for torque from the source code.

Info

Sat Apr 9 2016 Version 4.2.10 torque