Re: Running MPI programs on openMosix
imran shaik <sk.imran-/[email protected]>
| Newsgroups | gmane.linux.cluster.openmosix.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Gianluca, Thanks a lot. Your reply was in detail.It cleared my doubts. Thanks again. Cheers, Imran Gianluca <[email protected]> wrote: Ciao Imran Shaik, I'm going to use MPI on a openMosix Cluster, so I'll answer to our question about MPI: > 2) Does openMosix comes with LAM-MPI? Or do i need to install one? You have to install an MPI library!! I advice you to use the open-mpi, because is the future of LAM-MPI and others projects. http://www.open-mpi.org/ > 3) Can MPICH and LAM-MPI work together? MPICH and LAM-MPI are two different implementation of the same specifications (MPI) !! So, It isn't unuseful installing both. If your programs uses the standard MPI headers then it'll be compiled with MPICH or LAM-MPI or open-mpi or something else. > 4)Is mpirun capable of moving programs to other hosts and execute? Or > does it need openMosix for that? I think that the best configuration of MPI with Openmosix is to set the MPI library as if you are one machine with N processor where N is the number of nodes of the cluster. Example: if you are 16 machines clustered with openmosix; you set the MPI with one host with 16 processor (or slot as called in some MPI implementation). In this ways, when you start an MPI jobs, it'll create 16 processes on the local machine and then the openmosix scheduler migrate them to balance the loading among the 16 machines. > 5)Do i need to set up a network file system or oMFS to run MPI > programs? Can anyone suggest how to setup oMFS? If you set up the MPI library as above, the network file system aren't necessarily, because the processes launched by mpirun are local to one node of the cluster and all mpi jobs see the same filesystem (the fs of the node where you executed the mpirun) Ciao, Gianluca --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.