From f721b42c20b9bc315ca18283191481c7b6021801 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Fri, 30 Apr 2021 14:53:00 -0600 Subject: [PATCH] pass argc / argv to MPI_Init --- main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index 3d534ec..e8bd35e 100644 --- a/main.cpp +++ b/main.cpp @@ -2,11 +2,8 @@ #include int main(int argc, char **argv) { - (void) argc; - (void) argv; - // Initialize the MPI environment - MPI_Init(NULL, NULL); + MPI_Init(&argc, &argv); // Get the number of processes int world_size;