source: trunk/slurm_drmaa/job.h @ 27

Revision 27, 1.5 KB checked in by mmamonski, 12 years ago (diff)

SLURM DRMAA implemented: job on_missing, cleaner job_update

  • Property svn:executable set to *
  • Property svn:keywords set to Id
RevLine 
[5]1/* $Id$ */
[1]2/*
3 * PSNC DRMAA for SLURM
[13]4 * Copyright (C) 2011 Poznan Supercomputing and Networking Center
[1]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#ifndef __SLURM_DRMAA__JOB_H
21#define __SLURM_DRMAA__JOB_H
22
23#ifdef HAVE_CONFIG_H
24#       include <config.h>
25#endif
26
27#include <drmaa_utils/job.h>
28#include <drmaa_utils/environ.h>
29
30#include <slurm/slurm.h>
31
32typedef struct slurmdrmaa_job_s slurmdrmaa_job_t;
33
34fsd_job_t *
35slurmdrmaa_job_new(char *job_id );
36
37struct slurmdrmaa_job_s {
38        fsd_job_t super;
39       
40        /* job priority before hold */
41        uint32_t old_priority;
[7]42        bool user_suspended;
[1]43};
44
[27]45void slurmdrmaa_job_create_req(fsd_drmaa_session_t *session, const fsd_template_t *jt, fsd_environ_t **envp, job_desc_msg_t * job_desc, int n_job );
46void slurmdrmaa_job_create(fsd_drmaa_session_t *session, const fsd_template_t *jt, fsd_environ_t **envp, fsd_expand_drmaa_ph_t *expand, job_desc_msg_t * job_desc, int n_job);
[1]47
48#endif /* __SLURM_DRMAA__JOB_H */
49
Note: See TracBrowser for help on using the repository browser.