~~~
{% include /snippets/02/submit_hello_world_to_void.{{ site.workshop_scheduler }} %}
~~~
{: .bash}
~~~
Hello World
~~~
{: .output}
As you can see, the code examples related to the scheduler are imported code snippets where a file suffix determines the job scheduler type via a project configuration variable (site.workshop_scheduler in this case). The aforementioned snippets are stored in
hpc-in-a-day is scheduler agnostic. Currently, it supports LSF and SLURM. An extension to pbs is rather straight forward.
For example, https://raw.githubusercontent.com/psteinb/hpc-in-a-day/gh-pages/_episodes/02-01-batch-systems-101.md scroll down to the first code example:
As you can see, the code examples related to the scheduler are imported code snippets where a file suffix determines the job scheduler type via a project configuration variable (
site.workshop_scheduler
in this case). The aforementioned snippets are stored inhttps://github.com/psteinb/hpc-in-a-day/tree/gh-pages/_includes/snippets/02
for lesson 2.
I'd be happy to receive contributions!