Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EAR.UP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dorian Stoll
EAR.UP
Commits
cd4b9035
Commit
cd4b9035
authored
2 years ago
by
Lluis
Browse files
Options
Downloads
Patches
Plain Diff
Fixed ERUN locks.
parent
c092846a
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
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
src/slurm_plugin/erun_lock.c
+1
-1
1 addition, 1 deletion
src/slurm_plugin/erun_lock.c
with
3 additions
and
1 deletion
.gitignore
+
2
−
0
View file @
cd4b9035
...
...
@@ -145,6 +145,8 @@ src/tools/get_active_nodes*
src/tools/learning_validate*
src/tools/ear_events*
src/tools/ear_conf
src/tools/get_periodic
src/tools/metrics_show
src/commands/ear-info
This diff is collapsed.
Click to expand it.
src/slurm_plugin/erun_lock.c
+
1
−
1
View file @
cd4b9035
...
...
@@ -47,7 +47,7 @@ int lock_master(char *path_tmp, int job_id)
plug_verbose
(
_sp
,
3
,
"function lock_master"
);
// Creating temp folder
if
((
access
(
path_tmp
,
W_OK
)
!=
0
)
&&
(
errno
==
ENOENT
))
{
mkdir
(
path_
job
,
PERMS
(
111
,
000
,
000
));
mkdir
(
path_
tmp
,
PERMS
(
111
,
000
,
000
));
}
// Creating erun folder
sprintf
(
path_job
,
"%s/erun"
,
path_tmp
);
...
...
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