I wrote a little HelloWorld mpi program with
The program runs fine without the mps flag. But with -mps flag
it gives me a sementation fault.
I changed the call to MPI_INIT(&argc, &argv)
and it works. Something tells me this is a bug in the mps profiler in that it doesn't check for null.
Yeah, this is a bug in wrappers but it's expected that a customer will provide argc and argv from main() arguments.
int MPI_Init( int *argc, char ***argv )