简体   繁体   English

MPI进程数

[英]MPI number of process

I am running a sample MPI program which prints hello world. 我正在运行一个示例MPI程序,该程序可打印您好世界。 When I am running with 1,2....330 process it runs as expected. 当我运行1,2 .... 330进程时,它按预期运行。 But when the number goes beyond 330 it fails with below error. 但是,当数字超过330时,它将失败并显示以下错误。 Can some explain the reason for this. 可以解释一下原因。 I am running the program on my laptop which has i5 processor with 4 cores and 8 GB RAM. 我正在装有4核i8处理器和8 GB RAM的笔记本电脑上运行该程序。

[proxy:0:0@Abhishek-Machine] HYDU_create_process (./utils/launch/launch.c:25): pipe error (Too many open files)
[proxy:0:0@Abhishek-Machine] launch_procs (./pm/pmiserv/pmip_cb.c:705): create process returned error
[proxy:0:0@Abhishek-Machine] HYD_pmcd_pmip_control_cmd_cb (./pm/pmiserv/pmip_cb.c:893): launch_procs returned error
[proxy:0:0@Abhishek-Machine] HYDT_dmxu_poll_wait_for_event (./tools/demux/demux_poll.c:77): callback returned error status
[proxy:0:0@Abhishek-Machine] main (./pm/pmiserv/pmip.c:206): demux engine error waiting for event
[mpiexec@Abhishek-Machine] control_cb (./pm/pmiserv/pmiserv_cb.c:202): assert (!closed) failed
[mpiexec@Abhishek-Machine] HYDT_dmxu_poll_wait_for_event (./tools/demux/demux_poll.c:77): callback returned error status
[mpiexec@Abhishek-Machine] HYD_pmci_wait_for_completion (./pm/pmiserv/pmiserv_pmci.c:197): error waiting for event
[mpiexec@Abhishek-Machine] main (./ui/mpich/mpiexec.c:331): process manager error waiting for completion

You are hitting an OS limit for socket descriptors or similar. 您正在达到套接字描述符或类似内容的操作系统限制。 Over subscribing your workstation to this degree is not a good idea and unlikely to work unless you change your system settings (which is not a good idea for this use case). 过度订阅您的工作站不是一个好主意,除非您更改系统设置,否则不大可能起作用(对于本用例而言,这不是一个好主意)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM