charm.git
18 years agoUse operator| instead of explicitly calling CkVec::pup.
Orion Lawlor [Fri, 21 Feb 2003 19:19:27 +0000 (19:19 +0000)]
Use operator| instead of explicitly calling CkVec::pup.
CkVec::pup was removed to work around a compiler bug.

18 years agoCompiler bug workaround: remove CkVec's pup routine,
Orion Lawlor [Fri, 21 Feb 2003 19:18:45 +0000 (19:18 +0000)]
Compiler bug workaround: remove CkVec's pup routine,
because some instantiations of CkVec can't be pupped.
Instead, we provide CkVec's pup routine as operator|,
which is lazily instantiated.  Of course, according to
the C++ standard, *all* templated members are supposed
to be lazily instantiated, but some compilers (SGI origin,
Alpha cxx) don't do this.

18 years agoAdded pup routines for all readonlies and marshalled values,
Orion Lawlor [Fri, 21 Feb 2003 17:44:21 +0000 (17:44 +0000)]
Added pup routines for all readonlies and marshalled values,
or else added "PUPbytes" declaration.

18 years agoChanged PUPmarshallBytes to just PUPbytes.
Orion Lawlor [Fri, 21 Feb 2003 17:43:29 +0000 (17:43 +0000)]
Changed PUPmarshallBytes to just PUPbytes.

18 years agoChanged default
Orion Lawlor [Fri, 21 Feb 2003 17:42:51 +0000 (17:42 +0000)]
Changed default
p|x;
from meaning
"pup x as plain bytes"
to meaning
"call x's pup routine"

The new meaning is less convenient but also less error-prone.
I've added a new macro
PUPbytes(x)
to give the old meaning.

18 years agobetter interface that allow registering to an extern module for timing correction...
Gengbin Zheng [Fri, 21 Feb 2003 06:21:08 +0000 (06:21 +0000)]
better interface that allow registering to an extern module for timing correction, this currently is used by bluegene.

18 years agobetter interface with trace projection - callback to projections will sort out logs...
Gengbin Zheng [Fri, 21 Feb 2003 06:19:17 +0000 (06:19 +0000)]
better interface with trace projection - callback to projections will sort out logs according to new event time after correction. also message recv time is added.

18 years agofixed a bug in ckDestroy documentation
Sayantan Chakravorty [Fri, 21 Feb 2003 04:29:51 +0000 (04:29 +0000)]
fixed a bug in ckDestroy documentation

18 years agotrace projections hooks with blue gene to allow multiple times writing the trace...
Gengbin Zheng [Fri, 21 Feb 2003 01:54:30 +0000 (01:54 +0000)]
trace projections hooks with blue gene to allow multiple times writing the trace logs, one before timing correction and the other after correction.

18 years agofixed a bug for hooking with trace projections.
Gengbin Zheng [Fri, 21 Feb 2003 01:34:59 +0000 (01:34 +0000)]
fixed a bug for hooking with trace projections.

18 years agolooks like I actually fixed it
Sameer Kumar [Thu, 20 Feb 2003 17:48:29 +0000 (17:48 +0000)]
looks like I actually fixed it

18 years agorecover the code for blue gene, was commented by Jahul when converting to CkCallback.
Gengbin Zheng [Thu, 20 Feb 2003 04:18:31 +0000 (04:18 +0000)]
recover the code for blue gene, was commented by Jahul when converting to CkCallback.

18 years agomoved 16K buffer in local stack to be a global static variable. 16K is bug enough...
Gengbin Zheng [Thu, 20 Feb 2003 04:15:25 +0000 (04:15 +0000)]
moved 16K buffer in local stack  to be a global static variable. 16K is bug enough to crash small sized thread.

18 years agoimplemented 2D and 3D sparse reducers
Vikas Mehta [Thu, 20 Feb 2003 01:03:00 +0000 (01:03 +0000)]
implemented 2D and 3D sparse reducers

18 years agoadding version debugged on cool
Sameer Kumar [Wed, 19 Feb 2003 23:38:56 +0000 (23:38 +0000)]
adding version debugged on cool

18 years agofixing compile
Sameer Kumar [Wed, 19 Feb 2003 20:03:12 +0000 (20:03 +0000)]
fixing compile

18 years agoChanging the #if 1 to #if CONVERSE_VERSION_ELAN ...
Sameer Kumar [Wed, 19 Feb 2003 19:39:31 +0000 (19:39 +0000)]
Changing the #if 1 to #if CONVERSE_VERSION_ELAN ...

18 years agoMinor change in the #ifdef for elan!
Sameer Kumar [Wed, 19 Feb 2003 19:38:33 +0000 (19:38 +0000)]
Minor change in the #ifdef for elan!

18 years agoAdding new strategy for node based multicast.
Sameer Kumar [Wed, 19 Feb 2003 19:36:53 +0000 (19:36 +0000)]
Adding new strategy for node based multicast.

18 years agofixed broken compiler when CMK_IMMEDIATE_MSG is 0.
Gengbin Zheng [Wed, 19 Feb 2003 05:36:12 +0000 (05:36 +0000)]
fixed broken compiler when CMK_IMMEDIATE_MSG is 0.

18 years agoturn off immediate msg in bluegene.
Gengbin Zheng [Wed, 19 Feb 2003 05:31:44 +0000 (05:31 +0000)]
turn off immediate msg in bluegene.

18 years agosequential load balancing simulation should work for difference build on same machine...
Gengbin Zheng [Tue, 18 Feb 2003 20:05:07 +0000 (20:05 +0000)]
sequential load balancing simulation should work for difference build on same machines now, so elan-axp's LB dumped data file can be read by net-axp which doesn't require a batch queue when used with ++local.

18 years agobug in previous version, didnot handle the aligned bytes in the envelope. Now changed...
Gengbin Zheng [Tue, 18 Feb 2003 17:29:30 +0000 (17:29 +0000)]
bug in previous version, didnot handle the aligned bytes in the envelope. Now changed to pup envelope in detail and pup user data separately. envelope::pup now has to pup the converse header size in case different on different platforms.

18 years agoUpdated for new sparse semantics--ghosts come in list.
Orion Lawlor [Tue, 18 Feb 2003 17:01:33 +0000 (17:01 +0000)]
Updated for new sparse semantics--ghosts come in list.

18 years agoadded fast_and_dirty as 2 mode - in this mode, the difference of converse msg header...
Gengbin Zheng [Tue, 18 Feb 2003 08:01:56 +0000 (08:01 +0000)]
added fast_and_dirty as 2 mode - in this mode, the difference of converse msg header is handled, so that messages from elan-axp can be pupped from net-axp program.

18 years agoCmiDelayImmediate prototype for immediate msg.
Gengbin Zheng [Tue, 18 Feb 2003 03:41:21 +0000 (03:41 +0000)]
CmiDelayImmediate prototype for immediate msg.

18 years agoArguable change: grab ghost sparse elements, too.
Orion Lawlor [Tue, 18 Feb 2003 00:52:52 +0000 (00:52 +0000)]
Arguable change: grab ghost sparse elements, too.
Previously, sparse elements didn't exist, so there was
no confusion--you didn't get them.  Now that they exist,
the compatability routine FEM_Get_sparse should return them.
You'll have to use FEM_Mesh_get_length(mesh,FEM_SPARSE) to
figure out which ones are real.

18 years agoBug fix: sparse data consisting of isolated nodes does not
Orion Lawlor [Tue, 18 Feb 2003 00:51:00 +0000 (00:51 +0000)]
Bug fix: sparse data consisting of isolated nodes does not
appear as ghosts.  This is because we were ignoring the ghost-ness
of the first node in the list, in a misguided attempt to save cycles.

18 years agocleared code for the reduction handler.
Vikas Mehta [Tue, 18 Feb 2003 00:28:00 +0000 (00:28 +0000)]
cleared code for the reduction handler.

18 years agocorrected code indentation
Vikas Mehta [Mon, 17 Feb 2003 21:28:42 +0000 (21:28 +0000)]
corrected code indentation

18 years agoAdded references to new indexing figures, and rearranged
Orion Lawlor [Mon, 17 Feb 2003 17:31:01 +0000 (17:31 +0000)]
Added references to new indexing figures, and rearranged
and reworked a bit of text.

18 years agoAdded these figures to describe node indexing.
Orion Lawlor [Mon, 17 Feb 2003 17:30:37 +0000 (17:30 +0000)]
Added these figures to describe node indexing.

18 years agoStupid--should never have checked in generated headers.
Orion Lawlor [Mon, 17 Feb 2003 16:58:34 +0000 (16:58 +0000)]
Stupid--should never have checked in generated headers.

18 years agofor sequential load balancing, pack before dumping to disk and unpack after read...
Gengbin Zheng [Mon, 17 Feb 2003 06:27:04 +0000 (06:27 +0000)]
for sequential load balancing, pack before dumping to disk and unpack after read from disk to make sure the correct pointers.
In SimResults.C, min/max/average load are also printed out.

18 years agofixed alignment problem in LBMigrateMsg.
Gengbin Zheng [Sun, 16 Feb 2003 22:36:17 +0000 (22:36 +0000)]
fixed  alignment problem in LBMigrateMsg.

18 years agoupdated for DummyLB and OrbLB.
Gengbin Zheng [Sun, 16 Feb 2003 21:24:41 +0000 (21:24 +0000)]
updated for DummyLB and OrbLB.

18 years agofor DummyLB
Gengbin Zheng [Sun, 16 Feb 2003 18:26:58 +0000 (18:26 +0000)]
for DummyLB

18 years agoadd DummyLB which do all lb process but no strategy.
Gengbin Zheng [Sun, 16 Feb 2003 18:25:59 +0000 (18:25 +0000)]
add DummyLB which do all lb process but no strategy.

18 years agoBug fix.
Jayant DeSouza [Sat, 15 Feb 2003 20:44:08 +0000 (20:44 +0000)]
Bug fix.

18 years agofixed broken gcc on lemieux.
Gengbin Zheng [Sat, 15 Feb 2003 02:30:14 +0000 (02:30 +0000)]
fixed broken gcc on lemieux.

18 years agodefined ++ppn that can use with ++local or without that same as cpus for SMP version.
Gengbin Zheng [Sat, 15 Feb 2003 00:19:10 +0000 (00:19 +0000)]
defined ++ppn that can use with ++local or without that same as cpus for SMP version.

18 years agoFortran implementations of FEM_Mesh_default_read/write.
Orion Lawlor [Fri, 14 Feb 2003 23:24:01 +0000 (23:24 +0000)]
Fortran implementations of FEM_Mesh_default_read/write.

18 years agoAdded declaration for IDXL_Combine's "src" argument.
Orion Lawlor [Fri, 14 Feb 2003 23:03:18 +0000 (23:03 +0000)]
Added declaration for IDXL_Combine's "src" argument.

18 years agomake nodegroup variables including table, lock and numberNodeGroup as Csv. This will...
Gengbin Zheng [Fri, 14 Feb 2003 21:13:19 +0000 (21:13 +0000)]
make nodegroup variables including table, lock and numberNodeGroup as Csv. This will be needed later for Blue Gene nodegroup support.

18 years agoWorkaround for broken Sun CC compiler: make inner class
Orion Lawlor [Fri, 14 Feb 2003 21:07:22 +0000 (21:07 +0000)]
Workaround for broken Sun CC compiler: make inner class
"Partition" public, so that the other inner class "ComputeLoad"
can access it.

18 years agoAdded "caddr_t" cast to mmap call, for Solaris 8.
Orion Lawlor [Fri, 14 Feb 2003 20:53:17 +0000 (20:53 +0000)]
Added "caddr_t" cast to mmap call, for Solaris 8.

18 years agoCmiTryLock is expected to return a value and cannot be empty in non smp version.
Gengbin Zheng [Fri, 14 Feb 2003 06:50:02 +0000 (06:50 +0000)]
CmiTryLock is expected to return a value and cannot be empty in non smp version.

18 years agofixed broken [exclusive] for nodegroup.
Gengbin Zheng [Fri, 14 Feb 2003 04:00:18 +0000 (04:00 +0000)]
fixed broken [exclusive] for nodegroup.

18 years agofixed the bug in ConverseExit() which didnot check a message unsent queue before...
Gengbin Zheng [Thu, 13 Feb 2003 21:09:52 +0000 (21:09 +0000)]
fixed the bug in ConverseExit() which didnot check a message unsent queue before real quit.

18 years agoMade the output shorter.
Jayant DeSouza [Thu, 13 Feb 2003 19:48:05 +0000 (19:48 +0000)]
Made the output shorter.
Used memset to initialize instead of a loop.
Used memset to zero out upper intervals after shrink.

18 years agochanged _groupTable to a pointer to GroupTable. Thus the CoreState now stores the...
Gengbin Zheng [Thu, 13 Feb 2003 08:09:48 +0000 (08:09 +0000)]
changed _groupTable to a pointer to GroupTable. Thus the CoreState now stores the pointer instead of the groupTable itself.

18 years agoRelatively Stable Version
Sameer Kumar [Tue, 11 Feb 2003 23:46:40 +0000 (23:46 +0000)]
Relatively Stable Version

18 years agoPossible bug fixes
Sameer Kumar [Tue, 11 Feb 2003 21:44:19 +0000 (21:44 +0000)]
Possible bug fixes

18 years agoAdding Latest version
Sameer Kumar [Tue, 11 Feb 2003 19:14:52 +0000 (19:14 +0000)]
Adding Latest version

18 years agoadd for OrbLB.
Gengbin Zheng [Tue, 11 Feb 2003 07:04:00 +0000 (07:04 +0000)]
add for OrbLB.

18 years agofixed a bug when I changed sender obj handler to objId and omID, I forgot to update...
Gengbin Zheng [Tue, 11 Feb 2003 07:02:56 +0000 (07:02 +0000)]
fixed a bug when I changed sender obj handler to objId and omID, I forgot to update the copy constructor.

18 years agoLoad balancer that use Orthogonal Recursive Bisection(ORB) to partition objects and...
Gengbin Zheng [Tue, 11 Feb 2003 06:59:51 +0000 (06:59 +0000)]
Load balancer that use Orthogonal Recursive Bisection(ORB) to partition objects and map to processors. In OrbLB, objects are treated to be enclosed by a rectangular box using their LDObjid as coordinates.

18 years agoAdded Absoft 8.0's new location, /opt to library search path.
Orion Lawlor [Sun, 9 Feb 2003 23:12:43 +0000 (23:12 +0000)]
Added Absoft 8.0's new location, /opt to library search path.

18 years agoenable CMK_NODE_QUEUE_AVAILABLE
Gengbin Zheng [Sun, 9 Feb 2003 09:03:30 +0000 (09:03 +0000)]
enable CMK_NODE_QUEUE_AVAILABLE

18 years agomoved code for immediate message to imediate.c (shared with mpi version)
Gengbin Zheng [Sun, 9 Feb 2003 06:39:21 +0000 (06:39 +0000)]
moved code for immediate message to imediate.c (shared with mpi version)

18 years agoapply a lock for immediate msg queue.
Gengbin Zheng [Sun, 9 Feb 2003 06:37:38 +0000 (06:37 +0000)]
apply a lock for immediate msg queue.

18 years agofor SMP version, for recv queue, instead of using CommLock, use a per proc lock....
Gengbin Zheng [Sun, 9 Feb 2003 06:36:26 +0000 (06:36 +0000)]
for SMP version, for recv queue, instead of using CommLock, use a per proc lock. Fixed a bug in immediate message for non-smp version; add NodeRecv lock for node group.

18 years agoMoved CommunicationServerThread inside CMK_SMP,
Orion Lawlor [Sun, 9 Feb 2003 05:07:08 +0000 (05:07 +0000)]
Moved CommunicationServerThread inside CMK_SMP,
since it references CommunicationServer which is
only defined in the SMP version.

18 years ago_TRACE_CREATION_N only takes 2 arguments in the CVS version
Orion Lawlor [Sun, 9 Feb 2003 04:59:24 +0000 (04:59 +0000)]
_TRACE_CREATION_N only takes 2 arguments in the CVS version
of tracing-- why the extra timing argument here?

18 years agoAdded return code to CkOutStream output method.
Orion Lawlor [Sun, 9 Feb 2003 04:27:50 +0000 (04:27 +0000)]
Added return code to CkOutStream output method.
Without this, Sun CC complains.

18 years ago1. fixed a bug in ConverseExit that sometimes the program fails to exit.
Gengbin Zheng [Sat, 8 Feb 2003 08:30:40 +0000 (08:30 +0000)]
1. fixed a bug in ConverseExit that sometimes the program fails to exit.
2. fixed bug in immediate message and rearraged code
3. implemented the node queue for smp version.

18 years agoextract immediate message implementation to a separate file.
Gengbin Zheng [Sat, 8 Feb 2003 08:26:39 +0000 (08:26 +0000)]
extract immediate message  implementation to a separate file.

18 years agoset CMK_NODE_QUEUE_AVAILABLE to 1 for smp.
Gengbin Zheng [Sat, 8 Feb 2003 08:25:27 +0000 (08:25 +0000)]
set CMK_NODE_QUEUE_AVAILABLE to 1 for smp.

18 years agochanged PcQueueEmpty() back to its original, the new one that using the length is...
Gengbin Zheng [Fri, 7 Feb 2003 07:23:12 +0000 (07:23 +0000)]
changed PcQueueEmpty() back to its original, the new one that using the length is not working.

18 years agodefined CommunicationServerThread()
Gengbin Zheng [Fri, 7 Feb 2003 06:19:27 +0000 (06:19 +0000)]
defined CommunicationServerThread()

18 years agocalling CommunicationServerThread in comm. thread.
Gengbin Zheng [Fri, 7 Feb 2003 05:22:11 +0000 (05:22 +0000)]
calling CommunicationServerThread in comm. thread.

18 years agofixed CoreState for Blue Gene Charm - groupTable is ctv which cannot be stored becaus...
Gengbin Zheng [Fri, 7 Feb 2003 04:51:22 +0000 (04:51 +0000)]
fixed CoreState for Blue Gene Charm - groupTable is ctv which cannot be stored because its address keeps changing.

18 years agoadd macro for CkNumberHandlerEx coresponding to CmiNumberHandlerEx.
Gengbin Zheng [Fri, 7 Feb 2003 01:05:50 +0000 (01:05 +0000)]
add macro for CkNumberHandlerEx coresponding to CmiNumberHandlerEx.

18 years agorecent changes in CmiHandlerEx broke Blue Gene Charm++, fixed.
Gengbin Zheng [Fri, 7 Feb 2003 01:04:33 +0000 (01:04 +0000)]
recent changes in CmiHandlerEx broke Blue Gene Charm++, fixed.

18 years agofixed a bug in the pre-sumDetail code.
Jayant DeSouza [Fri, 7 Feb 2003 00:51:27 +0000 (00:51 +0000)]
fixed a bug in the pre-sumDetail code.

18 years agoAdded +sumDetail option to -tracemode summary. When enabled, sumDetail
Jayant DeSouza [Fri, 7 Feb 2003 00:35:18 +0000 (00:35 +0000)]
Added +sumDetail option to -tracemode summary.  When enabled, sumDetail
maintains the processor utilization for every EP in every interval for every
processor.  Output is stored in <program-name>.<processor>.sumd file,
i.e. one output file per processor.  Output is run-length encoded.

18 years agoHopefully this should work fro sure!
Sameer Kumar [Thu, 6 Feb 2003 21:39:12 +0000 (21:39 +0000)]
Hopefully this should work fro sure!

18 years agomore fixes, oh dear!
Sameer Kumar [Thu, 6 Feb 2003 20:40:35 +0000 (20:40 +0000)]
more fixes, oh dear!

18 years agoremoving comm_debugD
Sameer Kumar [Thu, 6 Feb 2003 19:19:23 +0000 (19:19 +0000)]
removing comm_debugD

18 years agomore bug fixes
Sameer Kumar [Thu, 6 Feb 2003 19:18:38 +0000 (19:18 +0000)]
more bug fixes

18 years agoLatest version hopefully fixes the EachToManyStrategy!
Sameer Kumar [Thu, 6 Feb 2003 18:08:42 +0000 (18:08 +0000)]
Latest version hopefully fixes the EachToManyStrategy!

18 years agofixed compiler errors.
Gengbin Zheng [Thu, 6 Feb 2003 07:38:09 +0000 (07:38 +0000)]
fixed compiler errors.

18 years agofix some warning.
Gengbin Zheng [Thu, 6 Feb 2003 06:25:37 +0000 (06:25 +0000)]
fix some warning.

18 years agofixed a performance bug - CommunicationServer was removed from CmiGeneralSend and...
Gengbin Zheng [Thu, 6 Feb 2003 05:34:28 +0000 (05:34 +0000)]
fixed a performance bug - CommunicationServer was removed from CmiGeneralSend and NodeSend which caused pingpong time RTT increased by 100 times. Writing another version of CommunicationServer - CommunicationServerThread which is meant for communication thread or interrupt handler.

18 years agouse creationDone() to store the send message time.
Gengbin Zheng [Thu, 6 Feb 2003 00:45:57 +0000 (00:45 +0000)]
use creationDone() to store the send message time.

18 years agofix a bug in trace projection creation, use new macro for TRACE_CREATION_DONE.
Gengbin Zheng [Thu, 6 Feb 2003 00:41:19 +0000 (00:41 +0000)]
fix a bug in trace projection creation, use new macro for TRACE_CREATION_DONE.

18 years agouse CkSendMsgArrayInline instead of ckSend.
Gengbin Zheng [Mon, 3 Feb 2003 22:09:24 +0000 (22:09 +0000)]
use CkSendMsgArrayInline instead of ckSend.

18 years agoMajor reorganization for new FEM framework.
Orion Lawlor [Mon, 3 Feb 2003 19:46:17 +0000 (19:46 +0000)]
Major reorganization for new FEM framework.
Still need several figures for the new version.

18 years agoAdded \term, for use in definitions. It just boldfaces
Orion Lawlor [Mon, 3 Feb 2003 19:45:49 +0000 (19:45 +0000)]
Added \term, for use in definitions.  It just boldfaces
the definition, and adds it to the index.

18 years agouse #ifdef CONVERSE_VERSION_ELAN to guard elan specific code.
Gengbin Zheng [Mon, 3 Feb 2003 07:11:32 +0000 (07:11 +0000)]
use #ifdef CONVERSE_VERSION_ELAN to guard elan specific code.

18 years agochanged the interface of contribute so that user need not specify the reducer type...
Vikas Mehta [Mon, 3 Feb 2003 07:02:37 +0000 (07:02 +0000)]
changed the interface of contribute so that user need not specify the reducer type while contributing

18 years agoadded code to check and sort the data input to CkSparseReducer1D (on the index field)
Vikas Mehta [Mon, 3 Feb 2003 06:26:41 +0000 (06:26 +0000)]
added code to check and sort the data input to CkSparseReducer1D (on the index field)

18 years agoallow user to tell immediate message handler that one immediate message can be delaye...
Gengbin Zheng [Mon, 3 Feb 2003 05:13:54 +0000 (05:13 +0000)]
allow user to tell immediate message handler that one immediate message can be delayed and put back into the immediate message queue.

18 years agoadd PCQueueLength to get length of pcqueue.
Gengbin Zheng [Sun, 2 Feb 2003 06:39:32 +0000 (06:39 +0000)]
add PCQueueLength to get length of pcqueue.

18 years agoChanged unportable "bzero" to portable "memset".
Orion Lawlor [Fri, 31 Jan 2003 19:47:37 +0000 (19:47 +0000)]
Changed unportable "bzero" to portable "memset".

18 years ago*** empty log message ***
Mani Srinivas Potnuru [Fri, 31 Jan 2003 19:42:30 +0000 (19:42 +0000)]
*** empty log message ***

18 years agoInitial step of merging OOC
Mani Srinivas Potnuru [Fri, 31 Jan 2003 19:40:16 +0000 (19:40 +0000)]
Initial step of merging OOC

18 years agoBuild Script options for Charm++ compilation with Out Of Core support.
Mani Srinivas Potnuru [Fri, 31 Jan 2003 18:42:28 +0000 (18:42 +0000)]
Build Script options for Charm++ compilation with Out Of Core support.

18 years agoAdded extensive out-of-core support.
Orion Lawlor [Fri, 31 Jan 2003 18:34:56 +0000 (18:34 +0000)]
Added extensive out-of-core support.
This is all #ifdef'd on CMK_OUT_OF_CORE, and
requires Mani's out-of-core runtime.

Expected to work properly:
  - Regular creations, messages, migrations,
and deletions.
  - Load balancing.

Expected not to work:
  - Broadcasts to out-of-core elements.

I could also probably stand to add a good deal of error
checking.

18 years agoDon't do anything in the system constructors and destructors
Orion Lawlor [Fri, 31 Jan 2003 18:32:27 +0000 (18:32 +0000)]
Don't do anything in the system constructors and destructors
if we're in the middle of saving/restoring for out-of-core.