<div dir="ltr">Hi Mike,<div><br></div><div>Thanks for the info.</div><div>.</div><div>Yes, Slurm 19.05 works with the "#SBATCH packjob".</div><div><br></div><div>- Chansup</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 10:40 AM Renfro, Michael <<a href="mailto:Renfro@tntech.edu">Renfro@tntech.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I’m going to guess the job directive changed between earlier releases and 20.02. An version of the page from last year [1] has no mention of hetjob, and uses packjob instead.<br>
<br>
On a related note, is there a canonical location for older versions of Slurm documentation? My local man pages are always consistent with the installed version, but lots of people Google part of their solution, and are always pointed to documentation for the latest stable release.<br>
<br>
[1] <a href="https://web.archive.org/web/20191227221359/https://slurm.schedmd.com/heterogeneous_jobs.html" rel="noreferrer" target="_blank">https://web.archive.org/web/20191227221359/https://slurm.schedmd.com/heterogeneous_jobs.html</a><br>
-- <br>
Mike Renfro, PhD / HPC Systems Administrator, Information Technology Services<br>
931 372-3601     / Tennessee Tech University<br>
<br>
> On Mar 4, 2020, at 2:05 PM, CB <<a href="mailto:cbalways@gmail.com" target="_blank">cbalways@gmail.com</a>> wrote:<br>
> <br>
> External Email Warning<br>
> This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.<br>
> Hi,<br>
> <br>
> I'm running Slurm 19.05.5.<br>
> <br>
> I've tried to write a job submission script for a heterogeneous job following the example at <a href="https://slurm.schedmd.com/heterogeneous_jobs.html" rel="noreferrer" target="_blank">https://slurm.schedmd.com/heterogeneous_jobs.html</a><br>
> <br>
> But it failed with the following error message:<br>
> <br>
> $ sbatch new.bash<br>
> sbatch: error: Invalid directive found in batch script: hetjob<br>
> <br>
> Below is the new.bash job script:<br>
> $ cat new.bash<br>
> #!/bin/bash<br>
> #SBATCH --cpus-per-task=4 --mem-per-cpu=16g --ntasks=1<br>
> #SBATCH hetjob<br>
> #SBATCH --cpus-per-task=2 --mem-per-cpu=1g  --ntasks=8<br>
> srun exec_myapp.bash<br>
> <br>
> Has anyone tried this?<br>
> <br>
> I've tried the following command at the command line and it worked fine. <br>
> $ sbatch --cpus-per-task=4 --mem-per-cpu=16g --ntasks=1 : --cpus-per-task=2 --mem-per-cpu=1g  --ntasks=8 exec_myapp.bash<br>
> <br>
> Thanks,<br>
> Chansup<br>
> <br>
<br>
</blockquote></div>