<?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: Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1341060#M32383</link>
    <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;
&lt;P&gt;You have been really helpful and kind. Thank you so much for your time.&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;J.R.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 20:42:48 GMT</pubDate>
    <dc:creator>JR</dc:creator>
    <dc:date>2021-12-02T20:42:48Z</dc:date>
    <item>
      <title>Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340411#M32370</link>
      <description>&lt;P&gt;Having encountered the same problem with my own code, I tried to run the Intel provided Cluster FFT examples located at&amp;nbsp;&lt;FONT face="courier new,courier" color="#339966"&gt;/opt/intel/oneapi/mkl/latest/examples/examples_cluster_c.tgz&lt;/FONT&gt;. As a first pick, I tried compiling and running&amp;nbsp;&lt;FONT face="courier new,courier" color="#339966"&gt;dm_complex_2d_single_ex2.c&lt;/FONT&gt;. The code runs fine until it is time to allocate memory for the descriptor by calling &lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#339966"&gt;DftiCreateDescriptorDM&lt;/FONT&gt;&lt;/STRONG&gt;. This is where the code encounters the runtime fatal errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;/*
**  2. Allocate memory for the descriptor by calling DftiCreateDescriptorDM
**     (Create DftiDM descriptor for 2D single precision transform)
*/
printf("%2d: Creating Descriptor Handle.\n", MPI_Rank); fflush(stdout);
Status = DftiCreateDescriptorDM(MPI_COMM_WORLD,&amp;amp;desc,PREC,DFTI_COMPLEX,2,lengths);
printf("%2d: Descriptor Created.\n", MPI_Rank); fflush(stdout);
if (ADVANCED_DATA_PRINT &amp;amp;&amp;amp; (MPI_Rank == 0))
    printf("Create=%ld\n",(long)Status);
if (!DftiErrorClass(Status, DFTI_NO_ERROR)) local_failure++;
MPI_Allreduce(&amp;amp;local_failure, &amp;amp;global_failure, 1, MPI_INT, MPI_MAX, MPI_COMM_WORLD);
if (global_failure != 0) goto FREE_DESCRIPTOR;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before the built executable actually starts running the code, I get the following startup warning from each process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;MPI startup(): Warning: I_MPI_PMI_LIBRARY will be ignored since the hydra process manager was found&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the code gets to the point where it has to call the &lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;DftiCreateDescriptorDM&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt; function, every process throws the following error and exits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;Intel MKL FATAL ERROR: Cannot load symbol MKLMPI_Get_wrappers.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure what the problem really is and how I should solve it. Any help is appreciated. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 22:31:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340411#M32370</guid>
      <dc:creator>JR</dc:creator>
      <dc:date>2021-11-30T22:31:12Z</dc:date>
    </item>
    <item>
      <title>Re:Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340560#M32371</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;gt;&amp;gt;"Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Could you please try using the latest Intel MKL i.e Intel oneMKL 2021.4?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If your issue still persists, then could you please provide us with the steps(compilation and execution commands) to reproduce your issue at our end for further investigation?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, please provide your environment(OS) details.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:41:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340560#M32371</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-12-01T11:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340578#M32373</link>
      <description>&lt;P&gt;I first tested this with Intel MPI and MKL 2020.4 on a&amp;nbsp;CentOS Linux release 8.4.2105 system. I subsequently tested this on&amp;nbsp;Ubuntu 20.04.3 LTS running Intel MPI and MKL 2021.4&amp;nbsp;Build 20210831. I get exactly the same behaviour on the two systems.&lt;/P&gt;
&lt;P&gt;The Makefile I wrote is the following.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;# Specify the compiler and the linker flags to use
CXX      = mpiicc
CXXFLAGS = -c -mkl -Wall -Wextra
LDFLAGS  = -mkl 

# Specify the names of the object and header files
OBJECTS = dm_complex_2d_single_ex2.o cdft_example_support.o
DEPS    = mkl_cdft_examples.h

# RULE 0: (Run the executable, if it exists)
run:    build
    @mpirun -np 4 ./build ../data/dm_complex_2d_single_ex2.dat

# RULE 1: (Link object files into an executable)
build:  $(OBJECTS)
    $(CXX) $(OBJECTS) $(LDFLAGS) -o $@

# RULE 2: (Comipile sources to object files) 
%.o:    %.c $(DEPS)
    $(CXX) $(CXXFLAGS) $&amp;lt; -o $@@&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 13:38:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340578#M32373</guid>
      <dc:creator>JR</dc:creator>
      <dc:date>2021-12-01T13:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340817#M32381</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried with the below Makefile and it worked fine at our end as seen in the attached screenshot below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# Specify the compiler and the linker flags to use
CXX   = mpiicc
CXXFLAGS = -c -mkl -Wall -Wextra
LDFLAGS = -mkl -L${MKLROOT}/lib/intel64 -lmkl_cdft_core -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_ilp64 -lpthread -ldl

# Specify the names of the object and header files
OBJECTS = dm_complex_2d_single_ex2.o cdft_example_support.o
DEPS  = mkl_cdft_examples.h

# RULE 0: (Run the executable, if it exists)
run:  build
    @mpirun -np 4 ./build ../data/dm_complex_2d_single_ex2.dat
# RULE 1: (Link object files into an executable)
build: $(OBJECTS)
    $(CXX) $(OBJECTS) $(LDFLAGS) -o $@

# RULE 2: (Comipile sources to object files)
%.o:  %.c $(DEPS)
    $(CXX) $(CXXFLAGS) $&amp;lt; -o $@@&lt;/LI-CODE&gt;
&lt;P&gt;Please make use of the Intel oneMKL Link Line Advisor for using the appropriate linker flags. Please find the link below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this resolves your issue, make sure to accept this as a solution. This would help others with a similar issue. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 07:46:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1340817#M32381</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-12-02T07:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1341060#M32383</link>
      <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;
&lt;P&gt;You have been really helpful and kind. Thank you so much for your time.&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;J.R.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 20:42:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1341060#M32383</guid>
      <dc:creator>JR</dc:creator>
      <dc:date>2021-12-02T20:42:48Z</dc:date>
    </item>
    <item>
      <title>Re:Intel MKL MPI 2020.4 Cluster FFT Fatal Errors when creating DftiDM descriptor</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1341165#M32384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Dec 2021 05:22:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-MPI-2020-4-Cluster-FFT-Fatal-Errors-when-creating/m-p/1341165#M32384</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-12-03T05:22:55Z</dc:date>
    </item>
  </channel>
</rss>

