pass argc / argv to MPI_Init

This commit is contained in:
Carl Pearson
2021-04-30 14:53:00 -06:00
parent 6da68317ab
commit f721b42c20

View File

@@ -2,11 +2,8 @@
#include <stdio.h>
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;