[gmx-users] Fwd: CUDA compilation problem for Gromacs 5.1.2 (with fix)

Sjoerd de Vries sjdv1982 at gmail.com
Tue May 10 17:28:22 CEST 2016


Hello,

I ran into a CUDA compilation problem for Gromacs 5.1.2 with GPU support
under Kubuntu 16.04. The same problem happens with other software, e.g.

https://github.com/tensorflow/tensorflow/issues/1346

For me, adding the following line (gmxManageNvccConfig.cmake, line 219)
solved it:

list(APPEND GMX_CUDA_NVCC_FLAGS "-D_FORCE_INLINES
-D_MWAITXINTRIN_H_INCLUDED")

I hope it can help anyone.

cheers

Sjoerd


More information about the gromacs.org_gmx-users mailing list