Skip to content
Snippets Groups Projects
Commit 1aa142ab authored by Gin Tan's avatar Gin Tan
Browse files

Merge branch 'slurm_acc' into 'master'

Job Submission Filter

See merge request hpc-team/ansible_cluster_in_a_box!196
parents be0f5201 ba80908c
No related branches found
No related tags found
1 merge request!196Job Submission Filter
...@@ -136,8 +136,8 @@ ...@@ -136,8 +136,8 @@
- name: setup plugin - name: setup plugin
template: src=job_submit.lua.j2 dest={{ slurm_dir }}/etc/job_submit.lua mode=755 template: src=job_submit.lua.j2 dest={{ slurm_dir }}/etc/job_submit.lua mode=755
delegate_to: "{{ slurmctrl }}" #delegate_to: "{{ slurmctrl }}"
run_once: true #run_once: true
sudo: true sudo: true
when: slurm_lua==True when: slurm_lua==True
......
...@@ -20,6 +20,11 @@ slurm.log_user("You have to specify your project ID as part of your job submissi ...@@ -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 return slurm.ESLURM_INVALID_ACCOUNT
end end
return slurm.SUCCESS end
function slurm_job_modify(job_desc, job_rec, part_list, modify_uid)
return slurm.SUCCESS
end end
slurm.log_info("initialized")
return slurm.SUCCESS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment