Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
2275 Discussions

mpiexec and command line arguments

John_Young
New Contributor I
1,778 Views
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
0 Kudos
1 Solution
Dmitry_K_Intel2
Employee
1,778 Views
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

View solution in original post

0 Kudos
4 Replies
Dmitry_K_Intel2
Employee
1,778 Views
Hi John,

Could you please try the following:
mpiexec -n 4 ./test.exe arg1 arg2

Regards!
Dmitry
0 Kudos
John_Young
New Contributor I
1,778 Views
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.
0 Kudos
Dmitry_K_Intel2
Employee
1,779 Views
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
0 Kudos
John_Young
New Contributor I
1,778 Views
Thanks. That what I was looking for.

John
0 Kudos
Reply