Skip to content

A scalable OpenMPI runtime container for Docker

Notifications You must be signed in to change notification settings

sjdonado/docker.openmpi

 
 

Repository files navigation

Build cluster and connect to head

  ./connect

Run script inside head

  bash
  mpiexec -n $CORES --hostfile ~/scripts/hosts python $1 $n

Build openmpi image

  docker build -t openmpi .

Create hosts file

  • From /etc/hosts to scripts/hosts (copy only the IP adresses, nothing else)
  docker inspect -f "{{ .NetworkSettings.IPAddress }}" $NODE_CONTAINER_NAME

Compile mpi binary

  mpicc primes.v2.c -o primes -lm

About

A scalable OpenMPI runtime container for Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.3%
  • Dockerfile 9.5%
  • Makefile 4.6%
  • Shell 2.6%