# Error during complex generation

**URL:** <https://ask.bioexcel.eu/t/error-during-complex-generation/800>\
**Category:** HADDOCK\
**Created:** [February 20, 2018, 11:06am UTC](https://ask.bioexcel.eu/t/error-during-complex-generation/800 "2018-02-20T11:06:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rribeiro](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rribeiro](https://ask.bioexcel.eu/u/rribeiro)\
**Post date:** [February 20, 2018, 11:06am UTC](https://ask.bioexcel.eu/t/error-during-complex-generation/800/1 "2018-02-20T11:06:50Z")

</div>

Dear all,

I am trying to dock 5 ligands into 5 different binding sites of 1 protein. However I got an error in the generate\_complex.out:

%PUSEND error encountered: exceeded ENDMAX (COMAND) parameter --\> recompile program  
(CNS is in mode: SET ABORT=NORMal END)

How can solve this problem? Where do I find de ENDMAX parameter?

Thank you in advance;

Sincerely,  
Rui Ribeiro

![11](https://dub1.discourse-cdn.com/flex013/uploads/bioexcel/original/1X/8931e3fcd7d9e283f49d973b24355502f9845d90.png)

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [February 20, 2018, 3:07pm UTC](https://ask.bioexcel.eu/t/error-during-complex-generation/800/2 "2018-02-20T15:07:47Z")

</div>

Search into the CNS installation source directory, in the \*.inc files.

And why 5 at the same time? If this is causing problems, simply do one at the time.

---

<div class="post-metadata">

**Author:** ![rribeiro](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rribeiro](https://ask.bioexcel.eu/u/rribeiro)\
**Post date:** [February 22, 2018, 8:22am UTC](https://ask.bioexcel.eu/t/error-during-complex-generation/800/3 "2018-02-22T08:22:21Z")

</div>

Thank you! I have already solve the problem.  
The reason why I want to dock 5 small ligands in one go is because I want to save time.

---

<div class="post-metadata">

**Author:** ![shrutivijayk](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@shrutivijayk](https://ask.bioexcel.eu/u/shrutivijayk)\
**Post date:** [January 3, 2020, 5:33am UTC](https://ask.bioexcel.eu/t/error-during-complex-generation/800/4 "2020-01-03T05:33:48Z")

</div>

Dear Rui Ribeiro,  
Could you elaborate how you solved the problem? I am trying to dock 5 peptides to a single site on the protein and getting the same error. Which .inc file has the ENDMAX paramater?  
Any suggestions would be very helpful.  
(P.S. I plan to dock many more peptides to my protein and hence using the server is not an option.)  
Thank you.

---

<div class="post-metadata">

**Author:** ![honoratorv](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/honoratorv/32/672_2.png) [@honoratorv](https://ask.bioexcel.eu/u/honoratorv)\
**Post date:** [January 3, 2020, 8:54am UTC](https://ask.bioexcel.eu/t/error-during-complex-generation/800/5 "2020-01-03T08:54:11Z")

</div>

Why 5 at the same time?
