Intel MPI环境利用hostfile多主机运行下报错
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
将hostfile文件中指定进程个数的slots参数删去仍然会报错。
之前用C语言的MPI和对应的hostfile
尝试集群运行,已经通过验证是没有问题的。
使用IMPI的mpirun
就发生了上述问题,还在尝试解决中
似乎和原来的OpenMPI的命令行参数不太一样,尝试了几个都没法之后,只用用命令/opt/intel/intelpython2/bin/mpirun -help |