If you assign unique IP addresses to each container, you can then create a hostfile that contains the IP addresses. Feed that to mpirun and it will work just fine.
If you really want to do it under slurm, then slurm is going to need the list of those IP addresses anyway. We read the slurm allocation and execute against those addresses, so things should just work. On Sep 9, 2014, at 2:04 AM, Adrien Saladin <adrien.sala...@gmail.com> wrote: > Hello, > > > Has anyone tried to run MPI-aware programs inside Docker.io containers? > > We are trying to setup an HPC cluster with slurm and Docker as main > components. While running simple programs looks doable, we do not > really know what are the required steps to run open-MPI programs. > > Thanks, > Adrien > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2014/09/25296.php