title: MKL BLAS functions not behaving as expected
body: <p>I can't get Intel MKL to work as it should from C. 
  I have the following test program:</p>
  
  <pre><code>#include "stdafx.h"
  #include"mkl.h"
  int main()
  {
      int one = 1;
      int ten = 10;
      double copy[10];
      double threes[10];
  
      for (int i = 0; i &lt; 10; ++i) threes[i] = 3;
  
      dcopy(&amp;ten, threes, &amp;one, copy, &amp;one);
      double l1norm;
      l1norm = dasum(&amp;ten, threes, &amp;one);
      return 0;
  }
  </code></pre>
  
  <p>which is building and linking fine but not doing what I intended. Specifically  at the return line the array "copy" continues to be full of what was there when it was declared and l1norm equal to 0. 
  I am linking to the libraries : mkl_blas95_ilp64.lib, mkl_core_dll.lib, mkl_intel_ilp64_dll.lib and mkl_intel_thread_dll.lib.</p>
  
  <p>I'm also getting similar problems when running third-party code that calls MKL so I assume the problem is how I have the build configured (in Visual Studio 2015).</p>
  
  <p>The equivalent Fortran program runs fine.   </p>