[petsc-dev] No single precision support in ViennaCL?

Mani Chandra mc0710 at gmail.com
Mon Jan 20 19:27:34 CST 2014


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 <knepley at gmail.com> wrote:

> On Mon, Jan 20, 2014 at 6:44 PM, Mani Chandra <mc0710 at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140120/43b65db3/attachment.html>


More information about the petsc-dev mailing list