<?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 Thanks for your reply. I in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882046#M9674</link>
    <description>Thanks for your reply. I found I had to include a couple of lib files to get it compile. Now the problem is solved.</description>
    <pubDate>Wed, 23 Apr 2014 19:45:40 GMT</pubDate>
    <dc:creator>Bo_Q_</dc:creator>
    <dc:date>2014-04-23T19:45:40Z</dc:date>
    <item>
      <title>Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882036#M9664</link>
      <description>I am experimenting with the Intel compiler and MKL and comparing them to GFortran and FFTW. I am unable to compile my program using the MKL library. I get the following error:&lt;BR /&gt;&lt;BR /&gt;error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MKL_DFTI]&lt;BR /&gt;&lt;BR /&gt;My command is:&lt;BR /&gt;&lt;BR /&gt;ifort -I/opt/intel/Compiler/11.0/083/mkl/include -o procsl procsl.f90 -L/opt/intel/Compiler/11.0/083/mkl/lib/em64t/ -lmkl_core&lt;BR /&gt;&lt;BR /&gt;When using my own modules, I always use -module &lt;PATH&gt; when using a "USE MODULE" statement, but I don't see any *.mod files in the MKL directories.&lt;BR /&gt;&lt;BR /&gt;I'm sure this is a simple fix, but I can't find it anywhere in the documentation or this forum. Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Fri, 12 Jun 2009 20:49:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882036#M9664</guid>
      <dc:creator>chambes</dc:creator>
      <dc:date>2009-06-12T20:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882037#M9665</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/431900"&gt;chambes&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;BR /&gt;error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MKL_DFTI]&lt;BR /&gt;&lt;BR /&gt;My command is:&lt;BR /&gt;&lt;BR /&gt;ifort -I/opt/intel/Compiler/11.0/083/mkl/include -o procsl procsl.f90 -L/opt/intel/Compiler/11.0/083/mkl/lib/em64t/ -lmkl_core&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
The .mod files in my installation are in the subdirectories in the mkl/include directory. For example, for x86_64, there are mkl/include/em64t/lp64/*.mod (32-bit integers) and mkl/include/em64t/ilp64/*.mod (64-bit integers).&lt;BR /&gt;The -L path should be set implicitly when you source the ifortvars script, so that's redundant.&lt;BR /&gt;-lmkl_core won't work by itself. You need also the ilp64 or lp64 library and (since you don't have any threading library option) -lmkl_sequential&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 21:04:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882037#M9665</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-12T21:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882038#M9666</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/367365"&gt;tim18&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;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
The .mod files in my installation are in the subdirectories in the mkl/include directory. For example, for x86_64, there are mkl/include/em64t/lp64/*.mod (32-bit integers) and mkl/include/em64t/ilp64/*.mod (64-bit integers).&lt;BR /&gt;The -L path should be set implicitly when you source the ifortvars script, so that's redundant.&lt;BR /&gt;-lmkl_core won't work by itself. You need also the ilp64 or lp64 library and (since you don't have any threading library option) -lmkl_sequential&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks for the quick reply!&lt;BR /&gt;&lt;BR /&gt;I realize now that my linking isn't complete - I'll get that fixed once I get it to compile.&lt;BR /&gt;&lt;BR /&gt;In my MKL installation directory I have mkl/include/*.f90 but no *.mod files and no em64t directory. Any ideas on why I wouldn't have that directory?&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 21:24:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882038#M9666</guid>
      <dc:creator>chambes</dc:creator>
      <dc:date>2009-06-12T21:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882039#M9667</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/431900"&gt;chambes&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;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Thanks for the quick reply!&lt;BR /&gt;&lt;BR /&gt;I realize now that my linking isn't complete - I'll get that fixed once I get it to compile.&lt;BR /&gt;&lt;BR /&gt;In my MKL installation directory I have mkl/include/*.f90 but no *.mod files and no em64t directory. Any ideas on why I wouldn't have that directory?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
The difference in my installations seems to be that the blas95 .mod files have to be built by the makefile procedure in one case, and come pre-built in the other. I went off track there in my previous answer. It looks like they leave it up to you to compile mkl_dfti.f90 (with the same compiler you will use in your application) to make the corresponding .mod.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 21:58:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882039#M9667</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-12T21:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882040#M9668</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
For those who may be having a similar issue - my system administrator had to manually compile the .f90 files in mkl/include. They were not compiled during the installation of the Professional Compiler Suite.&lt;BR /&gt;</description>
      <pubDate>Sat, 13 Jun 2009 13:09:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882040#M9668</guid>
      <dc:creator>chambes</dc:creator>
      <dc:date>2009-06-13T13:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882041#M9669</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/431900"&gt;chambes&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; They were not compiled during the installation of the Professional Compiler Suite.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;This is actually clearly written in the User's Guide (&lt;EM&gt;Fortran 95 Interfaces and Wrappers to LAPACK and BLAS&lt;/EM&gt;) on pages 7-2 to 7-4, and full procedure (how to create thme) given. So it is "by design" and not that your installation failed or partially went wrong.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Jun 2009 09:10:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882041#M9669</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-06-14T09:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882042#M9670</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/342379"&gt;ArturGuzik&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;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;This is actually clearly written in the User's Guide (&lt;EM&gt;Fortran 95 Interfaces and Wrappers to LAPACK and BLAS&lt;/EM&gt;) on pages 7-2 to 7-4, and full procedure (how to create thme) given. So it is "by design" and not that your installation failed or partially went wrong.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I was not using LAPACK or BLAS, though. I was using the FFT library.&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Jun 2009 15:00:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882042#M9670</guid>
      <dc:creator>chambes</dc:creator>
      <dc:date>2009-06-14T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882043#M9671</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/431900"&gt;chambes&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; I was not using LAPACK or BLAS, though. I was using the FFT library.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Sorry, I must have missed something. I admit I don't get it why did you need to compile the files (I understand you needed some include files for MKL DFTI lib)? I see no reason for that as VS should automatically create it for you.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 00:10:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882043#M9671</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-06-15T00:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882044#M9672</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/342379"&gt;ArturGuzik&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;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Sorry, I must have missed something. I admit I don't get it why did you need to compile the files (I understand you needed some include files for MKL DFTI lib)? I see no reason for that as VS should automatically create it for you.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I need the .mod files, which needed to be compiled from .f90 files as part of the installation. I'm assuming you meant visual studio by VS - I am in a Linux environment using ifort from the command line.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 13:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882044#M9672</guid>
      <dc:creator>chambes</dc:creator>
      <dc:date>2009-06-15T13:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner question - Compiling with MKL_DFTI in Fortran</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882045#M9673</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;MKL did not provide precompiled .mod files because they are compiler dependent. Even if they were compiled with one version of Intel ifort, they won't be compatible with another, not to say about other compilers that MKL supports. Moreover, on64-bit systems MKLsupports LP64 and ILP64 bit interafaces. Forthese interfaces.mod files are different, but should have the same name. That is the reason why the module definition files such as mkl_dfti.f90 are left forcompilation at user's side.&lt;BR /&gt;&lt;BR /&gt;Dima&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:07:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882045#M9673</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2009-06-15T14:07:11Z</dc:date>
    </item>
    <item>
      <title>Thanks for your reply. I</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882046#M9674</link>
      <description>Thanks for your reply. I found I had to include a couple of lib files to get it compile. Now the problem is solved.</description>
      <pubDate>Wed, 23 Apr 2014 19:45:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882046#M9674</guid>
      <dc:creator>Bo_Q_</dc:creator>
      <dc:date>2014-04-23T19:45:40Z</dc:date>
    </item>
    <item>
      <title>I have always had similar</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882047#M9675</link>
      <description>&lt;P&gt;I have always had similar issues with Fortran and C++ compilers.&lt;/P&gt;

&lt;P&gt;Although INTEL provides code samples and comprehensive documentation to use with the compilers, they never provide the compilation approach&amp;nbsp;in the same documentation of the example code. The compilation or coupling with other libs is usually the main and starting point of frustration in Fortran and C++ for beginners and sometimes intermediate users.&lt;/P&gt;

&lt;P&gt;The documentation source to use INTEL FFT and example codes without the clear declaration of the compilation approach is&amp;nbsp;an example of what I mean:&lt;/P&gt;

&lt;P&gt;The link:&amp;nbsp;https://software.intel.com/en-us/mkl-developer-reference-fortran-fft-code-examples&lt;/P&gt;

&lt;P&gt;The documentation could directly point out that the user needs to execute the following command for proper compilation:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;ifort -mkl [link to mkl_dfti.f90] file.f90&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I have found it frustrating because just mentioning the use of "MKL_DFTI" module in the documentation is not enough for easy compilation.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best&lt;/P&gt;

&lt;P&gt;Vahid&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 17:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882047#M9675</guid>
      <dc:creator>vahid_a_</dc:creator>
      <dc:date>2017-09-15T17:12:00Z</dc:date>
    </item>
    <item>
      <title>you may find out many</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882048#M9676</link>
      <description>&lt;P&gt;you may find out many examples how to build MKL DFT*.f90 examples - see mklroot/examples/dftf and see how to use makefile and then easy compile. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2017 02:49:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Beginner-question-Compiling-with-MKL-DFTI-in-Fortran/m-p/882048#M9676</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-09-16T02:49:18Z</dc:date>
    </item>
  </channel>
</rss>

