- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page