Inconsistent incrementation of atomic numbers with glatnr in warning about 1-4 interactions past table dimensions
In do_listed_vdw_q in src/gmxlib/nonbonded.c, the warning for 1-4 interactions outside the table dimensions calls glatnr to get a global atomic number. That function in src/gmxlib/bondfree.c does the table lookup (if needed) and increments the number so it's an atomic number (1...N) rather than an index (0..N-1), and so does the DD version dd_glatnr in src/mdlib/domdec.c. However the result of glatnr is incremented again in the output of do_listed_vdw_q, which is erroneous.
To fix, I guess one can just remove the four instances of +1 after calls to glatnr in src/gmxlib/nonbonded.c.