<div>Hello!</div><div> </div><div>I'm trying to install gromacs 5.1.4 on my Ubuntu 16.04. I've unpacked sources, made build dir, launched from it "<span style="font-family:monospace;"><span style="background-color:#ffffff;color:#000000;">cmake .. -DGMX_BUILD_OWN_FFTW=ON -DGMX_GPU=ON -DGMX_DOUBLE=off" - it worked fine, then ran "make". Compilation was ok, but linker returned an error "collect2: error: ld returned 1 exit status</span></span>" and a lot of undefined references, like that:</div><div> </div><div><div>[ 98%] Linking CXX executable ../../bin/template</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecRF_VdwLJ_GeomP1P1_F_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecCoul_VdwNone_GeomW3P1_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecRF_VdwLJ_GeomW4W4_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecNone_VdwLJ_GeomP1P1_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecEw_VdwLJ_GeomW4W4_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nbnxn_kernel_ElecQSTabTwinCut_VdwLJCombGeom_F_2xnn'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecGB_VdwNone_GeomP1P1_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecRF_VdwNone_GeomW4W4_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecRFCut_VdwNone_GeomW3P1_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecRFCut_VdwNone_GeomW4W4_VF_avx_256_single'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nbnxn_kernel_ElecQSTab_VdwLJEwCombGeom_VgrpF_4xn'</div><div>../../lib/libgromacs.so.1.4.0: undefined reference to `nb_kernel_ElecRF_VdwCSTab_GeomW4W4_VF_avx_256_single'</div></div><div> </div><div>After that I've tried to build and use fftw3, switch from avx to sse4.1, switch from gcc-5 to gcc-4.9, but these (or very similar) errors didn't disappear. Also I've tried gromacs versions 5.1.3 and 5.0.4 but I've got the same problem.</div><div>For more information see the full make log by link http://pastebin.com/UeyfPdgA or tail of it with all the errors in attached file.</div><div>Can you please help me finding the reason of this problem?</div><div> </div><div>Thanks in advance,</div><div>Andrey</div>