<div dir="ltr">Yes, this is Ubuntu server, but I I'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 <<a href="mailto:ake.sandgren@hpc2n.umu.se">ake.sandgren@hpc2n.umu.se</a>> 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>
> Hi,<br>
> <br>
> I just tried to compile the master branch with intel compilers 18.3;<br>
> with gcc >= 6 the build system claims only icc 19 works, however with<br>
> gcc 5.4 I get:<br>
> <br>
> $ make<br>
> Scanning dependencies of target libgromacs_generated<br>
> [ 1%] Building CXX object<br>
> src/gromacs/CMakeFiles/libgromacs_generated.dir/selection/scanner.cpp.o<br>
> In file included from /opt/tcbsys/gcc/5.4/include/c++/5.4.0/cmath(44),<br>
> from<br>
> /nethome/pszilard-projects/gromacs/gromacs-master/src/gromacs/math/vec.h(102),<br>
> from<br>
> /nethome/pszilard-projects/gromacs/gromacs-master/src/gromacs/selection/parsetree.h(59),<br>
> from parser.y(77),<br>
> from scanner.l(63):<br>
> /opt/tcbsys/intel/compilers_and_libraries_2018.3.222/linux/compiler/include/math.h(1230):<br>
> error: identifier "_LIB_VERSION_TYPE" is undefined<br>
> _LIBIMF_EXTERN_C _LIB_VERSIONIMF_TYPE _LIBIMF_PUBVAR _LIB_VERSIONIMF;<br>
> ^<br>
> Any ideas? Is icc 18.3 + gcc 5.4 known to work?<br>
> <br>
> Software versions below.<br>
> <br>
> Cheers,<br>
> --<br>
> Szilárd<br>
> <br>
> <br>
> $ icc --version<br>
> icc (ICC) 18.0.3 20180410<br>
> Copyright (C) 1985-2018 Intel Corporation. All rights reserved.<br>
> <br>
> $ gcc --version<br>
> gcc (GCC) 5.4.0<br>
> Copyright (C) 2015 Free Software Foundation, Inc.<br>
> This is free software; see the source for copying conditions. There is NO<br>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
> <br>
> $ grep GPLUSPLUS CMakeCache.txt<br>
> GMX_GPLUSPLUS_PATH:FILEPATH=/opt/tcbsys/gcc/5.4/bin/g++<br>
> GMX_GPLUSPLUS_VERSION:STRING=5.4.0<br>
> <br>
> <br>
> <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'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>