Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running MPI application from Visual Studio 2013

I wrote a simple MPI application under Visual Studio 2013 which compiles and builds fine. I'm running Windows 7 on a standard laptop (no cluster). I installed "Microsoft HPC Pack 2008 R2" to get the proper MPI stuff and I've been able to execute my application from a DOS command line:

> mpiexec -n 4 .\testMPI.exe

Question: how to launch this (parallel) application from Visual Studio 2013 directly?

like image 633
SebGR Avatar asked Mar 17 '26 04:03

SebGR


1 Answers

You can run, just set Command property in $(MSMPI_BIN)\mpiexec and Command arguments in -n 4 "$(TargetPath)". If you want to debug it better try Visual Studio 2010. Here is op's (probably) repost of this question on microsoft forums.

like image 155
Dijkstra Avatar answered Mar 19 '26 00:03

Dijkstra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!