[gmx-developers] cmake goes into eternal loop

Jeff Hammond jhammond at alcf.anl.gov
Thu May 9 16:51:57 CEST 2013

See http://cmake.3232098.n2.nabble.com/Infinite-loop-with-cmake-2-8-10-2-td7582723.html
for details.  The fix is crude but trivial.

There are a number of references to "cmake infinite loop" on Google,
btw.  It seems that they are all related to the same fundamental
problem but I haven't verified this.


On Thu, May 9, 2013 at 8:44 AM, David van der Spoel
<spoel at xray.bmc.uu.se> wrote:
> Hi,
> I'm trying to compile the master branch using clang and having the following
> problem:
> % setenv CC ~/bin/checker-274/bin/clang
> % setenv CXX ~/bin/checker-274/bin/clang++
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files....
> You have changed variables that require your cache to be deleted.
> Configure will be re-run and you may have to reset some variables.
> The following variables have changed:
> CMAKE_C_COMPILER= /Users/spoel/bin/checker-274/bin/clang
> CMAKE_CXX_COMPILER= /Users/spoel/bin/checker-274/bin/clang++
> CMake Warning at CMakeLists.txt:237 (message):
>   The compiler you are using does not support OpenMP parallelism.  This
> might hurt your performance a lot, in particular with GPUs.  Try using a
> more recent version, or a different compiler.  For now, we are proceeding by
> turning off OpenMP.
> And these last two text blocks repeat until I Ctrl-C it.
> Any clue?
> Note that I turn off OpenMP manually but that doesn't seem to be registered.
> --
> 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
> --
> 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.

Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
ALCF docs: http://www.alcf.anl.gov/user-guides

More information about the gromacs.org_gmx-developers mailing list