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

Szilárd Páll pall.szilard at gmail.com
Wed Mar 6 18:40:39 CET 2019


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.
--
Szilárd


On Wed, Mar 6, 2019 at 5:51 PM Åke Sandgren <ake.sandgren at hpc2n.umu.se>
wrote:

> 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
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_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-developers
> or send a mail to gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20190306/4b35a06e/attachment-0001.html>


More information about the gromacs.org_gmx-developers mailing list