IMPI Python集群运行报错:

Posted Hello woooo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了IMPI Python集群运行报错:相关的知识,希望对你有一定的参考价值。

HYDU_process_mfile_token (../../utils/args/args.c:523): token slots not supported at this time
HYDU_parse_hostfile (../../utils/args/args.c:597): unable to process token
mfile_fn (../../ui/mpich/utils.c:446): error parsing hostfile
 match_arg (../../utils/args/args.c:243): match handler returned error
HYDU_parse_array (../../utils/args/args.c:269): argument matching returned error
parse_args (../../ui/mpich/utils.c:4770): error parsing input array
HYD_uii_mpx_get_parameters (../../ui/mpich/utils.c:5106): unable to parse user arguments

之前用C语言的MPI和对应的hostfile尝试集群运行,已经通过验证是没有问题的。

使用IMPImpirun就发生了上述问题,还在尝试解决中

似乎和原来的OpenMPI 的命令行参数不太一样,尝试了几个都没法之后,只用用命令
/opt/intel/intelpython2/bin/mpirun -help | grep host
来查找所有和host有关的配置参数来看一遍了,输出如下

$ /opt/intel/intelpython2/bin/mpirun -help | grep host
    -f {name} | -hostfile {name}     file containing the host names
    -hosts {host list}               comma separated host list
    -host {hostname}                 host on which processes are to be run
    -hostos {OS name}                operating system on particular host
    -perhost <n>                     place consecutive <n> processes on each host
    -ppn <n>                         stand for "process per node"; an alias to -perhost <n>
    -grr <n>                         stand for "group round robin"; an alias to -perhost <n>
    -localhost                       local hostname for the launching node


以上是关于IMPI Python集群运行报错:的主要内容,如果未能解决你的问题,请参考以下文章

在 Python 多处理进程中运行较慢的 OpenCV 代码片段

Docker删除报错:Error response from daemon: conflict: unable to delete 08b152afcfae (must be forced)(代码片段

python 用于在终端中运行的sublime text 3的简单代码片段制作工具

RuntimeError: ‘lengths’ argument should be a 1D CPU int64 tensor, but got 1D cuda:0 Long tensor(代码片段

scrapy按顺序启动多个爬虫代码片段(python3)

python 一个终端代码片段,在mac上生成可启动的usb live CD,以运行类似ubuntu或debian的内容。