SvenMarcus / hpc-rocket

https://svenmarcus.github.io/hpc-rocket/
MIT License
26 stars 3 forks source link

Simplify batch configuration #48

Closed SvenMarcus closed 1 year ago

SvenMarcus commented 1 year ago

If the slurm job file is not present on the remote machine already users need to specify it in the copy section and then again with the sbatch key of their configuration file.

This is a bit redundant and can be simplified by using the same structure as the copy section:

sbatch:
  from: local_file.sh
  to: remote_file.sh

If the remote file is already present, we can still fall back to the current approach:

sbatch: remote_file.sh