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
-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.Check out the example for two parties for the
helloworld.py
demo: https://mpyc.readthedocs.io/en/latest/demos.html#helloworld-pyIf you want to do this with
ini
files, replacinglocalhost
with remote hostnames or IP addresses in the lineshost = localhost
in the.ini
files should work.By leaving
host =
empty for exactly one of the parties in the.ini
file, thepid
will be set to the index of that party.Alternatively, you can set
host
for all parties in the.ini
fil…