Skip to content

Environment Var For --allow-run-as-root #4451

@ax3l

Description

@ax3l

Background information

What version of Open MPI are you using?

openmpi 3.0.0

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

from source, via the spack package manager inside a Docker container.

Please describe the system on which you are running

  • Operating system/version: Ubuntu 16.04
  • Computer hardware: x86
  • Network type: Ethernet

Details of the problem

I would like to control the --allow-run-as-root flag via an environment variable (or config file) as well.

Running as root in Docker containers is fine and partitioning by exporting an environment variable (e.g. autotools equivalent is FORCE_UNSAFE_CONFIGURE=1) would make it way easier to interact with mpirun/mpiexec for deeply integrated workflows (where directly editing the final mpi call might not always be possible).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions