On 01/10/2017 12:46 AM, Christopher Samuel wrote:

On 10/01/17 09:36, Steven Lo wrote:

Torque/Maui has the ability to mail user about the job status
automatically when job exit.  Does Slurm has the same feature without
using the SBATCH command in the job submission?

Unless Torque has changed massively since I last used it you have to
request those email status messages with directives to qsub in a similar
manner to the way you need to with sbatch (in both cases it's
effectively just embedding command line options into the job script).

I guess I'm not sure why you think it's different with Slurm?

For the record: Torque will always send mail if a job is aborted, and for additional mails you may put such a line in your Torque script:
#PBS -m abe
which is quite similar to Slurm:
#SBATCH --mail-type=ALL

See the Torque qsub manual at http://docs.adaptivecomputing.com/torque/2-5-12/help.htm#topics/commands/qsub.htm

/Ole

Reply via email to