# Gromacs(2016)/Spack Compilation Fails- error: 'numeric\_limits' is not a member of 'std'

**URL:** <https://gromacs.bioexcel.eu/t/gromacs-2016-spack-compilation-fails-error-numeric-limits-is-not-a-member-of-std/6069>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [March 29, 2023, 2:24am UTC](https://gromacs.bioexcel.eu/t/gromacs-2016-spack-compilation-fails-error-numeric-limits-is-not-a-member-of-std/6069 "2023-03-29T02:24:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![al42and](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/al42and/32/1393_2.png) [@al42and](https://gromacs.bioexcel.eu/u/al42and)\
**Post date:** [March 29, 2023, 11:12am UTC](https://gromacs.bioexcel.eu/t/gromacs-2016-spack-compilation-fails-error-numeric-limits-is-not-a-member-of-std/6069/2 "2023-03-29T11:12:56Z")

</div>

Hi!

What’s going wrong is that GROMACS 2016 is too old and does not support new compilers. If you really need to use GROMACS 2016, you can add

```
#include <limits>

```

att the top (near other includes) in the troublesome files.

---

_[View the full topic](https://gromacs.bioexcel.eu/t/gromacs-2016-spack-compilation-fails-error-numeric-limits-is-not-a-member-of-std/6069)._
