<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi everyone,</p>
<p>I have just ported my code from a local cluster to larger one
which uses intel mkl and wanted to clarify the changes I've made
are the correct ones wrt the lapacke library:</p>
<p>-- In the local cluster, I had the option <br>
</p>
<p>LAPACK_LIBS = lapack lapacke in my .ini file</p>
<p>and used #include "lapacke.h" in the code.<br>
</p>
<p>-- In the bigger cluster, I now have to use intel mkl, and I have
the following options in my .cfg<br>
</p>
<p>LAPACK_DIRĀ =
/apps/compilers/intel/parallel_studio_xe_2016/mkl/lib/intel64</p>
<p>LAPACK_LIBS = -mkl</p>
<p>which will only compile my code if I replace #include "lapacke.h"
with #include "mkl_lapacke.h".</p>
<p>Question: Is this the right way to generalise to mkl lapacke?<br>
</p>
<p>Problem: The code runs fine on the local cluster, but breaks (not
obvious where) on the larger one with the above changes. The
lapacke functions seem to work OK at a glance, but seeing as this
is the only thing that has changed this may still be the culprit.
<br>
</p>
<p>Question: Do I perhaps need to change the lapacke function calls
also? The mkl_lapacke.h header file doesn't seem to give much
insight... I think I remember seeing somewhere calls replaced
something like <br>
</p>
<p>LAPACKE_dgels -> MKL_LAPACKE_dgels</p>
<p>Thanks!</p>
<p>Chris<br>
</p>
<div class="moz-signature">-- <br>
<font size="-1" face="Cantarell" color="#666666">Dr Chris Stevens<br>
<br>
Claude Leon Postdoctoral Fellow<br>
</font>
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature"> <font size="-1" face="Cantarell"
color="#666666"> </font>
<p><font size="-1" face="Cantarell" color="#666666">Department
of Mathematics</font></p>
<font size="-1" face="Cantarell" color="#666666"> </font>
<p><font size="-1" face="Cantarell" color="#666666">Rhodes
University</font></p>
<p><font color="#666666"><font size="-1"><font
face="Cantarell">Room 5</font></font></font></p>
<p><font color="#666666"><font size="-1"><font
face="Cantarell"> Ph: +27 46 603 8932</font></font></font></p>
<p><font color="#666666"><font size="-1"><font
face="Cantarell">Web: <a moz-do-not-send="true"
href="http://www.chrisdoesmaths.com">www.chrisdoesmaths.com</a></font></font></font></p>
</div>
</div>
</div>
</div>
</body>
</html>