If you are the cluster admin and/or have access to the slurm.state directory on the slurmctld host the user environment and batch script exist there while the job is in the queue.
Sample path would be... # ls -l /var/spool/slurm.state/hash.0/job.<jobid> total 12 -rw------- 1 slurm slurm 7311 Dec 14 13:41 environment -rwx------ 1 slurm slurm 438 Dec 14 13:41 script Cheers, Trevor > On Dec 15, 2015, at 9:47 AM, Oliver Freyermuth <[email protected]> > wrote: > > > Dear SLURMers, > > I would like to check whether some jobs in our queue have been submitted with > correct environment variables. > Is there any way to check / print the environment for submitted (pending or > running) jobs? > > Cheers, > Oliver
