Skip to content

CI: no test covers two ranks on two different GPUs (the num_procs device-update regression slipped through) #2397

Open

Description

@sbryngelson

Problem

#2371 fixed a device update that ran before a rank was bound to its GPU (the contact force was applied twice when the two ranks of a run sat on different GPUs; AMD CI hides it because each rank sees one GPU). It passed OpenACC on two GPUs by hand but regressed NVHPC OpenMP offload on two GPUs (CUDA_ERROR_INVALID_CONTEXT, fixed in #2384). The Phoenix gpu-omp benchmark (2 ranks on 2 GPUs) caught it, red on every PR afterwards. The test lanes run tests with at most 2 ranks and the GPU runners have few GPUs, so no test checks the one-GPU against the two-GPU layout.

Proposal

Run the 2-rank IBM collision tests (09FDDC81, 04FB9E91, 9C0CAF25, 50B98DBF, 5E746B78 and the friction seam tests) on two GPUs on an NVIDIA lane under both OpenACC and OpenMP, and compare with the one-GPU result; or document it as a required by-hand check for any change to device initialisation (see the Silent-Failure Traps in docs/documentation/gpuParallelization.md).

AI-assisted (Claude Code).

Activity

  1. sbryngelson commented on Nov 22, 2026

    @sbryngelson
    MemberAuthor

    Related pull requests: #2371 (num_procs fix, merged), #2384 (OpenMP regression fix, merged), #2380 (NVHPC known-difference skip, merged).

    AI-assisted (Claude Code).

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions