[OMPI users] heterogenous cluster
Hi I have sofar used a homogenous 32-bit cluster. Now i have added a new machine which is 64 bit This means i have to reconfigure open MPI with `--enable-heterogeneous`, right? Do i have to do this on every machine? I don't remember all the option i had chosen when i first did the configure - is there a way to find this out? Thank You Jody
Re: [OMPI users] heterogenous cluster
> I have sofar used a homogenous 32-bit cluster. > Now i have added a new machine which is 64 bit > > This means i have to reconfigure open MPI with `--enable-heterogeneous`, right? Not necessarily. If you don't need the 64bit capabilities you could run 32 bit binaries along with a 32 bit version of OpenMPI. At least that approach has worked so far for me. Regards, David Mathog mat...@caltech.edu Manager, Sequence Analysis Facility, Biology Division, Caltech
Re: [OMPI users] heterogenous cluster
Thanks for your reply. If i try your suggestion, every process fails with the following message: *** The MPI_Init() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [aim-triops:15460] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! I think this is caused by the fact that on the 64Bit machine Open MPI is also built as a 64 bit application. How can i force OpenMPI to be built as a 32Bit application on a 64Bit machine? Thank You Jody On Tue, Feb 1, 2011 at 9:00 PM, David Mathog wrote: > >> I have sofar used a homogenous 32-bit cluster. >> Now i have added a new machine which is 64 bit >> >> This means i have to reconfigure open MPI with > `--enable-heterogeneous`, right? > > Not necessarily. If you don't need the 64bit capabilities you could run > 32 bit binaries along with a 32 bit version of OpenMPI. At least that > approach has worked so far for me. > > Regards, > > David Mathog > mat...@caltech.edu > Manager, Sequence Analysis Facility, Biology Division, Caltech > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >
Re: [OMPI users] heterogenous cluster
Jody, With the gnu compilers the -m32 flag works. With other compilire's the same or other flag should work. Doug Reeder On Feb 1, 2011, at 11:46 PM, jody wrote: > Thanks for your reply. > > If i try your suggestion, every process fails with the following message: > > *** The MPI_Init() function was called before MPI_INIT was invoked. > *** This is disallowed by the MPI standard. > *** Your MPI job will now abort. > [aim-triops:15460] Abort before MPI_INIT completed successfully; not > able to guarantee that all other processes were killed! > > I think this is caused by the fact that on the 64Bit machine Open MPI > is also built as a 64 bit application. > How can i force OpenMPI to be built as a 32Bit application on a 64Bit machine? > > Thank You > Jody > > On Tue, Feb 1, 2011 at 9:00 PM, David Mathog wrote: >> >>> I have sofar used a homogenous 32-bit cluster. >>> Now i have added a new machine which is 64 bit >>> >>> This means i have to reconfigure open MPI with >> `--enable-heterogeneous`, right? >> >> Not necessarily. If you don't need the 64bit capabilities you could run >> 32 bit binaries along with a 32 bit version of OpenMPI. At least that >> approach has worked so far for me. >> >> Regards, >> >> David Mathog >> mat...@caltech.edu >> Manager, Sequence Analysis Facility, Biology Division, Caltech >> ___ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users >> > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] heterogenous cluster
jody wrote: Thanks for your reply. If i try your suggestion, every process fails with the following message: *** The MPI_Init() function was called before MPI_INIT was invoked. That's a funny error message. If you search the OMPI users mail list archives, this message shows up, but I didn't spend long enough to see if those e-mails are actually relevant to your inquiry or whether they help. http://www.open-mpi.org/community/lists/users/ *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [aim-triops:15460] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! I think this is caused by the fact that on the 64Bit machine Open MPI is also built as a 64 bit application. How can i force OpenMPI to be built as a 32Bit application on a 64Bit machine?
Re: [OMPI users] heterogenous cluster
jody wrote: > How can i force OpenMPI to be built as a 32Bit application on a 64Bit machine? THe easiest way is not to - just copy over a build from a 32 bit machine, it will run on your 64 bit machine if the proper 32 bit libraries have been installed there. Otherwise, you need to put -m32 on the gcc commmand lines. Generally one does that by something like: export CFLAGS=-m32 before running configure to generate Makefiles. Regards, David Mathog mat...@caltech.edu Manager, Sequence Analysis Facility, Biology Division, Caltech
Re: [OMPI users] heterogenous cluster
Thaks all I did the simple copying of the 32Bit applications and now it works. Thanks Jody On Wed, Feb 2, 2011 at 5:47 PM, David Mathog wrote: > jody wrote: > >> How can i force OpenMPI to be built as a 32Bit application on a 64Bit > machine? > > THe easiest way is not to - just copy over a build from a 32 bit > machine, it will run on your 64 bit machine if the proper 32 bit > libraries have been installed there. Otherwise, you need to put -m32 > on the gcc commmand lines. Generally one does that by something like: > > export CFLAGS=-m32 > > before running configure to generate Makefiles. > > Regards, > > > David Mathog > mat...@caltech.edu > Manager, Sequence Analysis Facility, Biology Division, Caltech > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >