[gmx-users] gmx-4.5.3 CMake build fails

Reinhold Bader Reinhold.Bader at lrz.de
Tue Dec 14 10:02:33 CET 2010


 Hello,

   building gromacs 4.5.3 with Cmake 2.6.3 fails because the build system cannot link
  g_analyze

Linking C executable g_analyze
../gmxlib/libgmx.a(gmx_matrix.c.o): In function `matrix_invert':
gmx_matrix.c:(.text+0x1d62): undefined reference to `dgetrf_'
gmx_matrix.c:(.text+0x2442): undefined reference to `dgetri_'

  Note that I have

 GMX_EXTERNAL_BLAS --> ON
 GMX_EXTERNAL_LAPACK --> ON

  and the subsequently requested MKL_ settings have been properly inserted. I've tried
  to work around this by also adding the MKL libraries to CMAKE_EXE_LINKER_FLAGS,
  without avail.

  Any ideas?

Regards
Reinhold



More information about the gromacs.org_gmx-users mailing list