[mpich-discuss] MPI One Sided Comm

Balasingam, Sashi Sashi.Balasingam at kla-tencor.com
Thu Jul 9 12:27:24 CDT 2009


Hi All,

I am trying a simple example (with MPICH-2, on Windows) to test the One
sided communication with 'passive' synchronization. There are 2
processes, where proc-0 (target) is updating a window in a loop, at
100ms interval, while proc-1 (origin) is trying to read that window in a
tight loop. The loop in Proc-1 has this code:  MPI_Win_lock(),
MPI_Win_Get(), MPI_Win_unlock().

When I run it, I see inconsistent results....most times, I see only the
very last update of proc-0, but occasionally I see all updates.

- I was wondering if this is related to MPI sync calls from proc-1 not
getting thru to proc-0, in a consistent manner ?

- Also, is there a way to get MPI services running on its own thread,
separate from the Main thread...if so how is it done ?

Thanks,
Sashi



-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of
mpich-discuss-request at mcs.anl.gov
Sent: Thursday, July 09, 2009 10:00 AM
To: mpich-discuss at mcs.anl.gov
Subject: mpich-discuss Digest, Vol 10, Issue 11

Send mpich-discuss mailing list submissions to
	mpich-discuss at mcs.anl.gov

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
or, via email, send a message with subject or body 'help' to
	mpich-discuss-request at mcs.anl.gov

You can reach the person managing the list at
	mpich-discuss-owner at mcs.anl.gov

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mpich-discuss digest..."


Today's Topics:

   1. Re:  Problem with MPI (Dhiraj)
   2. Re:  Problem with MPI (peter_raeth at juno.com)


----------------------------------------------------------------------

Message: 1
Date: Thu, 9 Jul 2009 16:41:43 +0530
From: Dhiraj <ballack.mamba at gmail.com>
Subject: Re: [mpich-discuss] Problem with MPI
To: mpich-discuss at mcs.anl.gov
Message-ID:
	<14c4a7850907090411v6e051720j58612e3ad4f68305 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

You may use "-nolocal" and see the cpu usage

for example,

mpirun -n 12 -machinfile "machine_file_name" -nolocal "exe_file_name"


2009/7/9 Suman Vajjala <suman.geek at gmail.com>

> Hi,
>
>       I am running a parallel code in a cluster using mpich 2.
However, the
> process shows a CPU utilization of < 10%. The serial code when run
shows a
> 100% cpu usage. Do the mpi codes show a less cpu usage?
>
> Regards
> Suman
>
> On Wed, Jul 8, 2009 at 10:30 PM,
<mpich-discuss-request at mcs.anl.gov>wrote:
>
>> Send mpich-discuss mailing list submissions to
>>        mpich-discuss at mcs.anl.gov
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> or, via email, send a message with subject or body 'help' to
>>        mpich-discuss-request at mcs.anl.gov
>>
>> You can reach the person managing the list at
>>        mpich-discuss-owner at mcs.anl.gov
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of mpich-discuss digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re:  mpiconfig error (Lubomir Radev)
>>   2.  question about running mpich2 on sol86 (Shangli Wu)
>>
>>
>>
----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 8 Jul 2009 08:24:33 -0700 (PDT)
>> From: Lubomir Radev <lubomirr at yahoo.com>
>> Subject: Re: [mpich-discuss] mpiconfig error
>> To: Jayesh Krishna <jayesh at mcs.anl.gov>
>> Cc: mpich-discuss at mcs.anl.gov
>> Message-ID: <895619.35513.qm at web81803.mail.mud.yahoo.com>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> yes on both
>>
>>
>>
>> ________________________________
>> From: Jayesh Krishna <jayesh at mcs.anl.gov>
>> To: Lubomir Radev <lubomirr at yahoo.com>
>> Cc: mpich-discuss at mcs.anl.gov
>> Sent: Wednesday, July 8, 2009 7:05:43 AM
>> Subject: RE: [mpich-discuss] mpiconfig error
>>
>>
>> Hi,
>>  Can you run a simple program using mpiexec from the command prompt
>> (mpiexec -n 2 hostname)?  Is the process manager, smpd, running on
your
>> machine (smpd -status)?
>>
>> Regards,
>> Jayesh
>>
>> -----Original Message-----
>> From: mpich-discuss-bounces at mcs.anl.gov [mailto:
>> mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Lubomir Radev
>> Sent: Tuesday, July 07, 2009 10:02 PM
>> To: mpich-discuss at mcs.anl.gov
>> Subject: [mpich-discuss] mpiconfig error
>>
>>
>> Using MPICH2 1.1 on Windows 7 RC, I'm getting wmpiconfig error
"MPICH2 not
>> installed or unable to query the host". I've registered my local
account
>> (MACHINE\User) for smpd access with wmpiregister. I installed MPICH2
with
>> installation option "for this user only" into my home directory
>> (C:\Users\User). I have administrator privileges.
>>
>> Any clues?
>>
>> During the installation, at UAC prompt I was asked which networks do
I
>> authorize smpd to have access to - private or/and public, and I chose
>> private only. Could that be the culprit?
>>
>> Thanks
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>>
http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090708/0d
201fc1/attachment-0001.htm
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 8 Jul 2009 12:47:26 -0400
>> From: "Shangli Wu" <shangliw at cadence.com>
>> Subject: [mpich-discuss] question about running mpich2 on sol86
>> To: <mpich-discuss at mcs.anl.gov>
>> Message-ID:
>>        <
>> BA10A0225849DF4BBA2105B06E8B26AF0650419D at MAILNA1.global.cadence.com>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Hi,
>>
>> I try to build/run the example cxxpi.cxx on Sol86 using mpicxx.
Compile
>> seems OK. But when I run it, it shows error as:
>>
>> chfcsx023:/home/shangliw/libraries/mpich2-1.0.8p1/examples/testcase_1
>
>> mpicxx cxxpi.cxx
>> chfcsx023:/home/shangliw/libraries/mpich2-1.0.8p1/examples/testcase_1
>
>> ls
>> a.out       cxxpi.cxx   cxxpi.cxx~
>> chfcsx023:/home/shangliw/libraries/mpich2-1.0.8p1/examples/testcase_1
>
>> a.out
>> ld.so.1: a.out: fatal: libstdc++.so.5: open failed: No such file or
>> directory
>> Killed
>> chfcsx023:/home/shangliw/libraries/mpich2-1.0.8p1/examples/testcase_1
>
>> mpd&
>> [1] 779
>> chfcsx023:/home/shangliw/libraries/mpich2-1.0.8p1/examples/testcase_1
>
>> chfcsx023:/home/shangliw/libraries/mpich2-1.0.8p1/examples/testcase_1
>
>> mpiexec -n 2 a.out
>> ld.so.1: a.out: fatal: libstdc++.so.5: open failed: No such file or
>> directory
>> ld.so.1: a.out: fatal: libstdc++.so.5: open failed: No such file or
>> directory
>>
>>
>> The same file can build/run on Sun4v/Linux without any problem. Would
>> someone help me to understand what's wrong on Sol86?
>>
>> Thanks
>>
>> Shangli Wu
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>>
http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090708/89
af5cbf/attachment-0001.htm
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>>
>> End of mpich-discuss Digest, Vol 10, Issue 9
>> ********************************************
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090709/f
4f9ae7e/attachment-0001.htm>

------------------------------

Message: 2
Date: Thu, 9 Jul 2009 12:54:43 GMT
From: "peter_raeth at juno.com" <peter_raeth at juno.com>
Subject: Re: [mpich-discuss] Problem with MPI
To: mpich-discuss at mcs.anl.gov
Message-ID: <20090709.085443.10074.0 at webmail02.vgs.untd.com>
Content-Type: text/plain; charset="windows-1252"

You want to be sure that codes are actually running on the intended
nodes. In my own experience, it is possible to get the machine list
addresses wrong for the particular network in question. In that case,
all the processes ran on the initiating node.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090709/3
da3b869/attachment-0001.htm>

------------------------------

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


End of mpich-discuss Digest, Vol 10, Issue 11
*********************************************


More information about the mpich-discuss mailing list