<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
span.EstilCorreuElectrnic17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="CA">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CA">Running this simple script:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">#!/bin/bash<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">#<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">#SBATCH --job-name=mega_job<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">#SBATCH --output=mega_job.out<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">#SBATCH --tasks=3<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">#SBATCH --array=0-5<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">#SBATCH --partition=cuda.q<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">echo "STARTING"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">srun echo “hello world” >> file_${SLURM_ARRAY_TASK_ID}.out<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">echo "ENDING"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CA" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CA">I always get this output:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">STARTING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">STARTING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14072]: mask 0xc00c00 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">STARTING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14080]: mask 0xc00c set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14081]: mask 0x30030 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 1 1 [14136]: mask 0xc00c0 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">STARTING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14144]: mask 0x3003 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 1 1 [14145]: mask 0x3003 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 2 2 [14150]: mask 0x3003 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 2 2 [14158]: mask 0x300300 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 2 2 [14137]: mask 0xc00c0 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14135]: mask 0xc00c0 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">STARTING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">STARTING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14156]: mask 0x300300 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 1 1 [14157]: mask 0x300300 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 2 2 [14175]: mask 0xc00c00 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 1 1 [14174]: mask 0xc00c00 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14173]: mask 0xc00c00 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 1 1 [14197]: mask 0xc00c set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14196]: mask 0xc00c set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 2 2 [14198]: mask 0xc00c set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 0 0 [14206]: mask 0x30030 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 1 1 [14207]: mask 0x30030 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">cpu-bind=MASK - aoclsd, task 2 2 [14208]: mask 0x30030 set<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">ENDING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">ENDING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">ENDING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">ENDING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">ENDING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas">ENDING<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CA">As you can see, it appears some “cpu-bind=MASK” that I would like to prevent them from appearing in the output file. I have reviewed configuration files and now I’m going to copy here main lines from my slurmd.conf file:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">ControlMachine=my_server<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">ProctrackType=proctrack/linuxproc<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">AuthType=auth/munge<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SwitchType=switch/none<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">TaskPlugin=task/none,task/affinity,task/cgroup<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">TaskPluginParam=none<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">DebugFlags=NO_CONF_HASH,BackfillMap,SelectType,Steps,TraceJobs<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">PropagateResourceLimits=ALL<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">FastSchedule=1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SchedulerType=sched/backfill<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SelectType=select/cons_res<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SelectTypeParameters=CR_Core<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">AccountingStorageType=accounting_storage/slurmdbd<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">JobCompType=jobcomp/filetxt<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">JobCompLoc=/var/log/slurm/job_completions<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">JobAcctGatherType=jobacct_gather/linux<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SlurmctldDebug=info<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SlurmctldLogFile=/var/log/slurmctld.log<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SlurmdDebug=info<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">SlurmdLogFile=/var/log/slurmd.log<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">AccountingStorageEnforce=associations,limits,qos<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">AccountingStorageHost=my_server<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">AccountingStorageLoc=/var/log/slurm/slurm_job_accounting.txt<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">GresTypes=gpu<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">KillOnBadExit=1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">OverTimeLimit=2<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas">TCPTimeout=5<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="CA" style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CA">I would appreciate any help in the future.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CA">Thanks.<o:p></o:p></span></p>
</div>
</body>
</html>