[gmx-users] problem of compiling

Kutzner, Carsten ckutzne at gwdg.de
Tue Nov 3 11:37:48 CET 2015


> On 03 Nov 2015, at 11:30, Albert <mailmd2011 at gmail.com> wrote:
> 
> Hello:
> 
> I am trying to compile Gromacs-5.0.7 with command:
> 
> 
> CC=mpicc CXX=mpicxx F77=mpif90 FC=mpif90 LDF90=mpif90 CMAKE_PREFIX_PATH=/home/albert/install/intel/mkl/include/fftw:/home/albert/install/intel/impi cmake .. -DBUILD_SHARED_LIB=OFF -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/home/albert/install/gromacs/5.0.7 -DGMX_MPI=ON -DGMX_GPU=ON -DGMX_PREFER_STATIC_LIBS=ON -DCUDA_TOOLKIT_ROOT_DIR=/opt/common/cuda
> 
> but it failed with messages:
> 
> CMake Error at cmake/gmxTestSimd.cmake:244 (message):
>  Cannot find AVX2 compiler flag.  Use a newer compiler, or choose AVX SIMD
>  (slower).
> Call Stack (most recent call first):
>  CMakeLists.txt:729 (gmx_test_simd)
> 
> 
> I am using gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5). Cmake version. 3.3.2
AVX2 is only supported from gcc 4.7.0 on.

Carsten


> 
> Does anybody have any idea?
> 
> Thx a lot
> 
> -- 
> 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-request at gromacs.org.



More information about the gromacs.org_gmx-users mailing list