- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using the mpiexec wrapper on Windows for Intel MPI 4.0 and I cannot figure out how to pass a command line argument to my program. Is this possible, and, if so, how do I do it?
Thanks,
John
I'm using the mpiexec wrapper on Windows for Intel MPI 4.0 and I cannot figure out how to pass a command line argument to my program. Is this possible, and, if so, how do I do it?
Thanks,
John
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
John,
It's more clear now!
When you run wmpiexec, you need to provide applications arguments inside of quotation marks in the "Application" line.
Regards!
Dmitry
It's more clear now!
When you run wmpiexec, you need to provide applications arguments inside of quotation marks in the "Application" line.
Regards!
Dmitry
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
Could you please try the following:
mpiexec -n 4 ./test.exe arg1 arg2
Regards!
Dmitry
Could you please try the following:
mpiexec -n 4 ./test.exe arg1 arg2
Regards!
Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dimitri,
That works. However, I would like to be able to use the gui mpiexec wrapper and not the command line. Is there anyway to pass command line arguments in the gui wrapper? I do not see any option or box available to do that.
Thanks,
John.
That works. However, I would like to be able to use the gui mpiexec wrapper and not the command line. Is there anyway to pass command line arguments in the gui wrapper? I do not see any option or box available to do that.
Thanks,
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
John,
It's more clear now!
When you run wmpiexec, you need to provide applications arguments inside of quotation marks in the "Application" line.
Regards!
Dmitry
It's more clear now!
When you run wmpiexec, you need to provide applications arguments inside of quotation marks in the "Application" line.
Regards!
Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. That what I was looking for.
John
John

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