- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[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。
按任意键关闭此窗口. . .
- Tags:
- but when I use another computer using one_api
- I can run with Parallel Studio successfully
- I cannot run
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can run with Parallel Studio successfully.but when I use another computer using one_apiI cannot run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page