<?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 Hi Leonardo, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-FFTW-libraries/m-p/965317#M16170</link>
    <description>&lt;P&gt;Hi Leonardo,&lt;/P&gt;
&lt;P&gt;could you please make sure the libraries like &lt;STRONG&gt;libsrfftw_mpi.a&lt;/STRONG&gt; are in the directory like /opt/intel/fftw/lib?&lt;/P&gt;
&lt;P&gt;On the other hand, as i recalled, we add prebuild fftw library in intel fotran compiler. please see &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-main-libraries-contain-fftw3-interfaces"&gt;http://software.intel.com/en-us/articles/intel-mkl-main-libraries-contain-fftw3-interfaces&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;And if&amp;nbsp;you build&amp;nbsp;the wrapper library yourself,&amp;nbsp;the libray 's name is like libffw3xf_gnu.a libfftw2xf_intel.a etc.&amp;nbsp; please see some related documetation:&amp;nbsp;&lt;A href="http://software.intel.com/en-us/articles/fft-interfaces-in-intelr-mkl"&gt;http://software.intel.com/en-us/articles/fft-interfaces-in-intelr-mkl&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;not sure if you are using&amp;nbsp;MKL pre-build FFTW&amp;nbsp;library. Please see the MKL userguide for more information.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_userguide_lnx/index.htm"&gt;http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_userguide_lnx/index.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2013 05:38:00 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2013-05-20T05:38:00Z</dc:date>
    <item>
      <title>Missing FFTW libraries</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-FFTW-libraries/m-p/965316#M16169</link>
      <description>&lt;P&gt;I'm trying to compile a code written in fortran90/95 and I'm getting this error:&lt;/P&gt;
&lt;P&gt;user:~&amp;gt; make&lt;BR /&gt;ifort -O3 -lmpi -L/opt/local/intel/fftw/lib -I/opt/local/intel/fftw/include - I/opt/sgi/mpt/mpt-2.03/include -L/opt/sgi/mpt/mpt-2.03/lib -o /test module_param.o incompact3d.o mesure.o schemas.o derive.o spectral.o tools.o filtre.o parametre.o forcage.o navier.o convdiff.o viv.o slfft3d_shift.o poisson.o&lt;BR /&gt;slfft3d_shift.o: In function 'slfft3d_shift_':&lt;BR /&gt;slfft3d_shift.f90:(.text+0x587e): undefined reference to 'rfftw3d_f77_mpi_create_plan_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x58a3): undefined reference to 'rfftwnd_f77_mpi_local_sizes_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x58cd): undefined reference to 'rfftwnd_f77_mpi_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x58d9): undefined reference to 'rfftwnd_f77_mpi_destroy_plan_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x91ca): undefined reference to 'rfftw3d_f77_mpi_create_plan_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x91ef): undefined reference to 'rfftwnd_f77_mpi_local_sizes_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x9219): undefined reference to 'rfftwnd_f77_mpi_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x9225): undefined reference to 'rfftwnd_f77_mpi_destroy_plan_'&lt;BR /&gt;slfft3d_shift.f90:(.text+0x111e7): undefined reference to 'rfftwnd_f77_one_real_to_complex_'&lt;BR /&gt;make: *** [/test] Error 1&lt;/P&gt;
&lt;P&gt;Here's the Makefile:&lt;/P&gt;
&lt;P&gt;FC = ifort&lt;BR /&gt;OPTFC = -O3 -lmpi -L/opt/local/intel/fftw/lib -I/opt/local/intel/fftw/include - I/opt/sgi/mpt/mpt-2.03/include -L/opt/sgi/mpt/mpt-2.03/lib/test : module_param.o incompact3d.o mesure.o schemas.o derive.o spectral.o tools.o poisson.o filtre.o parametre.o slfft3d_shift.o forcage.o navier.o convdiff.o viv.o&lt;/P&gt;
&lt;P&gt;$(FC) $(OPTFC) -o /test module_param.o incompact3d.o mesure.o schemas.o derive.o spectral.o tools.o filtre.o parametre.o forcage.o navier.o convdiff.o viv.o slfft3d_shift.o poisson.o&lt;/P&gt;
&lt;P&gt;module_param.o : module_param.f90&lt;BR /&gt;$(FC) $(OPTFC) -c module_param.f90 incompact3d.o : incompact3d.f90&lt;BR /&gt;$(FC) $(OPTFC) -c incompact3d.f90 mesure.o : mesure.f90&lt;BR /&gt;$(FC) $(OPTFC) -c mesure.f90 spectral.o : spectral.f90&lt;BR /&gt;$(FC) $(OPTFC) -c spectral.f90 schemas.o : schemas.f90&lt;BR /&gt;$(FC) $(OPTFC) -c schemas.f90 derive.o : derive.f90&lt;BR /&gt;$(FC) $(OPTFC) -c derive.f90 tools.o : tools.f90&lt;BR /&gt;$(FC) $(OPTFC) -c tools.f90 forcage.o : forcage.f90&lt;BR /&gt;$(FC) $(OPTFC) -c forcage.f90 navier.o : navier.f90&lt;BR /&gt;$(FC) $(OPTFC) -c navier.f90 filtre.o : filtre.f90&lt;BR /&gt;$(FC) $(OPTFC) -c filtre.f90 parametre.o : parametre.f90&lt;BR /&gt;$(FC) $(OPTFC) -c parametre.f90 convdiff.o : convdiff.f90&lt;BR /&gt;$(FC) $(OPTFC) -c convdiff.f90 poisson.o : poisson.f90&lt;BR /&gt;$(FC) $(OPTFC) -c poisson.f90 slfft3d_shift.o : slfft3d_shift.f90&lt;BR /&gt;$(FC) $(OPTFC) -c slfft3d_shift.f90 viv.o : viv.f90&lt;BR /&gt;$(FC) $(OPTFC) -c viv.f90&lt;/P&gt;
&lt;P&gt;When I include the libraries required in the Makefile I get the following message:&lt;/P&gt;
&lt;P&gt;user:~/test&amp;gt; make&lt;BR /&gt;ifort -O3 -lmpi -I/opt/local/intel/fftw/include -L/opt/local/gnu/fftw - I/opt/sgi/mpt/mpt-2.03/include -L/opt/sgi/mpt/mpt-2.03/lib -I/opt/fftw/2.1.5.1/cnos/include -L/opt/intel/composerxe-2011.0.084/mkl/include/fftw/fftw_f77.i -L/opt/fftw/2.1.5.1/cnos/lib -I/opt/local/intel/fftw -I/opt/fftw/3.1.1/cnos/include -L/opt/fftw/3.1.1/cnos/lib - I/usr/local/packages/nag/p3dfft-single/2.3/include -L/usr/local/packages/nag/p3dfft- single/2.3/lib -o /home/u/guitar88/bin/teste module_param.o incompact3d.o mesure.o schemas.o derive.o spectral.o tools.o filtre.o \&lt;BR /&gt;parametre.o forcage.o navier.o convdiff.o viv.o slfft3d_shift.o poisson.o -lm -L/opt/local/intel/fftw/lib -lsrfftw_mpi \&lt;BR /&gt;-lsrfftw -lsfftw_mpi -lsfftw&lt;BR /&gt;ld: cannot find -lsrfftw_mpi&lt;BR /&gt;make: *** [/test] Error 1&lt;/P&gt;
&lt;P&gt;I'm using ifort compiler and I'm on a supercomputer environment working with MPI. Please, any clue of what is going on? Cheers.&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2013 17:44:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-FFTW-libraries/m-p/965316#M16169</guid>
      <dc:creator>Leonardo_A_</dc:creator>
      <dc:date>2013-05-19T17:44:47Z</dc:date>
    </item>
    <item>
      <title>Hi Leonardo,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-FFTW-libraries/m-p/965317#M16170</link>
      <description>&lt;P&gt;Hi Leonardo,&lt;/P&gt;
&lt;P&gt;could you please make sure the libraries like &lt;STRONG&gt;libsrfftw_mpi.a&lt;/STRONG&gt; are in the directory like /opt/intel/fftw/lib?&lt;/P&gt;
&lt;P&gt;On the other hand, as i recalled, we add prebuild fftw library in intel fotran compiler. please see &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-main-libraries-contain-fftw3-interfaces"&gt;http://software.intel.com/en-us/articles/intel-mkl-main-libraries-contain-fftw3-interfaces&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;And if&amp;nbsp;you build&amp;nbsp;the wrapper library yourself,&amp;nbsp;the libray 's name is like libffw3xf_gnu.a libfftw2xf_intel.a etc.&amp;nbsp; please see some related documetation:&amp;nbsp;&lt;A href="http://software.intel.com/en-us/articles/fft-interfaces-in-intelr-mkl"&gt;http://software.intel.com/en-us/articles/fft-interfaces-in-intelr-mkl&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;not sure if you are using&amp;nbsp;MKL pre-build FFTW&amp;nbsp;library. Please see the MKL userguide for more information.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_userguide_lnx/index.htm"&gt;http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_userguide_lnx/index.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 05:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-FFTW-libraries/m-p/965317#M16170</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-05-20T05:38:00Z</dc:date>
    </item>
    <item>
      <title>Hi Leonardo,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-FFTW-libraries/m-p/965318#M16171</link>
      <description>&lt;P&gt;Hi Leonardo,&lt;/P&gt;
&lt;P&gt;Add some information for your reference.&lt;/P&gt;
&lt;P&gt;There are&amp;nbsp;another similiar question in the forum &lt;A href="http://software.intel.com/en-us/forums/topic/301790"&gt;http://software.intel.com/en-us/forums/topic/301790&lt;/A&gt;,&amp;nbsp; the&amp;nbsp;functions are&amp;nbsp;from fftw2xf,&lt;/P&gt;
&lt;P&gt;they are not in prebuild mkl library, so if you want to use MKL&amp;nbsp;MPI FFTW2 libarary, you need&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;first, buid the mpi FFTW wrapper library.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;the&amp;nbsp;source code for the wrapper, makefile are located in &amp;lt;mkl dir&amp;gt;\interfacers\fftw2x_cdft,&amp;nbsp; afte enter command like make libia32, you will get library which name is like&amp;nbsp;&amp;nbsp;libfftw2x_cdft_DOUBLE.a . For the build details, please read the mkl manual appendix E.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Then.&amp;nbsp; link mkl library and the wrapper library into your code&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;the mkl library can be gotten by choose on&amp;nbsp;&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for example, the comand line shoud be like&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;nbsp;ifort&amp;nbsp;&amp;nbsp; -L/opt/intel/mkl/lib/ia32&amp;nbsp;&amp;nbsp;&amp;nbsp;-lfftw2x_cdft_double -mkl=cluster&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;/P&gt;
&lt;P&gt;Best&amp;nbsp;Regards,&lt;/P&gt;
&lt;P&gt;Ying &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2013 03:34:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Missing-FFTW-libraries/m-p/965318#M16171</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-05-31T03:34:05Z</dc:date>
    </item>
  </channel>
</rss>

