[gridengine users] Automatically creating home directories before job execution

Ilya M 4ilya.m+grid at gmail.com
Tue Jul 30 22:55:55 UTC 2019


Hi Reuti,


> So /home is not mounted via NFS as it's usually done?

Correct.

>
>

> How exactly is your setup? I mean: you want to create some kind of pseudo
> home directory on the nodes (hence "-b y" can't be used with user binaries)
> and the staged job script (by SGE) will then execute the job and/or copy
> some files thereto too? Afterwards this directory would have to be removed
> too I guess (and the results copied back beforehand).
>
> I want to create a normal home directory for the user if this directory
does not exist yet. /sbin/mkhomedir_helper can do exactly that (as it does
if I run prolog manually). I do not need to remove home directory after job
completes: next time the same user's job lands on the same host, there will
be no need to create the directory again.

Is there any configurable process that SGE will start before the job and
that will not try to cd to user's home directory before start? I had hopes
for prolog (global), but apparently is it not a viable candidate.

Thank you,
Ilya.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gridengine.org/pipermail/users/attachments/20190730/70e763b1/attachment.html>


More information about the users mailing list