<?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 trouble with zgeev subroutine in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786479#M1872</link>
    <description>As you've selected an ilp64 library, you must take care that all the integers are 64-bit type. ilp64 seems unlikely to be necessary for such small matricies.&lt;BR /&gt;Expert advice on this is more likely to be found on the MKL forum.</description>
    <pubDate>Tue, 19 Jul 2011 17:19:00 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2011-07-19T17:19:00Z</dc:date>
    <item>
      <title>trouble with zgeev subroutine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786478#M1871</link>
      <description>&lt;DIV class="content"&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I have to evaluate eigenvalues and eigenvectors for general complex matrix 3by3. I chose a zgeev subroutine to find ones.&lt;BR /&gt;I use the following command to link example file on my laptop&lt;BR /&gt;&lt;A href="http://software.intel.com/sites/products/documentation/hpc/mkl/lapack/mkl_lapack_examples/zgeev_ex.f.htm" class="postlink"&gt;http://software.intel.com/sites/products/documentation/hpc/mkl/lapack/mkl_lapack_examples/zgeev_ex.f.htm&lt;/A&gt;&lt;BR /&gt;&lt;DL class="codebox"&gt;&lt;BLOCKQUOTE&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;ifort main.f90 -O3 -ip -static -fast -parallel -align all -mp1 -mtune=pentium4m -pad \\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;-pc80 -prec-div -prec-sqrt -scalar-rep -simd -unroll4 -unroll-aggressive -finline \\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;-diag-file=diag.out \\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;-I/opt/intel/composerxe-2011.3.174/mkl/include/intel64/ilp64\\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt; -lmkl_blas95_ilp64 -lmkl_lapack95_ilp64 \\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;-Wl,--start-group \\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;/opt/intel/composerxe-2011.3.174/mkl/lib/intel64/libmkl_intel_ilp64.a \\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;/opt/intel/composerxe-2011.3.174/mkl/lib/intel64/libmkl_sequential.a \\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt;/opt/intel/composerxe-2011.3.174/mkl/lib/intel64/libmkl_core.a -Wl,--end-group\\&lt;/SPAN&gt;&lt;/DT&gt;&lt;DT&gt;&lt;SPAN style="font-family: 'courier new', monospace; white-space: pre;"&gt; -lpthread -o xmain&lt;/SPAN&gt;&lt;/DT&gt;&lt;/BLOCKQUOTE&gt;&lt;/DL&gt;&lt;BR /&gt;An executable &lt;I&gt;file was created&lt;/I&gt; successful. But when I execute it I have error msg out of zgeev.&lt;BR /&gt;&lt;I&gt;MKL ERROR: Parameter 12 was incorrect on entry to ZGEEV&lt;/I&gt;&lt;BR /&gt;And lwork from code equals to LWORK&lt;B&gt;=&lt;/B&gt;MIN( LWMAX,INT( WORK(1) ) ) = -2 147 483 648.&lt;/DIV&gt;&lt;DIV class="content"&gt;&lt;/DIV&gt;&lt;DIV class="content"&gt;As it is written in man to zgeev&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class="content"&gt;&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;&lt;SPAN style="color: #333333; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;LWORK (input) INTEGERThe dimension of the array WORK. LWORK &amp;gt;= max(1,2*N).For good performance, LWORK must generally be larger. &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 13px; line-height: 18px;"&gt;&lt;SPAN style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;"&gt;If LWORK = -1, then a workspace query is assumed; the routine&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;"&gt;only calculates the optimal size of the WORK array, returns&lt;/SPAN&gt;&lt;BR style="padding: 0px; margin: 0px;" /&gt;&lt;SPAN style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;"&gt;this value as the first entry of the WORK array, and &lt;B&gt;no error&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;"&gt;message related to LWORK is issued by XERBLA.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;I setted up lwork=-1, but I still have the MKL error.&lt;DIV&gt;May I have lost any libraries compiling the executable?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;About system:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;$ifort --version&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;ifort (IFORT) 12.0.3 20110309&lt;/DIV&gt;OS = Ubuntu 11.04&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;PROC = Intel Core i5-2410M CPU @ 2.30GHz&lt;/DIV&gt;&lt;DIV&gt;$lscpu&lt;/DIV&gt;&lt;DIV&gt;Architecture:     x86_64&lt;/DIV&gt;&lt;DIV&gt;CPU op-mode(s):    32-bit, 64-bit&lt;/DIV&gt;&lt;DIV&gt;CPU(s):        4&lt;/DIV&gt;&lt;DIV&gt;Thread(s) per core:  2&lt;/DIV&gt;&lt;DIV&gt;Core(s) per socket:  2&lt;/DIV&gt;&lt;DIV&gt;CPU socket(s):     1&lt;/DIV&gt;&lt;DIV&gt;NUMA node(s):     1&lt;/DIV&gt;&lt;DIV&gt;Vendor ID:       GenuineIntel&lt;/DIV&gt;&lt;DIV&gt;CPU family:      6&lt;/DIV&gt;&lt;DIV&gt;Model:         42&lt;/DIV&gt;&lt;DIV&gt;Stepping:       7&lt;/DIV&gt;&lt;DIV&gt;CPU MHz:        800.000&lt;/DIV&gt;&lt;DIV&gt;Virtualization:    VT-x&lt;/DIV&gt;&lt;DIV&gt;L1d cache:       32K&lt;/DIV&gt;&lt;DIV&gt;L1i cache:       32K&lt;/DIV&gt;&lt;DIV&gt;L2 cache:       256K&lt;/DIV&gt;&lt;DIV&gt;L3 cache:       3072K&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;A rebuilt kernel on base on2.6.39*&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jul 2011 17:03:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786478#M1871</guid>
      <dc:creator>oleglebedev</dc:creator>
      <dc:date>2011-07-19T17:03:51Z</dc:date>
    </item>
    <item>
      <title>trouble with zgeev subroutine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786479#M1872</link>
      <description>As you've selected an ilp64 library, you must take care that all the integers are 64-bit type. ilp64 seems unlikely to be necessary for such small matricies.&lt;BR /&gt;Expert advice on this is more likely to be found on the MKL forum.</description>
      <pubDate>Tue, 19 Jul 2011 17:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786479#M1872</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-07-19T17:19:00Z</dc:date>
    </item>
    <item>
      <title>trouble with zgeev subroutine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786480#M1873</link>
      <description>The default integer size in Intel Fortran is 4 bytes. &lt;BR /&gt;&lt;BR /&gt;The libraries that you used (those whose names have &lt;B&gt;ilp64&lt;/B&gt; in them )above are appropriate only if you are using 8 byte integers. Clarify whether you really want to use 8-byte integers,, and whether your ifort.cfg file has the necessary options listed to that end.&lt;BR /&gt;&lt;BR /&gt;If you only wanted to use 4-byte integers, choose the appropriate libraries (those that have &lt;B&gt;lp64&lt;/B&gt; in their names, not &lt;B&gt;ilp64&lt;/B&gt; )</description>
      <pubDate>Tue, 19 Jul 2011 17:22:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786480#M1873</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-07-19T17:22:22Z</dc:date>
    </item>
    <item>
      <title>trouble with zgeev subroutine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786481#M1874</link>
      <description>Thank you for the rapid answer. It works for me.</description>
      <pubDate>Tue, 19 Jul 2011 17:33:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/trouble-with-zgeev-subroutine/m-p/786481#M1874</guid>
      <dc:creator>oleglebedev</dc:creator>
      <dc:date>2011-07-19T17:33:05Z</dc:date>
    </item>
  </channel>
</rss>

