# Gmx hbond error

**URL:** <https://gromacs.bioexcel.eu/t/gmx-hbond-error/7325>\
**Category:** User discussions\
**Tags:** analysis-tools\
**Created:** [October 3, 2023, 7:53pm UTC](https://gromacs.bioexcel.eu/t/gmx-hbond-error/7325 "2023-10-03T19:53:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrdhmal](https://avatars.discourse-cdn.com/v4/letter/n/958977/32.png) [@nrdhmal](https://gromacs.bioexcel.eu/u/nrdhmal)\
**Post date:** [October 3, 2023, 7:53pm UTC](https://gromacs.bioexcel.eu/t/gmx-hbond-error/7325/1 "2023-10-03T19:53:34Z")

</div>

GROMACS version:2023 and 5.1.4  
GROMACS modification: Yes/No  
Hello,  
I am trying to calculate HB life using gmx hbond analysis tool.  
gmx hbond -f traj.trr -s npt\_equ\_300.tpr -n hb.ndx -ac

hb.ndx file have  
[H1]  
1 2  
1 3  
[oxy]  
187  
202

Gromacs 5.1.4 version gives the segmentation error and Gromacs-2023 version gives following error

Program: gmx hbond, version 2023  
Source file: src/gromacs/correlationfunctions/manyautocorrelation.cpp (line 61)  
Function: int many\_auto\_correl(std::vector\<std::vector \>\*)

Inconsistency in user input:  
Empty vector supplied

How to resolve this issue?
