<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
    Are there newer versions of the Gnu compiler for this system? </blockquote><div><br></div><div>Yes:</div><div><br></div><div><div>-------------------------------------------------------------------------------------------------- /opt/modulefiles --------------------------------------------------------------------------------------------------</div><div>gcc/4.8.1          gcc/4.8.2          gcc/4.9.3          gcc/5.3.0          gcc/6.1.0          gcc/6.2.0          gcc/6.3.0(default) gcc/7.1.0          gcc/7.2.0          gcc/7.3.0</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Are there any other compilers on the system that would likely be less buggy? IBM compilers? If this simple code generates a gross error with optimization who's to say how many more subtle bugs may be induced in the library by the buggy optimizer (there may be none but IMHO probability says there will be others). <br></blockquote><div><br></div><div>Let me ask them what they recommend to use with cuda codes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
    Is there any chance that valgrind runs on this machine; you could run the optimized version through it and see what it says.<br><br></blockquote><div><br></div><div>Valgrind works but tons of output and I could not see anything interesting in there.</div><div><br></div><div>And, this test does work with 1 processor! </div><div><br></div><div>I think this is only a problem when GMRES is uses as the eigen estimator in Cheby. GMRES solvers work and Cheby works with -mg_levels_esteig_ksp_type cg.</div><div> </div></div></div></div></div>