Hi, I tried to see if I can get my 64-bit PC to execute 64.out, and my 32-bit server to execute 32.out, by using
mpirun --bynode -np 1 64.out : -np 1 32.out My hostfile contains: localhost IP address of server However, I got the following error message: "Failed to find the following executable: Host: (Name of server) Executable: 32.out Cannot continue ----------------------------------------------- mpirun noticed that job rank 0 with PID 12320 on node localhost.localdomain exited on signal 15 (Terminated)." I don't understand why the server cannot find 32.out, when it is in the shared folder and I'm using mpirun in the shared folder's location. Thank you. Regards, Rayne --- On Wed, 13/8/08, jody <jody....@gmail.com> wrote: > From: jody <jody....@gmail.com> > Subject: Re: [OMPI users] Setting up Open MPI to run on multiple servers > To: lancer6...@yahoo.com, "Open MPI Users" <us...@open-mpi.org> > Date: Wednesday, 13 August, 2008, 6:26 PM > An application compiled for 64-bit *IS* different from a > 32-bit. > But if both your 64-bit server and and 32-bit PC have > compatible > processor types, > you can compile on the PC and run the program on the > server. > (as i told you in my previous mail) > > Jody > > On Wed, Aug 13, 2008 at 10:15 AM, Rayne > <lancer6...@yahoo.com> wrote: > > Hi, > > > > I'm starting to think that the main problem lies > > in the 32-bit server not being able to execute the program > > compiled by the 64-bit PC, and vice versa. I just noticed > > that the sizes of the executables created by the PC and > > server are different - the one created by the 64-bit PC is > > 3204 bytes larger. Does that imply that the programs are > > somewhat different? > > > > I compiled the program using the server and created > > 32.out, then I compiled the program using the PC and created > > 64.out. > > > > When I used the PC to run 32.out locally, I get the > > error: > > "error while loading shared libraries: > > libmpi.so.0: wrong ELF class: ELFCLASS64" > > But when I used the PC to run 64.out locally, it ran > > fine. > > > > I got the following error message when I ran 64.out on > > the server locally: > > > > "Could not execute the executable > > "./a.out": Exec format error > > > > This could mean that your PATH or executable name is > > wrong, or that you do not have the necessary permissions. > > Please ensure that your executable is able to be found and > > executed." > > > > However, when I used the server to run 32.out locally, > > it ran fine. > > > > Does this mean that the errors I got are not due to > > incorrect setup of the "MPI network", but the > > incompatibility issues of programs compiled by 32-bit and > > 64-bit machines? > > > > Thank you. > > > > Regards, > > Rayne > > > > --- On Wed, 13/8/08, jody <jody....@gmail.com> > > wrote: > > > >> From: jody <jody....@gmail.com> > >> Subject: Re: [OMPI users] Setting up Open MPI to > >> run on multiple servers > >> To: lancer6...@yahoo.com, "Open MPI > >> Users" <us...@open-mpi.org> > >> Date: Wednesday, 13 August, 2008, 2:56 PM > >> Hi Rayne > >> > >> SSH is used to start processes on the other > >> machines - > >> that's why you > >> must configure ssh to work without passwords. > >> > >> As to your 64/32 bit problem: a program compiled > >> for 32 > >> bits usually > >> works on a 64 bit machine, > >> but not vice versa. There are methods to start MPI > >> such > >> that different > >> executables are started > >> on different machines, but iguess the easiest way > >> to get > >> things going > >> would be to use > >> 32 bit versions of your program on all your > >>machines. > >> > >> Jody New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/sg/