GROMACS version: 2024.1
GROMACS modification: Yes/No
I’m new posting in the forum, but a long time GROMACS user. I have been working with the colvars module as implemented in GROMACS 2024.1 and am having problems with the “customFunction” command that allows for creating your own collective variables.
Below is an example of a very simple colvars.config script that fails with “Error: keyword “customfunction” is not supported, or not recognized in this context.”
colvar {
name custom
customFunction { x^2 }
distance {
name x
group1 { atomNumbers 1 }
group2 { atomNumbers 2 }
}
}
Any thoughts on how to fix this issue? I don’t mind tweaking the source code if that is needed.
Marty