<div dir="ltr">Yes, this is Ubuntu server, but I I&#39;m using gcc installed from source -- so cmath is not as shipped by the OS, so that should not matter.<br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">--<br>Szilárd</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2019 at 5:51 PM Åke Sandgren &lt;<a href="mailto:ake.sandgren@hpc2n.umu.se">ake.sandgren@hpc2n.umu.se</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is this debian/ubuntu?<br>
<br>
See <a href="https://software.intel.com/en-us/forums/intel-c-compiler/topic/760979" rel="noreferrer" target="_blank">https://software.intel.com/en-us/forums/intel-c-compiler/topic/760979</a><br>
<br>
On 3/6/19 5:07 PM, Szilárd Páll wrote:<br>
&gt; Hi,<br>
&gt; <br>
&gt; I just tried to compile the master branch with intel compilers 18.3;<br>
&gt; with gcc &gt;= 6 the build system claims only icc 19 works, however with<br>
&gt; gcc 5.4 I get:<br>
&gt; <br>
&gt; $ make<br>
&gt; Scanning dependencies of target libgromacs_generated<br>
&gt; [  1%] Building CXX object<br>
&gt; src/gromacs/CMakeFiles/libgromacs_generated.dir/selection/scanner.cpp.o<br>
&gt; In file included from /opt/tcbsys/gcc/5.4/include/c++/5.4.0/cmath(44),<br>
&gt;                  from<br>
&gt; /nethome/pszilard-projects/gromacs/gromacs-master/src/gromacs/math/vec.h(102),<br>
&gt;                  from<br>
&gt; /nethome/pszilard-projects/gromacs/gromacs-master/src/gromacs/selection/parsetree.h(59),<br>
&gt;                  from parser.y(77),<br>
&gt;                  from scanner.l(63):<br>
&gt; /opt/tcbsys/intel/compilers_and_libraries_2018.3.222/linux/compiler/include/math.h(1230):<br>
&gt; error: identifier &quot;_LIB_VERSION_TYPE&quot; is undefined<br>
&gt;   _LIBIMF_EXTERN_C _LIB_VERSIONIMF_TYPE _LIBIMF_PUBVAR _LIB_VERSIONIMF;<br>
&gt;                    ^<br>
&gt; Any ideas? Is icc 18.3 + gcc 5.4 known to work?<br>
&gt; <br>
&gt; Software versions below.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; --<br>
&gt; Szilárd<br>
&gt; <br>
&gt; <br>
&gt; $ icc --version<br>
&gt; icc (ICC) 18.0.3 20180410<br>
&gt; Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.<br>
&gt; <br>
&gt; $ gcc --version<br>
&gt; gcc (GCC) 5.4.0<br>
&gt; Copyright (C) 2015 Free Software Foundation, Inc.<br>
&gt; This is free software; see the source for copying conditions.  There is NO<br>
&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
&gt; <br>
&gt; $ grep GPLUSPLUS CMakeCache.txt<br>
&gt; GMX_GPLUSPLUS_PATH:FILEPATH=/opt/tcbsys/gcc/5.4/bin/g++<br>
&gt; GMX_GPLUSPLUS_VERSION:STRING=5.4.0<br>
&gt; <br>
&gt; <br>
&gt; <br>
<br>
-- <br>
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden<br>
Internet: <a href="mailto:ake@hpc2n.umu.se" target="_blank">ake@hpc2n.umu.se</a>   Phone: +46 90 7866134 Fax: +46 90-580 14<br>
Mobile: +46 70 7716134 WWW: <a href="http://www.hpc2n.umu.se" rel="noreferrer" target="_blank">http://www.hpc2n.umu.se</a><br>
-- <br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.</blockquote></div>