<div class="gmail_extra">On Sat, Oct 1, 2011 at 10:34 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Matt,<br>
<br>
It looks like the tests of nvcc are incomplete? That is it checks that the nvcc compiler works but does not check if the the resulting .o can be linked successfully. That is it never checks linking of a nvcc compiled thing??[see attached file: configure.log]<br>
<br>
I think this is wrong. See the attached configure.log it claims that nvcc works but then conks out when checking the cuda version (because it cannot link a nvcc program). This is the wrong place to conk out and misleading message to user. It should conk when checking linking of nvcc program with a useful error message about not being able to link.<br>
</blockquote><div><br></div><div><a href="http://petsc.cs.iit.edu/petsc/BuildSystem/annotate/7fc6b5eafc08/config/setCompilers.py#l415">http://petsc.cs.iit.edu/petsc/BuildSystem/annotate/7fc6b5eafc08/config/setCompilers.py#l415</a></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">
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
Barry<br>
<br>
<br>
</font></span></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<br>
</div>