Depends on the version of Slurm. The docs for 17.11 [1] shows using packjob, 
and the docs for the current version (20.02 as of this writing) [2] shows using 
hetjob. It's really easy to wind up on documentation later than your running 
version, since only the top-level documentation page [3] mentions the archive 
[4] for older versions.

[1] https://slurm.schedmd.com/archive/slurm-17.11-latest/heterogeneous_jobs.html
[2] https://slurm.schedmd.com/heterogeneous_jobs.html
[3] https://slurm.schedmd.com/documentation.html
[4] https://slurm.schedmd.com/archive/

On 10/2/20, 6:55 AM, "slurm-users on behalf of Diego Zuccato" 
<slurm-users-boun...@lists.schedmd.com on behalf of diego.zucc...@unibo.it> 
wrote:

    Il 02/10/20 10:47, Diego Zuccato ha scritto:

    I found what was wrong. The line

    > #SBATCH hetjob
    should have been

    #SBATCH packjob

    Is it an error in the docs (strange, since sbatch accepts both but
    appears to ignore hetjob) or they're two distinct modes?

    --
    Diego Zuccato
    DIFA - Dip. di Fisica e Astronomia
    Servizi Informatici
    Alma Mater Studiorum - Università di Bologna
    V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
    tel.: +39 051 20 95786


Reply via email to