<?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 Static linking PGI with MKL - missing `mkl_serv_default_xerbla' in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-PGI-with-MKL-missing-mkl-serv-default-xerbla/m-p/1033732#M20279</link>
    <description>&lt;P&gt;Dear experts,&lt;/P&gt;

&lt;P&gt;I am trying to couple PGI compilers with the MKL library in static manner. Please w&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;hat library should I include/how to rearrange linking command to satisfy missing reference ?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;ilias@login-sivvp.ui.savba.sk:/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/./opt/pgi/linux86-64/13.10/bin/pgf90 -Bstatic -Wl,--no-export-dynamic -Wl,-E -DVAR_PGF90 -Bstatic -i8 -g CMakeFiles/cfread.x.dir/utils/cfread.F90.o -o cfread.x -L/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/lib -L/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/pcmsolver-build/external/lib lib/libdirac.a -lpcm -lgetkw /usr/lib64/libz.a lib/libxcfun.a -Wl,--start-group /opt/intel/mkl/lib/intel64/libmkl_lapack95_ilp64.a /opt/intel/mkl/lib/intel64/libmkl_intel_ilp64.a -mp -Wl,--end-group -Wl,--no-export-dynamic -lzceh -lstdz -lCz -lstdc++ -Wl,-rpath,/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/lib:/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/pcmsolver-build/external/lib: /opt/intel/mkl/lib/intel64/libmkl_core.a&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;/opt/intel/mkl/lib/intel64/libmkl_intel_ilp64.a(_xerbla.o): In function `XERBLA':&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;../../../../serv/iface/thunks_ext_to_ker/_xerbla.c:(.text+0x1): undefined reference to `mkl_serv_default_xerbla'&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:;"&gt;ilias@login-sivvp.ui.savba.sk:/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/.&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2014 16:46:17 GMT</pubDate>
    <dc:creator>miro_ilias</dc:creator>
    <dc:date>2014-10-23T16:46:17Z</dc:date>
    <item>
      <title>Static linking PGI with MKL - missing `mkl_serv_default_xerbla'</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-PGI-with-MKL-missing-mkl-serv-default-xerbla/m-p/1033732#M20279</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;

&lt;P&gt;I am trying to couple PGI compilers with the MKL library in static manner. Please w&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;hat library should I include/how to rearrange linking command to satisfy missing reference ?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;ilias@login-sivvp.ui.savba.sk:/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/./opt/pgi/linux86-64/13.10/bin/pgf90 -Bstatic -Wl,--no-export-dynamic -Wl,-E -DVAR_PGF90 -Bstatic -i8 -g CMakeFiles/cfread.x.dir/utils/cfread.F90.o -o cfread.x -L/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/lib -L/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/pcmsolver-build/external/lib lib/libdirac.a -lpcm -lgetkw /usr/lib64/libz.a lib/libxcfun.a -Wl,--start-group /opt/intel/mkl/lib/intel64/libmkl_lapack95_ilp64.a /opt/intel/mkl/lib/intel64/libmkl_intel_ilp64.a -mp -Wl,--end-group -Wl,--no-export-dynamic -lzceh -lstdz -lCz -lstdc++ -Wl,-rpath,/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/lib:/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/external/pcmsolver-build/external/lib: /opt/intel/mkl/lib/intel64/libmkl_core.a&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;/opt/intel/mkl/lib/intel64/libmkl_intel_ilp64.a(_xerbla.o): In function `XERBLA':&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;../../../../serv/iface/thunks_ext_to_ker/_xerbla.c:(.text+0x1): undefined reference to `mkl_serv_default_xerbla'&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:;"&gt;ilias@login-sivvp.ui.savba.sk:/shared/home/ilias/Work/software/dirac/trunk_release/build_pgi_mkl_i8_dbg_static/.&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 16:46:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-PGI-with-MKL-missing-mkl-serv-default-xerbla/m-p/1033732#M20279</guid>
      <dc:creator>miro_ilias</dc:creator>
      <dc:date>2014-10-23T16:46:17Z</dc:date>
    </item>
    <item>
      <title>I suspect it may work better</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-PGI-with-MKL-missing-mkl-serv-default-xerbla/m-p/1033733#M20280</link>
      <description>&lt;P&gt;I suspect it may work better if you use the start-group....end-group directives in accordance with link advisor putting (only and all of) the specified libraries between those directives.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor%2B%2B.html" target="_blank"&gt;https://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor%2B%2B.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 20:34:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-PGI-with-MKL-missing-mkl-serv-default-xerbla/m-p/1033733#M20280</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-10-23T20:34:26Z</dc:date>
    </item>
    <item>
      <title>Please use Link Line Advisor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-PGI-with-MKL-missing-mkl-serv-default-xerbla/m-p/1033734#M20281</link>
      <description>&lt;P&gt;Please use Link Line Advisor as Tim suggested.&lt;BR /&gt;
	The missing symbol is defined in the threading layer of MKL, which is missing on your link line.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2014 06:52:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-PGI-with-MKL-missing-mkl-serv-default-xerbla/m-p/1033734#M20281</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2014-10-24T06:52:01Z</dc:date>
    </item>
  </channel>
</rss>

