<?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: Help on how to use included examples on Mac in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894770#M10781</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432526"&gt;eliosh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; From what I see, You try to build wrappers that provide FFTW interface to Intel's own FFT routines. The wrappers are written in C not in Fortran. I do not know much about Mac version, but PC version of MKL, if I remember correctly, comes with precompiled interfaces that you can uses from Fortran programs. Check the manual.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Thanks for your help.
&lt;DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I read through the manual... but I am so confused. The manual command is not consistent with the examples that come with the compiler package.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 17 Aug 2009 14:54:03 GMT</pubDate>
    <dc:creator>CO_Traut</dc:creator>
    <dc:date>2009-08-17T14:54:03Z</dc:date>
    <item>
      <title>Help on how to use included examples on Mac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894766#M10777</link>
      <description>Hi,
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I installed ifort compiler for Mac OS* X which comes with mkl lib. Then I want to test the compiler and mkl lib with an example in the folder&lt;SPAN style="font-family: Verdana;"&gt;/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf. However, error information shows up as what follows. Could you let me know what's wrong with me?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;make lib32&lt;/DIV&gt;
&lt;DIV&gt;make wrap_lib _IA=32&lt;/DIV&gt;
&lt;DIV&gt;cd "../.."/interfaces/fftw2xf &amp;amp;&amp;amp; make lib32 PRECISION=MKL_DOUBLE compiler=intel INSTALL_DIR=/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32&lt;/DIV&gt;
&lt;DIV&gt;make clean libfftw2xf_intel.a _IA=32&lt;/DIV&gt;
&lt;DIV&gt;rm -rf /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;rm -f /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/libfftw2xf_intel.a&lt;/DIV&gt;
&lt;DIV&gt;mkdir -p /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;mkdir: /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib: Permission denied&lt;/DIV&gt;
&lt;DIV&gt;make[3]: *** [libfftw2xf_intel.a] Error 1&lt;/DIV&gt;
&lt;DIV&gt;make[2]: *** [lib32] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make[1]: *** [wrap_lib] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make: *** [lib32] Error 2&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 Aug 2009 17:50:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894766#M10777</guid>
      <dc:creator>CO_Traut</dc:creator>
      <dc:date>2009-08-15T17:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help on how to use included examples on Mac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894767#M10778</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/437900"&gt;CO_Traut&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV&gt;
&lt;DIV&gt;rm -rf /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;rm -f /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/libfftw2xf_intel.a&lt;/DIV&gt;
&lt;DIV&gt;mkdir -p /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;mkdir: /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib: Permission denied&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi,&lt;BR /&gt;&lt;BR /&gt;The error shows that you don't have permission to mkdirunder folder"/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib". So have a check on youraccountaccess permissions for the installation folder and reset the permission if needed.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Aug 2009 03:10:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894767#M10778</guid>
      <dc:creator>Yuan_C_Intel</dc:creator>
      <dc:date>2009-08-17T03:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help on how to use included examples on Mac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894768#M10779</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/189128"&gt;Yolanda Chen (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hi,&lt;BR /&gt;&lt;BR /&gt;The error shows that you don't have permission to mkdirunder folder"/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib". So have a check on youraccountaccess permissions for the installation folder and reset the permission if needed.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;Thanks much. I changed the permission to the entire folder of /mkl and reran the code. Now I get error msg like this. Seems like 'icc' is required, but I am using ifort instead of icc... I am confused.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;c-71-56-196-131:fftw2xf liangzhezhang$ make lib32&lt;/DIV&gt;
&lt;DIV&gt;make wrap_lib _IA=32&lt;/DIV&gt;
&lt;DIV&gt;cd "../.."/interfaces/fftw2xf &amp;amp;&amp;amp; make lib32 PRECISION=MKL_DOUBLE compiler=intel INSTALL_DIR=/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32&lt;/DIV&gt;
&lt;DIV&gt;make clean libfftw2xf_intel.a _IA=32&lt;/DIV&gt;
&lt;DIV&gt;rm -rf /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;rm -f /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/libfftw2xf_intel.a&lt;/DIV&gt;
&lt;DIV&gt;mkdir -p /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;make -f makefile objects&lt;/DIV&gt;
&lt;DIV&gt;icc -c -DMKL_DOUBLE -I../../include -I../../include/fftw wrappers/fftw_f77.c -o /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj/fftw_f77.o&lt;/DIV&gt;
&lt;DIV&gt;make[4]: icc: Command not found&lt;/DIV&gt;
&lt;DIV&gt;make[4]: *** [/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj/fftw_f77.o] Error 127&lt;/DIV&gt;
&lt;DIV&gt;make[3]: *** [libfftw2xf_intel.a] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make[2]: *** [lib32] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make[1]: *** [wrap_lib] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make: *** [lib32] Error 2&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Aug 2009 05:25:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894768#M10779</guid>
      <dc:creator>CO_Traut</dc:creator>
      <dc:date>2009-08-17T05:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help on how to use included examples on Mac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894769#M10780</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/437900"&gt;CO_Traut&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;Thanks much. I changed the permission to the entire folder of /mkl and reran the code. Now I get error msg like this. Seems like 'icc' is required, but I am using ifort instead of icc... I am confused.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;c-71-56-196-131:fftw2xf liangzhezhang$ make lib32&lt;/DIV&gt;
&lt;DIV&gt;make wrap_lib _IA=32&lt;/DIV&gt;
&lt;DIV&gt;cd "../.."/interfaces/fftw2xf &amp;amp;&amp;amp; make lib32 PRECISION=MKL_DOUBLE compiler=intel INSTALL_DIR=/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32&lt;/DIV&gt;
&lt;DIV&gt;make clean libfftw2xf_intel.a _IA=32&lt;/DIV&gt;
&lt;DIV&gt;rm -rf /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;rm -f /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/libfftw2xf_intel.a&lt;/DIV&gt;
&lt;DIV&gt;mkdir -p /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj&lt;/DIV&gt;
&lt;DIV&gt;make -f makefile objects&lt;/DIV&gt;
&lt;DIV&gt;icc -c -DMKL_DOUBLE -I../../include -I../../include/fftw wrappers/fftw_f77.c -o /opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj/fftw_f77.o&lt;/DIV&gt;
&lt;DIV&gt;make[4]: icc: Command not found&lt;/DIV&gt;
&lt;DIV&gt;make[4]: *** [/opt/intel/Compiler/11.1/058/Frameworks/mkl/examples/fftw2xf/lib/32/obj/fftw_f77.o] Error 127&lt;/DIV&gt;
&lt;DIV&gt;make[3]: *** [libfftw2xf_intel.a] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make[2]: *** [lib32] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make[1]: *** [wrap_lib] Error 2&lt;/DIV&gt;
&lt;DIV&gt;make: *** [lib32] Error 2&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
From what I see, You try to build wrappers that provide FFTW interface to Intel's own FFT routines. The wrappers are written in C not in Fortran. I do not know much about Mac version, but PC version of MKL, if I remember correctly, comes with precompiled interfaces that you can uses from Fortran programs. Check the manual.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Aug 2009 08:54:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894769#M10780</guid>
      <dc:creator>eliosh</dc:creator>
      <dc:date>2009-08-17T08:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help on how to use included examples on Mac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894770#M10781</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432526"&gt;eliosh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; From what I see, You try to build wrappers that provide FFTW interface to Intel's own FFT routines. The wrappers are written in C not in Fortran. I do not know much about Mac version, but PC version of MKL, if I remember correctly, comes with precompiled interfaces that you can uses from Fortran programs. Check the manual.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Thanks for your help.
&lt;DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I read through the manual... but I am so confused. The manual command is not consistent with the examples that come with the compiler package.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Aug 2009 14:54:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894770#M10781</guid>
      <dc:creator>CO_Traut</dc:creator>
      <dc:date>2009-08-17T14:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help on how to use included examples on Mac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894771#M10782</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I'm going to move this discussion to the MKL forum.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Aug 2009 15:37:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894771#M10782</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-08-17T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help on how to use included examples on Mac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894772#M10783</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Hello CO_Traut,&lt;/P&gt;
&lt;P&gt;Yes, as eliosh mentioned, the FFT warpper iswritten by C, so it requiresa C compiler on your machine. the command &amp;gt; make lib32 will invoke Intel C compiler to build the warpper library.But you haven't Intel C Compiler, so build failed. &lt;BR /&gt;&lt;BR /&gt;Attached is one I build. Please copy it into your MKL library library for example,&lt;/P&gt;
&lt;P&gt;/opt/intel/Compiler/11.1/058/Frameworks/mkl/lib/32&lt;BR /&gt;&lt;BR /&gt;Then you can use it in the future. &lt;BR /&gt;&lt;BR /&gt;For build the example code under example/fftw2xf, &lt;BR /&gt;&lt;BR /&gt;You may try the command. &lt;BR /&gt;&lt;BR /&gt;for example build real 1d FFT.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ifort -w -vec-report0 -DMKL_DOUBLE -I"/opt/intel/Compiler/11.1/058/Frameworks/mkl"/include -I"/opt/intel/Compiler/11.1/058/Frameworks/mkl"/include/fftw source/real_1d_double_ex2.f source/mkl_fftw_examples_support.f -L/opt/intel/Compiler/11.1/058/Frameworks/mkl/lib/32 -lfftw2xf_intel "/opt/intel/Compiler/11.1/058/Frameworks/mkl/lib/32"/libmkl_intel.a "/opt/intel/Compiler/11.1/058/Frameworks/mkl/lib/32"/libmkl_intel_thread.a "/opt/intel/Compiler/11.1/058/Frameworks/mkl/lib/32"/libmkl_core.a -L"/opt/intel/Compiler/11.1/058/lib" -liomp5 -lpthread -lm -o _results/intel_parallel_32_lib_double/real_1d_double_ex2.out&lt;BR /&gt;&lt;BR /&gt;and run the executable file,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; _results/intel_parallel_32_lib_double/real_1d_double_ex2.out&lt;BR /&gt;&lt;BR /&gt;Hope it helps &lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2009 09:17:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-on-how-to-use-included-examples-on-Mac/m-p/894772#M10783</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-08-24T09:17:57Z</dc:date>
    </item>
  </channel>
</rss>

