~ubuntu-branches/ubuntu/vivid/slurm-llnl/vivid

« back to all changes in this revision

Viewing changes to src/common/slurm_step_layout.h

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-24 23:28:15 UTC
  • mfrom: (1.1.11 upstream) (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090924232815-enh65jn32q1ebg07
Tags: 2.0.5-1
* New upstream release 
* Changed dependecy from lib-mysqlclient15 to lib-mysqlclient 
* Added Default-Start for runlevel 2 and 4 and $remote_fs requirement in
  init.d scripts (Closes: #541252)
* Postinst checks for wrong runlevels 2 and 4 links
* Upgraded to standard version 3.8.3
* Add lintian overrides for missing slurm-llnl-configurator.html in doc
  base registration
* modified postrm scripts to ignore pkill return value in order to avoid
  postrm failure when no slurm process is running
* Checking for slurmctld.pid before cancelling running and pending
  jobs during package removal 

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 *  Copyright (C) 2005 Hewlett-Packard Development Company, L.P.
7
7
 *  Written by Chris Holmes, <cholmes@hp.com>, who borrowed heavily
8
8
 *  from other parts of SLURM.
9
 
 *  LLNL-CODE-402394.
 
9
 *  CODE-OCEC-09-009. All rights reserved.
10
10
 *  
11
11
 *  This file is part of SLURM, a resource management program.
12
 
 *  For details, see <http://www.llnl.gov/linux/slurm/>.
 
12
 *  For details, see <https://computing.llnl.gov/linux/slurm/>.
 
13
 *  Please also read the included file: DISCLAIMER.
13
14
 *  
14
15
 *  SLURM is free software; you can redistribute it and/or modify it under
15
16
 *  the terms of the GNU General Public License as published by the Free
62
63
 * NOTE: allocates memory that should be xfreed by caller
63
64
 */
64
65
extern slurm_step_layout_t *slurm_step_layout_create(const char *tlist,
65
 
                                                     uint32_t *cpus_per_node, 
 
66
                                                     uint16_t *cpus_per_node, 
66
67
                                                     uint32_t *cpu_count_reps,
67
68
                                                     uint32_t node_cnt, 
68
69
                                                     uint32_t task_cnt,
86
87
 */
87
88
extern slurm_step_layout_t *fake_slurm_step_layout_create(
88
89
        const char *tlist,
89
 
        uint32_t *cpus_per_node, 
 
90
        uint16_t *cpus_per_node, 
90
91
        uint32_t *cpu_count_reps,
91
92
        uint32_t node_cnt, 
92
93
        uint32_t task_cnt);
107
108
extern int slurm_step_layout_host_id (slurm_step_layout_t *s, int taskid);
108
109
extern char *slurm_step_layout_host_name (slurm_step_layout_t *s, int hostid);
109
110
 
 
111
extern char *slurm_step_layout_type_name(task_dist_states_t task_dist);
110
112
#endif /* !_SLURM_STEP_LAYOUT_H */