Discussion:
How to change how frequently SLURM updates the output file (stdout)?
Neal Kruis
2014-08-07 15:57:36 UTC
Permalink
I posted this question to Stack Overflow
<http://stackoverflow.com/questions/25170763/how-to-change-how-frequently-slurm-updates-the-output-file-stdout>
:

I am using SLURM to dispatch jobs on a supercomputer. I have set the
--output=log.out option to place the content from a job's stdout into a
file (log.out). I'm finding that the file is updated every 30-60 minutes,
making it difficult for me to check on the status of my jobs.

Any idea why it takes so long to update this file? Is there a way to change
settings so that this file is updated more frequently?

Using SLURM 14.03.4-2
Christopher Samuel
2014-08-08 00:29:32 UTC
Permalink
Post by Neal Kruis
I am using SLURM to dispatch jobs on a supercomputer. I have set
the |--output=log.out| option to place the content from a job's stdout
into a file (|log.out|). I'm finding that the file is updated every
30-60 minutes, making it difficult for me to check on the status of my jobs.
I have a suspicion that's related to your filesystem, not Slurm.

Certainly we don't see any such issue using Slurm 2.6.x with GPFS and
Panasas filesystems.

All the best,
Chris
--
Christopher Samuel Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: samuel-***@public.gmane.org Phone: +61 (0)3 903 55545
http://www.vlsci.org.au/ http://twitter.com/vlsci
Neal Kruis
2014-08-08 14:22:33 UTC
Permalink
Thanks, Chris,

It turns out it was a buffering issue where the stdout buffer wasn't being
flushed regularly enough.

Neal Kruis
828 482-2088

Big Ladder Software
2549 Irving Street
Denver, CO 80211
http://www.bigladdersoftware.com
Post by Christopher Samuel
Post by Neal Kruis
I am using SLURM to dispatch jobs on a supercomputer. I have set
the |--output=log.out| option to place the content from a job's stdout
into a file (|log.out|). I'm finding that the file is updated every
30-60 minutes, making it difficult for me to check on the status of my
jobs.
I have a suspicion that's related to your filesystem, not Slurm.
Certainly we don't see any such issue using Slurm 2.6.x with GPFS and
Panasas filesystems.
All the best,
Chris
--
Christopher Samuel Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
http://www.vlsci.org.au/ http://twitter.com/vlsci
Loading...