[gmx-developers] master branch does not compile
David van der Spoel
spoel at xray.bmc.uu.se
Wed Feb 9 14:44:13 CET 2011
On 2011-02-08 23.39, Justin A. Lemkul wrote:
>
>
> Roland Schulz wrote:
>>
>>
>> On Sun, Feb 6, 2011 at 3:59 PM, David van der Spoel
>> <spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>> wrote:
>>
>> On 2011-02-06 21.50, Roland Schulz wrote:
>>
>> Hi,
>>
>> it compiles fine with gcc 4.3.x, 4.4.x and 4.5.x (assuming minor
>> version
>> behave the same).
>>
>> This seems to be a bug in 4.2 because this line is not
>> calling OptionInfo(const gmx::OptionInfo&) but OptionInfo(const
>> AbstractOptionStorage &option). And the later is not private so
>> it is OK.
>>
>> 4.2 is not maintained anymore. Do we want to support 4.2
>> nonetheless?
>>
>>
>> Nja, on Apple it is less simple to update compilers than on Linux.
>> I'll try it on my cluster later on.
>>
>>
>> DarwinPorts has gcc 4.4:
>> http://gcc44.darwinports.com/
>>
>
> Some of us are still in the dark ages, and without getting into too much
> detail, suffice it to say that the only GCC I can have access to on our
> main cluster are versions 3.3 and 4.2.2, which suffer from the problem
> David reported. I would hope that Gromacs would remain backwards
> compatible, but I realize that I might be asking too much. We have some
> smaller clusters with newer GCC (>=4.3), but our main supercomputer is
> somewhat outdated and will not be updated.
>
> Just wanted to throw that fact out there. I realize there are compelling
> reasons to make use of features accessible to newer compilers (and that
> most people will have access to them), but that's not always possible
> for some of us.
>
Indeed, however, in this case it seems to be a compiler bug rather than
a new feature (according to Roland). If it is a compiler bug then it
doesn't make much sense to work around bugs in old compilers that we
don't recommend anyway, unless it is very easy. I don't know enough C++
yet to do it though. Any volunteers?
> -Justin
>
>> <http://gcc44.darwinports.com/>Roland
>>
>>
>> Roland
>>
>> On Sun, Feb 6, 2011 at 2:31 PM, David van der Spoel
>> <spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>
>> <mailto:spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>>> wrote:
>>
>> On 2011-02-06 20.28, Roland Schulz wrote:
>>
>> Hi,
>>
>> for me it compiles. What Compiler (+Version)?
>>
>>
>> [artemisia:~] % gcc --version
>> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
>>
>>
>>
>> Roland
>>
>> On Sun, Feb 6, 2011 at 1:39 PM, David van der Spoel
>> <spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>
>> <mailto:spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>>
>> <mailto:spoel at xray.bmc.uu.se
>> <mailto:spoel at xray.bmc.uu.se> <mailto:spoel at xray.bmc.uu.se
>> <mailto:spoel at xray.bmc.uu.se>>>> wrote:
>>
>> [ 8%] Building CXX object
>>
>> src/gromacs/CMakeFiles/libgromacs.dir/options/optionsvisitor.cpp.o
>>
>> /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.h:
>> In member function 'void
>> gmx::OptionsIterator::acceptOptions(gmx::OptionsVisitor*)
>> const':
>>
>> /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.h:93:
>> error:
>> 'gmx::OptionInfo::OptionInfo(const gmx::OptionInfo&)' is
>> private
>>
>> /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.cpp:139:
>> error: within this context
>>
>> Any clue?
>> --
>> David van der Spoel, Ph.D., Professor of Biology
>> Dept. of Cell & Molec. Biol., Uppsala University.
>> Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
>> spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>
>> <mailto:spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>>
>> <mailto:spoel at xray.bmc.uu.se
>> <mailto:spoel at xray.bmc.uu.se> <mailto:spoel at xray.bmc.uu.se
>> <mailto:spoel at xray.bmc.uu.se>>>
>>
>>
>> http://folding.bmc.uu.se
>> --
>> gmx-developers mailing list
>> gmx-developers at gromacs.org
>> <mailto:gmx-developers at gromacs.org>
>> <mailto:gmx-developers at gromacs.org
>> <mailto:gmx-developers at gromacs.org>>
>> <mailto:gmx-developers at gromacs.org
>> <mailto:gmx-developers at gromacs.org>
>> <mailto:gmx-developers at gromacs.org
>> <mailto: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
>> <mailto:gmx-developers-request at gromacs.org>
>> <mailto:gmx-developers-request at gromacs.org
>> <mailto:gmx-developers-request at gromacs.org>>
>> <mailto:gmx-developers-request at gromacs.org
>> <mailto:gmx-developers-request at gromacs.org>
>> <mailto:gmx-developers-request at gromacs.org
>> <mailto:gmx-developers-request at gromacs.org>>>.
>>
>>
>>
>>
>>
>> --
>> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
>> <http://cmb.ornl.gov>
>> <http://cmb.ornl.gov> <http://cmb.ornl.gov>
>>
>>
>> 865-241-1537, ORNL PO BOX 2008 MS6309
>>
>>
>>
>> --
>> David van der Spoel, Ph.D., Professor of Biology
>> Dept. of Cell & Molec. Biol., Uppsala University.
>> Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
>> spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>
>> <mailto:spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>>
>> http://folding.bmc.uu.se
>> --
>> gmx-developers mailing list
>> gmx-developers at gromacs.org
>> <mailto:gmx-developers at gromacs.org>
>> <mailto:gmx-developers at gromacs.org
>> <mailto: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
>> <mailto:gmx-developers-request at gromacs.org>
>> <mailto:gmx-developers-request at gromacs.org
>> <mailto:gmx-developers-request at gromacs.org>>.
>>
>>
>>
>>
>>
>> --
>> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
>> <http://cmb.ornl.gov> <http://cmb.ornl.gov>
>> 865-241-1537, ORNL PO BOX 2008 MS6309
>>
>>
>>
>> -- David van der Spoel, Ph.D., Professor of Biology
>> Dept. of Cell & Molec. Biol., Uppsala University.
>> Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
>> spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>
>> http://folding.bmc.uu.se
>> -- gmx-developers mailing list
>> gmx-developers at gromacs.org <mailto: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
>> <mailto:gmx-developers-request at gromacs.org>.
>>
>>
>>
>>
>>
>> --
>> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
>> <http://cmb.ornl.gov>
>> 865-241-1537, ORNL PO BOX 2008 MS6309
>>
>
--
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
spoel at xray.bmc.uu.se http://folding.bmc.uu.se
More information about the gromacs.org_gmx-developers
mailing list