GROMACS version: 2023
GROMACS modification: Yes, but hbond has not been touched
Hi, I keep getting ‘low level’ errors when running gmx hbond -life with Gromacs 2023.
When supplying a trajectory generated with a older version I get a note (but no warning or error) and then a segmentation fault, whereas when I supply a trajectory generated with the same version I get either:
-------------------------------------------------------
Program: gmx hbond, version 2023.1
Memory allocation failed:
std::bad_alloc
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------
Hi Michele,
Thank you for reporting. Maybe a memory allocation problem. I have run some test with the option -num on my local machine. I did not have encounter any error. I did not run any test for -lifetime. Does the option -lifetime work for gmx hbond in GROMACS 2022?
You can report the issue on GitLab or/and test the new implementation of hbond. Note There is working going on to new version of gmx hbond on Gitlab see merge request Merge requests · GROMACS / GROMACS · GitLab
Note that the new tool is called hbond2
It will be great if you could test for your case and give feedback to the authors.
I am not sure that the option -lifetime is implemented, in case it is not I feel that it is important option to have. Please ask if it is possible
Thank you for the help
Alessandra
I assume the definition of lifetime that the -life option uses is not very useful. I can’t find any definition in the help text though (which by itself is already an issue).
Doing autocorrelation according to the theory of Luzar and Chandler.
-------------------------------------------------------
Program: gmx hbond, version 2023-flow_field-dev
Source file: src/gromacs/correlationfunctions/manyautocorrelation.cpp (line 61)
Function: int many_auto_correl(std::vector<std::vector<float> >*)
Inconsistency in user input:
Empty vector supplied
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------
But I guess this is just because the arrays for output of gmx hbond were not initialized, I’ll try the fixed code.
I also got crazy numbers when I used gmx hbond in 2023.1, like “Average number of hbonds per timeframe -640700.743 out of 2875 possible”. I am running simulations for my study, should I install earlier version to obtain correct results?