1
1
openmpi/orte/tools/orterun
Jeff Squyres 549abeaa87 orterun: remove duplicate code
https://github.com/open-mpi/ompi/pull/6895 fixed the code in orterun.c
to allow running as root if both OMPI_ALLOW_RUN_AS_ROOT and
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM env vars are set.  However, this
env-var-checking code already exists in
orte_submit.c:orte_submit_init() -- it looks like the
geteuid()/getenv()-checking code here in orterun is now duplicate
code.

So let's just get rid of the duplicate code.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 197beb30d5)
2019-08-19 15:49:57 -04:00
..
help-orterun.txt Update the connect/accept support so we check to see if we have the proper infrastructure and RTE support, including whether we have ompi-server available if the connect/accept spans multiple applications. Print pretty help messages in all cases where we do not have support 2017-05-27 10:47:08 -07:00
main.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am Fix MPIR_proctable structure visibility 2018-03-09 21:15:28 -05:00
orterun.1in Allow run-as-root if 2 envars are set 2018-08-24 20:24:22 -07:00
orterun.c orterun: remove duplicate code 2019-08-19 15:49:57 -04:00
orterun.h Refactor the ORTE DVM code so that external codes can submit multiple jobs using only a single connection to the HNP. 2016-02-13 08:10:44 -08:00