<?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: Cluster FFT - undefined reference in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889562#M10308</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Hi,&lt;BR /&gt;I have already tried all the libraries mentioned in User's Guide - Working with cluster ..., butno progress.Also, when listing library contents with &lt;EM&gt;nm,&lt;/EM&gt;specific cluster fft functions (for example DftiCreateDescriptorDM) are shown in libmkl_cdft_core.a, but I could not link it in, even if forcing static linking.&lt;BR /&gt;Perhaps I'm overseeing something wrong in program...?&lt;BR /&gt;Thanks anyway&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Mar 2009 11:29:08 GMT</pubDate>
    <dc:creator>sanjap</dc:creator>
    <dc:date>2009-03-03T11:29:08Z</dc:date>
    <item>
      <title>Cluster FFT - undefined reference</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889560#M10306</link>
      <description>Hi, this is driving me crazy:&lt;BR /&gt;Assembled the simplest application just to test FFT on cluster (Linux SUSE 10.0). Could not compile it, always undefined reference just to specific Cluster FFT functions. Regular (non-cluster) FFT works just fine, but I wanted to try running it in parallel on our new cluster,a nd besides this is just a testbed for redesigning some larger project with mkl. Please help.&lt;BR /&gt;&lt;BR /&gt;(Intel compiler 10.1.08, mkl: tried both 10.0.08 and 10.1.1.019, the same behaviour)&lt;BR /&gt;Bellow: Source code, command line, compiler/linker error.&lt;BR /&gt;&lt;BR /&gt;--SOURCE------------------------------&lt;BR /&gt;include "mkl_cdft.f90"&lt;BR /&gt;&lt;BR /&gt;program ff&lt;BR /&gt;&lt;BR /&gt;Use MKL_CDFT&lt;BR /&gt;include "mpif.h"&lt;BR /&gt;&lt;BR /&gt;Complex :: X(64)&lt;BR /&gt;type(DFTI_DESCRIPTOR_DM), POINTER :: My_Desc1_Handle&lt;BR /&gt;Integer :: Status, j&lt;BR /&gt;real :: rx&lt;BR /&gt;integer IERROR&lt;BR /&gt;&lt;BR /&gt;call MPI_INIT(IERROR)&lt;BR /&gt;&lt;BR /&gt;!Some simple input array&lt;BR /&gt;do j=1,64&lt;BR /&gt;rx = -10. +(j-1)*20./63.&lt;BR /&gt;x(j) = cmplx(exp(-(rx**2)/2.),0.)&lt;BR /&gt;end do&lt;BR /&gt;&lt;BR /&gt;! Perform a complex to complex transform&lt;BR /&gt;Status = DftiCreateDescriptorDM(MPI_COMM_WORLD, My_Desc1_Handle, DFTI_SINGLE, DFTI_COMPLEX, 1, 64)&lt;BR /&gt;Status = DftiCommitDescriptorDM( My_Desc1_Handle )&lt;BR /&gt;Status = DftiComputeForwardDM( My_Desc1_Handle, X )&lt;BR /&gt;Status = DftiFreeDescriptorDM(My_Desc1_Handle)&lt;BR /&gt;&lt;BR /&gt;call MPI_FINALIZE(IERROR)&lt;BR /&gt;&lt;BR /&gt;end program ff&lt;BR /&gt;&lt;BR /&gt;--COMPILER COMM. LINE--------------&lt;BR /&gt;&lt;BR /&gt;ifort -O -mcmodel=large -i8 -lmkl_cdft_core -lmpi cfft.f90 -o cfft.exe&lt;BR /&gt;&lt;BR /&gt;--COMPILER ERROR--------------------&lt;BR /&gt;/tmp/ifortVZq4Fs.o: In function `MAIN__':&lt;BR /&gt;cfft.f90:(.text+0x136): undefined reference to `DftiCreateDescriptorDM1_fortran'&lt;BR /&gt;cfft.f90:(.text+0x152): undefined reference to `DftiCommitDescriptorDM_fortran'&lt;BR /&gt;cfft.f90:(.text+0x177): undefined reference to `DftiComputeForwardDMi_fortran'&lt;BR /&gt;cfft.f90:(.text+0x18f): undefined reference to `DftiFreeDescriptorDM_fortran'&lt;BR /&gt;/tmp/ifortVZq4Fs.o: In function `mkl_cdft_mp_dfticreatedescriptordmn_d_':&lt;BR /&gt;cfft.f90:(.text+0x1cd): undefined reference to `DftiCreateDescriptorDMn_fortran'&lt;BR /&gt;/tmp/ifortVZq4Fs.o: In function `mkl_cdft_mp_dfticreatedescriptordmn_s_':&lt;BR /&gt;cfft.f90:(.text+0x1ed): undefined reference to `DftiCreateDescriptorDMn_fortran'&lt;BR /&gt;/tmp/ifortVZq4Fs.o: In function `mkl_cdft_mp_dfticreatedescriptordm1_d_':&lt;BR /&gt;cfft.f90:(.text+0x210): undefined reference to `DftiCreateDescriptorDM1_fortran'&lt;BR /&gt;/tmp/ifortVZq4Fs.o: In function `mkl_cdft_mp_dfticreatedescriptordm1_s_':&lt;BR /&gt;cfft.f90:(.text+0x234): undefined reference to `DftiCreateDescriptorDM1_fortran'&lt;BR /&gt;-------------------------------------</description>
      <pubDate>Tue, 03 Mar 2009 09:44:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889560#M10306</guid>
      <dc:creator>sanjap</dc:creator>
      <dc:date>2009-03-03T09:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster FFT - undefined reference</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889561#M10307</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi sanjap,&lt;BR /&gt;&lt;BR /&gt;Please refer to MKL User's Guide for correct linking lines, specifically the section "&lt;EM&gt;Working with Intel Math Kernel Library Cluster Software&lt;/EM&gt;." Perhaps, the following line will do what you need:&lt;BR /&gt;
&lt;P align="left"&gt;&lt;BR /&gt;ifort-O -mcmodel=large -i8 cfft.f90 -o cfft.exe -lmkl_cdft_core -lmkl_blacs_intelmpi_ilp64 -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lmpi&lt;BR /&gt;&lt;BR /&gt;Dima&lt;/P&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 10:15:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889561#M10307</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2009-03-03T10:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster FFT - undefined reference</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889562#M10308</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Hi,&lt;BR /&gt;I have already tried all the libraries mentioned in User's Guide - Working with cluster ..., butno progress.Also, when listing library contents with &lt;EM&gt;nm,&lt;/EM&gt;specific cluster fft functions (for example DftiCreateDescriptorDM) are shown in libmkl_cdft_core.a, but I could not link it in, even if forcing static linking.&lt;BR /&gt;Perhaps I'm overseeing something wrong in program...?&lt;BR /&gt;Thanks anyway&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Mar 2009 11:29:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889562#M10308</guid>
      <dc:creator>sanjap</dc:creator>
      <dc:date>2009-03-03T11:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster FFT - undefined reference</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889563#M10309</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for your interest in our Cluster FFT library. The symbols like DftiCreateDescriptorDM1_fortran represent the FORTRAN interface for CFFT and have to be resolved from one of the interface libraries libmkl_intel_lp64.a or libmkl_intel_ilp64.a depending on your needs. In general (according to the User's Guide) the link line should look like:&lt;BR /&gt;&lt;BR /&gt;ifort myprog.f -L$MKLPATH -I$MKLINCLUDE -Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a $MKLPATH/libmkl_cdft_core.a -Wl,--end-group -liomp5 -lpthread&lt;BR /&gt;&lt;BR /&gt;But the best starting point to learn how to work with MKL is the examples directory (examples/cdftf in this case). In particular using compiler wrappers provided by MPI could save some time figuring out which MPI libraries to link with.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-Vladimir&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 14:06:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Cluster-FFT-undefined-reference/m-p/889563#M10309</guid>
      <dc:creator>Vladimir_Petrov__Int</dc:creator>
      <dc:date>2009-03-03T14:06:35Z</dc:date>
    </item>
  </channel>
</rss>

