[mpich-discuss] Problem running mpi program
gilbert
gilbert at bluemarble.net
Wed Oct 24 13:27:04 CDT 2012
But then the mpi code should run the same whichever mpiexec is used
(not likely to happen) or mpiexec should detect which version of mpi was
used and inform the user and quit. The only way I knew there was a
problem is when one job took three times as long as another when running
on nearly identical computers. This is too easy a mistake to make with
all the different codes available and most users would just conclude
that mpi does not work because there is no speedup and no error message.
Kevin
On Wed, 24 Oct 2012 11:34:21 -0500, Rajeev Thakur wrote:
> 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
>
> _______________________________________________
> 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