charm.git
19 years agooxygen config file.
Gengbin Zheng [Thu, 28 Feb 2002 02:03:48 +0000 (02:03 +0000)]
oxygen config file.

19 years agoFor vmi, fixed the check for prefix of mpicc when overridding the compiler.
Gengbin Zheng [Wed, 27 Feb 2002 04:12:13 +0000 (04:12 +0000)]
For vmi, fixed the check for prefix of mpicc when overridding the compiler.

19 years agoadded multiple pcqueue for each worker thread, although I don't find any problem...
Gengbin Zheng [Tue, 26 Feb 2002 19:35:46 +0000 (19:35 +0000)]
added multiple pcqueue for each worker thread, although I don't find any problem for one queue for all worker threads.

19 years agoadded PTHREAD_HACK macro
Gengbin Zheng [Tue, 26 Feb 2002 16:33:28 +0000 (16:33 +0000)]
added PTHREAD_HACK macro

19 years agosmp for mpi-origin.
Gengbin Zheng [Tue, 26 Feb 2002 08:02:42 +0000 (08:02 +0000)]
smp for mpi-origin.

19 years agoconv-mach-smp.
Gengbin Zheng [Tue, 26 Feb 2002 08:01:49 +0000 (08:01 +0000)]
conv-mach-smp.

19 years agomake charmrun script recorgnize +ppn
Gengbin Zheng [Tue, 26 Feb 2002 07:32:03 +0000 (07:32 +0000)]
make charmrun script recorgnize +ppn

19 years agodefine CMK_SMP
Gengbin Zheng [Tue, 26 Feb 2002 07:03:48 +0000 (07:03 +0000)]
define CMK_SMP

19 years agoconv-mach for smp.
Gengbin Zheng [Tue, 26 Feb 2002 06:36:40 +0000 (06:36 +0000)]
conv-mach for smp.

19 years agogather Common.util.
Gengbin Zheng [Tue, 26 Feb 2002 06:22:43 +0000 (06:22 +0000)]
gather Common.util.

19 years agochecked in smp + mpi version. added an integer in message header.
Gengbin Zheng [Tue, 26 Feb 2002 06:22:11 +0000 (06:22 +0000)]
checked in smp + mpi version. added an integer in message header.

19 years agoCommon.util: utilities for all machine files.
Gengbin Zheng [Tue, 26 Feb 2002 06:00:12 +0000 (06:00 +0000)]
Common.util: utilities for all machine files.

19 years agomake it compile again - updated to new array index syntax
Gengbin Zheng [Fri, 22 Feb 2002 01:04:01 +0000 (01:04 +0000)]
make it compile again - updated to new array index syntax

19 years agoAdded pupf.h header.
Orion Lawlor [Thu, 21 Feb 2002 22:19:14 +0000 (22:19 +0000)]
Added pupf.h header.

19 years agoAdded a non-module version of the pup routines.
Orion Lawlor [Thu, 21 Feb 2002 22:18:44 +0000 (22:18 +0000)]
Added a non-module version of the pup routines.

19 years agoFixed path.
Gunavardhan Kakulapati [Thu, 21 Feb 2002 17:55:26 +0000 (17:55 +0000)]
Fixed path.

19 years agoadded several timing correction methods
Arun Singla [Thu, 21 Feb 2002 06:06:59 +0000 (06:06 +0000)]
added several timing correction methods

19 years agoinsert allows insertion into a slot beyond the current queue.
Gengbin Zheng [Thu, 21 Feb 2002 01:06:51 +0000 (01:06 +0000)]
insert allows insertion into a slot beyond the current queue.

19 years agoadded an insert() for CkQ for insertion of an element in a queue, it is convenient...
Gengbin Zheng [Thu, 21 Feb 2002 01:01:30 +0000 (01:01 +0000)]
added an insert() for CkQ for insertion of an element in a queue, it is convenient for timeline log processing or priority queue for example.

19 years agoadded new field: dstPe in timing log.
Gengbin Zheng [Thu, 21 Feb 2002 00:17:49 +0000 (00:17 +0000)]
added new field: dstPe in timing log.

19 years agoAdded #define AMPI so people can make portable sources; and
Orion Lawlor [Wed, 20 Feb 2002 19:19:26 +0000 (19:19 +0000)]
Added #define AMPI so people can make portable sources; and
added definition for AMPI_SUCCESS (standard value of zero).

19 years agoadded ++startpe for SCYLD for specifying the start slave pe.
Gengbin Zheng [Wed, 20 Feb 2002 19:08:38 +0000 (19:08 +0000)]
added ++startpe for SCYLD for specifying the start slave pe.

19 years agofixed a stupid bug.
Milind Bhandarkar [Wed, 20 Feb 2002 17:46:40 +0000 (17:46 +0000)]
fixed a stupid bug.

19 years agoddt should copy the received bytes instead of expected bytes.
Milind Bhandarkar [Wed, 20 Feb 2002 17:39:14 +0000 (17:39 +0000)]
ddt should copy the received bytes instead of expected bytes.

19 years agoit is okay to receive a smaller message than the buffer size.
Milind Bhandarkar [Wed, 20 Feb 2002 17:35:57 +0000 (17:35 +0000)]
it is okay to receive a smaller message than the buffer size.

19 years agoAdded ssend and issend that default to send and isend respectively.,
Milind Bhandarkar [Wed, 20 Feb 2002 17:21:47 +0000 (17:21 +0000)]
Added ssend and issend that default to send and isend respectively.,

19 years agoAdded ampi_wait and ampi_waitany
Milind Bhandarkar [Wed, 20 Feb 2002 17:14:55 +0000 (17:14 +0000)]
Added ampi_wait and ampi_waitany

19 years agoRemoved debugging 100ms-cleanings; back to old 1-minute cleanings.
Orion Lawlor [Wed, 20 Feb 2002 14:30:05 +0000 (14:30 +0000)]
Removed debugging 100ms-cleanings; back to old 1-minute cleanings.
On slow machines, frequent cleanings cause spurious errors, because
messages for array elements that are soon to be created become stale.

19 years agoadd two more fields in bluegene header for timing module.
Gengbin Zheng [Wed, 20 Feb 2002 07:28:19 +0000 (07:28 +0000)]
add two more fields in bluegene header for timing module.

19 years agoadd use of timing module in bg emulator.
Gengbin Zheng [Wed, 20 Feb 2002 07:26:29 +0000 (07:26 +0000)]
add use of timing module in bg emulator.

19 years agochecked in bluegene timing module.
Gengbin Zheng [Wed, 20 Feb 2002 07:23:40 +0000 (07:23 +0000)]
checked in bluegene timing module.

19 years agobluegene timing module header file.
Gengbin Zheng [Tue, 19 Feb 2002 21:50:53 +0000 (21:50 +0000)]
bluegene timing module header file.

19 years agopretty much, final version of BlueGene emulator on Charm++
Arun Singla [Tue, 19 Feb 2002 20:28:44 +0000 (20:28 +0000)]
pretty much, final version of BlueGene emulator on Charm++

19 years agodisable rdtsc timer.
Gengbin Zheng [Tue, 19 Feb 2002 19:33:55 +0000 (19:33 +0000)]
disable rdtsc timer.

19 years agoSilly but deadly bug in element deletion-- reclaimRemote deleted the
Orion Lawlor [Tue, 19 Feb 2002 17:26:00 +0000 (17:26 +0000)]
Silly but deadly bug in element deletion-- reclaimRemote deleted the
remote record; but left the record pointer in the hash table!
Added a "removeFromTable" method which does a (paranoid) hashtable
remove.

19 years agoadd -instance to LDXX too.
Gengbin Zheng [Mon, 18 Feb 2002 23:30:16 +0000 (23:30 +0000)]
add -instance to LDXX too.

19 years agouse -instances for SUN's mpCC compilers to move instances of templates into object...
Gengbin Zheng [Mon, 18 Feb 2002 22:29:12 +0000 (22:29 +0000)]
use -instances for SUN's mpCC compilers to move instances of templates into object files from SunWS_cache/

19 years agoAdded converse.h include for CmiTrue, which is not visible unless
Orion Lawlor [Mon, 18 Feb 2002 19:37:28 +0000 (19:37 +0000)]
Added converse.h include for CmiTrue, which is not visible unless
somebody else has already included converse.h.
I intensely dislike CmiTrue.  Just thought you aught to know.

19 years agoadd both icc and ecc.
Gengbin Zheng [Sat, 16 Feb 2002 23:52:07 +0000 (23:52 +0000)]
add both icc and ecc.

19 years agointel c compiler is called icc(not ecc) on linux!
Gengbin Zheng [Sat, 16 Feb 2002 23:51:03 +0000 (23:51 +0000)]
intel c compiler is called icc(not ecc) on linux!

19 years agoicc to ecc.
Gengbin Zheng [Sat, 16 Feb 2002 23:48:15 +0000 (23:48 +0000)]
icc to ecc.

19 years agorename icc to ecc.
Gengbin Zheng [Sat, 16 Feb 2002 23:47:02 +0000 (23:47 +0000)]
rename icc to ecc.

19 years agorename icc to ecc
Gengbin Zheng [Sat, 16 Feb 2002 23:45:40 +0000 (23:45 +0000)]
rename icc to ecc

19 years agorename -icc to -ecc
Gengbin Zheng [Sat, 16 Feb 2002 23:45:07 +0000 (23:45 +0000)]
rename -icc to -ecc

19 years agoremoved -static for ecc.
Gengbin Zheng [Sat, 16 Feb 2002 23:43:45 +0000 (23:43 +0000)]
removed -static for ecc.

19 years agoadd declaration for traceinittime.
Gengbin Zheng [Fri, 15 Feb 2002 21:11:50 +0000 (21:11 +0000)]
add declaration for traceinittime.

19 years agochange trace projections to adjust to new CmiWallTimer changes.
Gengbin Zheng [Fri, 15 Feb 2002 20:48:02 +0000 (20:48 +0000)]
change trace projections to adjust to new CmiWallTimer changes.

19 years agofor blue gene version, disable the group table new feature to save memory.
Gengbin Zheng [Thu, 14 Feb 2002 22:26:42 +0000 (22:26 +0000)]
for blue gene version, disable the group table new feature to save memory.

19 years agofixed two memory leaks.
Gengbin Zheng [Thu, 14 Feb 2002 07:47:08 +0000 (07:47 +0000)]
fixed two memory leaks.

19 years agoMore complete check of input parameters. This should detect
Orion Lawlor [Wed, 13 Feb 2002 23:39:21 +0000 (23:39 +0000)]
More complete check of input parameters.  This should detect
invalid connectivity information passed in.

19 years agoAdded check to make sure passed-in elem2chunk array is reasonable.
Orion Lawlor [Wed, 13 Feb 2002 23:16:12 +0000 (23:16 +0000)]
Added check to make sure passed-in elem2chunk array is reasonable.
Needed this when a user passed in a random elem2chunk array,
and instead of a useful error message the framework crashed horribly.

19 years agorecover the missing constructor for CkArrayIndexMax(int), used for CkVec.
Gengbin Zheng [Tue, 12 Feb 2002 23:48:49 +0000 (23:48 +0000)]
recover the missing constructor for CkArrayIndexMax(int), used for CkVec.

19 years agofixed two syntax error on SUN CC compiler.
Gengbin Zheng [Tue, 12 Feb 2002 22:46:50 +0000 (22:46 +0000)]
fixed two syntax error on SUN CC compiler.

19 years agochanged batsync from CcdCallFnAfterOn to CcdCallFnAfterOnPE version.
Gengbin Zheng [Tue, 12 Feb 2002 22:24:42 +0000 (22:24 +0000)]
changed batsync from CcdCallFnAfterOn to CcdCallFnAfterOnPE version.

19 years agoadd _loadbalancerInit() for loadbalancer ckpvs.
Gengbin Zheng [Tue, 12 Feb 2002 22:21:44 +0000 (22:21 +0000)]
add _loadbalancerInit() for loadbalancer ckpvs.

19 years agofor SMP and emulator version, change numLoadbalancer etc to Ckpv.
Gengbin Zheng [Tue, 12 Feb 2002 22:21:04 +0000 (22:21 +0000)]
for SMP and emulator version, change numLoadbalancer etc to Ckpv.

19 years agoAdded ckcallback.C and ckcallback.h.
Orion Lawlor [Tue, 12 Feb 2002 21:53:20 +0000 (21:53 +0000)]
Added ckcallback.C and ckcallback.h.

19 years agoAdded CkCallback structure; an easy way to call C functions,
Orion Lawlor [Tue, 12 Feb 2002 21:52:55 +0000 (21:52 +0000)]
Added CkCallback structure; an easy way to call C functions,
chare, groups, arrays, and threads using the same interface.

19 years agoMajor rearrangements to make CkCallback possible.
Orion Lawlor [Tue, 12 Feb 2002 21:52:15 +0000 (21:52 +0000)]
Major rearrangements to make CkCallback possible.
Pulled definitions for CkArrayID and CkArrayIndex up
to top of this header, from ckarray.h and cklocation.h.

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