Benjamin Redling <[email protected]> writes: > On 05/17/2016 10:02, Loris Bennett wrote: >> >> Benjamin Redling >> <[email protected]> writes: >> >>> On 2016-05-13 05:58, Husen R wrote: >>>> Does slurm provide feature to get command that being executed/will be >>>> executed by running/pending jobs ? >>> >>> scontrol show --detail job <jobid> >>> or >>> scontrol show -d job <jobid> >>> >>> Benjamin >> >> Which version does this? 15.08.8 just seems to show the 'Command' entry, >> which is the file containing the actual command. > > An older one. I see. I made the mistake before (squeue -n ...): > I assumed slurm commands/parameters don't change (all over the board). > > (Will I ever be able to depend on _any_ script I write, or any parameter > I thought I knew? > What other surprises will await me after an upgrade? And where are these > major changes documented? > Who thinks changing parameter semantics is a good idea?) > > This is not something were slurm shines.
I haven't really been bitten by such changes. My main gripe with the Slurm tools is the inconsistency of the interfaces, e.g. output columns: squeue -o " %.18i" sacct -o jobid%18 or selection according to nodes squeue -w node001 sacct -N node001 This is obviously not a real problem, but it is a daily annoyance. So in that sense, I do think that changing the parameter semantics would be a good idea, but only once and only if the options become harmonised across all the tools! Cheers, Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email [email protected]
