[gmx-developers] can't compile master with intel compilers 18.3
Åke Sandgren
ake.sandgren at hpc2n.umu.se
Wed Mar 6 17:50:53 CET 2019
Is this debian/ubuntu?
See https://software.intel.com/en-us/forums/intel-c-compiler/topic/760979
On 3/6/19 5:07 PM, Szilárd Páll wrote:
> 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
>
>
>
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake at hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
More information about the gromacs.org_gmx-developers
mailing list