[mpich-discuss] Problem running mpi program

Darius Buntinas buntinas at mcs.anl.gov
Wed Oct 24 11:02:37 CDT 2012


You might have another MPI implementation installed that's confusing things.  Check to make sure that you're using the mpich2 mpiexec (specify the full path).  Also make sure that the executables were compiled with the mpich2 compiler wrappers, e.g., mpicc (again specify the full path).

-d

On Oct 24, 2012, at 10:59 AM, gilbert wrote:

> I am running Lammps, compiled with mpich2-1.4.1p1 on two intel based i7 computers, both running OpenSuse 12.2, both using gcc 4.7. I have compiled mpich2-1.4.1p1 on both machines. When I run the lammps benchmark test on the i7-3760 computer with the following command: mpiexec -np 3 ./lmp_mpi < in.lj the output tells me I am running on three processors. If I run the same command on an i7-2600 Lammps says it is only running on one processor. I can copy the lammps executable from one machine to the other and the i7-3760 always runs on three (or how ever many processors I specify) and the i7-2600 always runs on one.
> 
> I have tried uninstalling mpich2 and redone the complete installation.
> The firewall is turned off on both machines.
> Both machines have the same installation of opensuse.
> There are no error messages from compilation or running.
> 
> So what am I missing? Is there a system service that needs to be running? I have another i7-2600 computer running Windows 7 and it runs the mpi code with no problems.
> 
> Kevin
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list