dask / dask/dask-jobqueue

Use configurable templated header with jinja2 as in batchspawner

Open
#133 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
256
Forks
150
PR merge metrics
No merged PRs in 30d

Description

I feel https://github.com/jupyterhub/batchspawner is using an interesting way of templating job script. See [SlurmSpawner](https://github.com/jupyterhub/batchspawner/blob/master/batchspawner/batchspawner.py#L532) 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 https://github.com/dask/dask-jobqueue/issues/7#issuecomment-370473064.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.