Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions ompi/runtime/ompi_mpi_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,6 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)

OMPI_TIMING_INIT(32);

/* bitflag of the thread level support provided. To be used
* for the modex in order to work in heterogeneous environments. */
uint8_t threadlevel_bf;

ompi_hook_base_mpi_init_top(argc, argv, requested, provided);

/* Ensure that we were not already initialized or finalized.
Expand Down Expand Up @@ -551,18 +547,6 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
goto error;
}

/* determine the bitflag belonging to the threadlevel_support provided */
memset ( &threadlevel_bf, 0, sizeof(uint8_t));
OMPI_THREADLEVEL_SET_BITFLAG ( ompi_mpi_thread_provided, threadlevel_bf );

/* add this bitflag to the modex */
OPAL_MODEX_SEND_STRING(ret, OPAL_PMIX_GLOBAL,
"MPI_THREAD_LEVEL", &threadlevel_bf, sizeof(uint8_t));
if (OPAL_SUCCESS != ret) {
error = "ompi_mpi_init: modex send thread level";
goto error;
}

/* initialize datatypes. This step should be done early as it will
* create the local convertor and local arch used in the proc
* init.
Expand Down