<div dir="ltr">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.<br><br>Cheers,<br>Mani</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 7:02 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@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 class="gmail_extra"><div class="gmail_quote"><div><div class="h5">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></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><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><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
</font></span></div></div>
</blockquote></div><br></div>