Hi, 

if you use ElasticSearch, you could use the excellent jobcomp plugin for it:

JobCompType             = jobcomp/elasticsearch

https://github.com/SchedMD/slurm/tree/slurm-15-08-10-1/src/plugins/jobcomp/elasticsearch

It puts on your elasticsearch instance a log with details of the job, and the 
SBATCH file used to submit the job.

Another option is to run (as SlurmUser, or root) when the job is still in the 
system (R or PD):

# scontrol show jobid=XXXX -dd

and dump its output somewhere.

Miguel


> On 27 Apr 2016, at 08:15, Hendryk Bockelmann <[email protected]> wrote:
> 
> Hi Gary,
> 
> we are using the slurm epilog to save data, which is located in 
> StateSaveLocation on the ControlMachine/ControlAddr (see slurm.conf) - this 
> is the batch script and the runtime environment.
> 
> Hendryk
> 
> On 27.04.2016 03:43, Skouson, Gary B wrote:
>> 
>> I'm interested in a way to save job submissions, including the job 
>> submission script, and options passed to the sbatch command.  I'd also like 
>> info like current working directory, stderr and stdout.  Is there an easy 
>> way to save that info each job as jobs are submitted?
>> 
>> -----
>> Gary Skouson
> 

-- 
Miguel Gila
CSCS Swiss National Supercomputing Centre
HPC Operations
Via Trevano 131 | CH-6900 Lugano | Switzerland
mg [at] cscs.ch 

Reply via email to