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

« back to all changes in this revision

Viewing changes to src/sinfo/print.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:
4
4
 *  Copyright (C) 2002-2006 The Regents of the University of California.
5
5
 *  Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
6
6
 *  Written by Joey Ekstrom <ekstrom1@llnl.gov>
7
 
 *  LLNL-CODE-402394.
 
7
 *  CODE-OCEC-09-009. All rights reserved.
8
8
 *  
9
9
 *  This file is part of SLURM, a resource management program.
10
 
 *  For details, see <http://www.llnl.gov/linux/slurm/>.
 
10
 *  For details, see <https://computing.llnl.gov/linux/slurm/>.
 
11
 *  Please also read the included file: DISCLAIMER.
11
12
 *  
12
13
 *  SLURM is free software; you can redistribute it and/or modify it under
13
14
 *  the terms of the GNU General Public License as published by the Free
116
117
        format_add_function(list,wid,right,suffix,_print_state_long)
117
118
#define format_add_time(list,wid,right,suffix) \
118
119
        format_add_function(list,wid,right,suffix,_print_time)
 
120
#define format_add_default_time(list,wid,right,suffix) \
 
121
        format_add_function(list,wid,right,suffix,_print_default_time)
119
122
#define format_add_weight(list,wid,right,suffix) \
120
123
        format_add_function(list,wid,right,suffix,_print_weight)
 
124
#define format_add_alloc_nodes(list,wid,right,suffix) \
 
125
        format_add_function(list,wid,right,suffix,_print_alloc_nodes)
121
126
 
122
127
/*****************************************************************************
123
128
 * Print Field Functions
173
178
                        bool right_justify, char *suffix);
174
179
int _print_time(sinfo_data_t * sinfo_data, int width, 
175
180
                        bool right_justify, char *suffix);
 
181
int _print_default_time(sinfo_data_t * sinfo_data, int width, 
 
182
                        bool right_justify, char *suffix);
176
183
int _print_weight(sinfo_data_t * sinfo_data, int width,
177
184
                        bool right_justify, char *suffix);
 
185
int _print_alloc_nodes(sinfo_data_t * sinfo_data, int width,
 
186
                       bool right_justify, char *suffix);
178
187
 
179
188
#endif