Hello John,

Yes, in fact, I'm comparing Docker with Singularity regarding the execution of MPI applications :-)

I'd like to make the comparison fairer by allowing Docker containers to share memory.

Thanks

On 24/03/2017 10:00, John Hearns via users wrote:
Jordi,
this is not an answer to your question. However have you looked at Singularity:
http://singularity.lbl.gov/



On 24 March 2017 at 08:54, Jordi Guitart <jordi.guit...@bsc.es <mailto:jordi.guit...@bsc.es>> wrote:

    Hello,

    Docker allows several containers running in the same host to share
    the same IPC namespace, thus they can share memory (see example
    here:
    https://github.com/docker/docker/pull/8211#issuecomment-56873448
    <https://github.com/docker/docker/pull/8211#issuecomment-56873448>).
    I assume this could be used by OpenMPI to communicate MPI
    processes running in different Docker containers in the same host
    by using shared memory (sm or vader). However, I cannot make it
    work. I tried to force mpirun to use shared memory (--mca btl
    self, sm) but it complains that MPI processes running in other
    Docker containers are not reachable. It seems like OpenMPI cannot
    recognize that shared memory is available between containers. Has
    anybody any hint about how this could be worked out?

    Thanks


    http://bsc.es/disclaimer
    _______________________________________________
    users mailing list
    users@lists.open-mpi.org <mailto:users@lists.open-mpi.org>
    https://rfd.newmexicoconsortium.org/mailman/listinfo/users
    <https://rfd.newmexicoconsortium.org/mailman/listinfo/users>




_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users




http://bsc.es/disclaimer
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to