I feel https://github.com/jupyterhub/batchspawner is using an interesting way of templating job script. See SlurmSpawner for instance.
I know we used some templated script before too, but we did not make use of jinja2 thus being force to define some useless parameters to avoid issues. This would allow us to me more easily compatible with different job scheduler versions (i.e. Torque vs PBS), and be much more generic.
Any thoughts?
See historic discussion on the current code here #7 (comment).
I feel https://github.com/jupyterhub/batchspawner is using an interesting way of templating job script. See SlurmSpawner for instance.
I know we used some templated script before too, but we did not make use of jinja2 thus being force to define some useless parameters to avoid issues. This would allow us to me more easily compatible with different job scheduler versions (i.e. Torque vs PBS), and be much more generic.
Any thoughts?
See historic discussion on the current code here #7 (comment).