[gmx-developers] compiling: boost problem and error with icc

Roland Schulz roland at utk.edu
Sat Jul 28 02:24:48 CEST 2012


Hi,

On Fri, Jul 27, 2012 at 7:10 AM, Jochen Hub <jhub at gwdg.de> wrote:

> [  3%] Building CXX object
> src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/dataproxy.cpp.o
>
> /usr/users/jhub/src/gmx/gromacs/src/gromacs/analysisdata/../utility/gmxassert.h(43):
> catastrophic error: could not open source file
> "boost/exception/detail/attribute_noreturn.hpp"
>    #include <boost/exception/detail/attribute_noreturn.hpp>
>                                                            ^
> cmake reports no problems:
> -- Boost version: 1.36.0
>
> I used icc 11.1 with
> cmake $gmxsrc   -DGMX_MPI=OFF -DGMX_PREFER_STATIC_LIBS=ON
> -DGMX_OPENMP=OFF -DGMX_ACCELERATION=SSE4.1
>
> Is this a Gromacs configure problem, or is my boost installation erroneous?

Use cmake -DGMX_INTERNAL_BOOST=on or use https://gerrit.gromacs.org/#/c/1232/.

> Second problem on a Nehalem machine, also icc 11.1, I run into the
> following errors, using the same cmake command. I have no clue what that
> means:
>
> include/c++/4.3/tr1/tuple(89): error: expected an identifier
>      template<int _Idx, typename _Head, typename... _Tail>

See http://code.google.com/p/googletest/issues/detail?id=100
ICC 11.1 doesn't seem to be compatible with g++/stl 4.3 libraries.
Try to use different version of either compiler or stl library or do
the workaround on the page (-DGTEST_HAS_TR1_TUPLE=0).

Roland

>
>
> Jochen
>
> ps: I am on vacation in a few hours, so I may not reply to e-mail quite
> soon.
>
>
> --
> ---------------------------------------------------
> Dr. Jochen Hub
> Computational Molecular Biophysics Group
> Institute for Microbiology and Genetics
> Georg-August-University of Göttingen
> Justus-von-Liebig-Weg 11, 37077 Göttingen, Germany.
> Phone: +49-551-39-14189
> http://cmb.bio.uni-goettingen.de/
> ---------------------------------------------------
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>
>
>
>



-- 
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309



More information about the gromacs.org_gmx-developers mailing list