Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CMake Error at cmake/gmxTestCXX11.cmake:113 (message):
This version of GROMACS requires a C++11 compiler. Please use a newer
compiler or use the GROMACS 5.1.x release. See the installation guide for
details.
Call Stack (most recent call first):
CMakeLists.txt:164 (gmx_test_cxx11)
-- Configuring incomplete, errors occurred!
See also "/gromacs-2016.1/CMakeFiles/CMakeOutput.log".
See also "/gromacs-2016.1/CMakeFiles/CMakeError.log"
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #31.
Please test the new compilers :
$ rpm -qa gcc53-c++
... The reply should be gcc53-c++-5.3.0-1.el6.x86_64
$ which gcc53
$ which g++53
$ gcc53 -v
$ g++53 -v
And you can go back and read all answers until you get things right.
... Then hopefully you will get "CXX11_SUPPORTED - Success" :
Code:
gromacs-2016.3/build $ CC=gcc53 CXX=g++53 cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON
-- Performing Test CXXFLAG_STD_CXX0X
-- Performing Test CXXFLAG_STD_CXX0X - Success
-- Performing Test CXX11_SUPPORTED
-- Performing Test CXX11_SUPPORTED - Success
-- Performing Test CXX11_STDLIB_PRESENT
-- Performing Test CXX11_STDLIB_PRESENT - Success
-- Looking for NVIDIA GPUs present in the system
-- Number of NVIDIA GPUs detected: 1
[root@mqml build]# CC=gcc53 CXX=g++53 cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON
CMake Error at cmake/gmxTestCXX11.cmake:113 (message):
This version of GROMACS requires a C++11 compiler. Please use a newer
compiler or use the GROMACS 5.1.x release. See the installation guide for
details.
Call Stack (most recent call first):
CMakeLists.txt:164 (gmx_test_cxx11)
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #35.
gromacs-2016.x is a little different from other cmake builds.
With some software, you will have to delete CMakeCache.txt before re-configuring. But ``gromacs´´ saves the test result in some other files, which will not be replaced when re-configuring.
So once run with gcc-4.4.7, g++-4.4.7 : Delete all files in the build/ folder.
Then gcc53, g++53 will be recognized, when using $ CC=gcc53 CXX=g++53 cmake .. [options]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.