Error in the topology generation: prot_psf_mol2 could not be created on HPC

I got the error when running my job on HPC Haddock 2.5. I have used the json file from the already completed job on web server. And the method I am using is correct as I have got few successfully completed jobs from this local run previously. I just wonder if the parameters worked on web server it should also work locally as well.

[2025-08-13 10:57:59] Starting HADDOCK
[2025-08-13 10:57:59] HADDOCK version: 2.5 - December 2024
[2025-08-13 10:57:59] Parsing run.cns file
[2025-08-13 10:57:59] Parsing run.param in .

….

….

….
[2025-08-13 10:57:59] setting some variables:
[2025-08-13 10:57:59] HADDOCK_DIR set to: /opt/haddock2.5-2024-12
[2025-08-13 10:57:59] N_COMP set to: 2
[2025-08-13 10:57:59] RUN_NUMBER set to: -test2
[2025-08-13 10:57:59] PDB_FILE1 set to: ./protein1.pdb.pdb
[2025-08-13 10:57:59] PROT_SEGID_1 set to: A.pdb
[2025-08-13 10:57:59] AMBIG_TBL set to: ambig.tbl
[2025-08-13 10:57:59] UNAMBIG_TBL set to: unambig.tbl
[2025-08-13 10:57:59] PDB_FILE2 set to: ./protein2.pdb.pdb
[2025-08-13 10:57:59] PROT_SEGID_2 set to: B.pdb
[2025-08-13 10:57:59] HADDOCK_DIR /opt/haddock2.5-2024-12
[2025-08-13 10:57:59] N_COMP 2
[2025-08-13 10:57:59] RUN_NUMBER -test2
[2025-08-13 10:57:59] PDB_FILE1 ./protein1.pdb.pdb
[2025-08-13 10:57:59] PROT_SEGID_1 A.pdb
[2025-08-13 10:57:59] AMBIG_TBL ambig.tbl
[2025-08-13 10:57:59] UNAMBIG_TBL unambig.tbl
[2025-08-13 10:57:59] PDB_FILE2 ./protein2.pdb.pdb
[2025-08-13 10:57:59] PROT_SEGID_2 B.pdb
[2025-08-13 10:57:59] Looking for existing files
[2025-08-13 10:58:00] waterdock false
[2025-08-13 10:58:00] Generating PSF and PDB file of molecule 1
[2025-08-13 10:58:00] Generating PSF and PDB file of molecule 2
[2025-08-13 10:58:01] waiting for the psf files…
[2025-08-13 10:58:01] waiting for the psf files…
[2025-08-13 10:58:11] waiting for the psf files…
[2025-08-13 10:58:11] waiting for the psf files…
[2025-08-13 10:58:21] waiting for the psf files…
[2025-08-13 10:58:21] waiting for the psf files…
[2025-08-13 10:58:32] waiting for the psf files…
[2025-08-13 10:58:32] waiting for the psf files…
[2025-08-13 10:58:42] waiting for the psf files…
[2025-08-13 10:58:42] waiting for the psf files…
[2025-08-13 10:58:52] waiting for the psf files…
[2025-08-13 10:58:52] waiting for the psf files…
[2025-08-13 10:59:02] waiting for the psf files…
[2025-08-13 10:59:02] waiting for the psf files…
[2025-08-13 10:59:13] waiting for the psf files…
[2025-08-13 10:59:13] Error in the topology generation: prot_psf_mol2 could not be created
[2025-08-13 10:59:13] HADDOCK stopped
[2025-08-13 10:59:13] ##############################################################################
[2025-08-13 10:59:13] Finishing HADDOCK
[2025-08-13 10:59:13] Au revoir. Tot ziens. Bye bye.

do you have any ligand in your system?

The server will generate topo/param files for those. When running locally you will have to copy those to the toppar directory of your run

Yes.

And the jobs I am able to run locally also contains ligand but I have not done any explicit step to manage toppar.

The json causes the error is drived from the following results
HADDOCK results page
which is completed successfully on web server but throws error on HPC.

Thanks

Then most likely you are missing the ligand topology and parameter files.

Those are not included in the json file.

Ok. So can you please provide me further detail on which step I have to do that and from where I can find these files. I will try to re-run the job with these modifications.

Thanks.

If you are docking the same protein as in your server run, you can extract the ligand topo and param files from that run.

Look for ligand.param and ligand.top in the toppar directory of that run.
And copy those to the run directory you generate on your HPC system before starting the haddock run.

They should go into the toppar directory.

If you have different proteins/ligands, you will have to generate the parameters for each ligand…
You could use the server for this, downloading the files before submission.

Or try to use tools like acpype to parametric your ligands.
Check also: bio2byte.be/acpype

You will need the files in CNS format.

Thank you so much for the details and for your prompt responses. Ill implement these steps and update here the status of my run.

Thanks

I have run jobs. I found out that my run directory’s toppar folder already contains these two files. But still I ran one job with the existing ligand files and another by explicitly placing the ligand files although it already contains it. In both the cases it throws the same error.
Error in the topology generation: prot_psf_mol2 could not be created;
I would appreciate your help in this regard.

Thanks

the files present by default are empty

Share a run directory if you want us to look at the problem (one where you copied the ligand files)

Hello,

I have sent the run directory to you. please confirm if you have received it.

Thanks

nothing - also not in the spam

Please send me the email ID to resend it. Thanks

You should be able to find my university email :slight_smile:

Sent. Thanks