Skip to content

Trouble with Communication Configuration Updates in MPyC: New Configuration Not Taking Effect #87

Answered by lschoe
qqqqqqQwQ asked this question in Q&A
Discussion options

You must be logged in to vote

Using python unanimous.py -H or python -m mpyc -H you can inspect all MPyC command line options and see how to do this.

If you want to work with config files, this option applies:

-C ini, --config ini use ini file, defining all m parties

You can get the same result for your case without config files, by combining the use of these three options:

-M m use m local parties (and run all m, if i is not set)
-I i, --index i set index of this local party to i, 0<=i<m
-B b, --base-port b use port number b+i for party i

Like this on three terminals:

$ python unanimous.py -B11111 -M3 -I2 --log debug
$ python unanimous.py -B11111 -M3 -I1 --log debug
$ python unanimous.py -B11111 -M3 -I0 --log debug

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@qqqqqqQwQ
Comment options

Answer selected by lschoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants