[mpich-discuss] executing time

samantha lin wl8150 at googlemail.com
Tue Jul 14 09:00:32 CDT 2009


Hi Bob,

Yes, that was the command I executed. Apart from '2' processes, I also tried
a variety of numbers
and found '-n 1' is the fastest. I also made another similar C program
without using the MPI libraries.
The result was faster than '-n 1'. I didn't put a timing marks in the
program; instead, I use 'time' command
prefixing the executing command, e.g. "time mpiexec -n 2 myprog". (should be
okay?)
I added my program to this email. Hope that helps.

Regards,
WL
On Tue, Jul 14, 2009 at 2:25 PM, bob ilgner <bobilgner at gmail.com> wrote:

> Hi WL,
>
> What mpiexec command are you using to run your program ? i.e. "mpiexec -n 2
> xprogy"
> where xprogy is the name of your program ?
>
> What is your timing for the serial case and the timing for the multiple
> core case ? Is it a short program that you can list here so we can have a
> look at it ? Have you tried to place timing marks in the program to analyse
> what is happening ?
>
> Regards, bob
>
>
> On Tue, Jul 14, 2009 at 1:42 PM, samantha lin <wl8150 at googlemail.com>wrote:
>
>> Hi bob,
>>
>> It's running on a macbook pro(intel cpu 2 cores); just one laptop and
>> filesystem
>> is local.
>>
>> Regards,
>> WL
>> On Tue, Jul 14, 2009 at 5:37 AM, bob ilgner <bobilgner at gmail.com> wrote:
>>
>>> Hi WL,
>>>
>>> What hardware are you running the mpiexec on and what sort of process is
>>> this ? A little description please.
>>>
>>> Regards, bob
>>>
>>> On Tue, Jul 14, 2009 at 12:49 AM, samantha lin <wl8150 at googlemail.com>wrote:
>>>
>>>> Hi there,
>>>> I am new to MPICH. I just finished a test program which does
>>>> matrix multiplication. When I used 'mpiexec' to execute the
>>>> program, I found that the more processes, the longer it takes.
>>>> Not sure if the result is correct or not? Or I should do some
>>>> things more to improve it?
>>>>
>>>> WL
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090714/35e9b9a3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpi_matrix.c
Type: application/octet-stream
Size: 4073 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090714/35e9b9a3/attachment.obj>


More information about the mpich-discuss mailing list