Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
hpc-team
HPCasCode
Commits
394c1ae6
Commit
394c1ae6
authored
6 years ago
by
Gin Tan (Monash University)
Browse files
Options
Downloads
Patches
Plain Diff
Job Submission Filter
Former-commit-id:
ba80908c
parent
a2159c50
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
roles/slurm-common/tasks/main.yml
+2
-2
2 additions, 2 deletions
roles/slurm-common/tasks/main.yml
roles/slurm-common/templates/job_submit.lua.j2
+6
-1
6 additions, 1 deletion
roles/slurm-common/templates/job_submit.lua.j2
with
8 additions
and
3 deletions
roles/slurm-common/tasks/main.yml
+
2
−
2
View file @
394c1ae6
...
...
@@ -136,8 +136,8 @@
-
name
:
setup plugin
template
:
src=job_submit.lua.j2 dest={{ slurm_dir }}/etc/job_submit.lua mode=755
delegate_to
:
"
{{
slurmctrl
}}"
run_once
:
true
#
delegate_to: "{{ slurmctrl }}"
#
run_once: true
sudo
:
true
when
:
slurm_lua==True
...
...
This diff is collapsed.
Click to expand it.
roles/slurm-common/templates/job_submit.lua.j2
+
6
−
1
View file @
394c1ae6
...
...
@@ -20,6 +20,11 @@ slurm.log_user("You have to specify your project ID as part of your job submissi
return slurm.ESLURM_INVALID_ACCOUNT
end
return slurm.SUCCESS
end
function slurm_job_modify(job_desc, job_rec, part_list, modify_uid)
return slurm.SUCCESS
end
slurm.log_info("initialized")
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