Hello,
I am trying to use the -surf option in gmx rdf in order to compute the rdf of certain molecules from the surface (nearest atoms) of my reference molecule .
My script is: gmx rdf -s tpr.tpr -ref ‘resname URA’ -sel ‘resname OCS’ -f xtc.xtc -surf mol -seltype whole_mol_com -bin 0.03
Unfortunately, I get the following error: “Inconsistency in user input: -surf only works with -ref that consists of atoms”
Obviously my molecule consists of atoms. And different scripts that don’t have the -surf flag work perfectly fine.
Anyone has an idea what is the problem?
Here are things I’ve tried but didn’t change the error: