# %XXNXTFI-ERR: invalid or unknown path-name: "RUN"

**URL:** <https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019>\
**Category:** HADDOCK\
**Created:** [June 1, 2021, 10:49am UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019 "2021-06-01T10:49:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![emartis12](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@emartis12](https://ask.bioexcel.eu/u/emartis12)\
**Post date:** [June 1, 2021, 10:49am UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019/1 "2021-06-01T10:49:04Z")

</div>

Dear All  
@amjjbonvin  
Hello  
I am running haddock2.4 from local installation and the installation process was pretty smooth.  
However, I ran into an error while running run.cns which points to another file (./protocols/initialize.cns) that seems to exist.  
I am unable to resolve it.  
Here is the error message:

CNSsolve\>  
CNSsolve\>@RUN:protocols/initialize.cns(iteration=$iteration;)  
%XXNXTFI-ERR: invalid or unknown path-name: “RUN”:  
@RUN:protocols/initialize.cns(  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
%ASSFIL-ERR: error opening file RUN:protocols/initialize.cns  
%ASSFIL error encountered: Error accessing file  
(CNS is in mode: SET ABORT=NORMal END)

* * *

ABORT mode will terminate program execution.

* * *

Program will stop immediately.

---

<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:** [June 1, 2021, 11:48am UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019/2 "2021-06-01T11:48:51Z")

</div>

Did you follow our online tutorial for the local installation?

```
https://www.bonvinlab.org/education/HADDOCK24/HADDOCK24-local-tutorial/

```

Are you able to run any of the examples or tests?

---

<div class="post-metadata">

**Author:** ![emartis12](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@emartis12](https://ask.bioexcel.eu/u/emartis12)\
**Post date:** [June 1, 2021, 12:57pm UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019/3 "2021-06-01T12:57:03Z")

</div>

> [@amjjbonvin](#):
>
> `https://www.bonvinlab.org/education/HADDOCK24/HADDOCK24-local-tutorial/`

Thanks for the prompt reply.

The local installation was successful and as mentioned in the tutorial.

I am unable to run the examples as well, the same error pops up.

---

<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:** [June 1, 2021, 1:13pm UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019/4 "2021-06-01T13:13:23Z")

</div>

Then something is wrong with your setup…  
It can’t be successful if you can’t run the examples or tests.

Are you sourcing the haddock\_configure.csh/sh script first?

Describe exactly all steps you are doing until this error message pops up (i.e. exact commands you are giving)

---

<div class="post-metadata">

**Author:** ![emartis12](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@emartis12](https://ask.bioexcel.eu/u/emartis12)\
**Post date:** [June 2, 2021, 4:37am UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019/5 "2021-06-02T04:37:55Z")

</div>

Hello @amjjbonvin  
_Then something is wrong with your setup…_  
_It can’t be successful if you can’t run the examples or tests._

You are right. This is something I noticed when I reinstalled haddock2.4. I perhaps missed to see this the first time.  
This is how is tried installing after I compiled cns3.1

./install.csh config.local  
Setting up QueueSubmit to QueueSubmit\_concat.py  
fatal: not a git repository (or any of the parent directories): .git \>\>\>\>\>\> perhaps something not right?  
fatal: not a git repository (or any of the parent directories): .git \>\>\>\>\>\> perhaps something not right?  
Now compiling HADDOCK utilities  
cd tools;make  
make[1]: Entering directory ‘/opt/haddock2.4/tools’  
make cluster\_struc contact contact-chainID haddock-decompress-fastfunc contact\_fcc contact\_fcc\_lig  
make[2]: Entering directory ‘/opt/haddock2.4/tools’  
make[2]: ‘cluster\_struc’ is up to date.  
make[2]: ‘contact’ is up to date.  
make[2]: ‘contact-chainID’ is up to date.  
make[2]: ‘haddock-decompress-fastfunc’ is up to date.  
make[2]: ‘contact\_fcc’ is up to date.  
make[2]: ‘contact\_fcc\_lig’ is up to date.  
make[2]: Leaving directory ‘/opt/haddock2.4/tools’  
make[1]: Leaving directory ‘/opt/haddock2.4/tools’

HADDOCK2.4 configured  
to use it source first haddock\_configure.csh/sh

_Are you sourcing the haddock\_configure.csh/sh script first?_  
Yes, before every run I would source haddock\_configure.csh.

Describe exactly all steps you are doing until this error message pops up (i.e. exact commands you are giving)  
**step 1** \> Cleaning all the pdb files as mentioned in the basic tutorial for protein-protein docking.  
a) Remove chain ID and SEQ ID: pdb\_chain | pdb\_seg \>\<PDB\_clean\>  
b) validate: pdb\_validate   
c) Find gaps: pdb\_gap   
d) define restrains between chains in case of more than 1 units: restrain\_bodies.py   
\>unambig.tbl  
c) Filter passive residues by SASA using freesasa: freesasa --format=rsa \>.rsa  
**Step 2** \> Generate restaints files from active and passive residues: active-passive-to-ambig.py rec-act-  
pass.txt lig-act-pass.txt \>rec-lig-ambig.tbl  
**Step3\>** prepare the run.param file. The contents are as follows:  
AMBIG\_TBL=rec-lig-ambig.tbl  
HADDOCK\_DIR=/opt/haddock2.4  
N\_COMP=2  
PDB\_FILE1=rec.pdb  
PDB\_FILE2=lig.pdb  
PROJECT\_DIR=./  
PROT\_SEGID\_1=A  
PROT\_SEGID\_2=B  
RUN\_NUMBER=1  
UNAMBIG\_TBL=unambig.tbl  
**Step4** \> source haddock\_configure.csh and then run the haddock2.4 command. It runs without any errors and creates a “run1” directory.

**Step 5** \> run the haddock2.4 command in the run1 directory. And this is the step I am getting the error.

Thanks Once again

---

<div class="post-metadata">

**Author:** ![emartis12](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@emartis12](https://ask.bioexcel.eu/u/emartis12)\
**Post date:** [June 2, 2021, 5:34am UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019/6 "2021-06-02T05:34:50Z")

</div>

Hello @amjjbonvin

The problem was the faulty installation of cns. And once I reinstall compiled it, there was no problem. The examples are running running file.

Thank you!!

---

<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:** [June 2, 2021, 6:13am UTC](https://ask.bioexcel.eu/t/xxnxtfi-err-invalid-or-unknown-path-name-run/3019/7 "2021-06-02T06:13:57Z")

</div>

Perfect - problem solved! :-))
