Skip to content

Commit 3a31426

Browse files
authored
Merge pull request #9331 from jsquyres/pr/revert-mpi-init-thread-change
v4.0.x: Revert "Allow mpi_init_thread to override the MPI_THREAD_LEVEL"
2 parents 5f1c669 + 8aa1af0 commit 3a31426

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ompi/mpi/c/init_thread.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ int MPI_Init_thread(int *argc, char ***argv, int required,
4848
int *provided)
4949
{
5050
int err;
51-
char *env;
52-
53-
if (NULL != (env = getenv("OMPI_MPI_THREAD_LEVEL"))) {
54-
required = atoi(env);
55-
}
5651

5752
ompi_hook_base_mpi_init_thread_top(argc, argv, required, provided);
5853

0 commit comments

Comments
 (0)