<br><br><div class="gmail_quote">On Sat, Oct 20, 2012 at 11:43 AM, Mirco Wahab <span dir="ltr">&lt;<a href="mailto:wahab-mail@gmx.de" target="_blank">wahab-mail@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 19.10.2012 16:51, Carsten Kutzner wrote:<br>
&gt; Yes, this is what happens if I get the newest version:<br>
<br>
</div>I tested this on a fresh-set up SuSE 12.2 x64 having a workable<br>
CUDA5.0 installation - it installs fine under &quot;some conditions&quot;.<br>
<br>
A newer cmake (2.8.9) came &quot;accidentially&quot; through <a href="http://build.opensuse.org/KDE" target="_blank">build.opensuse.org/KDE</a><br>
repository. </blockquote><div>Is that also the Suse modified version? </div><div>The srpm of 2.8.6 (for 12.1) contains: cmake-disable-builtin-chrpath.diff </div><div><div>Index: Source/cmTarget.cxx</div><div>===================================================================</div>

<div>--- Source/cmTarget.cxx.orig    2010-06-28 17:15:59.000000000 +0200</div><div>+++ Source/cmTarget.cxx 2010-07-20 22:27:13.000000000 +0200</div><div>@@ -3785,7 +3785,7 @@ bool cmTarget::IsChrpathUsed(const char*</div>

<div>     }</div><div> </div><div>   // Allow the user to disable builtin chrpath explicitly.</div><div>-  if(this-&gt;Makefile-&gt;IsOn(&quot;CMAKE_NO_BUILTIN_CHRPATH&quot;))</div><div>+  if(1 || this-&gt;Makefile-&gt;IsOn(&quot;CMAKE_NO_BUILTIN_CHRPATH&quot;))</div>

<div>     {</div><div>     return false;</div><div>     }</div></div><div><br></div><div>I find that very annoying that OpenSuse patches cmake in a way that it changes the behavior. And not only changes the default but also makes it so that it can&#39;t be changed!</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The compiler is gcc 4.3.4.<br>
<br>
One has now explicitely(?) to disable GPU acceleration<br>
by -DGMX_GPU=OFF - is this correct?<br>
<br>
gcc 4.3.4  CUDA5        build ok,   full install ok (gpu build)<br>
<br>
gcc 4.7.2  CUDA5        build fail,    -<br></blockquote><div>Cuda doesn&#39;t support gcc 4.7 you probably need to set  -DCUDA_NVCC_HOST_COMPILER=gcc-4.3 (or any other gcc &lt;4.7).</div><div> </div><div>Roland</div></div>

<div><br></div>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>