Thanks Dani!  On a side note, any idea if there is a parameter to not
have it use a particular cpu? This is a single node workstation, with
18 cores. The end goal is to have a default set up where it can say
run 16 jobs, bound to 16 unique cores, excluding core 1 and 2, which
are primarily used for system overhead.

The catch is that hyperthreading is enabled, and I also dont want it
to use virtual cores 19-36, but dont want to disable hyperthreading in
the bios.

On Wed, Sep 14, 2016 at 6:34 AM, dani <[email protected]> wrote:
> Is there binding/affinity involved?
>
> If not, the process might execute each instruction on a different cpu, so
> slurm couldn't really provide something useful.
>
>
> If there is binding, take a look at
>
> SBATCH_CPU_BIND
>     Set to value of the --cpu_bind option.
> SBATCH_CPU_BIND_VERBOSE
>     Set to "verbose" if the --cpu_bind option includes the verbose option.
> Set to "quiet" otherwise.
> SBATCH_CPU_BIND_TYPE
>     Set to the CPU binding type specified with the --cpu_bind option.
> Possible values two possible comma separated strings. The first possible
> string identifies the entity to be bound to: "threads", "cores", "sockets",
> "ldoms" and "boards". The second string identifies manner in which tasks are
> bound: "none", "rank", "map_cpu", "mask_cpu", "rank_ldom", "map_ldom" or
> "mask_ldom".
> SBATCH_CPU_BIND_LIST
>     Set to bit mask used for CPU binding.
>
>
>
> On 14/09//2016 02:23, andrealphus wrote:
>>
>> is there an environmental variable available in sbatch that holds the
>> cpu/s the current job is being run on? (not the number of cpus, but a
>> cpu identifier).
>
>
>

Reply via email to