<?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:&amp;quot;CMake Config for oneMKL example&amp;quot; adapted for Fortran has &amp;quot;include&amp;quot; issues in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1413177#M33629</link>
    <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;The solution was simple, adding..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved and thanks for letting us know.&lt;/P&gt;&lt;P&gt;Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Sep 2022 04:35:16 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-09-07T04:35:16Z</dc:date>
    <item>
      <title>"CMake Config for oneMKL example" adapted for Fortran has "include" issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412533#M33609</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-subject"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-subject-content"&gt;&lt;SPAN&gt;I have adapted cmakelist.txt example below&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation section_selectors question_selectors first_st_section" data-section_field_id="111e-a999-66c5"&gt;
&lt;DIV class="lia-message-body-content sub_section_element_selectors"&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/get.." target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/get..&lt;/A&gt;&lt;A class="sub_section_element_selectors" href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/getting-started/cmake-config-for-onemkl.html" target="_blank" rel="nofollow noopener noreferrer"&gt;.&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;SPAN&gt;for Fortran (attached),&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="sub_section_element_selectors"&gt;and VS2022 cannot fine F95_PRECISION etc etc&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I assume&amp;nbsp;$(ConfigurationName) is not wrong n the INCLUDE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include/$(ConfigurationName)&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Sep 2022 21:03:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412533#M33609</guid>
      <dc:creator>Peter0000</dc:creator>
      <dc:date>2022-09-02T21:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: "CMake Config for oneMKL example" adapted for Fortran has "include" issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412560#M33612</link>
      <description>&lt;P&gt;I am also trying to get clues from&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\examples\examples_f95\f95&amp;nbsp; but it cannot find&lt;/P&gt;
&lt;P&gt;generate_examples_list,&amp;nbsp; setup_examples&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 07:28:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412560#M33612</guid>
      <dc:creator>Peter0000</dc:creator>
      <dc:date>2022-09-03T07:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: "CMake Config for oneMKL example" adapted for Fortran has "include" issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412781#M33616</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;but it cannot find generate_examples_list,&amp;nbsp;setup_examples&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Above 2 files generate_examples_list and setup_examples are located under the following path&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\examples\cmake&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;cannot fine F95_PRECISION..&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Maybe you can refer to the sample CMakeLists.txt given under&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\examples\examples_f95\f95&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;And if you are attempting to run the examples present in the f95 folder please make sure that the generate_examples_list and setup_examples files in cmake directory are present as mentioned in the CMakeLists.txt (like maybe you can try copying the cmake directory to the path where f95 present i.e. f95 and cmake should present in same location) otherwise you might get errors as shown below&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"CMake Error at CMakeLists.txt:23 (include):&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;include could not find requested file:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;generate_examples_list&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;CMake Error at CMakeLists.txt:36 (include):&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;include could not find requested file:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;setup_examples"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please give it a try and do let me know if there are any issues in doing so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 11:28:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412781#M33616</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-09-05T11:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: "CMake Config for oneMKL example" adapted for Fortran has "include" issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412868#M33619</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both my F95 and my smaller example seem to have a problem with with the the Additional Include Directories&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include&lt;BR /&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include/$(ConfigurationName)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which is is patched by adding&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\2022.1.0\include\intel64\ilp64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 17:51:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1412868#M33619</guid>
      <dc:creator>Peter0000</dc:creator>
      <dc:date>2022-09-05T17:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: "CMake Config for oneMKL example" adapted for Fortran has "include" issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1413024#M33622</link>
      <description>&lt;P&gt;The solution was simple, adding&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;option(ENABLE_BLAS95 "Enables BLAS Fortran95 API" ON)&lt;BR /&gt;option(ENABLE_LAPACK95 "Enables LAPACK Fortran95 API" ON)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to cmakelist.txt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the future, the attached adds other MKL options, no set to OFF.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 11:35:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1413024#M33622</guid>
      <dc:creator>Peter0000</dc:creator>
      <dc:date>2022-09-06T11:35:03Z</dc:date>
    </item>
    <item>
      <title>Re:"CMake Config for oneMKL example" adapted for Fortran has "include" issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1413177#M33629</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;The solution was simple, adding..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved and thanks for letting us know.&lt;/P&gt;&lt;P&gt;Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Sep 2022 04:35:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-CMake-Config-for-oneMKL-example-quot-adapted-for-Fortran/m-p/1413177#M33629</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-09-07T04:35:16Z</dc:date>
    </item>
  </channel>
</rss>

