# command 'openmc' returned non-zero exit status 255

**URL:** <https://openmc.discourse.group/t/command-openmc-returned-non-zero-exit-status-255/564>\
**Category:** User Support\
**Created:** [March 5, 2020, 9:45am UTC](https://openmc.discourse.group/t/command-openmc-returned-non-zero-exit-status-255/564 "2020-03-05T09:45:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Auliyah11](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Auliyah11](https://openmc.discourse.group/u/Auliyah11)\
**Post date:** [March 5, 2020, 9:45am UTC](https://openmc.discourse.group/t/command-openmc-returned-non-zero-exit-status-255/564/1 "2020-03-05T09:45:02Z")

</div>

Dear all,

Does anyone know what happened with this and what should i do?

Thx,  
Auliyah

 ![WhatsApp Image 2020-03-05 at 15.54.41.jpeg](https://global.discourse-cdn.com/free1/uploads/openmc/original/1X/ee6b33817ade3518a734d32ddaeda5fd98c3a60d.jpeg)

 ![WhatsApp Image 2020-03-05 at 15.43.15.jpeg](https://global.discourse-cdn.com/free1/uploads/openmc/original/1X/86c7963803908979a1cf0bfffaef3ed802cb62ac.jpeg)

---

<div class="post-metadata">

**Author:** ![pshriwise](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/pshriwise/32/3863_2.png) [@pshriwise](https://openmc.discourse.group/u/pshriwise)\
**Post date:** [March 5, 2020, 2:54pm UTC](https://openmc.discourse.group/t/command-openmc-returned-non-zero-exit-status-255/564/2 "2020-03-05T14:54:29Z")

</div>

Hi Aulia,

It looks like the number of active batches in the problem wasn’t set or the number of inactive batches (`settings.inactive`) was the same as the total number of batches in the problem (`settings.batches`). Adjusting these attributes of the settings object so that `settings.batches > settings.inactive` should take care of that.

Best regards,
