<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    *{
        margin: 0;
        padding: 0;
    }
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style = 'font-family:"微软雅黑"; line-height:1.6;'>
    
<style>
    *{
        margin: 0;
        padding: 0;
    }
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style="font-family:&quot;微软雅黑&quot;; line-height:1.6;">
    
<div><span><div><p class="MsoNormal"><span style="font-size:11.0pt">Thanks Mark</span><span lang="ZH-CN" style="font-size:11.0pt;font-family:宋体;mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;mso-fareast-font-family:宋体;mso-fareast-theme-font:
minor-fareast;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin">,</span><span style="font-size:11.0pt"><o:p></o:p></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;</span></p>

<p class="MsoNormal"><span style="line-height: 1.6;">&nbsp; &nbsp;&nbsp;</span><span style="font-size:11.0pt">I tried to download your
modified nbnxn_cuda.cu file from <a href="https://gerrit.gromacs.org/c/7538/">https://gerrit.gromacs.org/c/7538/</a>
, but also have same error (</span><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;E:/User-software/gromacs-2016.1/gromacs-2016.1/src\gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_fermi.cuh(406): error : identifier "c_oneTwelveth" is undefined in device code</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;E:/User-software/gromacs-2016.1/gromacs-2016.1/src\gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_fermi.cuh(243): error : identifier "c_oneSixth" is undefined in device code</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;Error limit reached.</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;100 errors detected in the compilation of "C:/Users/Mr-Liu/AppData/Local/Temp/tmpxft_00003198_00000000-52_nbnxn_cuda.compute_20.cpp2.i".</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;Compilation terminated.</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;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).</span></p><p class="MsoNormal"><span style="font-size: 14.6667px; line-height: 23.4667px;">2&gt;nbnxn_cuda.cu</span><span style="font-size:11.0pt">)</span></p><p class="MsoNormal"><span style="font-size: 11pt; line-height: 1.6;"><br></span></p><p class="MsoNormal"><span style="font-size: 11pt; line-height: 1.6;">&nbsp;</span><span style="line-height: 1.6;">&nbsp; &nbsp;&nbsp;</span><span style="font-size: 11pt; line-height: 1.6;">Additionally, I added some words, like “-Xcompiler “/wd4819””
at CUDA_NVCC_FLAGS when I use CMAKE GUI in order to avoid some warnings, like follows:</span></p><p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></p></div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(849): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(1787): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(2637): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(3492): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(4431): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(5345): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(6252): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(7142): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(7956): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h(774): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h(1618): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_double_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\sm_20_intrinsics.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>2&gt;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\sm_20_intrinsics.h(943): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss</div><div>3&gt;resource-division.cpp</div></span></div>
<div>&nbsp;</div><div>&nbsp;&nbsp;&nbsp;&nbsp;I don't know whether&nbsp;<span style="line-height: 22.4px;">my operation</span><span style="line-height: 22.4px;">&nbsp;</span><span style="line-height: 1.6;">is correct?? Besides, I built windows gromacs is based on this website mentioned (</span>https://www.researchgate.net/post/I_need_to_install_GROMACS_on_windows_10_64_bit_system_Can_anyone_help_me_with_a_step_by_step_tutorial<span style="line-height: 1.6;">). My GPU is GTX950m belongs to notebook, which is not support "sm_20"</span></div><div><span style="line-height: 1.6;"><br></span></div><div><span style="line-height: 1.6;">Thanks again,</span></div><div>Yujie Liu</div>
<div><span><br></span></div>
<div id="ntes-pcmail-signature" style="font-family:'微软雅黑'">
    <style type="text/css">
        a#ntes-pcmail-signature-default:hover {
            text-decoration: underline;
            color: #199cff;
            cursor: pointer;
        }
        a#ntes-pcmail-signature-default:active {
            text-decoration: underline;
            color: #246fce;
            cursor: pointer;
        }
    </style>


</div><!--😀-->
</div><!--😀-->
</div>
</body>
</html>