Skip to content

Refine ambiguous labels "PROCESSORS" and "THREADS" in screen output #7251

Description

@xinchenhou

In ABACUS's screen output, the labels PROCESSORS and THREADS are ambiguous and cannot clearly reflect the actual parallel configuration.

For instance, I executed the task with 28 MPI processes and 1 OpenMP thread per process using the command:
mpirun -np 28 ./abacus

However, the output shows misleading information as below:

 ---------------------------------------------------------
 Self-consistent calculations for electrons
 ---------------------------------------------------------
 SPIN    KPOINTS         PROCESSORS  THREADS     
 1       1               28          28          
 ---------------------------------------------------------

Existing problems

  1. The term PROCESSORS is not precise. It refers to MPI tasks in practice, rather than physical CPU processors. Using PROCESSES or MPI PROCS would be more appropriate.
  2. The term THREADS is confusing. It displays the total threads instead of threads per MPI rank, which may cause misunderstanding of the running setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compile & CICD & Docs & DependenciesIssues related to compiling ABACUSFeatures NeededThe features are indeed needed, and developers should have sophisticated knowledge

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions