This example demonstrated how to manually write a log-file in the
SLURM_SUBMIT_DIR (the directory, on the head node, from which the job is submitted) when the job is submitted. This file, job.slurm.json, is formatted using JSON to facilitate (automatic) readability.
.. literalinclude:: job.slurm :language: bash
To facilitate writing job-scripts, it can be created using the GooseSLURM Python module: [:download:`source: writeJob.py <writeJob.py>`].