<?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: undefined reference to dgemm_ and other functions in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-dgemm-and-other-functions/m-p/915385#M12528</link>
    <description>&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;After changing the order of the link command (-lmkl_lapack going before -lmkl_ia32) the errors have reduced, but all DSS_ functions are still unresolved:&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;localhost src # ifort -L/opt/intel/mkl/9.1.021/lib/32 -static-intel -lmkl_lapack -lmkl_ia32 -lguide *.o -o SIMILAR-linux&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;HR /&gt;&lt;FONT size="2"&gt;MTXINIOP.f:(.text+0xc39): undefined reference to `dss_create_'&lt;BR /&gt;MTXINIOP.f:(.text+0xc71): undefined reference to `dss_define_structure_'&lt;BR /&gt;MTXINIOP.f:(.text+0xc98): undefined reference to `dss_define_structure_'&lt;BR /&gt;MTXINIOP.f:(.text+0xcba): undefined reference to `dss_define_structure_'&lt;BR /&gt;MTXINIOP.f:(.text+0xce1): undefined reference to `dss_reorder_'&lt;BR /&gt;MTXINIOP.f:(.text+0xd0c): undefined reference to `dss_factor_real_'&lt;BR /&gt;MTXINIOP.f:(.text+0xeb1): undefined reference to `dss_solve_real_'&lt;BR /&gt;MTXINIOP.f:(.text+0xf24): undefined reference to `dss_delete_'&lt;BR /&gt;MTXINIOP.f:(.text+0xf56): undefined reference to `dss_factor_real_'&lt;BR /&gt;....&lt;FONT size="3"&gt;&lt;BR /&gt;and so on.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;HR /&gt;MTXINIOP.f has the line "use mkl_dss" and compiles to .o properly, but as you can see linking is a problem.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Arthur&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Wed, 25 Jul 2007 13:59:11 GMT</pubDate>
    <dc:creator>arthur_amarra</dc:creator>
    <dc:date>2007-07-25T13:59:11Z</dc:date>
    <item>
      <title>undefined reference to dgemm_ and other functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-dgemm-and-other-functions/m-p/915384#M12527</link>
      <description>I'm compiling a program that uses LAPACK and BLAS routines, but I keep getting errors about not being able to find the references.&lt;BR /&gt;&lt;BR /&gt;The code compiles properly to .o files, but linking produces the following errors:&lt;BR /&gt;&lt;HR /&gt;&lt;FONT size="2"&gt;Schur_st.o: In function `eigen_schur_':&lt;BR /&gt;Schur_st.f:(.text+0x126b): undefined reference to `dgemm_'&lt;BR /&gt;Schur_st.f:(.text+0x1517): undefined reference to `dgemm_'&lt;BR /&gt;Schur_st.o: In function `normeigenvector_.':&lt;BR /&gt;Schur_st.f:(.text+0x1de8): undefined reference to `dnrm2_'&lt;BR /&gt;Schur_st.f:(.text+0x1e07): undefined reference to `dnrm2_'&lt;BR /&gt;Schur_st.f:(.text+0x1e3f): undefined reference to `dscal_'&lt;BR /&gt;Schur_st.f:(.text+0x1e57): undefined reference to `dscal_'&lt;BR /&gt;Schur_st.f:(.text+0x1ed0): undefined reference to `idamax_'&lt;BR /&gt;Schur_st.f:(.text+0x1f27): undefined reference to `drot_'&lt;BR /&gt;...&lt;BR /&gt;/opt/intel/mkl/9.1.021/lib/32/libmkl_lapack.so: undefined reference to `slartv'&lt;BR /&gt;/opt/intel/mkl/9.1.021/lib/32/libmkl_lapack.so: undefined reference to `zscal'&lt;BR /&gt;/opt/intel/mkl/9.1.021/lib/32/libmkl_lapack.so: undefined reference to `zhpr'&lt;BR /&gt;/opt/intel/mkl/9.1.021/lib/32/libmkl_lapack.so: undefined reference to `zgeru'&lt;BR /&gt;/opt/intel/mkl/9.1.021/lib/32/libmkl_lapack.so: undefined reference to `ssyrk'&lt;BR /&gt;/opt/intel/mkl/9.1.021/lib/32/libmkl_lapack.so: undefined reference to `ssyr2k'&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;HR /&gt;....and so on&lt;BR /&gt;&lt;BR /&gt;My linker command is:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;localhost src # ifort -L/opt/intel/mkl/9.1.021/lib/32 -static-intel -lmkl_ia32 -lmkl_lapack -lguide *.o -o SIMILAR-linux&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;and environment variables are:&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;BR /&gt;LIBRARY_PATH=/opt/intel/mkl/9.1.021/lib/32&lt;BR /&gt;FPATH=/opt/intel/mkl/9.1.021/include&lt;BR /&gt;LD_LIBRARY_PATH=/opt/intel/mkl/9.1.021/lib/32:/opt/intel/fc/10.0.023/lib:/opt/intel/fc/10.0.023/lib&lt;BR /&gt;CPATH=/opt/intel/mkl/9.1.021/include&lt;BR /&gt;INCLUDE=/opt/intel/mkl/9.1.021/include&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;advice would be much appreciated.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:44:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-dgemm-and-other-functions/m-p/915384#M12527</guid>
      <dc:creator>arthur_amarra</dc:creator>
      <dc:date>2007-07-25T11:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to dgemm_ and other functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-dgemm-and-other-functions/m-p/915385#M12528</link>
      <description>&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;After changing the order of the link command (-lmkl_lapack going before -lmkl_ia32) the errors have reduced, but all DSS_ functions are still unresolved:&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;localhost src # ifort -L/opt/intel/mkl/9.1.021/lib/32 -static-intel -lmkl_lapack -lmkl_ia32 -lguide *.o -o SIMILAR-linux&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;HR /&gt;&lt;FONT size="2"&gt;MTXINIOP.f:(.text+0xc39): undefined reference to `dss_create_'&lt;BR /&gt;MTXINIOP.f:(.text+0xc71): undefined reference to `dss_define_structure_'&lt;BR /&gt;MTXINIOP.f:(.text+0xc98): undefined reference to `dss_define_structure_'&lt;BR /&gt;MTXINIOP.f:(.text+0xcba): undefined reference to `dss_define_structure_'&lt;BR /&gt;MTXINIOP.f:(.text+0xce1): undefined reference to `dss_reorder_'&lt;BR /&gt;MTXINIOP.f:(.text+0xd0c): undefined reference to `dss_factor_real_'&lt;BR /&gt;MTXINIOP.f:(.text+0xeb1): undefined reference to `dss_solve_real_'&lt;BR /&gt;MTXINIOP.f:(.text+0xf24): undefined reference to `dss_delete_'&lt;BR /&gt;MTXINIOP.f:(.text+0xf56): undefined reference to `dss_factor_real_'&lt;BR /&gt;....&lt;FONT size="3"&gt;&lt;BR /&gt;and so on.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;HR /&gt;MTXINIOP.f has the line "use mkl_dss" and compiles to .o properly, but as you can see linking is a problem.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Arthur&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 25 Jul 2007 13:59:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-dgemm-and-other-functions/m-p/915385#M12528</guid>
      <dc:creator>arthur_amarra</dc:creator>
      <dc:date>2007-07-25T13:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to dgemm_ and other functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-dgemm-and-other-functions/m-p/915386#M12529</link>
      <description>You should link *.o before the libraries, so that all unreferenced symbols are seen before libraries are searched. Sorry about not pointing it out before.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2007 15:59:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-dgemm-and-other-functions/m-p/915386#M12529</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2007-07-25T15:59:32Z</dc:date>
    </item>
  </channel>
</rss>

