Thanks, that worked. I also had to add that line to config/PETSc/packages/threadcomm.py and config/PETSc/packages/pthreadclasses.py. I hope this won't break anything.
Cheers, Mani On Mon, Jan 20, 2014 at 7:02 PM, Matthew Knepley <[email protected]> wrote: > On Mon, Jan 20, 2014 at 6:44 PM, Mani Chandra <[email protected]> wrote: > >> Hi Karl, >> >> It looks like ViennaCL in petsc doesn't support single precision (which I >> need cause my (old) GPU doesn't support double precision). I get the >> following error: >> >> Cannot use viennacl withOUT double precision numbers, it is not coded for >> this capability >> >> Is there any way this can be enabled in the build? >> > > This may be an oversight. Can you try adding > > self.double = 0 > > to the constructor in config/PETSc/packages/viennacl.py? > > Matt > > >> Thanks, >> Mani >> >> > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener >
