On Oct 19, 2010, at 10:12 AM, Jose E. Roman wrote: > Probably you already tried, but I successfully built petsc-dev with CUDA 3.2 > and the latest versions of thrust and cusp. See below the required patch for > BuildSystem. > > Do you plan to support the latest versions only?
We plan to support only one version of thrust and cusp at a time. (It seems the cusp and thrust lag the CUDA x.x releases slightly and we track the cusp and thrust). Victor is updating now. Barry > > Jose > > diff -r 7fcb25f97314 config/packages/cusp.py > --- a/config/packages/cusp.py Fri Oct 15 23:22:39 2010 -0500 > +++ b/config/packages/cusp.py Tue Oct 19 17:10:15 2010 +0200 > @@ -4,7 +4,7 @@ > class Configure(config.package.Package): > def __init__(self, framework): > config.package.Package.__init__(self, framework) > - self.version = '101' #Version 0.1.1 > + self.version = '102' #Version 0.1.2 > self.versionStr = str(int(self.version)/100000) + '.' + > str(int(self.version)/100%1000) + '.' + str(int(self.version)%100) > self.download = > ['http://cusp-library.googlecode.com/files/cusp-v'+self.versionStr+'.zip'] > self.includes = ['cusp/version.h'] > diff -r 7fcb25f97314 config/packages/thrust.py > --- a/config/packages/thrust.py Fri Oct 15 23:22:39 2010 -0500 > +++ b/config/packages/thrust.py Tue Oct 19 17:10:15 2010 +0200 > @@ -4,7 +4,7 @@ > class Configure(config.package.Package): > def __init__(self, framework): > config.package.Package.__init__(self, framework) > - self.version = '100201' #Version 1.2.1 > + self.version = '100300' #Version 1.3.0 > self.versionStr = str(int(self.version)/100000) + '.' + > str(int(self.version)/100%1000) + '.' + str(int(self.version)%100) > self.download = > ['http://thrust.googlecode.com/files/thrust-v'+self.versionStr+'.zip'] > self.includes = ['thrust/version.h'] > diff -r 7fcb25f97314 config/setCompilers.py > --- a/config/setCompilers.py Fri Oct 15 23:22:39 2010 -0500 > +++ b/config/setCompilers.py Tue Oct 19 17:10:15 2010 +0200 > @@ -513,7 +513,7 @@ > > def checkCUDACompiler(self): > '''Locate a functional CUDA compiler''' > - requiredVersion = '3.1' > + requiredVersion = '3.2' > if 'with-cudac' in self.framework.argDB and > self.framework.argDB['with-cudac'] == '0': > if 'CUDAC' in self.framework.argDB: > del self.framework.argDB['CUDAC'] >
