After following Mario's link, I still could not solve it. The same problem happens.
My command line is: lee@ubuntu:~/Jef/gromacs/gromacs-5.1.4/build$ cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON -- The CXX compiler identification is GNU 4.8.4 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- No compatible CUDA toolkit found (v4.0+), disabling native GPU acceleration -- Performing Test CXXFLAGS_PRAGMA -- Performing Test CXXFLAGS_PRAGMA - Success -- Performing Test CXXFLAGS_WARN -- Performing Test CXXFLAGS_WARN - Success -- Performing Test CXXFLAGS_WARN_EXTRA -- Performing Test CXXFLAGS_WARN_EXTRA - Success -- Performing Test CXXFLAGS_WARN_UNDEF -- Performing Test CXXFLAGS_WARN_UNDEF - Success -- Performing Test CXXFLAGS_WARN_REL -- Performing Test CXXFLAGS_WARN_REL - Success -- Performing Test CXXFLAGS_EXCESS_PREC -- Performing Test CXXFLAGS_EXCESS_PREC - Success -- Performing Test CXXFLAGS_COPT -- Performing Test CXXFLAGS_COPT - Success -- Performing Test CXXFLAGS_NOINLINE -- Performing Test CXXFLAGS_NOINLINE - Success CMake Warning at cmake/gmxTestCompilerProblems.cmake:44 (message): The versions of the C and C++ compilers do not match (4.8.2 and 4.8.4, respectively). Mixing different C/C++ compilers can cause problems. Call Stack (most recent call first): CMakeLists.txt:310 (gmx_test_compiler_problems) CMake Error at cmake/gmxManageSimd.cmake:67 (message): Cannot find AVX compiler flag. Use a newer compiler, or choose SSE4.1 SIMD (slower). Call Stack (most recent call first): cmake/gmxManageSimd.cmake:261 (gmx_give_fatal_error_when_simd_support_not_found) CMakeLists.txt:648 (gmx_manage_simd) -- Configuring incomplete, errors occurred! See also "/home/lee/Jef/gromacs/gromacs-5.1.4/build/CMakeFiles/CMakeOutput.log". See also "/home/lee/Jef/gromacs/gromacs-5.1.4/build/CMakeFiles/CMakeError.log". ------------------ Original ------------------ From: "mario";<ma...@exactas.unlpam.edu.ar>; Date: Thu, Jun 1, 2017 02:44 PM To: "gmx-users"<gmx-us...@gromacs.org>; Cc: "gromacs.org_gmx-users"<gromacs.org_gmx-users@maillist.sys.kth.se>; "ZHANG Cheng"<272699...@qq.com>; Subject: Re: [gmx-users] "cmake" failed to install Dear Cheng: I solved that problem by following step by step instructions of the next page: https://bioinformaticsreview.com/20151126/how-to-install-gromacs-5-x-x-on-linux-ubuntu-14-04-lts/ Best Regards Mario Campo Dpto FĂsica - UNLPam La Pampa Argentina > Dear Gromacs, > I did the below on Ubuntu 14.04: > > > tar xfz gromacs-5.1.4.tar.gz > cd gromacs-5.1.4 > mkdir build > cd build > > > > Then, I got error message when running: > cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON > > > The error log files can be found here: > https://1drv.ms/f/s!AjIs-W_id1LzobZfGThismE4so_SRQ > > > Can I ask how to solve this? > > > Thank you. > > > Yours sincerely > Cheng > -- > Gromacs Users mailing list > > * Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before > posting! > > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists > > * For (un)subscribe requests visit > https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send > a mail to gmx-users-requ...@gromacs.org. > -- Gromacs Users mailing list * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting! * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists * For (un)subscribe requests visit https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-requ...@gromacs.org.