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

Jochen Hub jhub at gwdg.de
Tue Aug 14 14:47:46 CEST 2012



Am 7/28/12 2:24 AM, schrieb Roland Schulz:
> 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).

Hi Roland,

many thanks for the help. With gcc and -DGMX_INTERNAL_BOOST=on I now 
managed to compile the master.

Thanks again,
Jochen


>
> 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.
>>
>>
>>
>>
>
>
>

-- 
---------------------------------------------------
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/
---------------------------------------------------



More information about the gromacs.org_gmx-developers mailing list