<?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 Problems with execute my code in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776262#M1091</link>
    <description>Memory corruption is very difficult to analyze in debugger. There exist some tools which can help.&lt;BR /&gt;Firstly, please try valgrind. But the most simple way is to read your program very carefully looking at arrays underindexing and overindexing</description>
    <pubDate>Wed, 01 Dec 2010 12:25:13 GMT</pubDate>
    <dc:creator>barragan_villanueva_</dc:creator>
    <dc:date>2010-12-01T12:25:13Z</dc:date>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776254#M1083</link>
      <description>&lt;B&gt;Hi everybody, I used Ubuntu 10.04 with 32 bit and I'm using Intel Fortran composer xe 2011. I don't understand a problem that I have with my code. When I compile my code with the command: ifort PRINCIPAL27112010.f90 -o PRINCIPAL27112010 and I don't problem, but when I complie using:&lt;BR /&gt;&lt;BR /&gt;ifort -openmp -O3 -o PRINCIPAL27112010 -I$MKLINCLUDE -L$MKLPATH PRINCIPAL27112010.f90 -lmkl_lapack95 -Wl,--start-group $MKLPATH/libmkl_intel.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -liomp5 -lpthread &lt;BR /&gt;&lt;BR /&gt;I received the following error:&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;*** glibc detected *** ./PRINCIPAL27112010: munmap_chunk(): invalid pointer: 0x08f020c0 ***&lt;BR /&gt;======= Backtrace: =========&lt;BR /&gt;/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x40188591]&lt;BR /&gt;/lib/tls/i686/cmov/libc.so.6(+0x6c80e)[0x4018980e]&lt;BR /&gt;./PRINCIPAL27112010[0x8068f6b]&lt;BR /&gt;./PRINCIPAL27112010[0x8064413]&lt;BR /&gt;./PRINCIPAL27112010[0x80594f3]&lt;BR /&gt;./PRINCIPAL27112010[0x805a380]&lt;BR /&gt;./PRINCIPAL27112010[0x804a28e]&lt;BR /&gt;/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x40133bd6]&lt;BR /&gt;./PRINCIPAL27112010[0x804a191]&lt;BR /&gt;======= Memory map: ========&lt;BR /&gt;08048000-080c8000 r-xp 00000000 08:15 6947051 /home/felipe/Documentos/LOSA PROYECTO FINAL DE CARRERA/MIS CODIGOS OPERATIVOS/PRINCIPAL27112010&lt;BR /&gt;080c8000-080cd000 rwxp 00080000 08:15 6947051 /home/felipe/Documentos/LOSA PROYECTO FINAL DE CARRERA/MIS CODIGOS OPERATIVOS/PRINCIPAL27112010&lt;BR /&gt;080cd000-080f8000 rwxp 00000000 00:00 0 &lt;BR /&gt;08ef9000-08f43000 rwxp 00000000 00:00 0 [heap]&lt;BR /&gt;40000000-4001b000 r-xp 00000000 08:11 1573361 /lib/ld-2.11.1.so&lt;BR /&gt;4001b000-4001c000 r-xp 0001a000 08:11 1573361 /lib/ld-2.11.1.so&lt;BR /&gt;4001c000-4001d000 rwxp 0001b000 08:11 1573361 /lib/ld-2.11.1.so&lt;BR /&gt;4001d000-4001e000 r-xp 00000000 00:00 0 [vdso]&lt;BR /&gt;4001e000-40020000 rwxp 00000000 00:00 0 &lt;BR /&gt;40020000-400ae000 r-xp 00000000 08:11 2098307 /opt/intel/composerxe-2011.0.084/compiler/lib/ia32/libiomp5.so&lt;BR /&gt;400ae000-400b4000 rwxp 0008e000 08:11 2098307 /opt/intel/composerxe-2011.0.084/compiler/lib/ia32/libiomp5.so&lt;BR /&gt;400b4000-400bb000 rwxp 00000000 00:00 0 &lt;BR /&gt;400dd000-400f2000 r-xp 00000000 08:11 1709790 /lib/tls/i686/cmov/libpthread-2.11.1.so&lt;BR /&gt;400f2000-400f3000 r-xp 00014000 08:11 1709790 /lib/tls/i686/cmov/libpthread-2.11.1.so&lt;BR /&gt;400f3000-400f4000 rwxp 00015000 08:11 1709790 /lib/tls/i686/cmov/libpthread-2.11.1.so&lt;BR /&gt;400f4000-400f7000 rwxp 00000000 00:00 0 &lt;BR /&gt;400f7000-4011b000 r-xp 00000000 08:11 1704824 /lib/tls/i686/cmov/libm-2.11.1.so&lt;BR /&gt;4011b000-4011c000 r-xp 00023000 08:11 1704824 /lib/tls/i686/cmov/libm-2.11.1.so&lt;BR /&gt;4011c000-4011d000 rwxp 00024000 08:11 1704824 /lib/tls/i686/cmov/libm-2.11.1.so&lt;BR /&gt;4011d000-40270000 r-xp 00000000 08:11 1704815 /lib/tls/i686/cmov/libc-2.11.1.so&lt;BR /&gt;40270000-40271000 ---p 00153000 08:11 1704815 /lib/tls/i686/cmov/libc-2.11.1.so&lt;BR /&gt;40271000-40273000 r-xp 00153000 08:11 1704815 /lib/tls/i686/cmov/libc-2.11.1.so&lt;BR /&gt;40273000-40274000 rwxp 00155000 08:11 1704815 /lib/tls/i686/cmov/libc-2.11.1.so&lt;BR /&gt;40274000-40277000 rwxp 00000000 00:00 0 &lt;BR /&gt;40277000-40294000 r-xp 00000000 08:11 1572947 /lib/libgcc_s.so.1&lt;BR /&gt;40294000-40295000 r-xp 0001c000 08:11 1572947 /lib/libgcc_s.so.1&lt;BR /&gt;40295000-40296000 rwxp 0001d000 08:11 1572947 /lib/libgcc_s.so.1&lt;BR /&gt;40296000-40298000 r-xp 00000000 08:11 1704822 /lib/tls/i686/cmov/libdl-2.11.1.so&lt;BR /&gt;40298000-40299000 r-xp 00001000 08:11 1704822 /lib/tls/i686/cmov/libdl-2.11.1.so&lt;BR /&gt;40299000-4029a000 rwxp 00002000 08:11 1704822 /lib/tls/i686/cmov/libdl-2.11.1.so&lt;BR /&gt;4029a000-4029c000 rwxp 00000000 00:00 0 &lt;BR /&gt;bf8a0000-bf8b5000 rw-p 00000000 00:00 0 [stack]&lt;BR /&gt;Cancelado&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;I need using mkl_dss.f90 for using sparse arrays. This is reason for using ifort -openmp -O3 -o PRINCIPAL27112010 -I$MKLINCLUDE -L$MKLPATH 
PRINCIPAL27112010.f90 -lmkl_lapack95 -Wl,--start-group 
$MKLPATH/libmkl_intel.a $MKLPATH/libmkl_intel_thread.a 
$MKLPATH/libmkl_core.a -Wl,--end-group -liomp5 -lpthread, &lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;Thanks&lt;/B&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Nov 2010 20:28:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776254#M1083</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2010-11-27T20:28:07Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776255#M1084</link>
      <description>Your program has many errors, including (i) mismatches between the types of actual and dummy arguments, and (ii) uninitialized variables. You can locating these errors by compiling the source code with the &lt;I&gt;-warn interfaces&lt;/I&gt; option. &lt;BR /&gt;&lt;BR /&gt;Until you correct those errors, it is pointless to try parallelizing the runs.</description>
      <pubDate>Tue, 30 Nov 2010 12:33:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776255#M1084</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-11-30T12:33:27Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776256#M1085</link>
      <description>Very thanks mecej4!&lt;BR /&gt;&lt;BR /&gt;Ok, I have corrected. Now, I like use mkl_dss for solution mi system. Have I add something the compilation or the last line is valid for use lapack95 and in the same moment use mkl_dss solver. I know that in theory the line past run ok, for probe file, but I don't know especif the use mkl_dss in compilation, in the file, I know that I have write include mkl_dss.f90 before the program.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 30 Nov 2010 12:55:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776256#M1085</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2010-11-30T12:55:58Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776257#M1086</link>
      <description>Sorry, I cannot decipher your English to the point where I can give a proper reply. Perhaps, you can retry with shorter sentences.</description>
      <pubDate>Tue, 30 Nov 2010 16:34:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776257#M1086</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-11-30T16:34:50Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776258#M1087</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1291191169121="64" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=499160" href="https://community.intel.com/en-us/profile/499160/" class="basic"&gt;felipin85&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px; background-color: #e5e5e5; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;&lt;B&gt;ifort -openmp -O3 -o miresolvedor -IKLINCLUDE -LKLPATH miresolvedor.f90 -lmkl_lapack95 -Wl,--start-group KLPATH/libmkl_intel.a KLPATH/libmkl_intel_thread.a KLPATH/libmkl_core.a -Wl,--end-group -liomp5 -lpthread &lt;BR /&gt;ifort: error #10236: File not found: 'KLPATH/libmkl_intel.a'&lt;BR /&gt;ifort: error #10236: File not found: 'KLPATH/libmkl_intel_thread.a'&lt;BR /&gt;ifort: error #10236: File not found: 'KLPATH/libmkl_core.a'&lt;BR /&gt;miresolvedor.f90(4): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [LAPACK95]&lt;BR /&gt;&lt;/B&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Please set MKLPATH env and use it correctly in makefile:&lt;BR /&gt;&lt;BR /&gt;instead of $MKLPATH there should be $(MKLPATH)&lt;BR /&gt;&lt;BR /&gt;Note that MKL Link Advisor suggests only command line notation.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2010 08:17:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776258#M1087</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-12-01T08:17:14Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776259#M1088</link>
      <description>Ok, very thanks Victor Pasko. You were right, I forgot the parentheses. Thanks.&lt;BR /&gt;&lt;BR /&gt;And, the other mistake? Do you know how to fix?&lt;BR /&gt;&lt;BR /&gt;Thanks, Regards&lt;BR /&gt;&lt;BR /&gt;Felipe</description>
      <pubDate>Wed, 01 Dec 2010 09:55:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776259#M1088</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2010-12-01T09:55:40Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776260#M1089</link>
      <description>Could you please minimize your testcase (to not use also your local path&lt;SPAN style="color: #008080;"&gt;/home/Placas/) &lt;/SPAN&gt;in order to analyzeyour problem with memory corruption.</description>
      <pubDate>Wed, 01 Dec 2010 11:36:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776260#M1089</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-12-01T11:36:48Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776261#M1090</link>
      <description>Victor, thanks for your response. I changed the code linking, I erase -openmp or I don't know that I changed but, but the problem of corruption I have not. As if I were to happen, usually where the corruption?&lt;BR /&gt;&lt;BR /&gt;Thanks, for your help&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2010 11:57:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776261#M1090</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2010-12-01T11:57:34Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776262#M1091</link>
      <description>Memory corruption is very difficult to analyze in debugger. There exist some tools which can help.&lt;BR /&gt;Firstly, please try valgrind. But the most simple way is to read your program very carefully looking at arrays underindexing and overindexing</description>
      <pubDate>Wed, 01 Dec 2010 12:25:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776262#M1091</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-12-01T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776263#M1092</link>
      <description>If you are using Intel Fortran compiler please trysource code analysis and check options:&lt;BR /&gt;&lt;BR /&gt;-diag-enable &lt;V1&gt;[,&lt;V2&gt;,...]&lt;BR /&gt; enable the specified diagnostics or diagnostic groups&lt;BR /&gt;-diag-disable &lt;V1&gt;[,&lt;V2&gt;,...]&lt;BR /&gt; disable the specified diagnostics or diagnostic groups&lt;BR /&gt; where &lt;VN&gt; may be individual diagnostic numbers or group names.&lt;BR /&gt; where group names include:&lt;BR /&gt; sc&lt;N&gt; - perform source code analysis: n=1 for critical&lt;BR /&gt; errors, n=2 for all errors and n=3 for all errors&lt;BR /&gt; and warnings&lt;BR /&gt; sc-include - perform source code analysis on include files&lt;BR /&gt; sc-parallel&lt;N&gt; - perform analysis of parallelization in&lt;BR /&gt; source code: n=1 for critical errors,&lt;BR /&gt; n=2 for errors, n=3 for all errors and&lt;BR /&gt; warnings&lt;BR /&gt;&lt;BR /&gt;-[no]check &lt;KEYWORD&gt;&lt;BR /&gt; check run-time conditions. Default is -nocheck&lt;BR /&gt; keywords: all (same as -C), none (same as -nocheck),&lt;BR /&gt; [no]arg_temp_created, [no]bounds (same as -CB),&lt;BR /&gt; [no]format, [no]output_conversion,&lt;BR /&gt; [no]pointer (same as -CA),&lt;BR /&gt; [no]uninit (same as -CU)&lt;BR /&gt;&lt;BR /&gt;&lt;/KEYWORD&gt;&lt;/N&gt;&lt;/N&gt;&lt;/VN&gt;&lt;/V2&gt;&lt;/V1&gt;&lt;/V2&gt;&lt;/V1&gt;</description>
      <pubDate>Wed, 01 Dec 2010 12:34:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776263#M1092</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-12-01T12:34:02Z</dc:date>
    </item>
    <item>
      <title>Problems with execute my code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776264#M1093</link>
      <description>Yes, I'm using Intel Fortan. Thanks for the information, This is very useful. But, in my make file,specify where these conditions?&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 01 Dec 2010 12:47:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-with-execute-my-code/m-p/776264#M1093</guid>
      <dc:creator>felipin85</dc:creator>
      <dc:date>2010-12-01T12:47:56Z</dc:date>
    </item>
  </channel>
</rss>

