<?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 problem linking mkl to dft in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-linking-mkl-to-dft/m-p/848925#M6428</link>
    <description>&lt;DIV align="justify"&gt;&lt;FONT size="1"&gt;hi!&lt;BR /&gt;&lt;BR /&gt;I am new in the stuff of the intel fortran compiler, I work in beam prpagation and need tu use Fourier Transform. I installed the fortran compiler 10.1.008 and the imkl 10.0.1.014 and read the examples of the refence manual for the imkl I made this program:&lt;BR /&gt;&lt;BR /&gt; program fft&lt;BR /&gt;&lt;BR /&gt;! Fortran example.&lt;BR /&gt;! 1D complex to complex, and real to conjugate even&lt;BR /&gt;&lt;BR /&gt; USE MKL_DFTI&lt;BR /&gt; Complex :: X(100)&lt;BR /&gt; Real :: Y(34),del,x1&lt;BR /&gt; type(DFTI_DESCRIPTOR),POINTER ::My_Desc1_Handle,My_Desc2_Handle&lt;BR /&gt; Integer :: Status,i,j,n&lt;BR /&gt;&lt;BR /&gt; pi=3.1416 &lt;BR /&gt; n=100&lt;BR /&gt; open(unit=3,file='graficos.d')&lt;BR /&gt; del=2*pi/float(n)&lt;BR /&gt; &lt;BR /&gt; do i=0,n-1&lt;BR /&gt; x1=-pi+i*del&lt;BR /&gt; X(i+1)=exp(-x1**2)&lt;BR /&gt; write(3,*)x1," ",X(i)&lt;BR /&gt; enddo &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;!...put input data into X(1),...,X(32); Y(1),...,Y(32)&lt;BR /&gt;! Perform a complex to complex transform&lt;BR /&gt;&lt;BR /&gt; Status = DftiCreateDescriptor(My_Desc1_Handle,DFTI_SINGLE,DFTI&lt;BR /&gt; +_COMPLEX,1,32)&lt;BR /&gt; Status = DftiCommitDescriptor( My_Desc1_Handle )&lt;BR /&gt; Status = DftiComputeForward( My_Desc1_Handle, X )&lt;BR /&gt; Status = DftiFreeDescriptor(My_Desc1_Handle)&lt;BR /&gt;! result is given by {X(1),X(2),...,X(32)}&lt;BR /&gt;&lt;BR /&gt;! Perform a real to complex conjugate even transform&lt;BR /&gt;&lt;BR /&gt;! Status = DftiCreateDescriptor(My_Desc2_Handle, DFTI_SINGLE,DFTI&lt;BR /&gt;! +_REAL, 1, 32)&lt;BR /&gt;! Status = DftiCommitDescriptor(My_Desc2_Handle)&lt;BR /&gt;! Status = DftiComputeForward(My_Desc2_Handle, Y)&lt;BR /&gt;! Status = DftiFreeDescriptor(My_Desc2_Handle)&lt;BR /&gt;&lt;BR /&gt;! result is given in CCS format.&lt;BR /&gt;&lt;BR /&gt; END&lt;BR /&gt;&lt;BR /&gt;And I read the user guide and Imade this compilation line:&lt;BR /&gt;&lt;BR /&gt;ifort -o exec ejemplo1.f -L $/opt/intel/mkl/10.0.1.014/lib/32/ -I $/opt/intel/mkl/10.0.1.014/include/ -lmkl_ia32 -lguide -lpthread&lt;BR /&gt;&lt;BR /&gt;And then the machine shows this errors&lt;BR /&gt;&lt;BR /&gt;fortcom: Error: ejemplo1.f, line 7: Error in opening the compiled module file. Check INCLUDE paths. [MKL_DFTI]&lt;BR /&gt; USE MKL_DFTI&lt;BR /&gt;----------^&lt;BR /&gt;fortcom: Error: ejemplo1.f, line 10: This derived type name has not been declared. [DFTI_DESCRIPTOR]&lt;BR /&gt; type(DFTI_DESCRIPTOR),POINTER ::My_Desc1_Handle,My_Desc2_Handle&lt;BR /&gt;-----------^&lt;BR /&gt;compilation aborted for ejemplo1.f (code 1)&lt;BR /&gt;&lt;BR /&gt;I don't know what happen here, if someone can help me say me where is the error, in the program? in the compilation line?&lt;BR /&gt;&lt;BR /&gt;My OS is penSUSE 10.3, 32 bits, i386&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 16 Feb 2008 07:27:08 GMT</pubDate>
    <dc:creator>juan_martinez</dc:creator>
    <dc:date>2008-02-16T07:27:08Z</dc:date>
    <item>
      <title>problem linking mkl to dft</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-linking-mkl-to-dft/m-p/848925#M6428</link>
      <description>&lt;DIV align="justify"&gt;&lt;FONT size="1"&gt;hi!&lt;BR /&gt;&lt;BR /&gt;I am new in the stuff of the intel fortran compiler, I work in beam prpagation and need tu use Fourier Transform. I installed the fortran compiler 10.1.008 and the imkl 10.0.1.014 and read the examples of the refence manual for the imkl I made this program:&lt;BR /&gt;&lt;BR /&gt; program fft&lt;BR /&gt;&lt;BR /&gt;! Fortran example.&lt;BR /&gt;! 1D complex to complex, and real to conjugate even&lt;BR /&gt;&lt;BR /&gt; USE MKL_DFTI&lt;BR /&gt; Complex :: X(100)&lt;BR /&gt; Real :: Y(34),del,x1&lt;BR /&gt; type(DFTI_DESCRIPTOR),POINTER ::My_Desc1_Handle,My_Desc2_Handle&lt;BR /&gt; Integer :: Status,i,j,n&lt;BR /&gt;&lt;BR /&gt; pi=3.1416 &lt;BR /&gt; n=100&lt;BR /&gt; open(unit=3,file='graficos.d')&lt;BR /&gt; del=2*pi/float(n)&lt;BR /&gt; &lt;BR /&gt; do i=0,n-1&lt;BR /&gt; x1=-pi+i*del&lt;BR /&gt; X(i+1)=exp(-x1**2)&lt;BR /&gt; write(3,*)x1," ",X(i)&lt;BR /&gt; enddo &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;!...put input data into X(1),...,X(32); Y(1),...,Y(32)&lt;BR /&gt;! Perform a complex to complex transform&lt;BR /&gt;&lt;BR /&gt; Status = DftiCreateDescriptor(My_Desc1_Handle,DFTI_SINGLE,DFTI&lt;BR /&gt; +_COMPLEX,1,32)&lt;BR /&gt; Status = DftiCommitDescriptor( My_Desc1_Handle )&lt;BR /&gt; Status = DftiComputeForward( My_Desc1_Handle, X )&lt;BR /&gt; Status = DftiFreeDescriptor(My_Desc1_Handle)&lt;BR /&gt;! result is given by {X(1),X(2),...,X(32)}&lt;BR /&gt;&lt;BR /&gt;! Perform a real to complex conjugate even transform&lt;BR /&gt;&lt;BR /&gt;! Status = DftiCreateDescriptor(My_Desc2_Handle, DFTI_SINGLE,DFTI&lt;BR /&gt;! +_REAL, 1, 32)&lt;BR /&gt;! Status = DftiCommitDescriptor(My_Desc2_Handle)&lt;BR /&gt;! Status = DftiComputeForward(My_Desc2_Handle, Y)&lt;BR /&gt;! Status = DftiFreeDescriptor(My_Desc2_Handle)&lt;BR /&gt;&lt;BR /&gt;! result is given in CCS format.&lt;BR /&gt;&lt;BR /&gt; END&lt;BR /&gt;&lt;BR /&gt;And I read the user guide and Imade this compilation line:&lt;BR /&gt;&lt;BR /&gt;ifort -o exec ejemplo1.f -L $/opt/intel/mkl/10.0.1.014/lib/32/ -I $/opt/intel/mkl/10.0.1.014/include/ -lmkl_ia32 -lguide -lpthread&lt;BR /&gt;&lt;BR /&gt;And then the machine shows this errors&lt;BR /&gt;&lt;BR /&gt;fortcom: Error: ejemplo1.f, line 7: Error in opening the compiled module file. Check INCLUDE paths. [MKL_DFTI]&lt;BR /&gt; USE MKL_DFTI&lt;BR /&gt;----------^&lt;BR /&gt;fortcom: Error: ejemplo1.f, line 10: This derived type name has not been declared. [DFTI_DESCRIPTOR]&lt;BR /&gt; type(DFTI_DESCRIPTOR),POINTER ::My_Desc1_Handle,My_Desc2_Handle&lt;BR /&gt;-----------^&lt;BR /&gt;compilation aborted for ejemplo1.f (code 1)&lt;BR /&gt;&lt;BR /&gt;I don't know what happen here, if someone can help me say me where is the error, in the program? in the compilation line?&lt;BR /&gt;&lt;BR /&gt;My OS is penSUSE 10.3, 32 bits, i386&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Feb 2008 07:27:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-linking-mkl-to-dft/m-p/848925#M6428</guid>
      <dc:creator>juan_martinez</dc:creator>
      <dc:date>2008-02-16T07:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem linking mkl to dft</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-linking-mkl-to-dft/m-p/848926#M6429</link>
      <description>You have to compile the module first. The source file is probably provided in /opt/intel/mkl/10.0.1.0.14/include as mkl_dfti.f90 or something similar&lt;BR /&gt;&lt;BR /&gt;Also link using -L/opt/intel/mkl/10.0.1.0.14/lib/32 -lmkl_ia32 -lguide etc. etc.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 14:26:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-linking-mkl-to-dft/m-p/848926#M6429</guid>
      <dc:creator>Tabrez_Ali</dc:creator>
      <dc:date>2008-02-16T14:26:57Z</dc:date>
    </item>
  </channel>
</rss>

