From 71dab34e2c792410cdf4716393436a6c637b4412 Mon Sep 17 00:00:00 2001 From: Timo Schneider Date: Mon, 30 Oct 2023 12:00:13 +0100 Subject: [PATCH] add generated c files --- build/mpi_c_wrapper.c | 2 +- build/mpi_f_wrapper.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/mpi_c_wrapper.c b/build/mpi_c_wrapper.c index 1525a58..30ba244 100644 --- a/build/mpi_c_wrapper.c +++ b/build/mpi_c_wrapper.c @@ -5920,7 +5920,7 @@ int MPI_Pcontrol (const int level, ...) { if (level == 0) { lap_tracing_enabled = 0; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; } if (level == 1) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; } if (level == 2) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 0; } - if (level >= 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; } + if (level == 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; } WRITE_TRACE("# pcontrol with value / epoch %i)\n", level); return MPI_SUCCESS; } diff --git a/build/mpi_f_wrapper.c b/build/mpi_f_wrapper.c index c555a64..ccaed88 100644 --- a/build/mpi_f_wrapper.c +++ b/build/mpi_f_wrapper.c @@ -5830,7 +5830,7 @@ void FortranCInterface_GLOBAL(mpi_pcontrol,MPI_PCONTROL) (int* level, int* ierr) if (*level == 0) { lap_tracing_enabled = 0; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; } if (*level == 1) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; } if (*level == 2) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 0; } - if (*level >= 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; } + if (*level == 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; } WRITE_TRACE("# pcontrol with value / epoch %i)\n", *level); }