<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 1, 2018 at 1:43 PM Victor Eijkhout <<a href="mailto:eijkhout@tacc.utexas.edu" target="_blank">eijkhout@tacc.utexas.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="word-wrap:break-word">
<br>
<div><br>
<blockquote type="cite">
<div>On Jul 1, 2018, at 12:30 PM, Jeff Hammond <<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>> wrote:</div>
<br class="gmail-m_-2585681549917413975m_1060393148168230465Apple-interchange-newline">
<div>
<div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<span style="color:rgb(49,49,49);word-spacing:1px;background-color:rgb(255,255,255)">If you really want to do this, then replace COMMON with CORE to specialize for SKX. There’s not point to using COMMON if you’ve got the MIC path already.</span></div>
<br class="gmail-m_-2585681549917413975m_1060393148168230465Apple-interchange-newline">
</div>
</blockquote>
</div>
<br>
<div>We advocate CORE on our userguides, but the Intel compiler crashes reliably with that in certain cases. I think in particular Intel has never figured out how complex numbers work. If the compiler crashes it’s always on the petsc complex mode.
 I think I have submitted tickets about that, so maybe it’s fixed in update 3.</div>
<div><br>
</div>
<div>I have also seen cases where CORE gives numerical problems and replacing by COMMON fixed them. Sorry, that was a user ticket and having solved it I didn’t bother to submit an Intel support ticket.</div></div></blockquote><div><br></div><div>I have unconfirmed reports of numerical problems. I will try your flags if I can reproduce them. Any other tricks that you used to get MKL/PETSc to work?</div><div><br></div><div>Also, PETSc is having problems finding libs. I get this error that it can not find -blas and I see that there is a libmkl_blas<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">95_ilp64.a</span> and libmkl_blas95_lp64.a, but no libblas.a.</div><div><br></div><div>I'm stuck, any help would be appreciated,</div><div><br></div><div>Thanks,</div><div>Mark</div><div><br></div><div><div>Executing: cc  -o /tmp/petsc-WPf2VB/config.libraries/conftest     -g -O0 -hcpu=mic-knl -qopenmp-simd -fopenmp /tmp/petsc-WPf2VB/config.libraries/conftest.o  -Wl,-rpath,/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64 -L/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64 -lblas -lstdc++ -ldl </div><div>Possible ERROR while running linker: exit code 256</div><div>stderr:</div><div>/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lblas</div><div>                    Popping language C</div><div>              Unknown name mangling in BLAS/LAPACK</div><div>**** Configure header /tmp/petsc-WPf2VB/confdefs.h ****</div><div>#if !defined(INCLUDED_UNKNOWN)</div></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"><div style="word-wrap:break-word">
<div><br>
</div>
<div>The support website is a nightmare anyway, so I’m not overly motivated to submit support tickets in the first place.</div>
<div><br>
</div>
<div>Victor.</div>
</div>

</blockquote></div></div>