yanyuechuixue
V2EX  ›  问与答

请问 mpirun -np 2 中的这个 2 有什么意义? 不用 mpirun 也能把所有核心跑满的情况下。

  •  
  •   yanyuechuixue · Apr 20, 2017 · 4046 views
    This topic created in 3316 days ago, the information mentioned may be changed or developed.

    最近在用别人写的一个程序, documents 中指出要使用 mpirun -np X , X 至少是 2.

    这个 -np X 中 X 的意思应该是启动几个这个程序运行的 copy 吧? 这对提升性能有什么好处呢?

    先行谢过!

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1265 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 17:38 · PVG 01:38 · LAX 10:38 · JFK 13:38
    ♥ Do have faith in what you're doing.