Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

Intel MPS Tool

Paul_I_1
Beginner
522 Views

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
522 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

0 Kudos
Reply