On 02/05/16 02:10, Satrajit Ghosh wrote: > srun --pty bash > > returns a terminal where /run/user//userid/ (i.e. $XDG_RUNTIME_DIR) does > not exist.
I don't believe that Slurm claims to implement the "XDG Base Directory Specification". https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html # $XDG_RUNTIME_DIR defines the base directory relative to # which user-specific non-essential runtime files and other # file objects (such as sockets, named pipes, ...) should # be stored. The directory MUST be owned by the user, and # he MUST be the only one having read and write access to # it. Its Unix access mode MUST be 0700. Hmm, "he"? That's rather blinkered. :-( # The lifetime of the directory MUST be bound to the user # being logged in. It MUST be created when the user first # logs in and if the user fully logs out the directory MUST # be removed. If the user logs in more than once he should # get pointed to the same directory, and it is mandatory # that the directory continues to exist from his first login # to his last logout on the system, and not removed in # between. Files in the directory MUST not survive reboot or # a full logout/login cycle. # # The directory MUST be on a local file system and not shared # with any other system. You might be able to fake this with a prolog/epilog arrangement. All the best, Chris -- Christopher Samuel Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: [email protected] Phone: +61 (0)3 903 55545 http://www.vlsci.org.au/ http://twitter.com/vlsci
