<?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 hpcc + mkl/fftw linking error in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859502#M7342</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I get two undefined reference while linking the hpcc benchmark with the mkl 10.0.5 and the new beta release, which was delivered with 11.0.044 Compiler Suite:&lt;/P&gt;
&lt;P&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiFreeDescriptorDM_lp64.o): In function `dftifreedescriptordm_': &lt;BR /&gt;_DftiFreeDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiFreeDescriptorDM' &lt;BR /&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiCommitDescriptorDM_lp64.o): In function `dfticommitdescriptordm_': &lt;BR /&gt;_DftiCommitDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiCommitDescriptorDM'&lt;/P&gt;
&lt;P&gt;My linker flags:&lt;/P&gt;
&lt;P&gt;-L/opt/intel/Compiler/11.0/044/mkl/lib/em64t /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xc_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xf_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2x_cdft_DOUBLE.a -lmkl_cdft_core -lmkl_blacs_openmpi_lp64 -lmkl_em64t -lguide -lmpi -lm&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I compiled the hpcc with the -DUSING_FFTW, also complied the fftw2c wrapper and mpi mkl fftw library.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Jens&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Oct 2008 23:17:23 GMT</pubDate>
    <dc:creator>sonicato</dc:creator>
    <dc:date>2008-10-26T23:17:23Z</dc:date>
    <item>
      <title>hpcc + mkl/fftw linking error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859502#M7342</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I get two undefined reference while linking the hpcc benchmark with the mkl 10.0.5 and the new beta release, which was delivered with 11.0.044 Compiler Suite:&lt;/P&gt;
&lt;P&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiFreeDescriptorDM_lp64.o): In function `dftifreedescriptordm_': &lt;BR /&gt;_DftiFreeDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiFreeDescriptorDM' &lt;BR /&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiCommitDescriptorDM_lp64.o): In function `dfticommitdescriptordm_': &lt;BR /&gt;_DftiCommitDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiCommitDescriptorDM'&lt;/P&gt;
&lt;P&gt;My linker flags:&lt;/P&gt;
&lt;P&gt;-L/opt/intel/Compiler/11.0/044/mkl/lib/em64t /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xc_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xf_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2x_cdft_DOUBLE.a -lmkl_cdft_core -lmkl_blacs_openmpi_lp64 -lmkl_em64t -lguide -lmpi -lm&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I compiled the hpcc with the -DUSING_FFTW, also complied the fftw2c wrapper and mpi mkl fftw library.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Jens&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2008 23:17:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859502#M7342</guid>
      <dc:creator>sonicato</dc:creator>
      <dc:date>2008-10-26T23:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: hpcc + mkl/fftw linking error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859503#M7343</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/319640"&gt;sonicato&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I get two undefined reference while linking the hpcc benchmark with the mkl 10.0.5 and the new beta release, which was delivered with 11.0.044 Compiler Suite:&lt;/P&gt;
&lt;P&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiFreeDescriptorDM_lp64.o): In function `dftifreedescriptordm_': &lt;BR /&gt;_DftiFreeDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiFreeDescriptorDM' &lt;BR /&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiCommitDescriptorDM_lp64.o): In function `dfticommitdescriptordm_': &lt;BR /&gt;_DftiCommitDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiCommitDescriptorDM'&lt;/P&gt;
&lt;P&gt;My linker flags:&lt;/P&gt;
&lt;P&gt;-L/opt/intel/Compiler/11.0/044/mkl/lib/em64t /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xc_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xf_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2x_cdft_DOUBLE.a -lmkl_cdft_core -lmkl_blacs_openmpi_lp64 -lmkl_em64t -lguide -lmpi -lm&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I compiled the hpcc with the -DUSING_FFTW, also complied the fftw2c wrapper and mpi mkl fftw library.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Jens&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;sonicato,&lt;/P&gt;
&lt;P&gt;the linker in Linux-like OSes is sequential dependent. Try to change your link line to "L/opt/intel/Compiler/11.0/044/mkl/lib/em64t /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xc_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xf_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2x_cdft_DOUBLE.a -Wl,--start-group -lmkl_blacs_openmpi_lp64 -lmkl_em64t -lmkl_cdft_core -Wl,--end-group -lguide -lmpi -lm"&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 06:44:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859503#M7343</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-10-27T06:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: hpcc + mkl/fftw linking error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859504#M7344</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/319640"&gt;sonicato&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I get two undefined reference while linking the hpcc benchmark with the mkl 10.0.5 and the new beta release, which was delivered with 11.0.044 Compiler Suite:&lt;/P&gt;
&lt;P&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiFreeDescriptorDM_lp64.o): In function `dftifreedescriptordm_': &lt;BR /&gt;_DftiFreeDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiFreeDescriptorDM' &lt;BR /&gt;/opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a(_DftiCommitDescriptorDM_lp64.o): In function `dfticommitdescriptordm_': &lt;BR /&gt;_DftiCommitDescriptorDM_iface.c:(.text+0x2): undefined reference to `mkl_cdft_DftiCommitDescriptorDM'&lt;/P&gt;
&lt;P&gt;My linker flags:&lt;/P&gt;
&lt;P&gt;-L/opt/intel/Compiler/11.0/044/mkl/lib/em64t /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xc_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xf_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2x_cdft_DOUBLE.a -lmkl_cdft_core -lmkl_blacs_openmpi_lp64 -lmkl_em64t -lguide -lmpi -lm&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I compiled the hpcc with the -DUSING_FFTW, also complied the fftw2c wrapper and mpi mkl fftw library.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Jens&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hello Jens,&lt;/P&gt;
&lt;P&gt;What you need to do is to change the linker flags as follows:&lt;/P&gt;
&lt;P&gt;-L/opt/intel/Compiler/11.0/044/mkl/lib/em64t /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xc_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2xf_intel.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libfftw2x_cdft_DOUBLE.a -Wl,--start-group /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_cdft_core.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_lp64.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_intel_thread.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/libmkl_core.a /opt/intel/Compiler/11.0/044/mkl/lib/em64t/lib&lt;EM&gt;&lt;EM&gt;mkl_blacs_openmpi_lp64&lt;/EM&gt;&lt;/EM&gt;.a -Wl,--end-group -lguide -lmpi -lm&lt;/P&gt;
&lt;P&gt;This should resolve the dependency.&lt;/P&gt;
&lt;P&gt;By the way, keep in mind that HPCC uses MPI FFTW interface in a modified manner. Namely the following functions must be altered to work with 64-bit integers (e.g. size_t instead of int's): fftw_mpi_create_plan and fftw_mpi_local_sizes.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;-Vladimir&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 08:37:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859504#M7344</guid>
      <dc:creator>Vladimir_Petrov__Int</dc:creator>
      <dc:date>2008-10-27T08:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: hpcc + mkl/fftw linking error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859505#M7345</link>
      <description>&lt;P&gt;Thx for the fast answers!&lt;/P&gt;
&lt;P&gt;These two replies solved my problem.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jens&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 13:40:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/hpcc-mkl-fftw-linking-error/m-p/859505#M7345</guid>
      <dc:creator>sonicato</dc:creator>
      <dc:date>2008-10-27T13:40:38Z</dc:date>
    </item>
  </channel>
</rss>

