Skip to content
Snippets Groups Projects
Commit 27a5ee06 authored by Alejandro Sanchez's avatar Alejandro Sanchez Committed by Danny Auble
Browse files

Continuation of commit 03d100b0

parent d05681dc
No related branches found
No related tags found
No related merge requests found
...@@ -126,10 +126,10 @@ send_user "\n---Checking sbatch uses mcs-label only for some jobs (ondemand mode ...@@ -126,10 +126,10 @@ send_user "\n---Checking sbatch uses mcs-label only for some jobs (ondemand mode
# #
# Change the slurm.conf MCSparameters and MCSPlugin # Change the slurm.conf MCSparameters and MCSPlugin
# #
exec $bin_sed -i /MCSPlugin/d $config_path/slurm.conf exec $bin_sed -i /^\[\t\s\]*MCSPlugin\[\t\s\]*=/Id $config_path/slurm.conf
exec $bin_sed -i /MCSParameters/d $config_path/slurm.conf exec $bin_sed -i /^\[\t\s\]*MCSParameters\[\t\s\]*=/Id $config_path/slurm.conf
exec $bin_sed -i /PrivateData/d $config_path/slurm.conf exec $bin_sed -i /^\[\t\s\]*PrivateData\[\t\s\]*=/Id $config_path/slurm.conf
exec $bin_echo MCSPlugin=mcs/account >> $config_path/slurm.conf exec $bin_echo -e "\nMCSPlugin=mcs/account" >> $config_path/slurm.conf
exec $bin_echo MCSParameters=ondemand,select,privatedata >> $config_path/slurm.conf exec $bin_echo MCSParameters=ondemand,select,privatedata >> $config_path/slurm.conf
exec $bin_echo PrivateData=jobs,nodes >> $config_path/slurm.conf exec $bin_echo PrivateData=jobs,nodes >> $config_path/slurm.conf
update_conf update_conf
...@@ -358,10 +358,10 @@ cancel_job $job_id ...@@ -358,10 +358,10 @@ cancel_job $job_id
# test with enforced # test with enforced
# #
send_user "\n---Checking sbatch uses mcs-label with all jobs (enforced mode)---\n" send_user "\n---Checking sbatch uses mcs-label with all jobs (enforced mode)---\n"
exec $bin_sed -i /MCSPlugin/d $config_path/slurm.conf exec $bin_sed -i /^\[\t\s\]*MCSPlugin\[\t\s\]*=/Id $config_path/slurm.conf
exec $bin_sed -i /MCSParameters/d $config_path/slurm.conf exec $bin_sed -i /^\[\t\s\]*MCSParameters\[\t\s\]*=/Id $config_path/slurm.conf
exec $bin_sed -i /PrivateData/d $config_path/slurm.conf exec $bin_sed -i /^\[\t\s\]*PrivateData\[\t\s\]*=/Id $config_path/slurm.conf
exec $bin_echo MCSPlugin=mcs/account >> $config_path/slurm.conf exec $bin_echo -e "\nMCSPlugin=mcs/account" >> $config_path/slurm.conf
exec $bin_echo MCSParameters=enforced,noselect,privatedata >> $config_path/slurm.conf exec $bin_echo MCSParameters=enforced,noselect,privatedata >> $config_path/slurm.conf
exec $bin_echo PrivateData=jobs,nodes >> $config_path/slurm.conf exec $bin_echo PrivateData=jobs,nodes >> $config_path/slurm.conf
update_conf update_conf
......
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