source: trunk/drmaa_utils/drmaa_utils/drmaa_attrib.h @ 1

Revision 1, 1.9 KB checked in by mmamonski, 13 years ago (diff)

Torque/PBS DRMAA initial commit

Line 
1/* $Id: drmaa_attrib.h 2 2009-10-12 09:51:22Z mamonski $ */
2/*
3 *  FedStage DRMAA utilities library
4 *  Copyright (C) 2006-2008  FedStage Systems
5 *
6 *  This program is free software: you can redistribute it and/or modify
7 *  it under the terms of the GNU General Public License as published by
8 *  the Free Software Foundation, either version 3 of the License, or
9 *  (at your option) any later version.
10 *
11 *  This program is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 *  GNU General Public License for more details.
15 *
16 *  You should have received a copy of the GNU General Public License
17 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20/**
21 * @file attrib.h
22 * DRMAA attributes.
23 */
24#ifndef __DRMAA_UTILS__DRMAA_ATTRIB_H
25#define __DRMAA_UTILS__DRMAA_ATTRIB_H
26
27#ifdef HAVE_CONFIG_H
28#       include <config.h>
29#endif
30
31#include <drmaa_utils/compat.h>
32#include <drmaa_utils/drmaa.h>
33#include <drmaa_utils/common.h>
34
35/**
36 * Attributes codes.
37 */
38enum {
39        /* DRMAA 1.0 attributes: */
40        DRMAA_ATTR_REMOTE_COMMAND,
41        DRMAA_ATTR_ARGS, /* vector */
42        DRMAA_ATTR_JOB_SUBMISSION_STATE,
43        DRMAA_ATTR_JOB_ENVIRONMENT, /* vector */
44        DRMAA_ATTR_WORKING_DIRECTORY,
45        DRMAA_ATTR_JOB_CATEGORY,
46        DRMAA_ATTR_NATIVE_SPECIFICATION,
47        DRMAA_ATTR_EMAIL, /* vector */
48        DRMAA_ATTR_BLOCK_EMAIL,
49        DRMAA_ATTR_START_TIME,
50        DRMAA_ATTR_JOB_NAME,
51        DRMAA_ATTR_INPUT_PATH,
52        DRMAA_ATTR_OUTPUT_PATH,
53        DRMAA_ATTR_ERROR_PATH,
54        DRMAA_ATTR_JOIN_FILES,
55        /* optional DRMAA attributes: */
56        DRMAA_ATTR_TRANSFER_FILES,
57        DRMAA_ATTR_DEADLINE_TIME,
58        DRMAA_ATTR_HARD_WALL_CLOCK_TIME_LIMIT,
59        DRMAA_ATTR_SOFT_WALL_CLOCK_TIME_LIMIT,
60        DRMAA_ATTR_HARD_RUN_DURATION_LIMIT,
61        DRMAA_ATTR_SOFT_RUN_DURATION_LIMIT,
62
63        DRMAA_N_ATTRIBUTES
64};
65
66fsd_template_t *
67drmaa_template_new(void);
68
69#endif /* __DRMAA_UTILS__DRMAA_ATTRIB_H */
70
Note: See TracBrowser for help on using the repository browser.