<?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 Building building mkl_dfti.h with icpc on MacOSX-10.6  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-building-mkl-dfti-h-with-icpc-on-MacOSX-10-6/m-p/777972#M1217</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please check that variable l[2] of type MKL_LONG is used as the last argument in the following line:&lt;BR /&gt; status = DftiCreateDescriptor( &amp;amp;my_desc1_handle, DFTI_SINGLE, DFTI_COMPLEX, 2,l );&lt;BR /&gt;&lt;BR /&gt;Also, correct your linking line using &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;Intel MKL Link Line Advisor&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Aug 2011 13:27:43 GMT</pubDate>
    <dc:creator>barragan_villanueva_</dc:creator>
    <dc:date>2011-08-03T13:27:43Z</dc:date>
    <item>
      <title>Building building mkl_dfti.h with icpc on MacOSX-10.6</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-building-mkl-dfti-h-with-icpc-on-MacOSX-10-6/m-p/777971#M1216</link>
      <description>Dear Support Provider&lt;BR /&gt;&lt;BR /&gt;I am trying to build the following code using icpc and MKL library provided with C++ composerxe-2011.4.184 using Xcode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#include &lt;COMPLEX.H&gt;&lt;BR /&gt;#include &lt;MKL_DFTI.H&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;main (){&lt;BR /&gt; complex&lt;FLOAT&gt; x[64][64];&lt;BR /&gt; int loop = 0;&lt;BR /&gt; DFTI_DESCRIPTOR_HANDLE my_desc1_handle;&lt;BR /&gt; MKL_LONG status, l[2];&lt;BR /&gt;&lt;BR /&gt; for (int ro = 0; ro&amp;lt;64; ro++)&lt;BR /&gt; for (int pe = 0; pe&amp;lt;64; pe++) {&lt;BR /&gt; x[ro][pe] = complex&lt;FLOAT&gt; (1,1);&lt;BR /&gt; loop++;&lt;BR /&gt; }&lt;BR /&gt; l[0] = 64; l[1] = 64;&lt;BR /&gt; &lt;BR /&gt; status = DftiCreateDescriptor( &amp;amp;my_desc1_handle, DFTI_SINGLE, DFTI_COMPLEX, 2, 1 );&lt;BR /&gt; status = DftiCommitDescriptor( my_desc1_handle);&lt;BR /&gt; status = DftiComputeForward( my_desc1_handle, x);&lt;BR /&gt; status = DftiFreeDescriptor(&amp;amp;my_desc1_handle);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;It giges the following error with warnig symbols(s) not defined.&lt;BR /&gt;&lt;BR /&gt;Ld /Users/shubhamgupta/Desktop/test/Debug/SENSE_SG normal x86_64&lt;BR /&gt;cd /Users/shubhamgupta/Desktop/SENSE_SG&lt;BR /&gt;setenv MACOSX_DEPLOYMENT_TARGET 10.6&lt;BR /&gt;/Developer/usr/bin/icpc -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/shubhamgupta/Desktop/test/Debug -L/Developer/opt/intel/composerxe-2011.4.184/mkl/lib -L/Developer/opt/intel/composerxe-2011.4.184/mkl/lib/locale -L/Developer/opt/intel/composerxe-2011.4.184/mkl/lib/locale/en_US -F/Users/shubhamgupta/Desktop/test/Debug -filelist /Users/shubhamgupta/Desktop/test/SENSE_SG.build/Debug/SENSE_SG.build/Objects-normal/x86_64/SENSE_SG.LinkFileList -mmacosx-version-min=10.6 -dev-usr-root=/Developer/usr "" "" -o /Users/shubhamgupta/Desktop/test/Debug/SENSE_SG&lt;BR /&gt;&lt;BR /&gt;Undefined symbols:&lt;BR /&gt; "_DftiFreeDescriptor", referenced from:&lt;BR /&gt; _main in main.o&lt;BR /&gt; "_DftiComputeForward", referenced from:&lt;BR /&gt; _main in main.o&lt;BR /&gt; "_DftiCommitDescriptor", referenced from:&lt;BR /&gt; _main in main.o&lt;BR /&gt; "_DftiCreateDescriptor_s_md", referenced from:&lt;BR /&gt; _main in main.o&lt;BR /&gt;ld: symbol(s) not found&lt;BR /&gt;Command /Developer/usr/bin/icpc failed with exit code 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//please provide the trick or solution for buliding the above code.&lt;BR /&gt;&lt;/FLOAT&gt;&lt;/FLOAT&gt;&lt;/MKL_DFTI.H&gt;&lt;/COMPLEX.H&gt;</description>
      <pubDate>Wed, 03 Aug 2011 09:52:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-building-mkl-dfti-h-with-icpc-on-MacOSX-10-6/m-p/777971#M1216</guid>
      <dc:creator>Sunny_Beast</dc:creator>
      <dc:date>2011-08-03T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Building building mkl_dfti.h with icpc on MacOSX-10.6</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-building-mkl-dfti-h-with-icpc-on-MacOSX-10-6/m-p/777972#M1217</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please check that variable l[2] of type MKL_LONG is used as the last argument in the following line:&lt;BR /&gt; status = DftiCreateDescriptor( &amp;amp;my_desc1_handle, DFTI_SINGLE, DFTI_COMPLEX, 2,l );&lt;BR /&gt;&lt;BR /&gt;Also, correct your linking line using &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;Intel MKL Link Line Advisor&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Aug 2011 13:27:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-building-mkl-dfti-h-with-icpc-on-MacOSX-10-6/m-p/777972#M1217</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-08-03T13:27:43Z</dc:date>
    </item>
  </channel>
</rss>

