[gmx-developers] Gromacs-2016.1 Windows VS2015 + CUDA8
Wahab Mirco
Mirco.Wahab at chemie.tu-freiberg.de
Tue Nov 22 23:41:22 CET 2016
I'm about to build 2016.1 on a windows machine w/VS2015
and hitting a wall:
...
2> Building NVCC (Device) object
src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_cuda/Release/libgromacs_generated_nbnxn_cuda.cu.obj
2> nbnxn_cuda.cu
2>
2>CUSTOMBUILD : nvcc warning : The 'compute_20', 'sm_20', and 'sm_21'
architectures are deprecated, and may be removed in a future release
(Use -Wno-deprecated-gpu-targets to suppress warning).
2>
2>D:/LibSrc/Gromacs2016/gromacs-2016.1/src\gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh(351):
error : identifier "c_oneSixth" is undefined
2>D:/LibSrc/Gromacs2016/gromacs-2016.1/src\gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_fermi.cuh(243):
error : identifier "c_oneSixth" is undefined in device code
...
and so on. A quick look into the file reveals "c_oneSixth" at line 78:
[nbnxn_cuda_kernel_utils.cuh]
...
78: static const float c_oneSixth = 0.16666667f;
79: static const float c_oneTwelveth = 0.08333333f;
...
I'm not sure where to start looking for a solution ...
Regards
Mirco
More information about the gromacs.org_gmx-developers
mailing list