...
a partition and slurm account should be specified when submitting jobs. The slurm account would be lcls:<experiment-name> e.g. lcls:xpp123456. The account is used for keeping track of resource usage per experiment
Code Block |
---|
% sbatch -p milano --account lcls:xpp1234 ........ |
The account can also be set via an environment variable:
No Format |
---|
% SLURM_ACCOUNT=lcls:experiment executable-to-run [args]
or
% export SLURM_ACCOUNT=lcls:experiment
% executable-to-run [args] |
sbatch option can also be set via environment variables which is useful if a program is executed the calls sbatch and doesn't allow to set option on the command line e.g.:
Code Block | ||
---|---|---|
| ||
% SLURM_ACCOUNT=lcls:experiment executable-to-run [args]
or
% export SLURM_ACCOUNT=lcls:experiment
% executable-to-run [args] |
The environment variables are SBATCH_MEM_PER_NODE (--mem), SLURM_ACCOUNT(--account) and SBATCH_TIMELIMIT (--time). The order arguments are selected is: command line, environment and withing sbatch script.
Jupyter is provided by the onDemand service (We are not planning to run a standalone jupyterhub as is done at PCDS. For more information check the S3DF interactive compute docs).
...