Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Paul_I_1
Beginner
73 Views

Intel MPS Tool

I wrote a little HelloWorld mpi program with

.........

MPI_INIT(NULL, NULL)

..........

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.

0 Kudos
1 Reply
Dmitry_K_Intel2
Employee
73 Views

Thanks, Paul.

Yeah, this is a bug in wrappers but it's expected that a customer will provide argc and argv from main() arguments.

Synopsis

int MPI_Init( int *argc, char ***argv )

Regards!
---Dmitry

Reply