From 8aa1af0ad7fc010fdf5620234b95ecd34e87b6a4 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 30 Aug 2021 07:53:04 -0700 Subject: [PATCH] Revert "Allow mpi_init_thread to override the MPI_THREAD_LEVEL" This reverts commit 881979044aa7de2ab3a9d29cb80d459497759c21. Signed-off-by: Jeff Squyres --- ompi/mpi/c/init_thread.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ompi/mpi/c/init_thread.c b/ompi/mpi/c/init_thread.c index f4daf25d910..48fc53a1540 100644 --- a/ompi/mpi/c/init_thread.c +++ b/ompi/mpi/c/init_thread.c @@ -48,11 +48,6 @@ int MPI_Init_thread(int *argc, char ***argv, int required, int *provided) { int err; - char *env; - - if (NULL != (env = getenv("OMPI_MPI_THREAD_LEVEL"))) { - required = atoi(env); - } ompi_hook_base_mpi_init_thread_top(argc, argv, required, provided);