[gmx-developers] can't compile master with intel compilers 18.3

Szilárd Páll pall.szilard at gmail.com
Wed Mar 6 17:08:05 CET 2019


Hi,

I just tried to compile the master branch with intel compilers 18.3; with
gcc >= 6 the build system claims only icc 19 works, however with gcc 5.4 I
get:

$ make
Scanning dependencies of target libgromacs_generated
[  1%] Building CXX object
src/gromacs/CMakeFiles/libgromacs_generated.dir/selection/scanner.cpp.o
In file included from /opt/tcbsys/gcc/5.4/include/c++/5.4.0/cmath(44),
                 from
/nethome/pszilard-projects/gromacs/gromacs-master/src/gromacs/math/vec.h(102),
                 from
/nethome/pszilard-projects/gromacs/gromacs-master/src/gromacs/selection/parsetree.h(59),
                 from parser.y(77),
                 from scanner.l(63):
/opt/tcbsys/intel/compilers_and_libraries_2018.3.222/linux/compiler/include/math.h(1230):
error: identifier "_LIB_VERSION_TYPE" is undefined
  _LIBIMF_EXTERN_C _LIB_VERSIONIMF_TYPE _LIBIMF_PUBVAR _LIB_VERSIONIMF;
                   ^
Any ideas? Is icc 18.3 + gcc 5.4 known to work?

Software versions below.

Cheers,
--
Szilárd


$ icc --version
icc (ICC) 18.0.3 20180410
Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.

$ gcc --version
gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ grep GPLUSPLUS CMakeCache.txt
GMX_GPLUSPLUS_PATH:FILEPATH=/opt/tcbsys/gcc/5.4/bin/g++
GMX_GPLUSPLUS_VERSION:STRING=5.4.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20190306/6ba226e8/attachment.html>


More information about the gromacs.org_gmx-developers mailing list