[gmx-developers] make install-mdrun

Roland Schulz roland at utk.edu
Sat Oct 20 18:26:47 CEST 2012


On Sat, Oct 20, 2012 at 11:43 AM, Mirco Wahab <wahab-mail at gmx.de> wrote:

> On 19.10.2012 16:51, Carsten Kutzner wrote:
> > Yes, this is what happens if I get the newest version:
>
> I tested this on a fresh-set up SuSE 12.2 x64 having a workable
> CUDA5.0 installation - it installs fine under "some conditions".
>
> A newer cmake (2.8.9) came "accidentially" through build.opensuse.org/KDE
> repository.

Is that also the Suse modified version?
The srpm of 2.8.6 (for 12.1) contains: cmake-disable-builtin-chrpath.diff
Index: Source/cmTarget.cxx
===================================================================
--- Source/cmTarget.cxx.orig    2010-06-28 17:15:59.000000000 +0200
+++ Source/cmTarget.cxx 2010-07-20 22:27:13.000000000 +0200
@@ -3785,7 +3785,7 @@ bool cmTarget::IsChrpathUsed(const char*
     }

   // Allow the user to disable builtin chrpath explicitly.
-  if(this->Makefile->IsOn("CMAKE_NO_BUILTIN_CHRPATH"))
+  if(1 || this->Makefile->IsOn("CMAKE_NO_BUILTIN_CHRPATH"))
     {
     return false;
     }

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't be changed!


> The compiler is gcc 4.3.4.
>
> One has now explicitely(?) to disable GPU acceleration
> by -DGMX_GPU=OFF - is this correct?
>
> gcc 4.3.4  CUDA5        build ok,   full install ok (gpu build)
>
> gcc 4.7.2  CUDA5        build fail,    -
>
Cuda doesn't support gcc 4.7 you probably need to
set  -DCUDA_NVCC_HOST_COMPILER=gcc-4.3 (or any other gcc <4.7).

Roland

-- 
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20121020/ef5d3208/attachment.html>


More information about the gromacs.org_gmx-developers mailing list