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

ONE_MPI run failed

MrTTTT
Novice
1,743 Views

[mpiexec@DESKTOP-G4UK9MH] match_arg (arg\hydra_arg.c:91): unrecognized argument
[mpiexec@DESKTOP-G4UK9MH] Similar arguments:
[mpiexec@DESKTOP-G4UK9MH] s
[mpiexec@DESKTOP-G4UK9MH] f
[mpiexec@DESKTOP-G4UK9MH] h
[mpiexec@DESKTOP-G4UK9MH] V
[mpiexec@DESKTOP-G4UK9MH] n
[mpiexec@DESKTOP-G4UK9MH] HYD_arg_parse_array (arg\hydra_arg.c:128): argument matching returned error
[mpiexec@DESKTOP-G4UK9MH] mpiexec_get_parameters (mpiexec_params.c:1350): error parsing input array
[mpiexec@DESKTOP-G4UK9MH] wmain (mpiexec.c:1755): error parsing parameters

D:\Intel\oneAPI\mpi\2021.1.1\bin\mpiexec.exe (进程 5404)已退出,代码为 -1。
按任意键关闭此窗口. . .

0 Kudos
7 Replies
MrTTTT
Novice
1,738 Views

I can run with Parallel Studio successfully.but when I use another computer using one_apiI cannot run

0 Kudos
PrasanthD_intel
Moderator
1,714 Views

Hi Yiheng,


Thanks for reaching out to us!

Could you please provide the command line you were using and also the logs after setting I_MPI_DEBUG=10.

SET I_MPI_DEBUG=10


If your error is code specific, then please provide us a sample to reproduce at our end.

If your error is specific to launching MPI, then try running the below command:

$ mpiexec.exe hostname



Warm Regards

Prasanth


0 Kudos
MrTTTT
Novice
1,704 Views

Thanks for your reply.I a new learner of mpi. i am using visual studio on windows.So, I do not know how to set the settings in your reply. i will appreciate it if you can tell me how set those setting.

And my English is bad,hope you can understand what I mean.

 

 

Thanks again.

Tian Yiheng

 

0 Kudos
MrTTTT
Novice
1,698 Views

My code is  a very simple code for test:

 

#include "mpi.h"
#include <iostream>

int main(int argc, char* argv[])
{
int rank;
int size;
MPI_Init(0, 0);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
std::cout << "Hello world from process " << rank << " of " << size << std::endl;

MPI_Finalize();

return 0;
}

0 Kudos
PrasanthD_intel
Moderator
1,668 Views

Hi Yiheng,

 

Sorry for the delay in response.

Please refer to this article (Configuring a Visual Studio* Project (intel.com)) where they have mentioned the required steps to set up and run MPI in Visual Studio.

After setting up if you want to add new environment variables like I_MPI_DEBUG add -genv I_MPI_DEBUG=10 as command arguments in Configuration Properties > Debugging.

example : -genv I_MPI_DEBUG=10 -n <processes-number> "$(TargetPath)"

 

Let us know if you face any issues.

 

Regards

Prasanth

 

0 Kudos
PrasanthD_intel
Moderator
1,646 Views

Hi Yiheng,


Have you updated your Visual Studio configuration as per the article. Let us know if you need any help.

Also, make sure that you are using a compatible Visual Studio version. You can find the compatible versions here Intel® Compilers compatibility with Microsoft Visual Studio* and....


Regards

Prasanth


0 Kudos
PrasanthD_intel
Moderator
1,616 Views

Hi Yiheng,


We are closing this thread assuming your issue has been resolved.

We will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Regards

Prasanth


0 Kudos
Reply