<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 20, 2014 at 6:44 PM, Mani Chandra <span dir="ltr"><<a href="mailto:mc0710@gmail.com" target="_blank">mc0710@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Karl,<br><br></div>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:<br>
<br>
Cannot use viennacl withOUT double precision numbers, it is not coded for this capability<br><br></div><div>Is there any way this can be enabled in the build?<br></div></div></blockquote><div><br></div><div>This may be an oversight. Can you try adding</div>
<div><br></div><div>  self.double = 0</div><div><br></div><div>to the constructor in config/PETSc/packages/viennacl.py?</div><div><br></div><div>  Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Thanks,<br>Mani<br></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>