{"id":100,"date":"2020-09-20T03:49:48","date_gmt":"2020-09-20T03:49:48","guid":{"rendered":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/?page_id=100"},"modified":"2020-09-20T04:17:09","modified_gmt":"2020-09-20T04:17:09","slug":"how-to-submit-a-slurm-batch-job","status":"publish","type":"page","link":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/how-to-submit-a-slurm-batch-job\/","title":{"rendered":"How to submit a batch job?"},"content":{"rendered":"\n<p>The command <span style=\"color:#cf2e2e\" class=\"tadv-color\">sbatch <\/span>submits a batch job to the SLURM job scheduler.<\/p>\n\n\n\n<p>For example, if you have a SLURM file named &#8216;<span style=\"color:#cf2e2e\" class=\"tadv-color\">example.slurm<\/span>&#8216;, you can submit it to the cluster using the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sbatch example.slurm<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The command sbatch submits a batch job to the SLURM job scheduler. For example, if you have a SLURM file named &#8216;example.slurm&#8216;, you can submit it to the cluster using the command:<\/p>\n","protected":false},"author":7027,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-100","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/users\/7027"}],"replies":[{"embeddable":true,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":4,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages\/100\/revisions"}],"predecessor-version":[{"id":114,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages\/100\/revisions\/114"}],"wp:attachment":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/media?parent=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}