You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
questions on how to use mpyc on different host #101
I use --config and modify the host name in ini file like party3-0.ini to use mpyc on different host, but it seems to have some error like pid over the limit, what do not appear on local parties using -M.
I want to know how can I run mpyc on different host?
To run MPyC with remote hosts it's maybe easier to use the command line option -P to set the hostname and port for each of your parties, in combination with the command line option -I to assign a unique index for each party.
If you want to do this with ini files, replacing localhost with remote hostnames or IP addresses in the lines host = localhost in the .ini files should work.
By leaving host = empty for exactly one of the parties in the .ini file, the pid will be set to the index of that party.
Alternatively, you can set host for all parties in the .ini files and use the command line option -I i to set pid = i.
Repository owner locked and limited conversation to collaborators on Nov 29, 2024
Activity
lschoe commentedon Nov 27, 2024
To run MPyC with remote hosts it's maybe easier to use the command line option
-Pto set the hostname and port for each of your parties, in combination with the command line option-Ito assign a unique index for each party.Check out the example for two parties for the
helloworld.pydemo: https://mpyc.readthedocs.io/en/latest/demos.html#helloworld-pyIf you want to do this with
inifiles, replacinglocalhostwith remote hostnames or IP addresses in the lineshost = localhostin the.inifiles should work.By leaving
host =empty for exactly one of the parties in the.inifile, thepidwill be set to the index of that party.Alternatively, you can set
hostfor all parties in the.inifiles and use the command line option-I ito setpid = i.