When using mpirun, how do you pick which ports are used? I’ve tried:
mpirun --mca btl_tcp_port_min_v4 46207 --mca btl_tcp_port_range_v4 32 --mca oob_tcp_keepalive_time 45 --mca oob_tcp_max_recon_attempts 20 --mca oob_tcp_retry_delay 1 --mca oob_tcp_keepalive_probes 20 --mca oob_tcp_keepalive_intvl 10 true And also setting similar things in openmpi/etc/openmpi-mca-params.conf : btl_tcp_port_min_v4 = 46207 btl_tcp_port_range_v4 = 32 oob_tcp_keepalive_time = 45 oob_tcp_max_recon_attempts = 20 oob_tcp_retry_delay = 1 oob_tcp_keepalive_probes = 20 oob_tcp_keepalive_intvl = 10 But when the process is running: ss -l -p -n | grep "pid=57642," tcp LISTEN 0 128 127.0.0.1:58439 0.0.0.0:* users:(("mpirun",pid=57642,fd=14)) tcp LISTEN 0 128 0.0.0.0:36253 0.0.0.0:* users:(("mpirun",pid=57642,fd=17)) What am I doing wrong, and how do I get it to use my desired ports (and other settings above)? -- The Wellcome Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.