Hi,
the manpage to sbatch states for option --mem_bind:
[…]
The following informational environment variables are set when --mem_bind is in
use:
SLURM_MEM_BIND_VERBOSE
SLURM_MEM_BIND_TYPE
SLURM_MEM_BIND_LIST
See the ENVIRONMENT VARIABLES section for a more detailed description of the
individual SLURM_MEM_BIND* variables.
[…]
In the input environment variables section:
[…]
SBATCH_MEM_BIND
Same as --mem_bind
[…]
And in the output environment variables section:
[…]
SLURM_MEM_BIND
Set to value of the --mem_bind option.
[…]
This is kind of circular…
The manpage for srun seems to have at least some info in the output env var
section but salloc manpage has the same info as sbatch
manpage.
Could you please better explain the env vars in those manpages or at least copy
the text from srun to sbatch/salloc?
There also gets an env var set: SLURM_MEM_BIND_VERBOSE that has no description
whatsoever…
And one other question: --mem_bind only works with task/affinity according to
the docs. How can I achieve simliar results if I am
using task/cgroup?
Regards,
Uwe