Hi!
Have you tried the workaround suggested in another thread: Error compiling gromacs 2020.5 patched with Colvar module - #7 by giacomo.fiorin? Basically, add #include <limits>
line to the beginning (along with other #include
lines) of every file where such an error occurs.
Moderation note: I moved your post to “User discussions”, since it is not related to the website.