MPI不适用于更多数量的处理器

时间:2020-10-30 16:46:29

标签: linux server mpi

我正在尝试使用命令“ / usr / local / packages / mpich1 / bin / mpirun -np 256 ./hello”运行hello world代码 。我收到以下错误消息,

[proxy:0:0@user-MZ92-FS0-00] HYDU_create_process (utils/launch/launch.c:22): pipe error (Too many open files)
[proxy:0:0@user-MZ92-FS0-00] launch_procs (pm/pmiserv/pmip_cb.c:702): create process returned error
[proxy:0:0@user-MZ92-FS0-00] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): launch_procs returned error
[proxy:0:0@user-MZ92-FS0-00] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
[proxy:0:0@user-MZ92-FS0-00] main (pm/pmiserv/pmip.c:200): demux engine error waiting for event
[mpiexec@user-MZ92-FS0-00] control_cb (pm/pmiserv/pmiserv_cb.c:208): assert (!closed) failed
[mpiexec@user-MZ92-FS0-00] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:77): callback returned error status
[mpiexec@user-MZ92-FS0-00] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:196): error waiting for event
[mpiexec@user-MZ92-FS0-00] main (ui/mpich/mpiexec.c:336): process manager error waiting for completion

当我使用小于等于128的处理器时,没有上述错误。我已经尝试过“ ulimit -n 2048”,但仍然得到相同的结果。实际上,我应该将“ hello world”打印256次。

0 个答案:

没有答案
相关问题