<?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 Actually that's strange as in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134607#M25884</link>
    <description>&lt;P&gt;Actually that's strange as all of these FFTW3 interfaces are&amp;nbsp;integrated into Intel MKL. They are defined in&amp;nbsp;mkl_intel_ilp64.lib,&amp;nbsp;mkl_intel_ilp64_dll.lib mkl_intel_lp64.lib, mkl_intel_lp64_dll.lib and mkl_rt.lib of&amp;nbsp;&amp;nbsp;Intel® 64 architecture.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may try to manually link with MKL by following the &lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor"&gt;MKL Linker Adviser&lt;/A&gt; tips.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 07:51:38 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2019-11-05T07:51:38Z</dc:date>
    <item>
      <title>Why I could not use the mkl-fftw3 in abaqus subroutine</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134606#M25883</link>
      <description>&lt;P&gt;I use abaqus2019 with vs2017 and ivf2019, I could easily compile and link my codes with mkl-fftw3&amp;nbsp;in vs IDE, where I just choose to modify 'Use Intel Math Kernel Library' as '/Qmkl:sequential'.&lt;/P&gt;&lt;P&gt;But when I wanted to call fortran subroutine which used mkl-fftw3&amp;nbsp;in abaqus, it did not work well, although I have modified the file 'C:\Program Files\Dassault Systemes\SimulationServices\V6R2019x\win_b64\SMA\site\win86_64.env' as below&lt;/P&gt;
&lt;PRE class="brush:; class-name:dark;"&gt;compile_fortran=['ifort','/Qmkl:sequential',&lt;/PRE&gt;

&lt;P&gt;I have also tested other libraries like degsv in mkl, they both worked well when calling them in abaqus.&lt;/P&gt;
&lt;P&gt;Below error informations are showed&amp;nbsp;in log file&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;error LNK2019: unresolved external symbol DFFTW_PLAN_DFT_1D referenced in function MAIN__

error LNK2019: unresolved external symbol DFFTW_EXECUTE referenced in function MAIN__

error LNK2019: unresolved external symbol DFFTW_DESTROY_PLAN referenced in function MAIN__&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 09:00:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134606#M25883</guid>
      <dc:creator>fam__fen</dc:creator>
      <dc:date>2019-11-04T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Actually that's strange as</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134607#M25884</link>
      <description>&lt;P&gt;Actually that's strange as all of these FFTW3 interfaces are&amp;nbsp;integrated into Intel MKL. They are defined in&amp;nbsp;mkl_intel_ilp64.lib,&amp;nbsp;mkl_intel_ilp64_dll.lib mkl_intel_lp64.lib, mkl_intel_lp64_dll.lib and mkl_rt.lib of&amp;nbsp;&amp;nbsp;Intel® 64 architecture.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may try to manually link with MKL by following the &lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor"&gt;MKL Linker Adviser&lt;/A&gt; tips.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 07:51:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134607#M25884</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-11-05T07:51:38Z</dc:date>
    </item>
    <item>
      <title>I tried to include codes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134608#M25885</link>
      <description>&lt;P&gt;I tried to include codes below, it did not show compile and link error anymore, but the results were all zeros.&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;!dec$objcomment lib:'mkl_intel_ilp64.lib'
!dec$objcomment lib:'mkl_sequential.lib'
!dec$objcomment lib:'mkl_core.lib'
!dec$objcomment lib:'mkl_intel_ilp64_dll.lib'
!dec$objcomment lib:'mkl_intel_lp64_dll.lib'
!dec$objcomment lib:'mkl_intel_lp64.lib'
!dec$objcomment lib:'mkl_rt.lib'&lt;/PRE&gt;

&lt;PRE class="brush:fortran; class-name:dark;"&gt;  program main
  implicit none  
  double complex t_in(5,5), t_out(5,5)
  integer*8 plan
  integer i 

  t_in = dcmplx(reshape([1:25],[5,5]))

  call dfftw_plan_dft_2d(plan,5,5,t_in,t_out,FFTW_FORWARD,FFTW_E
 1  STIMATE)
  call dfftw_execute_dft(plan, t_in, t_out)
  call dfftw_destroy_plan(plan)
  PRINT*,t_in
  PRINT*,t_out
  END&lt;/PRE&gt;

&lt;P&gt;Could you help me why it should be like that?&lt;/P&gt;

&lt;PRE class="brush:fortran; class-name:dark;"&gt; (1.00000000000000,0.000000000000000E+000)
 (2.00000000000000,0.000000000000000E+000)
 (3.00000000000000,0.000000000000000E+000)
 (4.00000000000000,0.000000000000000E+000)
 (5.00000000000000,0.000000000000000E+000)
 (6.00000000000000,0.000000000000000E+000)
 (7.00000000000000,0.000000000000000E+000)
 (8.00000000000000,0.000000000000000E+000)
 (9.00000000000000,0.000000000000000E+000)
 (10.0000000000000,0.000000000000000E+000)
 (11.0000000000000,0.000000000000000E+000)
 (12.0000000000000,0.000000000000000E+000)
 (13.0000000000000,0.000000000000000E+000)
 (14.0000000000000,0.000000000000000E+000)
 (15.0000000000000,0.000000000000000E+000)
 (16.0000000000000,0.000000000000000E+000)
 (17.0000000000000,0.000000000000000E+000)
 (18.0000000000000,0.000000000000000E+000)
 (19.0000000000000,0.000000000000000E+000)
 (20.0000000000000,0.000000000000000E+000)
 (21.0000000000000,0.000000000000000E+000)
 (22.0000000000000,0.000000000000000E+000)
 (23.0000000000000,0.000000000000000E+000)
 (24.0000000000000,0.000000000000000E+000)
 (25.0000000000000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)
 (0.000000000000000E+000,0.000000000000000E+000)&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 03:25:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134608#M25885</guid>
      <dc:creator>fam__fen</dc:creator>
      <dc:date>2019-11-06T03:25:40Z</dc:date>
    </item>
    <item>
      <title>Please check the list of libs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134609#M25886</link>
      <description>&lt;P&gt;Please check the list of libs that MKL linker adviser suggests.&amp;nbsp; Compiling ilp64 and lp64&amp;nbsp;libs are not accepted. You may also check MKL User's guide to see more details and linking examples.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 09:17:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134609#M25886</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-11-06T09:17:22Z</dc:date>
    </item>
    <item>
      <title>HI Fam,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134610#M25887</link>
      <description>&lt;P&gt;HI Fam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you solved your problem?&lt;/P&gt;&lt;P&gt;Currently I also find s similar problem with using mkl functions (dgetrf and dgetri). After adding&amp;nbsp;'/Qmkl:sequential' in the compile_fortran of&amp;nbsp;the win86_64.env file, it still have two errors (error LNK2019: unresolved external symbol). I used&amp;nbsp;abaqus2019+vs2015+ivf2018.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea on my problem? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 04:08:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Why-I-could-not-use-the-mkl-fftw3-in-abaqus-subroutine/m-p/1134610#M25887</guid>
      <dc:creator>Shen__Fei</dc:creator>
      <dc:date>2020-01-09T04:08:32Z</dc:date>
    </item>
  </channel>
</rss>

