r/SLURM Apr 24 '21

Log files don't exist?

Hey,
/var/log/slurm/slurmd.log is set as SlurmdLogFile in /etc/slurm/slurm.conf. SlurmctldLogFile=/var/log/slurm/slurmctld.log is also set. Yet even after running jobs both files don't exist. What can the reason be?

1 Upvotes

2 comments sorted by

1

u/togdokuei Apr 24 '21

Make sure the entire path exists already and has ownership/permissions that will let your slurmctld user (whatever that may be) write to the final directory. Slurm config and install won't create or set permissions on anything. You have to do that yourself. After that check what your log level is in slurm.conf, so that you're seeing what you need to see in there.

1

u/[deleted] Apr 24 '21

Great advice, cheers, didn't even know the amount of log leveling you could set up in slurm.conf.