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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With