Re: [slurm-users] Prolog and job_submit

2022-10-29 Thread Davide DelVento
Thanks Jeff. That's exactly the documentation that I looked and quoted, and yes, I know that the user running the prolog is a different one (root) from the one which will be running the job (regular user submitting the job). I speculated that the sentence I quoted (again: prolog is executed with th

Re: [slurm-users] Prolog and job_submit

2022-10-29 Thread Sarlo, Jeffrey S
Not sure if this will help. It has which user will execute the scripts https://slurm.schedmd.com/prolog_epilog.html Maybe the variable isn't set for the user executing the prolog/epilog/taskprolog Jeff From: slurm-users on behalf of Davide DelVento Sent: Sat

[slurm-users] Prolog and job_submit

2022-10-29 Thread Davide DelVento
My problem: grant licensed software availability to my users only if they request it on slurm; for now with local licenses. I wrote a job_submit lua script which checks job_desc.licenses and if it contains the appropriate strings it sets an appropriate SOMETHING_LICENSE_REQ environmental variable.

Re: [slurm-users] How to debug a prolog script?

2022-10-29 Thread Davide DelVento
Finally I found some time available when I could do the job without disrupting my users. It turned out to be both the permissions issue as discussed here, and the fact that the slurm.conf needs the fully qualified path of the prolog script. So that is solved, but sadly my problem is not solved as