Re: [OMPI devel] Detailed documentation on OpenMPI
As George replied, yes, Open MPI does use sockets -- that's in the TCP BTL (BTL = byte transfer layer, or point-to-point messaging layer for many network types). Open MPI also uses shared memory for on-server communication. But Open MPI can also use lots of other network types, if they're available (e.g., InfiniBand, iWARP, usNIC, portals, ugini, ...etc.). Note, too, that OMPI also uses sockets in the run-time system layer. You might want to look at a few Open MPI developer videos we did at Greenplum a while ago. They talk about the general code base, and Brian's talk discusses in detail how the back-ends to MPI_SEND / MPI_RECV work, etc. http://www.open-mpi.org/video/?category=internals Enjoy. On Aug 23, 2013, at 1:54 AM, mahesh wrote: > > I know that its a huge code base. But, I am looking for specific answers like > does OpenMPI use sockets? Can programs written without mpi libraries be run on > clusters using orte(with some changes)? It would be really helpful if atleast > these and related doubts can be solved. > > Thanks, > Mahesh > > On Aug 22, 2013 (jsquyres) wrote >> Note that according to http://www.ohloh.net/p/openmpi, OMPI is over 3/4M >> lines of code. I doubt you will be able to get a thorough understanding of >> *all* of OMPI in a semester or two -- indeed, I doubt that any one Open MPI >> core developer has a thorough understanding of the whole code base (I know I >> don't!). >> >> I don't say these things to discourage you; I actually just want to >> encourage you to set realistic expectations for what you'll be able to do. >> >> Are there any particular areas that you'd like to focus on? MPI -- and the >> Open MPI implementation -- covers a *lot* of different subsystems and >> concepts. >> >> >> On Aug 22, 2013, at 8:06 AM, mahesh wrote: >> >>> Hi, >>> I am an newbie to all MPI concepts and I would like to understand the >>> MPI source code thoroughly for >>> an academic project. So, what I need is an detailed explanation of how >>> every framework and module >>> works. It would be really helpful if wise people could point me to >>> right direction. >>> >>> Thanks, >>> Mahesh >>> ___ >>> devel mailing list >>> de...@open-mpi.org >>> http://www.open-mpi.org/mailman/listinfo.cgi/devel >> >> >> -- >> Jeff Squyres >> jsquy...@cisco.com >> For corporate legal information go to: >> http://www.cisco.com/web/about/doing_business/legal/cri/ > ___ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI devel] Detailed documentation on OpenMPI
Some questions are easier than others … On Aug 23, 2013, at 07:54 , mahesh wrote: > I know that its a huge code base. But, I am looking for specific answers like > does OpenMPI use sockets? When Open MPI is using TCP it does indeed use sockets. > Can programs written without mpi libraries be run on > clusters using orte(with some changes)? Yes, that's why you can run "mpirun -np 4 hostname". > It would be really helpful if at least these and related doubts can be solved. Hope that helps. George. > > Thanks, > Mahesh > > On Aug 22, 2013 (jsquyres) wrote >> Note that according to http://www.ohloh.net/p/openmpi, OMPI is over 3/4M >> lines of code. I doubt you will be able to get a thorough understanding of >> *all* of OMPI in a semester or two -- indeed, I doubt that any one Open MPI >> core developer has a thorough understanding of the whole code base (I know I >> don't!). >> >> I don't say these things to discourage you; I actually just want to >> encourage you to set realistic expectations for what you'll be able to do. >> >> Are there any particular areas that you'd like to focus on? MPI -- and the >> Open MPI implementation -- covers a *lot* of different subsystems and >> concepts. >> >> >> On Aug 22, 2013, at 8:06 AM, mahesh wrote: >> >>> Hi, >>> I am an newbie to all MPI concepts and I would like to understand the >>> MPI source code thoroughly for >>> an academic project. So, what I need is an detailed explanation of how >>> every framework and module >>> works. It would be really helpful if wise people could point me to >>> right direction. >>> >>> Thanks, >>> Mahesh >>> ___ >>> devel mailing list >>> de...@open-mpi.org >>> http://www.open-mpi.org/mailman/listinfo.cgi/devel >> >> >> -- >> Jeff Squyres >> jsquy...@cisco.com >> For corporate legal information go to: >> http://www.cisco.com/web/about/doing_business/legal/cri/ > ___ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel
Re: [OMPI devel] Detailed documentation on OpenMPI
I know that its a huge code base. But, I am looking for specific answers like does OpenMPI use sockets? Can programs written without mpi libraries be run on clusters using orte(with some changes)? It would be really helpful if atleast these and related doubts can be solved. Thanks, Mahesh On Aug 22, 2013 (jsquyres) wrote > Note that according to http://www.ohloh.net/p/openmpi, OMPI is over 3/4M > lines of code. I doubt you will be able to get a thorough understanding of > *all* of OMPI in a semester or two -- indeed, I doubt that any one Open MPI > core developer has a thorough understanding of the whole code base (I know I > don't!). > > I don't say these things to discourage you; I actually just want to encourage > you to set realistic expectations for what you'll be able to do. > > Are there any particular areas that you'd like to focus on? MPI -- and the > Open MPI implementation -- covers a *lot* of different subsystems and > concepts. > > > On Aug 22, 2013, at 8:06 AM, mahesh wrote: > > > Hi, > > I am an newbie to all MPI concepts and I would like to understand the > > MPI source code thoroughly for > > an academic project. So, what I need is an detailed explanation of how > > every framework and module > > works. It would be really helpful if wise people could point me to > > right direction. > > > > Thanks, > > Mahesh > > ___ > > devel mailing list > > de...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/devel > > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI devel] Detailed documentation on OpenMPI
Note that according to http://www.ohloh.net/p/openmpi, OMPI is over 3/4M lines of code. I doubt you will be able to get a thorough understanding of *all* of OMPI in a semester or two -- indeed, I doubt that any one Open MPI core developer has a thorough understanding of the whole code base (I know I don't!). I don't say these things to discourage you; I actually just want to encourage you to set realistic expectations for what you'll be able to do. Are there any particular areas that you'd like to focus on? MPI -- and the Open MPI implementation -- covers a *lot* of different subsystems and concepts. On Aug 22, 2013, at 8:06 AM, mahesh wrote: > Hi, > I am an newbie to all MPI concepts and I would like to understand the > MPI source code thoroughly for > an academic project. So, what I need is an detailed explanation of how > every framework and module > works. It would be really helpful if wise people could point me to > right direction. > > Thanks, > Mahesh > ___ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
[OMPI devel] Detailed documentation on OpenMPI
Hi, I am an newbie to all MPI concepts and I would like to understand the MPI source code thoroughly for an academic project. So, what I need is an detailed explanation of how every framework and module works. It would be really helpful if wise people could point me to right direction. Thanks, Mahesh