mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
779 B
779 B
Beowulf cluster example
Table of contents
Requirements
-
VirtualBox
-
A host-only virtual network (
VirtualBox Host-Only Ethernet Adapter, address space192.168.56.0/24) -
An SSH key pair (files
id_ed25519andid_ed25519.pub, create it with the command below)ssh-keygen -f 'id_ed25519' -N '' -C 'controller' -
An SSH config file (
ssh_config.txt) -
A list of hosts for MPICH (
mpi_hosts.txt) containing the IP addresses of the workers
When up, execute the command below and enjoy:
vagrant ssh -c 'mpiexec -f mpi_hosts -n 3 hostname'