questions on how to use mpyc on different host #102
-
|
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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
To run MPyC with remote hosts it's maybe easier to use the command line option Check out the example for two parties for the If you want to do this with By leaving |
Beta Was this translation helpful? Give feedback.
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.inifil…