visual-studio - 从 Visual Studio 2013 运行 MPI 应用程序

标签 visual-studio mpi

我在 Visual Studio 2013 下编写了一个简单的 MPI 应用程序,它可以很好地编译和构建。我在标准笔记本电脑(无集群)上运行 Windows 7。 我安装了“Microsoft HPC Pack 2008 R2”以获取正确的 MPI 内容,并且我已经能够从 DOS 命令行执行我的应用程序:

> mpiexec -n 4 .\testMPI.exe

问题:如何直接从 Visual Studio 2013 启动这个(并行)应用程序?

最佳答案

您可以运行,只需在 $(MSMPI_BIN)\mpiexecCommand arguments 中设置 Command 属性-n 4“$(目标路径)”。如果您想更好地调试它,请尝试使用 Visual Studio 2010。Here是 op(可能)在微软论坛上重新发布这个问题。

关于visual-studio - 从 Visual Studio 2013 运行 MPI 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28630159/

相关文章:

c - 在 openSUSE 上用 C 语言的 mpi 编译 hello world 程序时出错

c - MPI 发送-接收程序中消息的值应该是多少?

git - 值不能为空。参数名称 : localBranch

visual-studio - 如何在项目的预构建事件中解析Nuget包版本和路径?

.net - VS 2010 Performance Profiler : Identifying Threads

javascript - 当我更改文件名时,Visual Studio 2017 覆盖了文件,有没有办法恢复该更改?

visual-studio - 为 Windows 服务和事件日志设置项目

c - 搜索/等待 MS-MPI 中的任何传输

compiler-errors - 我如何编译MPI程序

java - MPJ Java 多核配置还是共享内存?