<?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: Fast Cosine Transform? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895132#M10826</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/421788"&gt;Alexander Kalinkin (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;
&lt;BR /&gt;
&lt;P&gt;Mandrew,&lt;BR /&gt;D_INIT_TRIG_TRANSFORM must initializing ipar, dpar and ir itself, you need only allocate these arrays. As I understood, your program developed by Fortran, so could you show the value of ipar(7) and how you call D_COMMIT_TRIG_TRANSFORM?&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;Yes, I am using fortran 90. I get ipar(7)=0 after INIT step. I then call the routine using:&lt;BR /&gt;&lt;BR /&gt;CALL D_COMMIT_TRIG_TRANSFORM(Vector,handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_FORWARD_TRIG_TRANSFORM(Vector,handle_dct,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
    <pubDate>Tue, 02 Jun 2009 18:26:04 GMT</pubDate>
    <dc:creator>mandrew</dc:creator>
    <dc:date>2009-06-02T18:26:04Z</dc:date>
    <item>
      <title>Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895124#M10818</link>
      <description>Hello,
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Does anyone know if there is a fast cosine transform routine within the FFT library?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Mandrew&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 May 2009 15:27:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895124#M10818</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-05-26T15:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895125#M10819</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/281348"&gt;mandrew&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;Hello,
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Does anyone know if there is a fast cosine transform routine within the FFT library?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Mandrew&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello Mandrew,&lt;BR /&gt;There is a part of MKL that realized fast cosine transform -Trigonometric Transform. In details it describe in chapter 13 "&lt;EM&gt;Partial Differential Equations Support&lt;/EM&gt;" of Intel Math Kernel Library&lt;STRONG&gt; &lt;/STRONG&gt;Reference Manual&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander</description>
      <pubDate>Wed, 27 May 2009 04:14:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895125#M10819</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-05-27T04:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895126#M10820</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I have tried using the trigonometric transform, however, I have had some problems using it. It appears that many of the parameters needed to call these routines are associated with the partial differential equation library. Since I don't want to actually use these parameters I am not sure how to initialize/use them. For instance, when I tried using the cosine transform a time-dependent simulation, it was working for the beginning of the simulation, but then I get the following error messages in the terminal:&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------------------&lt;BR /&gt;MKL TRIG TRANSFORMS ERROR: &lt;BR /&gt;Initialization has failed to complete, or the parameter ipar[6]=-10000&lt;BR /&gt;was altered by mistake outside the d_commit_trig_transform routine &lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------------------&lt;BR /&gt;MKL TRIG TRANSFORMS ERROR: &lt;BR /&gt;The previous call to an MKL Trigonometric Transform routine produced an error&lt;BR /&gt;code, or the parameter ipar[6]=-10000 was altered by mistake outside&lt;BR /&gt;the routine. If you are sure that everything is correct, you may force the&lt;BR /&gt;routine to work by setting ipar[6]=0 before the call to this routine&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;The larger the problem size, the sooner these messages pop up during the simulation. Any idea why this might be happening?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Wed, 27 May 2009 18:59:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895126#M10820</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-05-27T18:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895127#M10821</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/281348"&gt;mandrew&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;I have tried using the trigonometric transform, however, I have had some problems using it. It appears that many of the parameters needed to call these routines are associated with the partial differential equation library. Since I don't want to actually use these parameters I am not sure how to initialize/use them. For instance, when I tried using the cosine transform a time-dependent simulation, it was working for the beginning of the simulation, but then I get the following error messages in the terminal:&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------------------&lt;BR /&gt;MKL TRIG TRANSFORMS ERROR: &lt;BR /&gt;Initialization has failed to complete, or the parameter ipar[6]=-10000&lt;BR /&gt;was altered by mistake outside the d_commit_trig_transform routine &lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------------------&lt;BR /&gt;MKL TRIG TRANSFORMS ERROR: &lt;BR /&gt;The previous call to an MKL Trigonometric Transform routine produced an error&lt;BR /&gt;code, or the parameter ipar[6]=-10000 was altered by mistake outside&lt;BR /&gt;the routine. If you are sure that everything is correct, you may force the&lt;BR /&gt;routine to work by setting ipar[6]=0 before the call to this routine&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;The larger the problem size, the sooner these messages pop up during the simulation. Any idea why this might be happening?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;Hello Mandrew,&lt;/P&gt;
&lt;P&gt;It's look like init step of TT has failed to complete or was not execute. Could you show in this topic the value of ipar[6] after init step and before commit step?&lt;/P&gt;
&lt;P&gt;With best regards,&lt;/P&gt;
&lt;P&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2009 03:36:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895127#M10821</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-05-28T03:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895128#M10822</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;I get ipar[6]=1 both after the init step and before the commit step - hope that helps.&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Sat, 30 May 2009 01:15:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895128#M10822</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-05-30T01:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895129#M10823</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/281348"&gt;mandrew&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;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;I get ipar[6]=1 both after the init step and before the commit step - hope that helps.&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;Mandrew,&lt;BR /&gt;It's a really strange and look like there are some problems with fortran/C interpretation. Could you show how you call init of TrigTransform?&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2009 14:49:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895129#M10823</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-05-30T14:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895130#M10824</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/421788"&gt;Alexander Kalinkin (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;
&lt;BR /&gt;
&lt;P&gt;Mandrew,&lt;BR /&gt;It's a really strange and look like there are some problems with fortran/C interpretation. Could you show how you call init of TrigTransform?&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;I use the same procedure given in the manual:&lt;BR /&gt;&lt;BR /&gt;CALL D_INIT_TRIG_TRANSFORM(N,MKL_COSINE_TRANSFORM,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;How should I be initializing ipar, dpar, and ir? &lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jun 2009 05:08:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895130#M10824</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-06-02T05:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895131#M10825</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/281348"&gt;mandrew&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;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;I use the same procedure given in the manual:&lt;BR /&gt;&lt;BR /&gt;CALL D_INIT_TRIG_TRANSFORM(N,MKL_COSINE_TRANSFORM,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;How should I be initializing ipar, dpar, and ir? &lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;Mandrew,&lt;BR /&gt;D_INIT_TRIG_TRANSFORM must initializing ipar, dpar and ir itself, you need only allocate these arrays. As I understood, your program developed by Fortran, so could you show the value of ipar(7) and how you call D_COMMIT_TRIG_TRANSFORM?&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2009 05:31:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895131#M10825</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-06-02T05:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895132#M10826</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/421788"&gt;Alexander Kalinkin (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;
&lt;BR /&gt;
&lt;P&gt;Mandrew,&lt;BR /&gt;D_INIT_TRIG_TRANSFORM must initializing ipar, dpar and ir itself, you need only allocate these arrays. As I understood, your program developed by Fortran, so could you show the value of ipar(7) and how you call D_COMMIT_TRIG_TRANSFORM?&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;Yes, I am using fortran 90. I get ipar(7)=0 after INIT step. I then call the routine using:&lt;BR /&gt;&lt;BR /&gt;CALL D_COMMIT_TRIG_TRANSFORM(Vector,handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_FORWARD_TRIG_TRANSFORM(Vector,handle_dct,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jun 2009 18:26:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895132#M10826</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-06-02T18:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895133#M10827</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/281348"&gt;mandrew&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;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;Yes, I am using fortran 90. I get ipar(7)=0 after INIT step. I then call the routine using:&lt;BR /&gt;&lt;BR /&gt;CALL D_COMMIT_TRIG_TRANSFORM(Vector,handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_FORWARD_TRIG_TRANSFORM(Vector,handle_dct,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;Mandrew,&lt;BR /&gt;The situation is really strange for me. The error, you wrote below could be appeared only if ipar(7) is equal -10000. ipar(7) could be equal -10000 if you call commit or forward/backward with ipar(7) not equal zero, so to get ipar(7) = -10000 you need to call commit with ipar(7) not equal zero twice. The variant, if you sure that you didn't change internal data you can set ipar(7) =0 before commit, but you wrote that it is so. The better solution I see if you could develop test case of this problem and attach it here?&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2009 02:17:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895133#M10827</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-06-03T02:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895134#M10828</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/421788"&gt;Alexander Kalinkin (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;
&lt;BR /&gt;
&lt;P&gt;Mandrew,&lt;BR /&gt;The situation is really strange for me. The error, you wrote below could be appeared only if ipar(7) is equal -10000. ipar(7) could be equal -10000 if you call commit or forward/backward with ipar(7) not equal zero, so to get ipar(7) = -10000 you need to call commit with ipar(7) not equal zero twice. The variant, if you sure that you didn't change internal data you can set ipar(7) =0 before commit, but you wrote that it is so. The better solution I see if you could develop test case of this problem and attach it here?&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;I will paraphrase my code here since it is rather lengthy. Essentially I am performing a time-dependent simulation that takes many forward/backward cosine transforms at each time step. It looks something like this:&lt;BR /&gt;&lt;BR /&gt;CALL D_INIT_TRIG_TRANSFORM(N,MKL_COSINE_TRANSFORM,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;DO iter=1,itermax&lt;BR /&gt;&lt;BR /&gt; DO i=1,N&lt;BR /&gt; ( Solve for vecnew here )&lt;BR /&gt; END DO&lt;BR /&gt; &lt;BR /&gt; DO i=1,N&lt;BR /&gt; CALL D_COMMIT_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt; CALL D_BACKWARD_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt; END DO&lt;BR /&gt;&lt;BR /&gt; vecold=vecnew&lt;BR /&gt;&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;Is there anything that I might be doing incorrectly with the cosine transform in the above example?&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2009 23:13:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895134#M10828</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-06-04T23:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895135#M10829</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/281348"&gt;mandrew&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;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;I will paraphrase my code here since it is rather lengthy. Essentially I am performing a time-dependent simulation that takes many forward/backward cosine transforms at each time step. It looks something like this:&lt;BR /&gt;&lt;BR /&gt;CALL D_INIT_TRIG_TRANSFORM(N,MKL_COSINE_TRANSFORM,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;DO iter=1,itermax&lt;BR /&gt;&lt;BR /&gt;DO i=1,N&lt;BR /&gt;( Solve for vecnew here )&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;DO i=1,N&lt;BR /&gt;CALL D_COMMIT_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;vecold=vecnew&lt;BR /&gt;&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;Is there anything that I might be doing incorrectly with the cosine transform in the above example?&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;Hi Mandrew,&lt;BR /&gt;I think that problem is that your program try to initializate one handle several times. So try to change your program in next way:&lt;/P&gt;
&lt;P&gt;CALL D_COMMIT_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;DO i=1,N&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;END DO&lt;/P&gt;
&lt;P&gt;As additional you will have increase in performance :)&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2009 02:48:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895135#M10829</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-06-05T02:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895136#M10830</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/421788"&gt;Alexander Kalinkin (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;
&lt;BR /&gt;
&lt;P&gt;Hi Mandrew,&lt;BR /&gt;I think that problem is that your program try to initializate one handle several times. So try to change your program in next way:&lt;/P&gt;
&lt;P&gt;CALL D_COMMIT_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;DO i=1,N&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;END DO&lt;/P&gt;
&lt;P&gt;As additional you will have increase in performance :)&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;Is it possible to only use one COMMIT step prior to beginning the simulation for many vectors and for forward and backward transforms? In other words can I do the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;CALL D_INIT_TRIG_TRANSFORM(N,MKL_COSINE_TRANSFORM,ipar,dpar,ir)&lt;BR /&gt;CALL D_COMMIT_TRIG_TRANSFORM(vecnew1(:,1),handle_dct,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;DO iter=1,itermax&lt;BR /&gt;&lt;BR /&gt; DO i=1,N&lt;BR /&gt; ( Solve for all vecnew* here )&lt;BR /&gt; END DO&lt;BR /&gt; &lt;BR /&gt; DO i=1,N&lt;BR /&gt; CALL D_BACKWARD_TRIG_TRANSFORM(vecnew1(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew2(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew3(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt; END DO&lt;BR /&gt;&lt;BR /&gt;DO i=1,N&lt;BR /&gt; CALL D_FORWARD_TRIG_TRANSFORM(vecnew1(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt; CALL D_FORWARD_TRIG_TRANSFORM(vecnew2(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt; CALL D_FORWARD_TRIG_TRANSFORM(vecnew3(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt; END DO&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jun 2009 17:00:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895136#M10830</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-06-05T17:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895137#M10831</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/281348"&gt;mandrew&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;Alexander,&lt;BR /&gt;&lt;BR /&gt;Is it possible to only use one COMMIT step prior to beginning the simulation for many vectors and for forward and backward transforms? In other words can I do the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;CALL D_INIT_TRIG_TRANSFORM(N,MKL_COSINE_TRANSFORM,ipar,dpar,ir)&lt;BR /&gt;CALL D_COMMIT_TRIG_TRANSFORM(vecnew1(:,1),handle_dct,ipar,dpar,ir)&lt;BR /&gt;&lt;BR /&gt;DO iter=1,itermax&lt;BR /&gt;&lt;BR /&gt;DO i=1,N&lt;BR /&gt;( Solve for all vecnew* here )&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;DO i=1,N&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew1(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew2(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_BACKWARD_TRIG_TRANSFORM(vecnew3(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;DO i=1,N&lt;BR /&gt;CALL D_FORWARD_TRIG_TRANSFORM(vecnew1(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_FORWARD_TRIG_TRANSFORM(vecnew2(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;CALL D_FORWARD_TRIG_TRANSFORM(vecnew3(:,i),handle_dct,ipar,dpar,ir)&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;END DO&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Mandrew,&lt;BR /&gt;Yes, If you want to use Forward/Backward TrigTransform with one tt_type and with one dimension (N) several times the best way to using it - as in your example&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander</description>
      <pubDate>Fri, 05 Jun 2009 19:05:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895137#M10831</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-06-05T19:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895138#M10832</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/421788"&gt;Alexander Kalinkin (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;
&lt;BR /&gt;Mandrew,&lt;BR /&gt;Yes, If you want to use Forward/Backward TrigTransform with one tt_type and with one dimension (N) several times the best way to using it - as in your example&lt;BR /&gt;With best regards,&lt;BR /&gt;Alexander&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Alexander,&lt;BR /&gt;&lt;BR /&gt;Yes, placing one init step before the time-stepping loop began has fixed issue.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Jun 2009 21:38:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895138#M10832</guid>
      <dc:creator>mandrew</dc:creator>
      <dc:date>2009-06-20T21:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fast Cosine Transform?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895139#M10833</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/281348"&gt;mandrew&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;Alexander,&lt;BR /&gt;&lt;BR /&gt;Yes, placing one init step before the time-stepping loop began has fixed issue.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mandrew&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi Mandrew,&lt;BR /&gt;You are welcome,&lt;BR /&gt;Alexander</description>
      <pubDate>Mon, 22 Jun 2009 01:51:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Fast-Cosine-Transform/m-p/895139#M10833</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2009-06-22T01:51:58Z</dc:date>
    </item>
  </channel>
</rss>

