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
尝试集群运行,已经通过验证是没有问题的。
使用IMPI
的mpirun
就发生了上述问题,还在尝试解决中
似乎和原来的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
原文:https://www.cnblogs.com/HelloGreen/p/8849145.html