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
8dd3a16c
Commit
8dd3a16c
authored
20 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Perform some clean-up of comments and code. No changes in logic.
parent
9b06598d
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
src/plugins/select/bluegene/bluegene.h
+6
-7
6 additions, 7 deletions
src/plugins/select/bluegene/bluegene.h
with
6 additions
and
7 deletions
src/plugins/select/bluegene/bluegene.h
+
6
−
7
View file @
8dd3a16c
/*****************************************************************************\
* bluegene.h - header for b
g
l node allocation plugin.
* bluegene.h - header for bl
ue gene
node allocation plugin.
*****************************************************************************
* Copyright (C) 2004 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
...
...
@@ -53,7 +53,7 @@ typedef struct bgl_record {
lifecycle_type_t
part_lifecycle
;
/* either STATIC or DYNAMIC */
hostlist_t
hostlist
;
/* expanded form of hosts */
bitstr_t
*
bitmap
;
/* bitmap of nodes for this partition */
struct
partition
*
alloc_part
;
/* the allocated partition */
struct
partition
*
alloc_part
;
/* the allocated partition */
int
size
;
/* node count for the partitions */
rm_partition_t
part_type
;
/* Mesh or Torus or NAV */
rm_partition_mode_t
node_use
;
/* either COPROCESSOR or VIRTUAL */
...
...
@@ -91,15 +91,15 @@ extern void fini_bgl(void);
*/
extern
int
create_static_partitions
(
List
part_list
);
/*
*
*/
/*
Try to find resources for a given job request
*/
extern
int
submit_job
(
struct
job_record
*
job_ptr
,
bitstr_t
*
bitmap
,
int
min_nodes
,
int
max_nodes
);
/** */
/* sort a list of bgl_records by size (node count) */
extern
void
sort_bgl_record_inc_size
(
List
records
);
/** */
extern
void
sort_bgl_record_dec_size
(
List
records
);
/*
*
*/
/*
Log a bgl_record's contents
*/
extern
void
print_bgl_record
(
bgl_record_t
*
record
);
/* Return strings representing blue gene data types */
...
...
@@ -110,5 +110,4 @@ extern char* convert_node_use(rm_partition_mode_t pt);
/* bluegene_agent - detached thread periodically updates status of bluegene nodes */
extern
void
*
bluegene_agent
(
void
*
args
);
#endif
/* _BLUEGENE_H_ */
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