Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
a769947e
Commit
a769947e
authored
18 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Remove bad comma,
add optional definition for bool (needed for XLC).
parent
57dbb9ac
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slurm/slurm.h.in
+24
-1
24 additions, 1 deletion
slurm/slurm.h.in
with
24 additions
and
1 deletion
slurm/slurm.h.in
+
24
−
1
View file @
a769947e
...
...
@@ -87,6 +87,29 @@ BEGIN_C_DECLS
#include <time.h> /* for time_t definitions */
#include <stdbool.h>
#ifdef CRAPPY_COMPILER
/*
* 'bool' can be implemented in a variety of ways.
* C++ may define it one way.
* <stdbool.h> may declare 'bool' to be a different type, such as
* an enum which is not necessarily compatible with C++.
*
* If your compiler can't resolve 'bool', just add
* "#define CRAPPY_COMPILER" before "#include <slurm/slurm.h>
* in order for Slurm to define it's own version of bool.
*/
#undef TRUE
#define TRUE 1
#undef FALSE
#define FALSE 0
typedef unsigned char SLURM_BOOL;
#undef bool
#define bool SLURM_BOOL
#endif
/* Define slurm_addr below to avoid including extraneous slurm headers */
#ifdef HAVE_SYS_SOCKET_H
# ifndef __slurm_addr_defined
...
...
@@ -390,7 +413,7 @@ typedef enum select_type_plugin_info {
* be co-allocated within cores */
CR_SOCKET_MEMORY, /* Socket and Memory are CRs */
CR_CORE_MEMORY, /* Core and Memory are CRs */
CR_CPU_MEMORY
,
/* CPU and Memory are CRs */
CR_CPU_MEMORY
/* CPU and Memory are CRs */
} select_type_plugin_info_t ;
/* Values for slurm_ctl_conf.task_plugin_param */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment