Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpiexec unable to connect to smpd service - Failed RpcCliCreateContext error 1722 #89

Open
PunyaTaluka123 opened this issue Oct 5, 2024 · 4 comments

Comments

@PunyaTaluka123
Copy link

I am encountering an issue where mpiexec fails to connect to the smpd service on my local machine. This results in an RPC error. I have tried several troubleshooting steps (restarting smpd, reinstalling MPI, checking firewall settings, etc.) but have not been able to resolve the problem.

ERROR: Failed RpcCliCreateContext error 1722

Aborting: mpiexec on LAPTOP-EQHFVJML is unable to connect to the smpd service on localhost:11:8677
Other MPI error, error stack:
connect failed - The RPC server is unavailable. (errno 1722)

@tremblerz
Copy link
Contributor

Thanks for reporting! Can you please share the command you ran?

@PunyaTaluka123
Copy link
Author

mpiexec -np 10 -host localhost:11 python main.py

@tremblerz
Copy link
Contributor

Can you please try running the program with GRPC using the doc here - https://aidecentralized.github.io/sonar/getting-started/grpc/#running-the-code

Make sure you change the sys_config file to use the GRPC config and then run the commands mentioned above

@PunyaTaluka123
Copy link
Author

PunyaTaluka123 commented Oct 10, 2024

Changed the sys.config file for GRPC protocol and ran the following cmd:-
python main_grpc.py -n 20 -host randomhost42.mit.edu

This error comes up then:-
RPC failed: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50050: Connection refused"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-10-10T08:12:49.5940777+00:00", grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50050: Connection refused"}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants