<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MKL LAPACK problem - dsygv in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911393#M12182</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;adding to Vladimir's post. The reason you receive error is that you selected ilp64 interface (see your linking line). ILP64 libraries use the 64-bit integer type (necessary for indexing huge arrays). The default for your compiler is probably 32-bit integers, so that's why they conflict. The LP64 libraries index arrays with the 32-bit integer type, and that's why Vladimir's suggestion probably will solve the problem (of linking).&lt;/P&gt;
&lt;P&gt;You have couple of scenarios to use:&lt;/P&gt;
&lt;P&gt;(1) follow Vladimir's suggestion to replace lib interface&lt;/P&gt;
&lt;P&gt;(2) follow Vladimir's suggestion to change your default for compiler (for x64 architecture)&lt;/P&gt;
&lt;P&gt;(3) make local integer*8 variable and pass it. This however, will make the code not "architecture blind". To resolve this you can also try compiler directives, though.&lt;/P&gt;
&lt;P&gt;A.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2010 06:16:53 GMT</pubDate>
    <dc:creator>ArturGuzik</dc:creator>
    <dc:date>2010-01-18T06:16:53Z</dc:date>
    <item>
      <title>MKL LAPACK problem - dsygv</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911391#M12180</link>
      <description>&lt;P&gt;I have a section of Fortran code that calls dsygv to solve a symmetric generalized eigenvalue problem. My code works fine under gfortran, and I have compiled it under the 32-bit version of the Intel Fortran compiler. When I compile it with the 64-bit libraries, I get an error. Here is my linker line:&lt;/P&gt;
&lt;P&gt;ifort -openmp -parallel -o energy Energy.o -lmkl_intel_thread -lmkl_lapack -lmkl_core -lmkl_intel_ilp64 -lmkl_sequential -L/opt/intel/mkl/10.2.0.013/lib/em64t&lt;/P&gt;
&lt;P&gt;The call to dsygv is&lt;BR /&gt;call dsygv(1, 'N', 'L', NumUsed+1, PhiHPhi8, NumTerms, PhiPhi8, NumTerms, Energies, Workspace, 3*NumTerms, Info)&lt;/P&gt;
&lt;P&gt;And the error that it gives me is&lt;BR /&gt;MKL ERROR: Parameter 1 was incorrect on entry to DSYGV&lt;/P&gt;
&lt;P&gt;According to all of the documentation that I have found, including the Intel MKL reference manual, the first parameter, itype, is 1, 2 or 3, based on the system being solved. Since this has worked fine until now, I'm really not sure what the problem is.&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2010 00:06:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911391#M12180</guid>
      <dc:creator>physics314</dc:creator>
      <dc:date>2010-01-18T00:06:40Z</dc:date>
    </item>
    <item>
      <title>MKL LAPACK problem - dsygv</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911392#M12181</link>
      <description>&lt;P&gt;Hi physics314,&lt;/P&gt;
&lt;P&gt;Try to use lp64 version:-lmkl_intel_lp64 instead of -lmkl_intel_ilp64.&lt;/P&gt;
&lt;P&gt;Or add -i8 compiler option.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2010 05:57:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911392#M12181</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2010-01-18T05:57:43Z</dc:date>
    </item>
    <item>
      <title>MKL LAPACK problem - dsygv</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911393#M12182</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;adding to Vladimir's post. The reason you receive error is that you selected ilp64 interface (see your linking line). ILP64 libraries use the 64-bit integer type (necessary for indexing huge arrays). The default for your compiler is probably 32-bit integers, so that's why they conflict. The LP64 libraries index arrays with the 32-bit integer type, and that's why Vladimir's suggestion probably will solve the problem (of linking).&lt;/P&gt;
&lt;P&gt;You have couple of scenarios to use:&lt;/P&gt;
&lt;P&gt;(1) follow Vladimir's suggestion to replace lib interface&lt;/P&gt;
&lt;P&gt;(2) follow Vladimir's suggestion to change your default for compiler (for x64 architecture)&lt;/P&gt;
&lt;P&gt;(3) make local integer*8 variable and pass it. This however, will make the code not "architecture blind". To resolve this you can also try compiler directives, though.&lt;/P&gt;
&lt;P&gt;A.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2010 06:16:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911393#M12182</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2010-01-18T06:16:53Z</dc:date>
    </item>
    <item>
      <title>MKL LAPACK problem - dsygv</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911394#M12183</link>
      <description>Thanks, using -lmkl_intel_lp64 instead fixed it. Also, thanks to both of you for the remarkably quick answers.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jan 2010 07:38:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911394#M12183</guid>
      <dc:creator>physics314</dc:creator>
      <dc:date>2010-01-18T07:38:41Z</dc:date>
    </item>
    <item>
      <title>MKL LAPACK problem - dsygvd using MAGMA</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911395#M12184</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am trying to call magma_dsygvd from a fortran code and when I link to the MKL library I get the foll errors for different runs:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;[krajag1@kid034 MAGMA]$ ./magmatest3&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;DSYGVD Example Program Results&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;     4&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LIWORK =     53&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LWORK =     901&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LDA =      10&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LDB =      10&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;MKL ERROR: Parameter 1 was incorrect on entry to magma_dsygvd&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;[krajag1@kid034 MAGMA]$ ./magmatest3&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;DSYGVD Example Program Results&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;     4&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LIWORK =     53&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LWORK =     901&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LDA =      10&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;LDB =      10&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;MKL ERROR: Parameter 11 was incorrect on entry to magma_dsygvd&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Optimum workspace required = ****&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Workspace provided = 901&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Note: I have passed an integer*8 variable for parameter 1.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Please find enclosed my code and makefile for reference.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Kaushik&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Jun 2012 01:32:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-LAPACK-problem-dsygv/m-p/911395#M12184</guid>
      <dc:creator>IDZ_A_Intel</dc:creator>
      <dc:date>2012-06-04T01:32:08Z</dc:date>
    </item>
  </channel>
</rss>

