[mpich-discuss] Problem mixing 32 bit and 64 bit machines

Peter Smith smithpd at lanl.gov
Fri Mar 19 17:09:49 CDT 2010


Background -- I have installed the 64 bit version of MPICH2 on my x64 computer, and I have both 32 and 64 bit versions of the libraries that I can use to build 32 bit and 64 bit versions of my code.  These code versions run fine on their respective target platforms.  However, when running the 32 bit MPI application on my 64 bit machine (either by itself or launched by mpiexec), it complains about a missing DLL, mpich2mpi.dll. This DLL name exists in C:\WINDOWS\system32.  Evidently that is a 64 bit version of the DLL, and it is incompatible with the launching of a 32 bit EXE.

The real problem -- What I would like to be able to do is to launch a 32 bit MPI executable on a mix of 32 bit and 64 bit machines.  I suppose we could install the 32 bit version of mpiexec on all these machines including the 64 bit machines.  Would it work then in mixed hardware environments?

Also, is it possible to have 64 bit and 32 bit MPICH2 coexist on one machine?  Since mpich2mpi.dll has the same name, it seems unlikely now, but I am just asking if it is somehow possible.  If not, it might be a useful feature for the future.  Perhaps you could use unique names to avoid conflict.

It is not clear to me what are the ground rules for mixing hardware platforms to run MPICH2 software builds: what works and what doesn't work, and why.  Kindly explain or point me to some documentation.  If you know a way to do this hardware mixing, please let me know.



More information about the mpich-discuss mailing list