From 6c07d6cfa1065fb7526adf32b1e5310362c18ccb Mon Sep 17 00:00:00 2001 From: Branden Butler Date: Mon, 25 Sep 2023 17:52:57 -0500 Subject: [PATCH] Remove fprintf logs from mpi main --- examples/mpi/mpi.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/examples/mpi/mpi.cpp b/examples/mpi/mpi.cpp index 84f15a82d..0bf8f2f80 100644 --- a/examples/mpi/mpi.cpp +++ b/examples/mpi/mpi.cpp @@ -134,16 +134,8 @@ int main(int argc, char ** argv) { // wordexp doesn't work right if there's a trailing newline, so strip it rawOptions.erase(rawOptions.find_last_not_of(" \t\n\r\f\v") + 1); - printf("%s", rawOptions.c_str()); - wordexp_t splitOptions; wordexp(rawOptions.c_str(), &splitOptions, WRDE_NOCMD); - fprintf(stderr, "Loaded arguments: "); - for (int i = 0; i < splitOptions.we_wordc; i++) { - - fprintf(stderr, " %s", splitOptions.we_wordv[i]); - } - fprintf(stderr, "\n"); // Now we can parse like normal, but using the loaded options instead of the passed argv if (gpt_params_parse(splitOptions.we_wordc, splitOptions.we_wordv, params) == false) {