<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Nabil,<div><br></div><div>You can specify the path to nvcc with the OPENMM_CUDA_COMPILER environment variable. &nbsp;So in your case,</div><div><br></div><div>export OPENMM_CUDA_COMPILER=/opt/cuda/bin/nvcc</div><div><br></div><div>See chapter 11 of the manual for more details.</div><div><br></div><div>Peter</div><div><br></div><div><br></div><div><div><div>On Jan 2, 2013, at 10:56 PM, Nabil Faruk &lt;<a href="mailto:nffaruk@gmail.com">nffaruk@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>Hi,<br></div>I have installed OpenMM 5.0 beta from source on our linux CentOS 5.6 machine. All of the CUDA tests fail after running <i>make test</i>. When running an individual test I received this error:<br>
<br><i>exception: Error launching CUDA compiler: 32512<br>sh: /usr/local/cuda/bin/nvcc: No such file or directory</i><br><br></div>I know that in my case the path should be <i>opt/cuda/bin/nvcc</i> and cmake seems to recognize it since in the CMakeCache.txt I have:<br>
<br><i>//Path to a program.<br>CUDA_NVCC_EXECUTABLE:FILEPATH=/opt/cuda/bin/nvcc</i><br><div><br></div><div>So why don't the tests realize this? Is there some environment variable that I should set? I didn't have this issue with OpenMM 4.1.1.<br>
<br></div><div>Thanks,<br clear="all"></div><div><br>-- <br>Nabil<br>
</div></div>
_______________________________________________<br>Openmm-betatesters mailing list<br><a href="mailto:Openmm-betatesters@simtk.org">Openmm-betatesters@simtk.org</a><br>https://simtk.org/mailman/listinfo/openmm-betatesters<br></blockquote></div><br></div></body></html>