【问题标题】:mpirun command error while running a c program under linux在linux下运行c程序时mpirun命令错误
【发布时间】:2017-08-21 13:19:13
【问题描述】:

我在 Linux 下使用 mpi 编写了一个 c 程序。我使用 mpicc mpi2.c -o mpi2 编译程序并使用 mpirun -n 4 mpi2 运行程序。遵守时没有错误,但运行程序时出错。报错“No such file or directory”,如图in this image

谁能帮我解决这个问题。

【问题讨论】:

  • 请直接将错误信息复制/粘贴到问题中,而不是链接到屏幕截图。

标签: mpi


【解决方案1】:

如果你只是简单的呢?

mpirun -n 4 ./mpi2

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2017-02-20
  • 1970-01-01
  • 1970-01-01
  • 2011-04-11
  • 1970-01-01
  • 1970-01-01
  • 2013-07-22
  • 2021-01-04
相关资源
最近更新 更多