#include <stdio.h>
#include <mpi.h>
+#include <stdlib.h>
static void test_opts(int* argc, char **argv[]){
int found = 0;
int rank;
int msg = 99;
MPI_Status status;
+ int* test = (int*)malloc(8);
int err = MPI_Init(&argc, &argv); /* Initialize MPI */
MPI_Send(&msg, 1, MPI_INT, src, tag2, MPI_COMM_WORLD);
}
}
+ free(test);
MPI_Finalize();
return 0;
}