-
Download Visual Studio from the following link :
-
Download useful files for MPI from the following link:
-
After downloading install
msmpisetup.exe
application:- Leave all as default and click on next and once the installation is done click on finish
-
Run
msmpisdk.msi
installer leaving all as default -
Now run the
Visual Studio installer
file which was downloaded above.-
Click
Continue
to accept theterms 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 asInstall 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
.
-
-
Now after getting restarted, Click on
Create a new project
and then -
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 pressApply
-
Now in the additional library directories row add
$(MSMPI_LIB64)
. -
Apply the configurations and then press
OK
button
-
- Download
- Install
- Ready to use