在x86环境中同时运行--map-by hwthread和--rank-by core参数时,导致Not supported错误。
$ mpirun --allow-run-as-root -np 16 -N 2 --hostfile ~/hmpifile_2021/hostfile/hf8 --map-by hwthread --rank-by core ~/hmpifile_2021/allreduce/AllReduce [x86-2:41196] [[10767,0],0] ORTE_ERROR_LOG: Not supported in file base/rmaps_base_ranking.c at line 592 [x86-2:41196] [[10767,0],0] ORTE_ERROR_LOG: Not supported in file base/odls_base_default_fns.c at line 632
在x86环境中--map-by hwthread和--rank-by core参数之间有约束,不能同时使用。
mpirun --allow-run-as-root -np 16 -N 2 --hostfile ~/hmpifile_2021/hostfile/hf8 --map-by hwthread --rank-by slot ~/hmpifile_2021/allreduce/AllReduce
请不要同时使用该两个参数,若需使用--map-by hwthread参数,请指定--rank-by slot参数。