<?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: Visual studio and Intel HPC Toolkit in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610402#M11774</link>
    <description>&lt;P&gt;When I create a new project, I don't get the previous errors when I execute the code with Visual studio (&lt;SPAN&gt;Abort(1090447) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init ...&amp;nbsp;&lt;/SPAN&gt;). On the other hand, when I close and then open the saved project, I get the same errors as before when I run the code in visual studio&amp;nbsp; (&lt;SPAN&gt;Abort(1090447) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init ...&amp;nbsp;&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;For your information, if I use "Intel oneAPI command prompt for Intel 64 for Visual Studio 2022" it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what to do anymore. Could you help me?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2024 16:06:17 GMT</pubDate>
    <dc:creator>benjamu</dc:creator>
    <dc:date>2024-06-27T16:06:17Z</dc:date>
    <item>
      <title>Visual studio and Intel HPC Toolkit</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1609641#M11763</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to compile a simple mpi fortran code (see below) using visual studio 2022 and Intel HPC Toolkit 2024.2 (latest version).&lt;/P&gt;&lt;P&gt;I have followed the instructions in the following guide:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/mpi-library/developer-guide-windows/2021-13/configuring-a-microsoft-visual-studio-project.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/mpi-library/developer-guide-windows/2021-13/configuring-a-microsoft-visual-studio-project.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;with my directory path C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\lib&lt;/P&gt;&lt;P&gt;and I still get the same error below:&lt;/P&gt;&lt;P&gt;Erreur error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The compiler in Visual is not able to link with&amp;nbsp;the library&amp;nbsp;&lt;SPAN&gt;impi.lib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I looked for solutions on the internet but without success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you help me solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;program Console4&lt;BR /&gt;use mpi&lt;BR /&gt;implicit none&lt;/P&gt;&lt;P&gt;integer i, size, rank, namelen, ierr&lt;BR /&gt;character (len=MPI_MAX_PROCESSOR_NAME) :: name&lt;BR /&gt;integer stat(MPI_STATUS_SIZE)&lt;/P&gt;&lt;P&gt;call MPI_INIT (ierr)&lt;/P&gt;&lt;P&gt;call MPI_COMM_SIZE (MPI_COMM_WORLD, size, ierr)&lt;BR /&gt;call MPI_COMM_RANK (MPI_COMM_WORLD, rank, ierr)&lt;BR /&gt;call MPI_GET_PROCESSOR_NAME (name, namelen, ierr)&lt;/P&gt;&lt;P&gt;if (rank.eq.0) then&lt;/P&gt;&lt;P&gt;print *, 'Hello world: rank ', rank, ' of ', size, ' running on ', name&lt;/P&gt;&lt;P&gt;do i = 1, size - 1&lt;BR /&gt;call MPI_RECV (rank, 1, MPI_INTEGER, i, 1, MPI_COMM_WORLD, stat, ierr)&lt;BR /&gt;call MPI_RECV (size, 1, MPI_INTEGER, i, 1, MPI_COMM_WORLD, stat, ierr)&lt;BR /&gt;call MPI_RECV (namelen, 1, MPI_INTEGER, i, 1, MPI_COMM_WORLD, stat, ierr)&lt;BR /&gt;name = ''&lt;BR /&gt;call MPI_RECV (name, namelen, MPI_CHARACTER, i, 1, MPI_COMM_WORLD, stat, ierr)&lt;BR /&gt;print *, 'Hello world: rank ', rank, ' of ', size, ' running on ', name&lt;BR /&gt;enddo&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;call MPI_SEND (rank, 1, MPI_INTEGER, 0, 1, MPI_COMM_WORLD, ierr)&lt;BR /&gt;call MPI_SEND (size, 1, MPI_INTEGER, 0, 1, MPI_COMM_WORLD, ierr)&lt;BR /&gt;call MPI_SEND (namelen, 1, MPI_INTEGER, 0, 1, MPI_COMM_WORLD, ierr)&lt;BR /&gt;call MPI_SEND (name, namelen, MPI_CHARACTER, 0, 1, MPI_COMM_WORLD, ierr)&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;call MPI_FINALIZE (ierr)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;end program Console4&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 12:44:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1609641#M11763</guid>
      <dc:creator>benjamu</dc:creator>
      <dc:date>2024-06-25T12:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio and Intel HPC Toolkit</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610056#M11765</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/365289"&gt;@benjamu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;can you please add:&lt;BR /&gt;C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include\mpi&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 18:18:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610056#M11765</guid>
      <dc:creator>TobiasK</dc:creator>
      <dc:date>2024-06-26T18:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio and Intel HPC Toolkit</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610350#M11771</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/245425"&gt;@TobiasK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By adding this element in&amp;nbsp;Additional Include Directories and in &lt;SPAN&gt;Additional Library Directories, it works now&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional Include Directories: C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include;C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include\mpi&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additional Library Directories&amp;nbsp;&lt;/SPAN&gt;C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include;C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include\mpi&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 12:08:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610350#M11771</guid>
      <dc:creator>benjamu</dc:creator>
      <dc:date>2024-06-27T12:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio and Intel HPC Toolkit</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610358#M11772</link>
      <description>&lt;P&gt;With the above modification, I can't compile and generate an executable, unfortunately when I execute using 1 proc I get the following error :&lt;/P&gt;&lt;P&gt;Abort(1090447) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init: Unknown error class, error stack:&lt;BR /&gt;MPIR_Init_thread(192)........:&lt;BR /&gt;MPID_Init(1665)..............:&lt;BR /&gt;MPIDI_OFI_mpi_init_hook(1586):&lt;BR /&gt;(unknown)(): Unknown error class&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 12:31:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610358#M11772</guid>
      <dc:creator>benjamu</dc:creator>
      <dc:date>2024-06-27T12:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio and Intel HPC Toolkit</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610393#M11773</link>
      <description>&lt;P&gt;By creating a new project and not starting from an existing one, it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short, to make the compilation work, I added the following to the project properties :&lt;/P&gt;&lt;P&gt;Debug&lt;BR /&gt;Command : C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\bin\mpiexec.exe&lt;BR /&gt;Command arguments : -n 1 "$(TargetPath)"&lt;BR /&gt;Environnement : PATH=C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\bin; C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\opt\mpi\libfabric\bin;$(PATH)&lt;BR /&gt;Fortran&lt;BR /&gt;Additional Include Directories : C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include;C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include\mpi&lt;BR /&gt;Linker&lt;BR /&gt;Additional Library Directories : C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\lib&lt;BR /&gt;Input&lt;BR /&gt;Additional Dependencies: impi.lib&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 15:08:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610393#M11773</guid>
      <dc:creator>benjamu</dc:creator>
      <dc:date>2024-06-27T15:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio and Intel HPC Toolkit</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610402#M11774</link>
      <description>&lt;P&gt;When I create a new project, I don't get the previous errors when I execute the code with Visual studio (&lt;SPAN&gt;Abort(1090447) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init ...&amp;nbsp;&lt;/SPAN&gt;). On the other hand, when I close and then open the saved project, I get the same errors as before when I run the code in visual studio&amp;nbsp; (&lt;SPAN&gt;Abort(1090447) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init ...&amp;nbsp;&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;For your information, if I use "Intel oneAPI command prompt for Intel 64 for Visual Studio 2022" it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what to do anymore. Could you help me?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 16:06:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Visual-studio-and-Intel-HPC-Toolkit/m-p/1610402#M11774</guid>
      <dc:creator>benjamu</dc:creator>
      <dc:date>2024-06-27T16:06:17Z</dc:date>
    </item>
  </channel>
</rss>

