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
6791f79b
Commit
6791f79b
authored
15 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
fixed support for 2.1
parent
a81c213c
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/common/slurm_protocol_common.h
+1
-1
1 addition, 1 deletion
src/common/slurm_protocol_common.h
src/common/slurm_protocol_util.c
+1
-0
1 addition, 0 deletions
src/common/slurm_protocol_util.c
with
2 additions
and
1 deletion
src/common/slurm_protocol_common.h
+
1
−
1
View file @
6791f79b
...
...
@@ -65,7 +65,7 @@
/* slurm protocol header defines, based upon config.h, 16 bits */
/* A new SLURM_PROTOCOL_VERSION needs to be made each time the version
* changes so the slurmdbd can talk all versions for update messages.
* In slurm_protocol_util.h
init_header(), and
check_header_version()
* In slurm_protocol_util.h check_header_version()
, and init_header()
* need to be updated also when changes are added */
#define SLURM_PROTOCOL_VERSION ((SLURM_API_MAJOR << 8) | SLURM_API_AGE)
#define SLURM_2_0_PROTOCOL_VERSION ((20 << 8) | 0)
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_util.c
+
1
−
0
View file @
6791f79b
...
...
@@ -57,6 +57,7 @@ int check_header_version(header_t * header)
{
if
(
slurmdbd_conf
)
{
if
(
header
->
version
!=
SLURM_PROTOCOL_VERSION
&&
header
->
version
!=
SLURM_2_0_PROTOCOL_VERSION
&&
header
->
version
!=
SLURM_1_3_PROTOCOL_VERSION
)
slurm_seterrno_ret
(
SLURM_PROTOCOL_VERSION_ERROR
);
}
else
if
(
header
->
version
!=
SLURM_PROTOCOL_VERSION
)
...
...
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