Folks,

I am trying to compile gromacs 2020.1 with the Intel compilers (version 17.0.2). It fails with:

/home/herbert/gromacs-2020.1/src/gromacs/math/multidimarray.h(153): error: expression must have a constant value template<typename T = TContainer, typename = typename std::enable_if_t<!detail::is_resizable_v<T>>>

In file included from /home/herbert/gromacs-2020.1/src/gromacs/math/densityfit.cpp(49): /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/type_traits(2523): error: class "std::enable_if<<error-constant>, void>" has no member "type"
      using enable_if_t = typename enable_if<_Cond, _Tp>::type;

That last part seems to indicate that the problem is in the g++ libraries. Why does it use them at all? I have set CXX to icpc and sourced compilervars.sh. How do I get around this?

Thanks,

  Herbert
--
Herbert Fruchtl
Senior Scientific Computing Officer
School of Chemistry, School of Mathematics and Statistics University of St Andrews
--
The University of St Andrews is a charity registered in Scotland:
No SC013532
--
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.

Reply via email to