Automate jobs submission in Slurm

Previously, I've posted about a simple script that I used for running MD simulations. This script recursively submits the same instructions to PBS. Nothing complicated, but it's really useful for me. Lately I've been working with another scheduler, namely Slurm. So, I've adapted the PBS script and I made it simpler. I just need to write a script and then submit the jobs to Slurm using this…