charm.git
19 years agoMake GetNumElements callable from init().
Orion Lawlor [Mon, 11 Feb 2002 23:52:26 +0000 (23:52 +0000)]
Make GetNumElements callable from init().

19 years agoanother place of core dump when CMK_OPTIMIZE
Gengbin Zheng [Mon, 11 Feb 2002 01:25:15 +0000 (01:25 +0000)]
another place of core dump when CMK_OPTIMIZE

19 years agofix a core dump bug when CMK_OPTIMIZE
Gengbin Zheng [Mon, 11 Feb 2002 01:17:43 +0000 (01:17 +0000)]
fix a core dump bug when CMK_OPTIMIZE

19 years agorecent ckCheck broke the CMK_OPTIMIZE, when CMK_OPTIMIZE is set compiling Charm+...
Gengbin Zheng [Mon, 11 Feb 2002 00:49:48 +0000 (00:49 +0000)]
recent ckCheck broke the CMK_OPTIMIZE, when CMK_OPTIMIZE is set compiling Charm++, but not used when compile user program.
Changed it to inline to fix that.

19 years agobool => int
Gengbin Zheng [Sun, 10 Feb 2002 07:23:17 +0000 (07:23 +0000)]
bool => int

19 years agotrue => CmiTrue
Gengbin Zheng [Sun, 10 Feb 2002 07:19:48 +0000 (07:19 +0000)]
true => CmiTrue

19 years agofix a bug in stack base pointer in CONTEXT threads.
Gengbin Zheng [Sun, 10 Feb 2002 07:15:24 +0000 (07:15 +0000)]
fix a bug in stack base pointer in CONTEXT threads.

19 years agoadd CMK_NO_ISO_MALLOC to disable isomalloc. no /dev/zero on HP.
Gengbin Zheng [Sun, 10 Feb 2002 07:03:47 +0000 (07:03 +0000)]
add CMK_NO_ISO_MALLOC to disable isomalloc. no /dev/zero on HP.

19 years agoif macro CMK_NO_ISO_MALLOC is set, don't compile isomalloc.
Gengbin Zheng [Sun, 10 Feb 2002 07:01:12 +0000 (07:01 +0000)]
if macro CMK_NO_ISO_MALLOC is set, don't compile isomalloc.
on net-hp , there is no /dev/zero on HP.

19 years agoclean code: bool => CmiBool
Gengbin Zheng [Sun, 10 Feb 2002 06:58:39 +0000 (06:58 +0000)]
clean code: bool => CmiBool
fixed compiler error on net-irix.

19 years agonet-axp context version stack grow down.
Gengbin Zheng [Sun, 10 Feb 2002 06:23:41 +0000 (06:23 +0000)]
net-axp context version stack grow down.

19 years agofix the compiler error when namespace is not supported
Gengbin Zheng [Sun, 10 Feb 2002 05:37:33 +0000 (05:37 +0000)]
fix the compiler error when namespace is not supported

19 years agoCONTEXT version of threads, set stack grow-down.
Gengbin Zheng [Sun, 10 Feb 2002 05:33:11 +0000 (05:33 +0000)]
CONTEXT version of threads, set stack grow-down.

19 years agoMade RDTSC fast timers faster by inlining them.
Milind Bhandarkar [Sat, 9 Feb 2002 17:24:09 +0000 (17:24 +0000)]
Made RDTSC fast timers faster by inlining them.

19 years agoAdded fast rdtsc based timers for intel cpus under linux.
Milind Bhandarkar [Thu, 7 Feb 2002 06:30:53 +0000 (06:30 +0000)]
Added fast rdtsc based timers for intel cpus under linux.

19 years agofixed compiler error when LBDB is turned off.
Gengbin Zheng [Wed, 6 Feb 2002 16:52:47 +0000 (16:52 +0000)]
fixed compiler error when LBDB is turned off.

19 years agofix the stupid bug when I turned off batsync in "LBDBManager.C"
Gengbin Zheng [Wed, 6 Feb 2002 16:44:37 +0000 (16:44 +0000)]
fix the stupid bug when I turned off batsync in "LBDBManager.C"

19 years agoadded BaseLB.
Gengbin Zheng [Wed, 6 Feb 2002 06:57:45 +0000 (06:57 +0000)]
added BaseLB.

19 years agoall load balancers inherit from BaseLB now.
Gengbin Zheng [Wed, 6 Feb 2002 06:40:49 +0000 (06:40 +0000)]
all load balancers inherit from BaseLB now.
NullLB now is created as default, and it will check if another LB is created and be silent.
use thisProxy and CBase new syntax.

19 years agoupdate TRACE calls.
Gengbin Zheng [Sat, 2 Feb 2002 19:02:20 +0000 (19:02 +0000)]
update TRACE calls.

19 years agotrace file add message length tracing. note, this make projections not compatible...
Gengbin Zheng [Sat, 2 Feb 2002 19:01:02 +0000 (19:01 +0000)]
trace file add message length tracing. note, this make projections not compatible with old verison now.

19 years agoCall ckCheck() method before executing any methods of a proxy.
Orion Lawlor [Fri, 1 Feb 2002 18:03:43 +0000 (18:03 +0000)]
Call ckCheck() method before executing any methods of a proxy.

19 years agoAdded "ckCheck()" method to all proxies.
Orion Lawlor [Fri, 1 Feb 2002 18:03:21 +0000 (18:03 +0000)]
Added "ckCheck()" method to all proxies.

This is an unitialized-check without CMK_OPTIMIZE, and
an inlined no-op with CMK_OPTIMIZE.

19 years agoMinor changes for shift from "CkReductionGroup" to just "Group".
Orion Lawlor [Fri, 1 Feb 2002 17:20:56 +0000 (17:20 +0000)]
Minor changes for shift from "CkReductionGroup" to just "Group".

19 years agoRenamed "CkReductionGroup" as just "Group". This lets every
Orion Lawlor [Fri, 1 Feb 2002 17:20:08 +0000 (17:20 +0000)]
Renamed "CkReductionGroup" as just "Group".  This lets every
group use reductions with only a small amount of overhead
(a few bytes).

The reduction manager (and, as an optimization, the location manager)
inherits from an even more fundamental object "IrrGroup" (an irreducible
group), which is just the old "Group".

19 years agoChanged capitalization to match what CBase is expecting.
Orion Lawlor [Fri, 1 Feb 2002 17:10:30 +0000 (17:10 +0000)]
Changed capitalization to match what CBase is expecting.
This does *not* yet include any description of CBase.

19 years agoa little optimization by using our own counter instead of calling length() to CkVec.
Gengbin Zheng [Fri, 1 Feb 2002 06:00:00 +0000 (06:00 +0000)]
a little optimization by using our own counter instead of calling length() to CkVec.

19 years agofixed the compiler error in sim-linux. also make functions inline.
Gengbin Zheng [Thu, 31 Jan 2002 23:40:49 +0000 (23:40 +0000)]
fixed the compiler error in sim-linux. also make functions inline.

19 years agofixed stack overflow in win32 standalone mode.
Gengbin Zheng [Thu, 31 Jan 2002 23:23:58 +0000 (23:23 +0000)]
fixed stack overflow in win32 standalone mode.

19 years agoChange for idiotic Sun CC 5.0-- hand-substituded CBase_ProxyDecl macro
Orion Lawlor [Thu, 31 Jan 2002 17:30:00 +0000 (17:30 +0000)]
Change for idiotic Sun CC 5.0-- hand-substituded CBase_ProxyDecl macro
to avoid bizarre compiler error:

"../../../bin/../include/charm++.h", line 131: Error: Declaration terminated incorrectly.
"inherit.C", line 46:     Where: While specializing "CBaseT<Chare, CProxy_inhCoord>".
"inherit.C", line 46:     Where: Specialized in non-template code.

19 years agoFixed missing endExecute.
Milind Bhandarkar [Thu, 31 Jan 2002 15:02:51 +0000 (15:02 +0000)]
Fixed missing endExecute.

19 years agofixed a missing return.
Gengbin Zheng [Thu, 31 Jan 2002 06:33:31 +0000 (06:33 +0000)]
fixed a missing return.

19 years agoremove trace-none
Gengbin Zheng [Thu, 31 Jan 2002 06:33:14 +0000 (06:33 +0000)]
remove trace-none

19 years agonow allow multiple tracemodes, rewrite lots of the code to make sure each tracemode...
Gengbin Zheng [Thu, 31 Jan 2002 05:48:57 +0000 (05:48 +0000)]
now allow multiple tracemodes, rewrite lots of the code to make sure each tracemode is really an object to remove name conflicts. remove trace-none.C since it is no longer needed.

19 years agotrace mode can be multiple now.
Gengbin Zheng [Thu, 31 Jan 2002 05:44:04 +0000 (05:44 +0000)]
trace mode can be multiple now.

19 years agoChanged "thisproxy" to "thisProxy" for consistency with CBase_* types.
Orion Lawlor [Wed, 30 Jan 2002 21:50:38 +0000 (21:50 +0000)]
Changed "thisproxy" to "thisProxy" for consistency with CBase_* types.

19 years agoAdded "typedef CBaseT<parentClass,proxyclass> CBase_charename" for all
Orion Lawlor [Wed, 30 Jan 2002 21:49:59 +0000 (21:49 +0000)]
Added "typedef CBaseT<parentClass,proxyclass> CBase_charename" for all
chare types.  This typedef can be inherited from to provide a properly-
typed "thisProxy" object.

Also added constructors for all proxy types that take the real object.

19 years agoAdded "CBaseT" template used by translator, and constructors
Orion Lawlor [Wed, 30 Jan 2002 21:48:28 +0000 (21:48 +0000)]
Added "CBaseT" template used by translator, and constructors
for proxies based on the real object.

19 years agoa minor change.
Gengbin Zheng [Wed, 30 Jan 2002 06:18:12 +0000 (06:18 +0000)]
a minor change.

19 years agoadded bluegene header.
Gengbin Zheng [Wed, 30 Jan 2002 01:09:07 +0000 (01:09 +0000)]
added bluegene header.

19 years agoconv-mach for bgcharm
Gengbin Zheng [Tue, 29 Jan 2002 23:51:45 +0000 (23:51 +0000)]
conv-mach for bgcharm

19 years agoconv-mach for bluegene for mpi version.
Gengbin Zheng [Tue, 29 Jan 2002 23:48:57 +0000 (23:48 +0000)]
conv-mach for bluegene for mpi version.

19 years agoconv-mach for bluegene
Gengbin Zheng [Tue, 29 Jan 2002 23:48:02 +0000 (23:48 +0000)]
conv-mach for bluegene

19 years agobluegene as an option.
Gengbin Zheng [Tue, 29 Jan 2002 23:47:29 +0000 (23:47 +0000)]
bluegene as an option.

19 years agomissed one prototype.
Gengbin Zheng [Tue, 29 Jan 2002 23:45:54 +0000 (23:45 +0000)]
missed one prototype.

19 years agoupdated for bgcharm++.
Gengbin Zheng [Tue, 29 Jan 2002 23:42:22 +0000 (23:42 +0000)]
updated for bgcharm++.

19 years agochanges for bgCharm++.
Gengbin Zheng [Tue, 29 Jan 2002 23:41:17 +0000 (23:41 +0000)]
changes for bgCharm++.

19 years agoCpv=>Ckpv changes for bgcharm++
Gengbin Zheng [Tue, 29 Jan 2002 23:31:57 +0000 (23:31 +0000)]
Cpv=>Ckpv changes for bgcharm++

19 years agochanges for bgcharm++
Gengbin Zheng [Tue, 29 Jan 2002 23:17:03 +0000 (23:17 +0000)]
changes for bgcharm++

19 years agoheader size changed for bg charm++.
Gengbin Zheng [Tue, 29 Jan 2002 22:32:54 +0000 (22:32 +0000)]
header size changed for bg charm++.

19 years agobluegene charm++ don't need a main()
Gengbin Zheng [Tue, 29 Jan 2002 22:28:12 +0000 (22:28 +0000)]
bluegene charm++ don't need a main()

19 years agoCpv => Ckpv, also outbuf len is now a macro.
Gengbin Zheng [Tue, 29 Jan 2002 22:26:29 +0000 (22:26 +0000)]
Cpv => Ckpv, also outbuf len is now a macro.

19 years agoCpv => Ckpv for bg charm++
Gengbin Zheng [Tue, 29 Jan 2002 22:24:18 +0000 (22:24 +0000)]
Cpv => Ckpv for bg charm++

19 years agoCpv => Ckpv for bg Charm++.
Gengbin Zheng [Tue, 29 Jan 2002 22:22:26 +0000 (22:22 +0000)]
Cpv => Ckpv for bg Charm++.

19 years agoCpv=>Ckpv for bluegene
Gengbin Zheng [Tue, 29 Jan 2002 22:21:25 +0000 (22:21 +0000)]
Cpv=>Ckpv for bluegene

19 years agoconverse ldb for bluegene.
Gengbin Zheng [Tue, 29 Jan 2002 21:14:38 +0000 (21:14 +0000)]
converse ldb for bluegene.

19 years agoadd bgcharm++ as language.
Gengbin Zheng [Tue, 29 Jan 2002 21:03:17 +0000 (21:03 +0000)]
add bgcharm++ as language.

19 years agoremoved two more fields in LDCommData, saved space.
Gengbin Zheng [Tue, 29 Jan 2002 07:34:57 +0000 (07:34 +0000)]
removed two more fields in LDCommData, saved space.

19 years agoincrease charm internal version number
Gengbin Zheng [Tue, 29 Jan 2002 06:47:53 +0000 (06:47 +0000)]
increase charm internal version number

19 years agomany changes to load balancer, mainly reduced the obj data and comm data structure...
Gengbin Zheng [Tue, 29 Jan 2002 06:47:01 +0000 (06:47 +0000)]
many changes to load balancer, mainly reduced the obj data and comm data structure size.

19 years agoCLBStatsMsg use varsize message syntax.
Gengbin Zheng [Tue, 29 Jan 2002 04:43:14 +0000 (04:43 +0000)]
CLBStatsMsg use varsize message syntax.

19 years agoCMiNumPes => CkNumPes
Gengbin Zheng [Mon, 28 Jan 2002 18:10:45 +0000 (18:10 +0000)]
CMiNumPes => CkNumPes

19 years agoCmiMyPe => CkMyPe
Gengbin Zheng [Mon, 28 Jan 2002 18:10:12 +0000 (18:10 +0000)]
CmiMyPe => CkMyPe

19 years agochecked in some debug info.
Gengbin Zheng [Mon, 28 Jan 2002 18:07:28 +0000 (18:07 +0000)]
checked in some debug info.

19 years agochange cout to printf, fixed pgcc broken compiler.
Gengbin Zheng [Mon, 28 Jan 2002 18:06:19 +0000 (18:06 +0000)]
change cout to printf, fixed pgcc broken compiler.

19 years agoadd includes.
Gengbin Zheng [Sat, 26 Jan 2002 20:22:18 +0000 (20:22 +0000)]
add includes.

19 years agochanged id from int to short to save data per thread.
Gengbin Zheng [Fri, 25 Jan 2002 22:30:21 +0000 (22:30 +0000)]
changed id from int to short to save data per thread.

19 years agoremove globalID.
Gengbin Zheng [Fri, 25 Jan 2002 22:27:44 +0000 (22:27 +0000)]
remove globalID.

19 years agosplit blue.C to blue_impl.h. added block mapping.
Gengbin Zheng [Fri, 25 Jan 2002 22:12:36 +0000 (22:12 +0000)]
split blue.C to blue_impl.h. added block mapping.

19 years agoMade operator| for 2D and 3D arrays inline, which hopefully
Orion Lawlor [Fri, 25 Jan 2002 17:02:12 +0000 (17:02 +0000)]
Made operator| for 2D and 3D arrays inline, which hopefully
will resolve a linker conflict on the T3E Sameer reported.

19 years agoAdded "+tcharm_nomig" and "+tcharm_nothreads" command-line options,
Orion Lawlor [Thu, 24 Jan 2002 23:27:20 +0000 (23:27 +0000)]
Added "+tcharm_nomig" and "+tcharm_nothreads" command-line options,
which disable various advanced (but needed) features for debugging.

+tcharm_nomig allocates the thread stack on the heap, which can
help you determine if there is a problem with isomalloc.

+tcharm_nothreads does away with threads entirely-- the user's
driver() is called as a regular function.  Of course, blocking
calls won't work so this is only for bare-bones 1 processor testing.

19 years agoadd undef to CmiSwitch
Gengbin Zheng [Thu, 24 Jan 2002 20:04:02 +0000 (20:04 +0000)]
add undef to CmiSwitch

19 years agoAdded tracing calls before and after array element entry method
Orion Lawlor [Tue, 22 Jan 2002 17:14:07 +0000 (17:14 +0000)]
Added tracing calls before and after array element entry method
invocation. This should get called for array constructors,
regular messages, and broadcasts.
Also disable Charm Kernel tracing for location manager.

19 years agoArray manager will do its own tracing, so it disables
Orion Lawlor [Tue, 22 Jan 2002 17:12:29 +0000 (17:12 +0000)]
Array manager will do its own tracing, so it disables
the Charm Kernel tracing.

19 years agoAdded ability for groups to disable their own tracing,
Orion Lawlor [Tue, 22 Jan 2002 17:11:46 +0000 (17:11 +0000)]
Added ability for groups to disable their own tracing,
by setting ckEnableTracing=CmiFalse in their constructor.
This is needed by the array and location managers so they
can trace their children properly.

19 years agoAdded another traceBeginExecute method, which takes its parameters
Orion Lawlor [Tue, 22 Jan 2002 17:10:31 +0000 (17:10 +0000)]
Added another traceBeginExecute method, which takes its parameters
from the user rather than from a message.  This is needed for arrays,
which store the entry point, etc. in the message envelope differently.

19 years agoForgot to reset message type when forwarding a vidblock message.
Orion Lawlor [Mon, 21 Jan 2002 16:54:28 +0000 (16:54 +0000)]
Forgot to reset message type when forwarding a vidblock message.

19 years agoForgot the case when VidBlock::send is called on message *arrival*;
Orion Lawlor [Sun, 20 Jan 2002 17:34:42 +0000 (17:34 +0000)]
Forgot the case when VidBlock::send is called on message *arrival*;
and the message type needs to be reset.
Hoisted fixed version of message send into separate method.

19 years agoadded these files for statistic collection
Puneet Narula [Fri, 18 Jan 2002 20:35:08 +0000 (20:35 +0000)]
added these files for statistic collection

19 years agoupdated the code for AMR
Puneet Narula [Fri, 18 Jan 2002 20:34:18 +0000 (20:34 +0000)]
updated the code for AMR

19 years agoMoved usesAtSync up to tcharm library. This is needed so
Orion Lawlor [Fri, 18 Jan 2002 20:19:48 +0000 (20:19 +0000)]
Moved usesAtSync up to tcharm library.  This is needed so
a composite application can actually get to sync.

19 years agoAdded section for delegation.
Orion Lawlor [Wed, 16 Jan 2002 20:27:24 +0000 (20:27 +0000)]
Added section for delegation.

19 years agoChanged "CProxyBase_Delegatable" to just "CProxy"
Orion Lawlor [Wed, 16 Jan 2002 20:26:52 +0000 (20:26 +0000)]
Changed "CProxyBase_Delegatable" to just "CProxy"

19 years agoChanged "CProxyBase_Delegatable" to just "CProxy".
Orion Lawlor [Wed, 16 Jan 2002 20:26:00 +0000 (20:26 +0000)]
Changed "CProxyBase_Delegatable" to just "CProxy".

19 years agoAdded CkChareMsgPrep, CkGroupMsgPrep so delegated messages can
Orion Lawlor [Wed, 16 Jan 2002 20:24:00 +0000 (20:24 +0000)]
Added CkChareMsgPrep, CkGroupMsgPrep so delegated messages can
be pushed directly into the appropriate processor's queue.
This should simplify the implementation of most delegators.

19 years agoAdded command-line options to control heap check frequency and
Orion Lawlor [Wed, 16 Jan 2002 20:21:00 +0000 (20:21 +0000)]
Added command-line options to control heap check frequency and
uninitialized memory fill.

19 years agoDocument -memory link-time option.
Orion Lawlor [Wed, 16 Jan 2002 20:20:29 +0000 (20:20 +0000)]
Document -memory link-time option.

19 years agoSimple sample of array manager delegation.
Orion Lawlor [Wed, 16 Jan 2002 18:42:45 +0000 (18:42 +0000)]
Simple sample of array manager delegation.

19 years agofixed a compiler issue.
Gengbin Zheng [Tue, 15 Jan 2002 21:14:04 +0000 (21:14 +0000)]
fixed a compiler issue.

19 years agoadded bluegene header definition.
Gengbin Zheng [Mon, 14 Jan 2002 23:04:20 +0000 (23:04 +0000)]
added bluegene header definition.

19 years agoadded some error checking, also added CmiSwitchToPE() for CcdConditions.
Gengbin Zheng [Mon, 14 Jan 2002 15:32:32 +0000 (15:32 +0000)]
added some error checking, also added CmiSwitchToPE() for CcdConditions.

19 years agocompiled with VC++
Gengbin Zheng [Mon, 14 Jan 2002 06:19:59 +0000 (06:19 +0000)]
compiled with VC++

19 years agoCmiMyPe => CkMyPe
Gengbin Zheng [Mon, 14 Jan 2002 03:16:13 +0000 (03:16 +0000)]
CmiMyPe => CkMyPe

19 years agoconv-mach-tcp for example are shared by all net version, so instead of make duplicate...
Gengbin Zheng [Mon, 14 Jan 2002 02:49:14 +0000 (02:49 +0000)]
conv-mach-tcp for example are shared by all net version, so instead of make duplicates in all net-* versions, move it to Common.net.

19 years agomoved conv-mach-tcp.*
Gengbin Zheng [Mon, 14 Jan 2002 02:46:12 +0000 (02:46 +0000)]
moved conv-mach-tcp.*

19 years agomoved conv-mach-tcp.* to Common.net
Gengbin Zheng [Mon, 14 Jan 2002 02:45:07 +0000 (02:45 +0000)]
moved conv-mach-tcp.* to Common.net

19 years agomoved conv-mach-tcp.* to Common.net.
Gengbin Zheng [Mon, 14 Jan 2002 02:44:28 +0000 (02:44 +0000)]
moved conv-mach-tcp.* to Common.net.

19 years agoconv-mach-tcp common for all net versions.
Gengbin Zheng [Mon, 14 Jan 2002 02:43:01 +0000 (02:43 +0000)]
conv-mach-tcp common for all net versions.

19 years agomoved tcp to Common.net
Gengbin Zheng [Mon, 14 Jan 2002 02:41:20 +0000 (02:41 +0000)]
moved tcp to Common.net

19 years agochanged to CcdCallOnConditionKeepOnPE()
Gengbin Zheng [Mon, 14 Jan 2002 02:11:16 +0000 (02:11 +0000)]
changed to CcdCallOnConditionKeepOnPE()