Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: workaround for XDG_RUNTIME_DIR issue

...

See FAQ: Why is my SLURM job not running?


6. "I'm seeing an error mentioning a directory /run/user, and it's causing trouble.  How do I fix it?"

The SLURM commands pass all environment variables into your job by default.  One of the variables, XDG_RUNTIME_DIR, references a special directory in /run/user that will not exist on your compute node.  Programs are supposed to ignore this, but some do not.  You can work around this by including the line

Code Block
unset XDG_RUNTIME_DIR

as the first line of your script (after any #SBATCH lines).