apk add \
--no-cache \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community \
openmpi
# mpirun --allow-run-as-root -n 4 hostname
node1
node1
node1
node1
cat /etc/hosts
192.168.0.28 node1
192.168.0.27 node2
192.168.0.26 node3
[ ! -d ~/.ssh ] && mkdir ~/.ssh
cat <<EOF > ~/.ssh/config
Host *
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
EOF
mpirun --allow-run-as-root -n 3 -host node1,node2,node3 hostname
node1
node2
node3