[mpich-discuss] Problem running mpi program

Rajeev Thakur thakur at mcs.anl.gov
Wed Oct 24 11:34:21 CDT 2012


mpiexec is the name suggested by the MPI standard.

Rajeev

On Oct 24, 2012, at 11:31 AM, gilbert wrote:

> Thanks, that solved the problem. There was an implementation of openmpi installed and their version of mpiexec was being used. It is unfortunate the both implementations use the same driver name. The last time I ran into this problem the lammps code would not run at all with the openmpi driver.
> 
> Kevin
> 
> On Wed, 24 Oct 2012 11:02:37 -0500, Darius Buntinas wrote:
>> 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
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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