# Guidance on Using Precompiled CNS Executable with HADDOCK

**URL:** <https://ask.bioexcel.eu/t/guidance-on-using-precompiled-cns-executable-with-haddock/5150>\
**Category:** HADDOCK\
**Created:** [June 20, 2024, 2:09pm UTC](https://ask.bioexcel.eu/t/guidance-on-using-precompiled-cns-executable-with-haddock/5150 "2024-06-20T14:09:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhuyaojun](https://avatars.discourse-cdn.com/v4/letter/z/f9ae1b/32.png) [@zhuyaojun](https://ask.bioexcel.eu/u/zhuyaojun)\
**Post date:** [June 20, 2024, 2:09pm UTC](https://ask.bioexcel.eu/t/guidance-on-using-precompiled-cns-executable-with-haddock/5150/1 "2024-06-20T14:09:14Z")

</div>

Dear,

I hope this email finds you well. I am a tudent, and I am currently working on a project that involves using HADDOCK for protein-protein molecular docking. I have encountered a question regarding the integration of the precompiled CNS executable with HADDOCK, and I would greatly appreciate your guidance on this matter.

I understand that HADDOCK requires CNS as the computational engine, and I have downloaded the precompiled CNS executable for Linux, specifically the cns\_solve-1.31-UU-Linux64.exe file(Link from the email you received when you agreed to download). My question is whether this executable should be renamed to “cns” and then placed in the HADDOCK directory, or if there are additional steps that I need to follow to ensure proper integration.

Your assistance and expertise would be invaluable in helping me proceed with my project. I am eager to learn the correct procedure and any additional configurations that might be necessary.

Thank you very much for your time and support. I look forward to your response.

Best regards.

---

<div class="post-metadata">

**Author:** ![VGPReys](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/vgpreys/32/960_2.png) [@VGPReys](https://ask.bioexcel.eu/u/VGPReys)\
**Post date:** [June 20, 2024, 2:30pm UTC](https://ask.bioexcel.eu/t/guidance-on-using-precompiled-cns-executable-with-haddock/5150/2 "2024-06-20T14:30:13Z")

</div>

Dear zhuyaojun,

If you are referring to the Haddock3 installation procedure, indeed a file named `cns` must be existing in the `haddock3/bin` directory.  
Note that this must not mandatory be an executable, but a link/symbolic link is enough.

To perform this, run:  
`ls -s /path/to/cns/binary/cns_solve-1.31-UU-Linux64.exe haddock3/bin/cns`

With the hope that this answer is helping you.

---

<div class="post-metadata">

**Author:** ![zhuyaojun](https://avatars.discourse-cdn.com/v4/letter/z/f9ae1b/32.png) [@zhuyaojun](https://ask.bioexcel.eu/u/zhuyaojun)\
**Post date:** [June 20, 2024, 2:54pm UTC](https://ask.bioexcel.eu/t/guidance-on-using-precompiled-cns-executable-with-haddock/5150/3 "2024-06-20T14:54:39Z")

</div>

Dear VGPReys，  
If I download the precompiled CNS executable from the provided link, can I proceed directly from step 5 of the HADDOCK setup instructions?  
Thanks for your reply.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/bioexcel/original/2X/d/d652ea85d8d9251cf1702c59cb59e5a97e87e156.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/bioexcel/original/2X/a/a8fc70b543f4b70d75a68c69d264956450b301e9.png)

---

<div class="post-metadata">

**Author:** ![VGPReys](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/vgpreys/32/960_2.png) [@VGPReys](https://ask.bioexcel.eu/u/VGPReys)\
**Post date:** [June 21, 2024, 11:58am UTC](https://ask.bioexcel.eu/t/guidance-on-using-precompiled-cns-executable-with-haddock/5150/4 "2024-06-21T11:58:23Z")

</div>

Yes exactly.  
But before that, make sure the binary you have can be executed on your operating system and hardware (step 4).

---

<div class="post-metadata">

**Author:** ![zhuyaojun](https://avatars.discourse-cdn.com/v4/letter/z/f9ae1b/32.png) [@zhuyaojun](https://ask.bioexcel.eu/u/zhuyaojun)\
**Post date:** [June 25, 2024, 3:18pm UTC](https://ask.bioexcel.eu/t/guidance-on-using-precompiled-cns-executable-with-haddock/5150/5 "2024-06-25T15:18:17Z")

</div>

Thank you very much for your help.
