<?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:cannot find -lfftw2xc_single_gnu in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1441277#M34052</link>
    <description>&lt;P&gt;Hi Bruce,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us with a sample reproducer to reproduce the error that you are getting to have a quick check from our end?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Dec 2022 16:35:45 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-12-23T16:35:45Z</dc:date>
    <item>
      <title>cannot find -lfftw2xc_single_gnu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1441014#M34049</link>
      <description>&lt;P&gt;Getting a linker error trying to find the fftw2x library. I have pre-built the library using the makefile in $MKL_ROOT/interfaces&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;make libintel64 compiler=gnu PRECISION=MKL_SINGLE INSTALL_DIR=../../lib/intel64/&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can see the .a file in a listing with all the other MKL library files:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;-rwxrwxrwx 1 root root 120102 Dec 22 13:38 libfftw2xc_single_gnu.a*
-rwxrwxrwx 1 root root  83014 Dec 22 13:38 libfftw2xc_single_intel.a*
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am then using cmake to build my program. Within CMakeLists.txt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; find_package(MKL CONFIG REQUIRED)
 set(MKL_LIBS fftw2xc_single_gnu)
 target_link_libraries(app PUBLIC ${MKL_LIBS})​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The output of cmake includes these:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;-- MKL_ARCH: None, set to ` intel64` by default
-- MKL_ROOT /opt/intel/oneapi/mkl/2022.1.0
-- MKL_LINK: static
-- MKL_INTERFACE_FULL: None, set to ` intel_ilp64` by default
-- MKL_THREADING: None, set to ` intel_thread` by default
-- MKL_MPI: None, set to ` intelmpi` by default
-- Found MKL: intelmpi
-- Found MKL: /opt/intel/oneapi/mkl/2022.1.0
-- Found MKL: /usr/lib/x86_64-linux-gnu/libmkl_intel_ilp64.a
-- Found MKL: /usr/lib/x86_64-linux-gnu/libmkl_core.a
-- Found MKL: /usr/lib/x86_64-linux-gnu/libmkl_intel_thread.a
-- Found MKL: /opt/intel/oneapi/compiler/latest/linux/compiler/lib/intel64/libiomp5.so
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;cmake also creates a link.txt file with the following as part of the linker command line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/usr/bin/c++  &amp;lt;bunch of other stuff&amp;gt;  -lfftw2xc_single_gnu -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;However when I try to make the target it compiles fine but fails to link:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/usr/bin/ld: cannot find -lfftw2xc_single_gnu
collect2: error: ld returned 1 exit status
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 00:29:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1441014#M34049</guid>
      <dc:creator>bruce_spc</dc:creator>
      <dc:date>2022-12-23T00:29:17Z</dc:date>
    </item>
    <item>
      <title>Re:cannot find -lfftw2xc_single_gnu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1441277#M34052</link>
      <description>&lt;P&gt;Hi Bruce,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us with a sample reproducer to reproduce the error that you are getting to have a quick check from our end?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Dec 2022 16:35:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1441277#M34052</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-12-23T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: cannot find -lfftw2xc_single_gnu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1441285#M34053</link>
      <description>&lt;P&gt;Our source code is too complicated to share easily (multiple repositories as submodules, multiple levels of cmake, etc). It will take me some time to try to make a simplified example that exhibits this problem.&lt;BR /&gt;&lt;BR /&gt;Can you just answer these two simple questions?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1) How do you link the FFTW2XC library? As I mentioned above I built the library using the makefile in&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/opt/intel/oneapi/mkl/2022.1.0/interfaces/fftw2xc&lt;/LI-CODE&gt;
&lt;P&gt;and I installed it in the same directory as all the other MKL libraries are found.&lt;BR /&gt;&lt;BR /&gt;2) I am still getting a link error &lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;undefined reference to 'vcCISI' &lt;/LI-CODE&gt;
&lt;P&gt;on linux when I had no such error on Windows compiling under Visual Studio.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 16:56:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1441285#M34053</guid>
      <dc:creator>bruce_spc</dc:creator>
      <dc:date>2022-12-23T16:56:39Z</dc:date>
    </item>
    <item>
      <title>Re:cannot find -lfftw2xc_single_gnu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1442280#M34085</link>
      <description>&lt;P&gt;Hi Bruce,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please confirm if you were able to locate the libfftw2xc_single_gnu.a file in your system?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, try checking with the sample CMakeLists.txt file provided here &lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-linux-developer-guide/top/getting-started/cmake-config-for-onemkl.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-linux-developer-guide/top/getting-started/cmake-config-for-onemkl.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regarding the 2nd issue&lt;/P&gt;&lt;P&gt;Is it possible to provide us with the sample reproducer to reproduce the undefined reference to 'vcCISI' error that you are getting?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2022 16:45:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1442280#M34085</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-12-28T16:45:33Z</dc:date>
    </item>
    <item>
      <title>Re:cannot find -lfftw2xc_single_gnu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1443804#M34118</link>
      <description>&lt;P&gt;Hi Bruce,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As we haven't heard back from you, could you please provide us with an update regarding the issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jan 2023 12:34:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1443804#M34118</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2023-01-04T12:34:22Z</dc:date>
    </item>
    <item>
      <title>Re:cannot find -lfftw2xc_single_gnu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1445742#M34152</link>
      <description>&lt;P&gt;Hi Bruce,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As we haven't heard back from you, we are closing this thread. Please post a new question if you need any additional assistance from Intel as this thread will longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jan 2023 15:54:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lfftw2xc-single-gnu/m-p/1445742#M34152</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2023-01-11T15:54:34Z</dc:date>
    </item>
  </channel>
</rss>

