charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Phil Miller <mille121 AT illinois.edu>
- To: Xuehan Xu <xxhdx1985126 AT gmail.com>
- Cc: charm AT cs.uiuc.edu
- Subject: Re: [charm] [ppl] Question about the macro "CMK_SHARED_VARS_UNAVAILABLE"
- Date: Wed, 19 Jan 2011 10:15:22 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
On Wed, Jan 19, 2011 at 08:09, Xuehan Xu
<xxhdx1985126 AT gmail.com>
wrote:
> I built the charm++ with the "version" set to "net-linux". It seemed
> that the charmrun.c file always includes the converse.h which in turn
> includes src/arch/net-linux/conv-mach.h, in which the macro
> CMK_SHARED_VARS_UNAVAILABLE is always defined as 1. Dose this mean that the
> shared variables are always not available when I run "./build charm++
> net-linux"?
> I've also review several conv-mach.h files in other directory, such as
> src/arch/mpi-linux/conv-mach.h, they define CMK_SHARED_VARS_UNAVAILABLE as
> 1, too. Which version should I choose to use shared variables?
This is mostly a runtime implementation detail. What are you actually
trying to accomplish?
> On 19 January 2011 00:31, Phil Miller
> <mille121 AT illinois.edu>
> wrote:
>>
>> It means there won't be multiple PEs sharing virtual address space as
>> multiple threads in a common process. In other words, shared variables
>> are available on SMP and multicore builds of Charm, but not the
>> versions that fork a separate process per PE.
>>
>> On Tue, Jan 18, 2011 at 10:12, Xuehan Xu
>> <xxhdx1985126 AT gmail.com>
>> wrote:
>> > Dear sirs:
>> > I've been reviewing charm source code in the past few days, and
>> > I
>> > discovered "CMK_SHARED_VARS_UNAVAILABLE" is defined, then the field
>> > "cpus"
>> > of every element of the "nodetab_table" can only be 1, why is that? What
>> > does the macro "CMK_SHARED_VARS_UNAVAILABLE" mean?
>> >
>> > _______________________________________________
>> > ppl mailing list
>> > ppl AT cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/ppl
>> >
>> >
>
>
> _______________________________________________
> charm mailing list
> charm AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/charm
>
> _______________________________________________
> ppl mailing list
> ppl AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/ppl
>
>
- Re: [charm] [ppl] Question about the macro "CMK_SHARED_VARS_UNAVAILABLE", Phil Miller, 01/18/2011
- Re: [charm] [ppl] Question about the macro "CMK_SHARED_VARS_UNAVAILABLE", Xuehan Xu, 01/19/2011
- Re: [charm] [ppl] Question about the macro "CMK_SHARED_VARS_UNAVAILABLE", Phil Miller, 01/19/2011
- Message not available
- Re: [charm] [ppl] Question about the macro "CMK_SHARED_VARS_UNAVAILABLE", Phil Miller, 01/20/2011
- Message not available
- Re: [charm] [ppl] Question about the macro "CMK_SHARED_VARS_UNAVAILABLE", Phil Miller, 01/19/2011
- Re: [charm] [ppl] Question about the macro "CMK_SHARED_VARS_UNAVAILABLE", Xuehan Xu, 01/19/2011
Archive powered by MHonArc 2.6.16.