<?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: Running FFTW Wrapper Library troubles  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862153#M7577</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Can anybody help? Please.&lt;BR /&gt;--&lt;BR /&gt;Best,&lt;BR /&gt;Kazik&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Jul 2009 10:06:19 GMT</pubDate>
    <dc:creator>Kazik</dc:creator>
    <dc:date>2009-07-08T10:06:19Z</dc:date>
    <item>
      <title>Running FFTW Wrapper Library troubles</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862152#M7576</link>
      <description>Hi,&lt;BR /&gt;I asked my admins to built the FFTW wrapper library according to these instructions:&lt;BR /&gt;&lt;A href="http://www.intel.com/software/products/mkl/docs/fftw3xmkl_notes.htm" target="_blank"&gt;http://www.intel.com/software/products/mkl/docs/fftw3xmkl_notes.htm&lt;/A&gt;&lt;BR /&gt;It looks like everything has been done (new library files have appeared) but for some reason my programmes having FFTW code have not been compiled (whilst everything was working when using g++). &lt;BR /&gt;I've tried also several Examples (.../intel/Compiler/11.0/081/mkl/examples/fftw3xc) but still the compilation did not succeeded. &lt;BR /&gt;Assuming that we consider example file complex_3d_double_ex1.c the compilation returns:&lt;BR /&gt;------------------------------------------------------------------------------------&lt;BR /&gt;icpc dfti_example_support.c complex_3d_double_ex1.c -lfftw&lt;BR /&gt;&lt;BR /&gt;dfti_example_support.c(39): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_in = x_init;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(40): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_exp = res_exp;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(68): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_in = x_init;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(69): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_exp = res_exp;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(97): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(113): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(129): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(142): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(156): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(165): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(175): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(195): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_2d = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(228): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_2d = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(260): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(282): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(283): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_exp = res_exp;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(300): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(301): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_exp = res_exp;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(317): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(318): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_exp = y;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(332): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_in = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(333): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_exp = y;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(435): error: a value of type "void *" cannot be used to initialize an entity of type "float *"&lt;BR /&gt; float* x_2d = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(467): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_2d = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(499): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_2d = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(865): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_2d = x;&lt;BR /&gt; ^&lt;BR /&gt;dfti_example_support.c(896): error: a value of type "void *" cannot be used to initialize an entity of type "double *"&lt;BR /&gt; double* x_2d = x;&lt;BR /&gt; ^&lt;BR /&gt;compilation aborted for dfti_example_support.c (code 2)&lt;BR /&gt;complex_3d_double_ex1.c(77): warning #181: argument is incompatible with corresponding format string conversion&lt;BR /&gt; printf(" DFTI_LENGTHS = {%d,%d,%d) \n", m, nn[1], k);&lt;BR /&gt; ^&lt;BR /&gt;complex_3d_double_ex1.c(77): warning #181: argument is incompatible with corresponding format string conversion&lt;BR /&gt; printf(" DFTI_LENGTHS = {%d,%d,%d) \n", m, nn[1], k);&lt;BR /&gt; ^&lt;BR /&gt;complex_3d_double_ex1.c(105): error: argument of type "fftw_complex (*)[13][15][12]" is incompatible with parameter of type "fftw_complex *"&lt;BR /&gt; Desc_Handle = fftw_plan_dft_3d(nn[0], nn[1], nn[2], &amp;amp;x_in, &amp;amp;x_in, FFTW_FORWARD, FFTW_ESTIMATE);&lt;BR /&gt; ^&lt;BR /&gt;complex_3d_double_ex1.c(105): error: argument of type "fftw_complex (*)[13][15][12]" is incompatible with parameter of type "fftw_complex *"&lt;BR /&gt; Desc_Handle = fftw_plan_dft_3d(nn[0], nn[1], nn[2], &amp;amp;x_in, &amp;amp;x_in, FFTW_FORWARD, FFTW_ESTIMATE);&lt;BR /&gt; ^&lt;BR /&gt;complex_3d_double_ex1.c(122): error: argument of type "fftw_complex (*)[13][15][12]" is incompatible with parameter of type "fftw_complex *"&lt;BR /&gt; Desc_Handle = fftw_plan_dft_3d(nn[0], nn[1], nn[2], &amp;amp;x_in, &amp;amp;x_in, FFTW_BACKWARD, FFTW_ESTIMATE);&lt;BR /&gt; ^&lt;BR /&gt;complex_3d_double_ex1.c(122): error: argument of type "fftw_complex (*)[13][15][12]" is incompatible with parameter of type "fftw_complex *"&lt;BR /&gt; Desc_Handle = fftw_plan_dft_3d(nn[0], nn[1], nn[2], &amp;amp;x_in, &amp;amp;x_in, FFTW_BACKWARD, FFTW_ESTIMATE);&lt;BR /&gt; ^&lt;BR /&gt;compilation aborted for complex_3d_double_ex1.c (code 2)&lt;BR /&gt;------------------------------------------------------------------------------------&lt;BR /&gt;And by using makefile (.../intel/Compiler/11.0/081/mkl/examples/fftw3xc):&lt;BR /&gt;make libem64t complex_3d_double_ex1&lt;BR /&gt;------------------------------------------------------------------------------------&lt;BR /&gt;make wrap_lib _IA=em64t&lt;BR /&gt;make[1]: Entering directory `/local/intel/Compiler/11.0/081/mkl/examples/fftw3xc'&lt;BR /&gt;cd "../.."/interfaces/fftw3xc &amp;amp;&amp;amp; make libem64t PRECISION=MKL_DOUBLE compiler=intel INSTALL_DIR=/local/intel/Compiler/11.0/081/mkl/examples/fftw3xc/lib/em64t SPEC_OPT=""&lt;BR /&gt;make[2]: Entering directory `/local/intel/Compiler/11.0/081/mkl/interfaces/fftw3xc'&lt;BR /&gt;make clean libfftw3xc_intel.a _IA=em64t&lt;BR /&gt;make[3]: Entering directory `/local/intel/Compiler/11.0/081/mkl/interfaces/fftw3xc'&lt;BR /&gt;rm -rf /local/intel/Compiler/11.0/081/mkl/examples/fftw3xc/lib/em64t/obj&lt;BR /&gt;rm -f /local/intel/Compiler/11.0/081/mkl/examples/fftw3xc/lib/em64t/libfftw3xc_intel.a&lt;BR /&gt;mkdir -p /local/intel/Compiler/11.0/081/mkl/examples/fftw3xc/lib/em64t/obj&lt;BR /&gt;mkdir: cannot create directory `/local/intel/Compiler/11.0/081/mkl/examples/fftw3xc/lib': Read-only file system&lt;BR /&gt;make[3]: *** [libfftw3xc_intel.a] Error 1&lt;BR /&gt;make[3]: Leaving directory `/local/intel/Compiler/11.0/081/mkl/interfaces/fftw3xc'&lt;BR /&gt;make[2]: *** [libem64t] Error 2&lt;BR /&gt;make[2]: Leaving directory `/local/intel/Compiler/11.0/081/mkl/interfaces/fftw3xc'&lt;BR /&gt;make[1]: *** [wrap_lib] Error 2&lt;BR /&gt;make[1]: Leaving directory `/local/intel/Compiler/11.0/081/mkl/examples/fftw3xc'&lt;BR /&gt;make: *** [libem64t] Error 2&lt;BR /&gt;------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;I will be very grateful for any help.&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;--&lt;BR /&gt;Kind regards,&lt;BR /&gt;Kazik</description>
      <pubDate>Tue, 07 Jul 2009 18:53:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862152#M7576</guid>
      <dc:creator>Kazik</dc:creator>
      <dc:date>2009-07-07T18:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Running FFTW Wrapper Library troubles</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862153#M7577</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Can anybody help? Please.&lt;BR /&gt;--&lt;BR /&gt;Best,&lt;BR /&gt;Kazik&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 10:06:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862153#M7577</guid>
      <dc:creator>Kazik</dc:creator>
      <dc:date>2009-07-08T10:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running FFTW Wrapper Library troubles</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862154#M7578</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/434591"&gt;Kazik&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;Can anybody help? Please.&lt;BR /&gt;--&lt;BR /&gt;Best,&lt;BR /&gt;Kazik&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello Kazik, &lt;BR /&gt;&lt;BR /&gt;When you enter the comand :&lt;BR /&gt;make libem64t complex_3d_double_ex1,&lt;BR /&gt;It will rebuild libfftw3xc_intel.a to current directory. &lt;BR /&gt;But from the error message : mkdir: cannot create directory `/local/intel/Compiler/11.0/081/mkl/examples/fftw3xc/lib': Read-only file system , &lt;BR /&gt;looks you haven't write right with the directory? Could you please check it and add write if possible? &lt;BR /&gt;&lt;BR /&gt;Regarding icpc problem, icpc is supposed for c++ file.Since dfti_example_support.c complex_3d_double_ex1.c are c language, you may use icc to build them for example. &lt;BR /&gt;&lt;BR /&gt;icc -I/opt/intel/Compiler/11.0/083/mkl/include/fftw source/complex_3d_double_ex1.c source/dfti_example_support.c -L./lib/em64t -lfftw3xc_intel -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -o complex_3d_double_ex1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You mentioned g++ can work? do you use special compiler option when build the complex_3d_double_ex1.c ? &lt;BR /&gt;(my test show g++ show many compiler error too, where if use gcc, the compile processingis ok). &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Tue, 14 Jul 2009 11:40:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862154#M7578</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-07-14T11:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Running FFTW Wrapper Library troubles</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862155#M7579</link>
      <description>Hello Ying, &lt;BR /&gt;&lt;BR /&gt;I'm sorry for the delay in answering. To make the story short:&lt;BR /&gt;1) Yes, using icc helped and I compiled the examples successfully.&lt;BR /&gt;2) My biggest mistake with the code that I have written on my own was that I have implemented some functions from the previous version of FFTW, which were not supported by FFTW3 any more (as Was suggested in one of the previous posts). When I've rewritten the code using FFTW3-functions everything went OK. So it was basically very silly mistake... &lt;BR /&gt;&lt;BR /&gt;Thank you for your post, I've almost lost a hope that this discussion forum is alive.&lt;BR /&gt;--&lt;BR /&gt;Kind regards,&lt;BR /&gt;Kazik&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 17:59:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862155#M7579</guid>
      <dc:creator>Kazik</dc:creator>
      <dc:date>2009-07-14T17:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running FFTW Wrapper Library troubles</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862156#M7580</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hello Kazik, &lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. Sorry for our deley in Forum. In general, weencourageforum participant to share information and solve problemeach other first. Andreply the probelm if no one can help :). &lt;BR /&gt;&lt;BR /&gt;Kind Regards, &lt;BR /&gt;Ying &lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jul 2009 02:23:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-FFTW-Wrapper-Library-troubles/m-p/862156#M7580</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-07-15T02:23:58Z</dc:date>
    </item>
  </channel>
</rss>

