Skip to content

Warnings from process binding check on multi-node runs #337

Closed

Description

@casparvl

When running the GROMACS test (-t CI -t 2_nodes) I get:

WARNING: PROCESS BINDING ERROR: wrong number of nodes: expected 2, found 1
WARNING: PROCESS BINDING ERROR: wrong number of nodes: expected 2, found 1
[       OK ] (1/6) EESSI_GROMACS %benchmark_info=HECBioSim/Crambin %nb_impl=cpu %scale=2_nodes %module_info=('snellius:rome', 'EESSI-2023.06', 'GROMACS/2024.1-foss-2023b') /13732cc6 @snellius:rome+EESSI-2023.06
P: perf: 501.182 ns/day
[       OK ] (2/6) EESSI_GROMACS %benchmark_info=HECBioSim/Crambin %nb_impl=cpu %scale=2_nodes %module_info=('snellius:rome', 'EESSI-2023.06', 'GROMACS/2024.3-foss-2023b') /0370ab93 @snellius:rome+EESSI-2023.06
P: perf: 502.104 ns/day
WARNING: PROCESS BINDING ERROR: wrong number of nodes: expected 2, found 1
[       OK ] (3/6) EESSI_GROMACS %benchmark_info=HECBioSim/Crambin %nb_impl=cpu %scale=2_nodes %module_info=('snellius:rome', 'EESSI-2023.06', 'GROMACS/2024.3-foss-2023b-PLUMED-2.9.2') /03be1b29 @snellius:rome+EESSI-2023.06
P: perf: 530.522 ns/day
WARNING: PROCESS BINDING ERROR: wrong number of nodes: expected 2, found 1
[       OK ] (4/6) EESSI_GROMACS %benchmark_info=HECBioSim/Crambin %nb_impl=cpu %scale=2_nodes %module_info=('snellius:rome', 'EESSI-2025.06', 'GROMACS/2025.2-foss-2025a') /d74d5b89 @snellius:rome+EESSI-2025.06
P: perf: 292.739 ns/day
WARNING: PROCESS BINDING ERROR: wrong number of nodes: expected 2, found 1
[       OK ] (5/6) EESSI_GROMACS %benchmark_info=HECBioSim/Crambin %nb_impl=cpu %scale=2_nodes %module_info=('snellius:rome', 'EESSI-2025.06', 'GROMACS/2025.4-foss-2025b') /27734c47 @snellius:rome+EESSI-2025.06
P: perf: 508.176 ns/day
WARNING: PROCESS BINDING ERROR: wrong number of nodes: expected 2, found 1
[       OK ] (6/6) EESSI_GROMACS %benchmark_info=HECBioSim/Crambin %nb_impl=cpu %scale=2_nodes %module_info=('snellius:rome', 'EESSI-2023.06', 'GROMACS/2024.4-foss-2023b') /ef27794c @snellius:rome+EESSI-2023.06

However, I do see the correct output for --report-bindings:

[tcn42.local.snellius.surf.nl:3341049] MCW rank 31 bound to socket 0[core 31[hwt 0]]: [./././././././././././././././././././././././././././././././B/./././././././././././././././././././././././././././././././.][./././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././.]
...
[tcn59.local.snellius.surf.nl:3569958] MCW rank 128 bound to socket 0[core 0[hwt 0]]: [B/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././.
/./././.][./././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././.]

So the scheduling & binding is actually correct. It seems that the

mpirun -np 256 --map-by slot:PE=1 --report-bindings /gpfs/home4/casparl/EESSI/test-suite/eessi/testsuite/get_process_binding.sh | tee /dev/stderr | /gpfs/home4/casparl/EESSI/test-suite/eessi/testsuite/check_process_binding.py --cpus-per-proc 1 --procs 256 --nodes 2

Simply only ends up in the jobs error output for one of the nodes?

I saw the same for MetalWalls btw, so it's not test-specific.

Activity

  1. smoors commented on May 6, 2026

    @smoors
    Collaborator

    the problem is in this line:

    echo "$HOSTNAME $binding"

    the $HOSTNAMEenvvar is not updated for each MPI process.
    a simple fix is to use $(hostname) instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions