Skip to content

Environment variable option to disable mpibind #24

Open
@SteVwonder

Description

In the case of Flux, we don't want Flux processes to be bound by mpibind when launched under Slurm. Instead, we only want mpibind to be activated once Flux has started. In parts of Flux's documentation, we currently recommend users launch Flux under Slurm with srun --mpibind=off flux start, but this only applies to LLNL clusters (open issue).

An alternate solution would be to suggest users to do MPIBIND=off srun flux start or set MPIBIND=off in an lmod file, but this requires mpibind to support providing options via environment variables. Once Flux is started, we could unset the MPIBIND env var when launching jobs (and reactivating mpibind via the Flux mpibind job shell plugin is also an option).

Activity

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

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