# How to batch multiple CalcJobs in single submission (SLURM scheduler)?

**URL:** <https://aiida.discourse.group/t/how-to-batch-multiple-calcjobs-in-single-submission-slurm-scheduler/54>\
**Category:** General Usage\
**Tags:** schedulers\
**Created:** [July 20, 2023, 1:51pm UTC](https://aiida.discourse.group/t/how-to-batch-multiple-calcjobs-in-single-submission-slurm-scheduler/54 "2023-07-20T13:51:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bastonero](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/bastonero/32/32_2.png) [@bastonero](https://aiida.discourse.group/u/bastonero)\
**Post date:** [July 20, 2023, 1:51pm UTC](https://aiida.discourse.group/t/how-to-batch-multiple-calcjobs-in-single-submission-slurm-scheduler/54/1 "2023-07-20T13:51:32Z")

</div>

I came up with this question on the AiiDA Slack channel and reporting here what discussed.

There is now a plugin available for this purpose: **[aiida-hyperqueue](https://github.com/aiidateam/aiida-hyperqueue)**.

In short: the HyperQueue program will handle the submission to SLURM batching multiple jobs for you.  
For more details, consult the aiida-hyperqueue and HyperQueue docs.

---

<div class="post-metadata">

**Author:** ![mbercx](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/mbercx/32/345_2.png) [@mbercx](https://aiida.discourse.group/u/mbercx)\
**Post date:** [July 24, 2023, 8:54am UTC](https://aiida.discourse.group/t/how-to-batch-multiple-calcjobs-in-single-submission-slurm-scheduler/54/2 "2023-07-24T08:54:05Z")

</div>

Thanks for reformulating your question here, @bastonero! Feedback is definitely most welcome, I’ve only tested the plugin on one of the supercomputers we use at CSCS, and I know setting the correct Slurm options can be tricky and depend on the Slurm configuration.
