Re: [AMBER] MMPBSA error: LengthError: length mismatch in energy vectors

From: Jason Swails via AMBER <amber.ambermd.org>
Date: Tue, 24 Sep 2024 12:54:10 -0400

Check the ligand output files and see if you can find an error in any
energy calculation for any of the frames.

The problem here is that MMPBSA.py found fewer ligand energy terms than it
found for the bound complex and receptors. The output files should show
errors if they were printed by the program that computed the energy.

Good luck,
Jason

On Thu, Sep 19, 2024 at 10:29 PM 홍종희 via AMBER <amber.ambermd.org> wrote:

> Hi a;l
>
>
>
> I got another error produced in MMPBSA run
>
>
>
> Loading and checking parameter files for compatibility...
> cpptraj found! Using amber22/bin/cpptraj
> mmpbsa_py_energy found! Using amber22/bin/mmpbsa_py_energy
> Preparing trajectories for simulation...
> 20 frames were processed by cpptraj for use in calculation.
>
> Running calculations on normal system...
>
> Beginning GB calculations with /usr/local/amber22/bin/mmpbsa_py_energy
> calculating complex contribution...
> calculating receptor contribution...
> calculating ligand contribution...
> File &quot;/usr/local/amber22/bin/MMPBSA.py&quot;, line 108, in
> app.parse_output_files()
> File
> &quot;/usr/local/amber22/lib/python3.10/site-packages/MMPBSA_mods/main.py&quot;,
> line 995, in parse_output_files
> self.calc_types[key]['delta'] = BindClass(
> File
> &quot;/usr/local/amber22/lib/python3.10/site-packages/MMPBSA_mods/amber_outputs.py&quot;,
> line 1027, in __init__
> self.delta2()
> File
> &quot;/usr/local/amber22/lib/python3.10/site-packages/MMPBSA_mods/amber_outputs.py&quot;,
> line 1256, in delta2
> self.lig.fill_composite_terms()
> File
> &quot;/usr/local/amber22/lib/python3.10/site-packages/MMPBSA_mods/amber_outputs.py&quot;,
> line 373, in fill_composite_terms
> self.data[component] = self.data[key] + self.data[component]
> File
> &quot;/usr/local/amber22/lib/python3.10/site-packages/MMPBSA_mods/amber_outputs.py&quot;,
> line 62, in __add__
> raise LengthError('length mismatch in energy vectors')
> LengthError: length mismatch in energy vectors
>
> how can I trace the problem associated with this error ?
>
>
>
> Thanks
>
>
>
>
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>


-- 
Jason M. Swails
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Sep 24 2024 - 10:00:03 PDT
Custom Search