Skip to content

ravellaabhinav/MPI-Installation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Message Passing Interface (MPI):

Steps:

  1. Download Visual Studio from the following link :

  2. Download useful files for MPI from the following link:

    • Select both files and click on next button

  3. After downloading install msmpisetup.exe application:

    • Leave all as default and click on next and once the installation is done click on finish
  4. Run msmpisdk.msi installer leaving all as default

  5. Now run the Visual Studio installer file which was downloaded above.

    • Click Continue to accept the terms and conditions.

    • Once the downloading and installation is done, you are required to sign in using your Microsoft Acoount.

    • After successful signing in, you will be directed to choose the required workloads. Here we need to select the required workloads.

    • Check the box of required workloads and Click on Install/Modity by leaving the option as Install while downloading.

    • In my case Desktop Development for C++ is enough.

    • It requires nearly 3GB of data to finish whole installation process.

    • Once the installation is done reboot the application.

  6. Now after getting restarted, Click on Create a new project and then

    1. Select C++ in All Programs drop-down.

    2. Now select Console App as shown below and click next

    3. Now choose your Project Name and click Create.

    4. Call MPI header file: #include "mpi.h" as shown below:

  7. Configuration: After creating project:

    • Head to Project->Properties and go to C/C++ and add $(MSMPI_INC);$(MSMPI_INC)\x64 as shown below:

    • Now go to Linker->All Options and click scroll to find adding Additional Dependencies and add msmpi.lib and press Apply

    • Now in the additional library directories row add $(MSMPI_LIB64).

    • Apply the configurations and then press OK button

  • Download
  • Install
  • Ready to use

Had doubts regarding configuration

👇 Head to the following video to get clarified.🌟

👨‍🚀 Work in progress

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published