Rate This Document
Findability
Accuracy
Completeness
Readability

Running Result of the --map-by hwthread Parameter Is "Not supported"

Symptom

If --map-by hwthread and --rank-by core are run at the same time in an x86 environment, the error "Not supported" is reported.

$ 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

Possible Causes

In the x86 environment, the --map-by hwthread and --rank-by core parameters cannot be used at the same time.

Procedure

  1. Use PuTTY to log in to a job execution node as a common Hyper MPI user, for example, hmpi_user.
  2. Run the following command to cancel the constraint between the --map-by hwthread and --rank-by core parameters:

    mpirun --allow-run-as-root -np 16 -N 2 --hostfile ~/hmpifile_2021/hostfile/hf8 --map-by hwthread --rank-by slot ~/hmpifile_2021/allreduce/AllReduce

    • ~/hmpifile_2021/hostfile indicates the file path of the specified job execution node. You can replace it as required.
    • hf8 indicates the file of the specified job execution node. You can change the file name as required.
    • ~/hmpifile_2021/allreduce indicates the path for running the job.
    • AllReduce indicates the specified running job. You can change it as required.

    Do not use the two parameters at the same time. To use the --map-by hwthread parameter, specify the --rank-by slot parameter.