<?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 Computational layer library for Cluster FFT not loaded in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784562#M1701</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I get this run-time error message when I try to call any Cluster FFt function:&lt;BR /&gt;&lt;BR /&gt;Computational layer library for Cluster FFT not loaded&lt;BR /&gt;Error: MKL DFTI ERROR: Internal error&lt;BR /&gt;&lt;BR /&gt;The code compiles fine with a link line obtained with link advisor. What am I missing?&lt;BR /&gt;&lt;BR /&gt;MKL library, 10.3.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jozsef</description>
    <pubDate>Tue, 16 Nov 2010 22:04:59 GMT</pubDate>
    <dc:creator>Jozsef</dc:creator>
    <dc:date>2010-11-16T22:04:59Z</dc:date>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784562#M1701</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I get this run-time error message when I try to call any Cluster FFt function:&lt;BR /&gt;&lt;BR /&gt;Computational layer library for Cluster FFT not loaded&lt;BR /&gt;Error: MKL DFTI ERROR: Internal error&lt;BR /&gt;&lt;BR /&gt;The code compiles fine with a link line obtained with link advisor. What am I missing?&lt;BR /&gt;&lt;BR /&gt;MKL library, 10.3.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jozsef</description>
      <pubDate>Tue, 16 Nov 2010 22:04:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784562#M1701</guid>
      <dc:creator>Jozsef</dc:creator>
      <dc:date>2010-11-16T22:04:59Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784563#M1702</link>
      <description>Jozsef,&lt;DIV&gt;This is an unknown problem.&lt;/DIV&gt;&lt;DIV&gt;How did you link the application?&lt;/DIV&gt;&lt;DIV&gt;Could you please try to build Cluster DFT examples ( see &lt;MKLROOT&gt;\examples\cdftc folder)first.&lt;/MKLROOT&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Nov 2010 23:40:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784563#M1702</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-11-16T23:40:54Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784564#M1703</link>
      <description>Hi Gennady,&lt;BR /&gt;&lt;BR /&gt;test passes in dm_complex_2d_double_ex2.c after "make libem64t mpi=mpich2 example=dm_complex_2d_double_ex2" and mpiexec on 2 cpus.&lt;BR /&gt;&lt;BR /&gt;Then I reproduce the error with the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[cpp]#include "mpi.h"
#include "mkl_cdft.h"

#define ERR(s) {printf("Error: %sn",s); exit(-1);}

static int nprocs, rank;

int main( int argc, char *argv[] )
{
  DFTI_DESCRIPTOR_DM_HANDLE desc;


  if (MPI_Init(&amp;amp;argc,&amp;amp;argv) != MPI_SUCCESS)
    ERR("Can't initialize MPI!");


  MPI_Comm_size(MPI_COMM_WORLD, &amp;amp;nprocs);
  MPI_Comm_rank(MPI_COMM_WORLD, &amp;amp;rank);
  if (rank == 0)
    printf(" * number of MPI processes: %dn",nprocs);


  MKL_LONG len[2];
  len[0]=10;
  len[1]=8;
  DftiCreateDescriptorDM(MPI_COMM_WORLD,&amp;amp;desc,DFTI_DOUBLE,DFTI_COMPLEX,2,len);


  DftiFreeDescriptorDM(&amp;amp;desc);


  MPI_Finalize();

  return 0;
}[/cpp]&lt;/PRE&gt; Compile &amp;amp; link:&lt;BR /&gt;mpicc -c test.c; mpicc -o test test.o -lmkl_intel_ilp64 -lmkl_cdft_core -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;Run:&lt;BR /&gt;$ mpiexec -n 2 ./test&lt;BR /&gt;* number of MPI processes: 2&lt;BR /&gt;Computational layer library for Cluster FFT not loaded&lt;BR /&gt;Computational layer library for Cluster FFT not loaded&lt;BR /&gt;&lt;BR /&gt;That's, I suppose, for the two CDFT calls.&lt;BR /&gt;&lt;BR /&gt;I use mpich2 compiled from source with CC=icc.&lt;BR /&gt;Let me know if/how I can give you more info.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jozsef&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2010 00:38:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784564#M1703</guid>
      <dc:creator>Jozsef</dc:creator>
      <dc:date>2010-11-17T00:38:43Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784565#M1704</link>
      <description>&lt;DIV&gt;what would be if you add thegrouping symbols&lt;SPAN style="font-size: 10.8333px;"&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9.02775px;"&gt;-Wl,--start-group and&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.02775px;"&gt;-Wl,--end-group into the linking line...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;&lt;SPAN style="font-size: 9.02775px;"&gt;see what Linker Adviser recomends:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;-Wl,--start-group $MKLroot/libmkl_intel_ilp64.a $MKLroot/libmkl_cdft_core.a $MKLroot/libmkl_intel_thread.a $MKLroot/libmkl_core.a $MKLroot/libmkl_blacs_intelmpi_ilp64.a -liomp5 -lpthread&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Nov 2010 02:44:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784565#M1704</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-11-17T02:44:54Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784566#M1705</link>
      <description>Now I used:&lt;BR /&gt;&lt;BR /&gt;mpicc -o test test.o -L$MKLROOT -Wl,--start-group -lmkl_intel_ilp64 -lmkl_cdft_core -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -Wl,--end-group -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;Still not loaded.</description>
      <pubDate>Wed, 17 Nov 2010 14:46:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784566#M1705</guid>
      <dc:creator>Jozsef</dc:creator>
      <dc:date>2010-11-17T14:46:28Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784567#M1706</link>
      <description>Seems like it can create the descriptor fine, but using it fails:&lt;BR /&gt;&lt;BR /&gt;I run the following:&lt;BR /&gt;&lt;PRE&gt;[cpp]if (rank == 0)&lt;BR /&gt;    printf(" * number of MPI processes: %dn",nprocs);&lt;BR /&gt;&lt;BR /&gt;  MKL_LONG size, status;&lt;BR /&gt;  MKL_LONG len[2];
  len[0]=10;
  len[1]=8;

  status = DftiCreateDescriptorDM(MPI_COMM_WORLD,&amp;amp;desc,DFTI_DOUBLE,DFTI_COMPLEX,2,len);
  printf("DftiCreateDescriptorDM status: %sn",DftiErrorMessage(status));
printf("--n");
  status = DftiGetValueDM(desc,CDFT_LOCAL_SIZE,&amp;amp;size);
  printf("DftiGetValueDM status: %sn",DftiErrorMessage(status));
  printf("size = %ldn",size);
printf("--n");
  status = DftiFreeDescriptorDM(&amp;amp;desc);
  printf("DftiFreeDescriptorDM status: %sn",DftiErrorMessage(status));[/cpp]&lt;/PRE&gt;  &lt;BR /&gt;which gives the output:&lt;BR /&gt;&lt;BR /&gt;* number of MPI processes: 1&lt;BR /&gt;DftiCreateDescriptorDM status: MKL DFTI SUCCESS: No error&lt;BR /&gt;--&lt;BR /&gt;Computational layer library for Cluster FFT not loaded&lt;BR /&gt;DftiGetValueDM status: MKL DFTI ERROR: Internal error&lt;BR /&gt;size = 140736815161303&lt;BR /&gt;--&lt;BR /&gt;Computational layer library for Cluster FFT not loaded&lt;BR /&gt;DftiFreeDescriptorDM status: MKL DFTI ERROR: Internal error&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2010 15:09:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784567#M1706</guid>
      <dc:creator>Jozsef</dc:creator>
      <dc:date>2010-11-17T15:09:18Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784568#M1707</link>
      <description>Alright, we are making progress. The above testcase only fails with dynamic linking. That also explains why the cdft examples work. So now I'm switching to static link, but it would be good to know why the dynamic fails.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jozsef</description>
      <pubDate>Wed, 17 Nov 2010 15:38:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784568#M1707</guid>
      <dc:creator>Jozsef</dc:creator>
      <dc:date>2010-11-17T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784569#M1708</link>
      <description>Jozsef,&lt;BR /&gt;&lt;BR /&gt;There are two ways to resolve the issue:&lt;BR /&gt;- when you run the executable set environment variable LD_DYNAMIC_WEAK to 1&lt;BR /&gt;- or change the libraries order to put -lmkl_core_cdft in front of -lmkl_intel_ilp64&lt;BR /&gt;&lt;BR /&gt;The root cause is that glibc later than 2.1.91 does not allow weak symbols overriding by default.&lt;BR /&gt;&lt;BR /&gt;Please note also that in order to use ILP64 interface of MKL you have to define MKL_ILP64.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;-Vladimir&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Nov 2010 05:46:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784569#M1708</guid>
      <dc:creator>Vladimir_Petrov__Int</dc:creator>
      <dc:date>2010-11-18T05:46:10Z</dc:date>
    </item>
    <item>
      <title>Computational layer library for Cluster FFT not loaded</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784570#M1709</link>
      <description>Vladimir,&lt;BR /&gt;&lt;BR /&gt;the order -lmkl_cdft_core -lmkl_intel_ilp64 works.&lt;BR /&gt;&lt;BR /&gt;Thanks for clearing the issue,&lt;BR /&gt;Jozsef&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Nov 2010 15:23:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Computational-layer-library-for-Cluster-FFT-not-loaded/m-p/784570#M1709</guid>
      <dc:creator>Jozsef</dc:creator>
      <dc:date>2010-11-18T15:23:51Z</dc:date>
    </item>
  </channel>
</rss>

