-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjob-private.h
47 lines (40 loc) · 976 Bytes
/
job-private.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef _LPJS_JOB_PRIVATE_H_
#define _LPJS_JOB_PRIVATE_H_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _UNISTD_H_
#include <unistd.h>
#endif
#ifndef __NODE_LIST_H__
#include "node-list.h"
#endif
#ifndef __JOB_H__
#include "job.h"
#endif
struct job
{
unsigned long job_id;
unsigned long array_index;
unsigned job_count;
unsigned processors_per_job;
unsigned threads_per_process;
size_t phys_mib_per_processor;
pid_t chaperone_pid;
pid_t job_pid;
job_state_t state;
char *user_name;
char *primary_group_name;
char *submit_node;
char *submit_dir;
char *script_name;
char *compute_node;
char *log_dir;
char *path;
char *pull_command;
char *push_command;
};
#ifdef __cplusplus
}
#endif
#endif // #ifndef _LPJS_JOB_PRIVATE_H_