<?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: Nested building of PETSc for OpenFOAM when using Kokkos in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1499827#M10718</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are able to reproduce your issue. We have informed the concerned development team about it. We will get back to you soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Shaik Rabiya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 03:48:16 GMT</pubDate>
    <dc:creator>RabiyaSK_Intel</dc:creator>
    <dc:date>2023-06-28T03:48:16Z</dc:date>
    <item>
      <title>Nested building of PETSc for OpenFOAM when using Kokkos</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1498928#M10713</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a followup question as related to&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/MPI-linking-with-LLVM-based-compilers/m-p/1498469/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExKODNLTkpFOTEzRzM5fDE0OTg0Njl8U1VCU0NSSVBUSU9OU3xoSw#M10707" target="_blank" rel="noopener"&gt;https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/MPI-linking-with-LLVM-based-compilers/m-p/1498469/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExKODNLTkpFOTEzRzM5fDE0OTg0Njl8U1VCU0NSSVBUSU9OU3xoSw#M10707&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If attempting to build PETSc with the LLVM based compilers, Intel MPI and have KOKKOS available, the build will fail during recursive calls to cmake.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;example build command is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;`./configure --prefix=/home/felix/petsc4foam/ThirdParty-v2212/platforms/linux64IcxSPDPInt32/petsc-3.18.2 --PETSC_DIR=/home/felix/petsc4foam/ThirdParty-v2212/petsc-3.18.2 --with-petsc-arch=SPDPInt32 --with-clanguage=C --with-fc=0 --with-x=0 --with-debugging=0 --with-cc="mpiicc -cc=icx" --with-cxx="mpiicpc -cxx=icpx" --with-debugging=0 COPTFLAGS='-diag-disable=10441 -O3 -march=native' CXXOPTFLAGS='-O3 -march=native' --with-blaslapack-dir=$MKLROOT --with-mkl_sparse_optimize=1 --with-precision=single --download-viennacl=1 --download-kokkos=1 `&lt;BR /&gt;&lt;BR /&gt;but this can be simplified to&amp;nbsp;&lt;BR /&gt;`&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;./configure --with-cc="mpiicc -cc=icx" --with-cxx="mpiicpc -cxx=icpx" --download-kokkos=1 --with-fc=0&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;which will then spit out :&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=============================================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Configuring KOKKOS with CMake; this may take several minutes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=============================================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Executing: /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX=/home/felix/petsc4foam/petsc-3.19.2/arch-linux-c-debug -DCMAKE_INSTALL_NAME_DIR:STRING="/home/felix/petsc4foam/petsc-3.19.2/arch-linux-c-debug/lib" -DC&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;stdout:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- Setting default Kokkos CXX standard to 17&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- The CXX compiler identification is unknown&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- Configuring incomplete, errors occurred!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See also "/home/felix/petsc4foam/petsc-3.19.2/arch-linux-c-debug/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeOutput.log".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See also "/home/felix/petsc4foam/petsc-3.19.2/arch-linux-c-debug/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeError.log".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Error configuring KOKKOS with CMake Could not execute "['/usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX=/home/felix/petsc4foam/petsc-3.19.2/arch-linux-c-debug -DCMAKE_INSTALL_NAME_DIR:STRIN&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- Setting default Kokkos CXX standard to 17&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- The CXX compiler identification is unknown&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- Configuring incomplete, errors occurred!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See also "/home/felix/petsc4foam/petsc-3.19.2/arch-linux-c-debug/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeOutput.log".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See also "/home/felix/petsc4foam/petsc-3.19.2/arch-linux-c-debug/externalpackages/git.kokkos/petsc-build/CMakeFiles/CMakeError.log".CMake Error at CMakeLists.txt:116 (PROJECT):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;The CMAKE_CXX_COMPILER:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;mpiicpc -cxx=icpx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;is not a full path and was not found in the PATH.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Tell CMake where to find the compiler by setting either the environment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;to the compiler, or to the compiler name if it is in the PATH.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;```&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ideal resolution is probably to introduce something along the lines of mpiicx, mpiicpx and mpiifx.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ICC and co are the default compilers of intel mpi but are slated for removal this year (2h2023)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 16:40:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1498928#M10713</guid>
      <dc:creator>FCLC</dc:creator>
      <dc:date>2023-06-25T16:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nested building of PETSc for OpenFOAM when using Kokkos</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1499827#M10718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are able to reproduce your issue. We have informed the concerned development team about it. We will get back to you soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Shaik Rabiya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 03:48:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1499827#M10718</guid>
      <dc:creator>RabiyaSK_Intel</dc:creator>
      <dc:date>2023-06-28T03:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nested building of PETSc for OpenFOAM when using Kokkos</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1499973#M10719</link>
      <description>&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More than likely there are workarounds via environment variables that should be usable to get around this particular case, but those workarounds will be relatively fragile, much like the mpiicc -cc=icx fix from the other day.&lt;BR /&gt;&lt;BR /&gt;Longer term with the deprecation of icc (and therefore deprecation of mpiicc) there will be a need to create an mpiicx family of MPI compilers anyway.&lt;BR /&gt;&lt;BR /&gt;Would it be possible to forward the feedback requesting introduction of mpiicx compilers as native instead of the current system of extra flags and environment variables?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 14:11:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1499973#M10719</guid>
      <dc:creator>FCLC</dc:creator>
      <dc:date>2023-06-28T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nested building of PETSc for OpenFOAM when using Kokkos</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1501922#M10736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;EM&gt;Would it be possible to forward the feedback requesting introduction of mpiicx compilers as native instead of the current system of extra flags and environment variables?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the feedback. We have given the feedback to the concerned development team. The mpi wrappers requested(mpiicx, mpiicpx, mpiifx) will be available from the next release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Meanwhile, you can try exporting instead:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;export I_MPI_CC=icx
export I_MPI_CXX=icpx
export I_MPI_F90=ifx

./configure --download-kokkos=1 --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=0 

make -j&lt;/LI-CODE&gt;
&lt;P&gt;If you still face any issues, you can reach out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Shaik Rabiya&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 09:47:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1501922#M10736</guid>
      <dc:creator>RabiyaSK_Intel</dc:creator>
      <dc:date>2023-07-05T09:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nested building of PETSc for OpenFOAM when using Kokkos</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1502339#M10744</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/274046"&gt;@RabiyaSK_Intel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;EM&gt;Would it be possible to forward the feedback requesting introduction of mpiicx compilers as native instead of the current system of extra flags and environment variables?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback. We have given the feedback to the concerned development team. The mpi wrappers requested(mpiicx, mpiicpx, mpiifx) will be available from the next release.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meanwhile, you can try exporting instead:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;export I_MPI_CC=icx
export I_MPI_CXX=icpx
export I_MPI_F90=ifx

./configure --download-kokkos=1 --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=0 

make -j&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you still face any issues, you can reach out to us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shaik Rabiya&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;Hi Shaik,&lt;BR /&gt;&lt;BR /&gt;Thank you so much for the mpi wrapper solution! Happy to hear it's coming. Would you happen to have an approximate timeline? I believe we're currently on version 2023.1.0 of the HPC_toolkit&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 14:49:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1502339#M10744</guid>
      <dc:creator>FCLC</dc:creator>
      <dc:date>2023-07-06T14:49:09Z</dc:date>
    </item>
    <item>
      <title>Re:Nested building of PETSc for OpenFOAM when using Kokkos</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1504373#M10761</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;EM&gt; Would you happen to have an approximate timeline?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;We apologize but we cannot provide an accurate date or approximate timeline for 2023.2 release of oneAPI toolkits.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, you can check the Intel MPI Library or HPC Toolkit release notes for the inclusion of Intel LLVM compiler based wrappers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link for Intel MPI Library release notes is:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/release-notes/mpi-library-release-notes.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/release-notes/mpi-library-release-notes.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The link for HPC Toolkit release notes is:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-hpc-toolkit-release-notes.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-hpc-toolkit-release-notes.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shaik Rabiya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jul 2023 09:10:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1504373#M10761</guid>
      <dc:creator>RabiyaSK_Intel</dc:creator>
      <dc:date>2023-07-13T09:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Nested building of PETSc for OpenFOAM when using Kokkos</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1508818#M10819</link>
      <description>&lt;P&gt;Hi again!&lt;BR /&gt;&lt;BR /&gt;Wanted to say thanks for acking the issues.&lt;BR /&gt;&lt;BR /&gt;With the latest release of the OneAPI HPC toolkit, when you install intel MPI new wrappers are provided to use them *directly* with the LLVM compilers.&lt;BR /&gt;&lt;BR /&gt;Wanted to send a warm thank you to: yourself and other members of the intel sw and community teams for addressing this issue!&lt;BR /&gt;&lt;BR /&gt;if you could pass that along I'd be grateful&lt;BR /&gt;&lt;BR /&gt;Felix&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 16:34:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Nested-building-of-PETSc-for-OpenFOAM-when-using-Kokkos/m-p/1508818#M10819</guid>
      <dc:creator>FCLC</dc:creator>
      <dc:date>2023-07-27T16:34:27Z</dc:date>
    </item>
  </channel>
</rss>

