I have a question about the interactive app.
Templates of interactive app are composed of before, script, and after scripts.
Where is running location of before.sh and after.sh and who are users of that scripts?
As far as I know, it is the submit.yml(at open ondemand server) → Scheduler(at head node) → before-script-after.sh(at one of compute node).
And the user is known as the user of the job.
(neither root or slurmctld user)
Is this right?
-
If so, what should I do if I want to do something before submitting to the scheduler?
(I know the scheduler has its own prolog epilog function. What I’m curious about is whether it’s possible to implement in open ondemand.) -
What if I want to run before.sh on all compute nodes instead of one?