<?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 Re: MKL linking (LAPACK, LBLAS)/error message in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-linking-LAPACK-LBLAS-error-message/m-p/924714#M13286</link>
    <description>&lt;DIV&gt;Try sourcing the mklvars32.sh file found in &lt;MKLPATH&gt;/tools/environment/ directory. I notice from your script that while you are linking the MKL libraries statically you have included "-lguide" which by defaultlinks in the included shared library. Since your app is not threaded using openmp with the compiler the compiler does not link in (I think) it's own copy of libguide.so.&lt;/MKLPATH&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Or, you could also try linking statically for all libraries using the--static option.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Todd&lt;/DIV&gt;</description>
    <pubDate>Thu, 02 Dec 2004 07:57:40 GMT</pubDate>
    <dc:creator>Todd_R_Intel</dc:creator>
    <dc:date>2004-12-02T07:57:40Z</dc:date>
    <item>
      <title>MKL linking (LAPACK, LBLAS)/error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-linking-LAPACK-LBLAS-error-message/m-p/924713#M13285</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to run some files that I wrote using f77. The Script I've written creates the executable file without error messages but once I try to run it, the following error message is displayed (for the most part I'm just trying to link MKL lapack and lblas libraries):&lt;BR /&gt;&lt;BR /&gt;*************************************************************&lt;BR /&gt;&lt;BR /&gt;trrj: error while loading shared libraries: libguide.so: cannot open shared object file: No such file or directory&lt;BR /&gt;&lt;BR /&gt;**************************************************************&lt;BR /&gt;&lt;BR /&gt;Script is:&lt;BR /&gt;&lt;BR /&gt;#! /bin/csh&lt;BR /&gt;source /opt/intel_fc_80/bin/ifortvars.csh&lt;BR /&gt;&lt;BR /&gt;ifort -c get_MatrRec.f get_eigenv1211.f get_KLh12.f get_K_z.f
&lt;BR /&gt;         get_f.f get_Evector.f get_Jcurrent.f get_Rec.f 
&lt;BR /&gt;         get_Sortvalue.f&lt;BR /&gt;&lt;BR /&gt;ifort -c MAIN.f&lt;BR /&gt;&lt;BR /&gt;ifort -o trrj MAIN.o get_MatrRec.o get_eigenv1211.o get_KLh12.o
&lt;BR /&gt;         get_K_z.o get_f.o get_Evector.o get_Jcurrent.o
&lt;BR /&gt;         get_Rec.o get_Sortvalue.o
&lt;BR /&gt;         -L /opt/intel/mkl70/lib/32 -lmkl_lapack -lmkl_ia32 
&lt;BR /&gt;         -lguide -lpthread&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What should I do to fix this problem?&lt;BR /&gt;&lt;BR /&gt;Thank you,</description>
      <pubDate>Thu, 02 Dec 2004 07:45:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-linking-LAPACK-LBLAS-error-message/m-p/924713#M13285</guid>
      <dc:creator>Deleted_U_Intel</dc:creator>
      <dc:date>2004-12-02T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: MKL linking (LAPACK, LBLAS)/error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-linking-LAPACK-LBLAS-error-message/m-p/924714#M13286</link>
      <description>&lt;DIV&gt;Try sourcing the mklvars32.sh file found in &lt;MKLPATH&gt;/tools/environment/ directory. I notice from your script that while you are linking the MKL libraries statically you have included "-lguide" which by defaultlinks in the included shared library. Since your app is not threaded using openmp with the compiler the compiler does not link in (I think) it's own copy of libguide.so.&lt;/MKLPATH&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Or, you could also try linking statically for all libraries using the--static option.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Todd&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Dec 2004 07:57:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-linking-LAPACK-LBLAS-error-message/m-p/924714#M13286</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2004-12-02T07:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: MKL linking (LAPACK, LBLAS)/error message</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-linking-LAPACK-LBLAS-error-message/m-p/924715#M13287</link>
      <description>As far as I know, the option -openmp would have the same effect as -lguide -lpthread, and it makes no difference that OpenMP is confined to the MKL rather than invoked in the Fortran code.  There should be a copy of libguide.so in the compiler /lib installation, as well as one in MKL /lib.  Either one should do the job, as long as LD_LIBRARY_PATH is set by either the ifortvars.csh or mklvars.csh or both scripts.</description>
      <pubDate>Thu, 02 Dec 2004 09:06:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-linking-LAPACK-LBLAS-error-message/m-p/924715#M13287</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2004-12-02T09:06:51Z</dc:date>
    </item>
  </channel>
</rss>

