psteinb / hpc-in-a-day

a full day lesson material to teach the basics of using a HPC cluster to novices
Other
33 stars 13 forks source link

Adding PBS #19

Closed psteinb closed 6 years ago

psteinb commented 6 years ago

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:

~~~
{% 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

https://github.com/psteinb/hpc-in-a-day/tree/gh-pages/_includes/snippets/02

for lesson 2.

I'd be happy to receive contributions!

psteinb commented 6 years ago

done with #24