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
00b792bd
Commit
00b792bd
authored
13 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
select/cray: update documentation, fix whitespace and other cosmetic issues
parent
af59681f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/select/cray/basil_interface.c
+1
-1
1 addition, 1 deletion
src/plugins/select/cray/basil_interface.c
src/plugins/select/cray/basil_interface.h
+19
-3
19 additions, 3 deletions
src/plugins/select/cray/basil_interface.h
with
20 additions
and
4 deletions
src/plugins/select/cray/basil_interface.c
+
1
−
1
View file @
00b792bd
...
...
@@ -758,7 +758,7 @@ extern int do_basil_signal(struct job_record *job_ptr, int signal)
int
rc
=
basil_signal_apids
(
resv_id
,
signal
,
NULL
);
if
(
rc
)
error
(
"could not signal APID
S
of resId %u: %s"
,
resv_id
,
error
(
"could not signal APID
s
of resId %u: %s"
,
resv_id
,
basil_strerror
(
rc
));
}
return
SLURM_SUCCESS
;
...
...
This diff is collapsed.
Click to expand it.
src/plugins/select/cray/basil_interface.h
+
19
−
3
View file @
00b792bd
...
...
@@ -22,16 +22,31 @@
extern
int
dim_size
[
3
];
/**
* struct select_jobinfo - data specific to Cray node selection plugin
* @magic: magic number, must equal %JOBINFO_MAGIC
* @reservation_id: ALPS reservation ID, assigned upon creation
* @confirm_cookie: cluster-wide unique container identifier to
* confirm the ALPS reservation. Should best use
* SGI process aggregate IDs since session IDs
* are not unique across multiple nodes.
* @other_jobinfo: hook into attached, "other" node selection plugin.
*/
struct
select_jobinfo
{
uint16_t
magic
;
/* magic number */
uint32_t
reservation_id
;
/* BASIL reservation ID */
uint16_t
magic
;
uint32_t
reservation_id
;
uint64_t
confirm_cookie
;
select_jobinfo_t
*
other_jobinfo
;
};
#define JOBINFO_MAGIC 0x8cb3
/**
* struct select_nodeinfo - data used for node information
* @magic: magic number, must equal %NODEINFO_MAGIC
* @other_nodeinfo: hook into attached, "other" node selection plugin.
*/
struct
select_nodeinfo
{
uint16_t
magic
;
/* magic number */
uint16_t
magic
;
select_nodeinfo_t
*
other_nodeinfo
;
};
#define NODEINFO_MAGIC 0x82a3
...
...
@@ -49,6 +64,7 @@ static inline int basil_node_ranking(struct node_record *ig, int nore)
{
return
SLURM_SUCCESS
;
}
static
inline
int
basil_inventory
(
void
)
{
return
SLURM_SUCCESS
;
...
...
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