charm.git
17 years agoupdated for new deliver() additional parameter - instead of a doFree, it is replaced...
Gengbin Zheng [Thu, 15 Jul 2004 21:47:00 +0000 (21:47 +0000)]
updated for new deliver() additional parameter - instead of a doFree, it is replaced with a more general "option" paramter.

17 years agoupdated for the new parameter of CkSendMsgArrayInline()
Gengbin Zheng [Thu, 15 Jul 2004 21:40:39 +0000 (21:40 +0000)]
updated for the new parameter of CkSendMsgArrayInline()

17 years agoimplemented [skipscheduler] for all chares, group, nodegroup and array. As side effec...
Gengbin Zheng [Thu, 15 Jul 2004 21:39:49 +0000 (21:39 +0000)]
implemented [skipscheduler] for all chares, group, nodegroup and array. As side effect, adding an optional "OPTION" paramter to each version of send to carry attributes for the message sending. The code may be a little messy, but hopefully still readable.

17 years agoimplemented [skipscheduler] entry attribute.
Gengbin Zheng [Thu, 15 Jul 2004 21:27:12 +0000 (21:27 +0000)]
implemented [skipscheduler] entry attribute.

17 years agofixed some stuff
Sayantan Chakravorty [Thu, 15 Jul 2004 19:32:12 +0000 (19:32 +0000)]
fixed some stuff

17 years agoa quick simple fix so that "const" does not have to be put as the first keyword.
Gengbin Zheng [Wed, 14 Jul 2004 23:38:06 +0000 (23:38 +0000)]
a quick simple fix so that "const" does not have to be put as the first keyword.

17 years agoa small fix so that make -f xi.makefile modify files in symbolic link too.
Gengbin Zheng [Wed, 14 Jul 2004 23:36:46 +0000 (23:36 +0000)]
a small fix so that make -f xi.makefile modify files in symbolic link too.

17 years agoFixes to opnode locking.
Terry L. Wilmarth [Wed, 14 Jul 2004 22:32:48 +0000 (22:32 +0000)]
Fixes to opnode locking.

17 years agoMinor mods to get NetFEM data out before we start to coarsen.
Terry L. Wilmarth [Wed, 14 Jul 2004 20:35:10 +0000 (20:35 +0000)]
Minor mods to get NetFEM data out before we start to coarsen.

17 years agoskip coarsening in first step
Sayantan Chakravorty [Wed, 14 Jul 2004 19:18:37 +0000 (19:18 +0000)]
skip coarsening in first step

17 years agoAdd simplest possible support for FEM_COORD.
Orion Lawlor [Mon, 12 Jul 2004 21:22:50 +0000 (21:22 +0000)]
Add simplest possible support for FEM_COORD.
An attribute of type FEM_COORD can now be registered
with any entity.  FEM_COORD will eventually be used
for all sorts of stuff, but for now it's just another
attribute nobody ever uses.

17 years agofixed native compilers.
Gengbin Zheng [Mon, 12 Jul 2004 19:42:25 +0000 (19:42 +0000)]
fixed native compilers.

17 years agoThese modifications were necessary to fix a bug with spanning tree
Greg Koenig [Mon, 12 Jul 2004 06:41:46 +0000 (06:41 +0000)]
These modifications were necessary to fix a bug with spanning tree
broadcasts when using mixed networks with Myrinet and TCP/IP.  The RDMA
publish callback message gets dropped over Myrinet and never delivered
to the application for RDMA sends that happen from within an RDMA
notification handler.  Doing this is necessary to send an incoming RDMA
message to spanning children while in the RDMA notification handler.

The work-around is to move the sending to spanning children into
CmiGetNonLocal() which is not the optimal place for it but is probably
the only feasible way of fixing the problem without redesigning the entire
machine.c structure.

17 years agodefine missing macros when CMK_OPTIMIZE is one.
Gengbin Zheng [Sun, 11 Jul 2004 23:36:59 +0000 (23:36 +0000)]
define missing macros when CMK_OPTIMIZE is one.

17 years agominor change to BgPrintf(): print to stdout as well as record print string as an...
Gengbin Zheng [Sun, 11 Jul 2004 23:36:01 +0000 (23:36 +0000)]
minor change to BgPrintf(): print to stdout as well as record print string as an event.

17 years agoskip ASSERT when CMK_OPTIMIZE is defined.
Gengbin Zheng [Sun, 11 Jul 2004 23:12:38 +0000 (23:12 +0000)]
skip ASSERT when CMK_OPTIMIZE is defined.

17 years agoi think the visualization for netfem shud work
Sayantan Chakravorty [Sat, 10 Jul 2004 03:55:17 +0000 (03:55 +0000)]
i think the visualization for netfem shud work

17 years agosome changes
Sayantan Chakravorty [Fri, 9 Jul 2004 23:06:40 +0000 (23:06 +0000)]
some changes

17 years agoAdding opnode lock to prevent coarsening overlap... not quite working yet on the...
Terry L. Wilmarth [Fri, 9 Jul 2004 22:29:50 +0000 (22:29 +0000)]
Adding opnode lock to prevent coarsening overlap... not quite working yet on the big mesh.

17 years agoAdded comments and a README.
Orion Lawlor [Fri, 9 Jul 2004 18:34:18 +0000 (18:34 +0000)]
Added comments and a README.

17 years agoAdded a fix to edge.C -- there was a missing null neighbor check. Made pgm-coarsen...
Terry L. Wilmarth [Fri, 9 Jul 2004 16:36:23 +0000 (16:36 +0000)]
Added a fix to edge.C -- there was a missing null neighbor check.  Made pgm-coarsen remove 4 of the 6 nodes... works sweet!

17 years agoCoarsening working for a couple very simple cases. Added calls to the refineClient...
Terry L. Wilmarth [Thu, 8 Jul 2004 23:18:37 +0000 (23:18 +0000)]
Coarsening working for a couple very simple cases.  Added calls to the refineClient whenever I collapse an element.

17 years agoadded trace projections calls in CthResumeSchedulingThread() when CthSuspend happens...
Gengbin Zheng [Thu, 8 Jul 2004 19:40:05 +0000 (19:40 +0000)]
added trace projections calls in CthResumeSchedulingThread() when CthSuspend happens to main thread. (hopefully this suspend always happen in the middle of user entry functions)

17 years agocomment out in CthInit of QuickThread that set main thread nonsuspendable.
Gengbin Zheng [Thu, 8 Jul 2004 18:53:26 +0000 (18:53 +0000)]
comment out in CthInit of QuickThread that set main thread nonsuspendable.

17 years agocomment out the line setting main thread non-suspendable.
Gengbin Zheng [Thu, 8 Jul 2004 18:52:39 +0000 (18:52 +0000)]
comment out the line setting main thread non-suspendable.

17 years agoFixed an annoyingly elusive bug in PVT code.
Terry L. Wilmarth [Thu, 8 Jul 2004 03:16:35 +0000 (03:16 +0000)]
Fixed an annoyingly elusive bug in PVT code.

17 years agoSome fixes. Coarsens okay on border. pgm-coarsen now coarsens an internal triangle...
Terry L. Wilmarth [Wed, 7 Jul 2004 15:28:33 +0000 (15:28 +0000)]
Some fixes.  Coarsens okay on border.  pgm-coarsen now coarsens an internal triangle.  Still debugging this case.

17 years agopossible fix of a bug...
Filippo Gioachin [Wed, 7 Jul 2004 10:02:48 +0000 (10:02 +0000)]
possible fix of a bug...

17 years agolittle change to the interface
Filippo Gioachin [Wed, 7 Jul 2004 03:49:47 +0000 (03:49 +0000)]
little change to the interface

17 years agofixing log problem, and little modification to the interface to allow
Filippo Gioachin [Wed, 7 Jul 2004 03:48:36 +0000 (03:48 +0000)]
fixing log problem, and little modification to the interface to allow
converse to register a destination for the messages

17 years agoadded explaination for LBTurnInstrumentOn.
Gengbin Zheng [Tue, 6 Jul 2004 21:28:49 +0000 (21:28 +0000)]
added explaination for LBTurnInstrumentOn.

17 years agoa typo CmiImmediateHandler
Gengbin Zheng [Tue, 6 Jul 2004 21:04:07 +0000 (21:04 +0000)]
a typo CmiImmediateHandler

17 years agoa typo in CmiImemdiateHandler
Gengbin Zheng [Tue, 6 Jul 2004 21:00:53 +0000 (21:00 +0000)]
a typo in CmiImemdiateHandler

17 years agofixed
Sayantan Chakravorty [Tue, 6 Jul 2004 20:10:53 +0000 (20:10 +0000)]
fixed

17 years agoMore fun with coarsening.
Terry L. Wilmarth [Tue, 6 Jul 2004 19:51:24 +0000 (19:51 +0000)]
More fun with coarsening.

17 years agonew coarsen example
Sayantan Chakravorty [Tue, 6 Jul 2004 19:47:33 +0000 (19:47 +0000)]
new coarsen example

17 years agoAdd "#include <math.h>", to avoid a compile error ("missing prototype
Orion Lawlor [Tue, 6 Jul 2004 17:11:12 +0000 (17:11 +0000)]
Add "#include <math.h>", to avoid a compile error ("missing prototype
for 'log'") under uth-linux.  <math.h> is only present normally because
the load balancer headers (dangerously) include it, so it's missing
under uth-linux where the load balancer is disabled.

Using the floating-point "log" here is very dangerous anyway,
as "log" is not exact even for integer inputs.

17 years agoPermanant fix for "too many messages" IDXL bug identified
Orion Lawlor [Sat, 3 Jul 2004 05:00:16 +0000 (05:00 +0000)]
Permanant fix for "too many messages" IDXL bug identified
by Gengbin for Andreas: outgoing messages are now stored in
an expandable CkVec instead of a fixed-size array.

To avoid expensive dynamic allocation during each communication
operation, the CkVec's capacities are unchanged, and the message
buffers are preserved during each message exchange.

This should result in zero dynamic allocations for repeated
communications, and even for repeated communications of different
sizes.  The only downside is that IDXL will permanently keep
enough memory to handle the largest previous communication request.
Since most iterative programs issue the same communication requests
each timestep, this shouldn't be much wasted memory.

17 years agoPerformance fix: don't reallocate buffer if it's already
Orion Lawlor [Sat, 3 Jul 2004 04:55:07 +0000 (04:55 +0000)]
Performance fix: don't reallocate buffer if it's already
exactly the right size.

Without this fix, calling
v.resize(v.size());
actually resulted in a malloc, copy, and free!

17 years agoFixed jadeall.
Jayant DeSouza [Fri, 2 Jul 2004 22:53:07 +0000 (22:53 +0000)]
Fixed jadeall.

17 years agoleft out one function the last time
Sayantan Chakravorty [Fri, 2 Jul 2004 18:20:52 +0000 (18:20 +0000)]
left out one function the last time

17 years agoAdded the rest of the coarsen api
Sayantan Chakravorty [Fri, 2 Jul 2004 18:20:11 +0000 (18:20 +0000)]
Added the rest of the coarsen api

17 years agoquick fix for rocflu - increased the fixed sized array for sto and msg and added...
Gengbin Zheng [Fri, 2 Jul 2004 17:24:39 +0000 (17:24 +0000)]
quick fix for rocflu - increased the fixed sized array for sto and msg and added boundry overflow check. It should ideally be reimplemented as resizeable array.

17 years agoAdded jade, msa targets to comments.
Jayant DeSouza [Fri, 2 Jul 2004 15:25:46 +0000 (15:25 +0000)]
Added jade, msa targets to comments.

17 years agoAdded operator [] for MSA1D, does get.
Jayant DeSouza [Fri, 2 Jul 2004 15:15:07 +0000 (15:15 +0000)]
Added operator [] for MSA1D, does get.

17 years agoAdded bitvector for LVA guarded pup.
Jayant DeSouza [Fri, 2 Jul 2004 15:14:17 +0000 (15:14 +0000)]
Added bitvector for LVA guarded pup.

17 years agoSome fixes, but coarsening is still far from working.
Terry L. Wilmarth [Fri, 2 Jul 2004 14:45:57 +0000 (14:45 +0000)]
Some fixes, but coarsening is still far from working.

17 years agorename converse pipelined broadcast files
Filippo Gioachin [Fri, 2 Jul 2004 03:52:19 +0000 (03:52 +0000)]
rename converse pipelined broadcast files

17 years agorename converse pipelined broadcast files
Filippo Gioachin [Fri, 2 Jul 2004 02:31:25 +0000 (02:31 +0000)]
rename converse pipelined broadcast files

17 years agoIncremental addition to the coarseningclient
Sayantan Chakravorty [Fri, 2 Jul 2004 01:54:17 +0000 (01:54 +0000)]
Incremental addition to the coarseningclient

17 years agodata files for 1024 elements
Sayantan Chakravorty [Fri, 2 Jul 2004 01:22:36 +0000 (01:22 +0000)]
data files for 1024 elements

17 years agoCoarsens Reads 1024 elements at the beginning now and calls coarsen
Sayantan Chakravorty [Fri, 2 Jul 2004 01:21:51 +0000 (01:21 +0000)]
Coarsens Reads 1024 elements at the beginning now and calls coarsen

17 years agoadded coarsening
Sayantan Chakravorty [Fri, 2 Jul 2004 00:26:31 +0000 (00:26 +0000)]
added coarsening

17 years agoupdated.
Gengbin Zheng [Thu, 1 Jul 2004 23:21:11 +0000 (23:21 +0000)]
updated.

17 years agocode clean up to use C interface to log generation.
Gengbin Zheng [Thu, 1 Jul 2004 23:18:30 +0000 (23:18 +0000)]
code clean up to use C interface to log generation.

17 years agoclean up code for making a standalone log generation module which can be used in...
Gengbin Zheng [Thu, 1 Jul 2004 23:17:46 +0000 (23:17 +0000)]
clean up code for making a standalone log generation module which can be used in a non-charm application for creating logs.

17 years agoAll coarsening code is added. Program still compiles.
Terry L. Wilmarth [Thu, 1 Jul 2004 22:38:53 +0000 (22:38 +0000)]
All coarsening code is added.  Program still compiles.

17 years agocalling CthSetSuspendable(0) in ConverseCommonInit.
Gengbin Zheng [Thu, 1 Jul 2004 22:36:42 +0000 (22:36 +0000)]
calling CthSetSuspendable(0) in ConverseCommonInit.

17 years agoa slight twist to allow calling CkLocalNodeBranch() in a nodegroup's constructor.
Gengbin Zheng [Thu, 1 Jul 2004 22:35:17 +0000 (22:35 +0000)]
a slight twist to allow calling CkLocalNodeBranch() in a nodegroup's constructor.
Also, move the setsuspendable(0) for main thread to converse because otherwise BigSim thread calling initCharm becomes non-suspendable.

17 years agoAdded sleep in driver
Sayantan Chakravorty [Thu, 1 Jul 2004 22:23:10 +0000 (22:23 +0000)]
Added sleep in driver

17 years agoAdded collapse to refineClient in a comment.
Terry L. Wilmarth [Thu, 1 Jul 2004 20:45:33 +0000 (20:45 +0000)]
Added collapse to refineClient in a comment.

17 years agoMore code, still compiling! WOW!
Terry L. Wilmarth [Thu, 1 Jul 2004 20:41:10 +0000 (20:41 +0000)]
More code, still compiling! WOW!

17 years agoA couple of printfs and fixed the threaded bug
Sayantan Chakravorty [Thu, 1 Jul 2004 20:22:52 +0000 (20:22 +0000)]
A couple of printfs and fixed the threaded bug

17 years agoFixed the mesh update and locking mechanism, and finished the "hole tolerant" mesh...
Terry L. Wilmarth [Thu, 1 Jul 2004 19:48:49 +0000 (19:48 +0000)]
Fixed the mesh update and locking mechanism, and finished the "hole tolerant" mesh chunk code.

17 years agoadding the two files for pipelined broadcast in converse... forget to add to
Filippo Gioachin [Thu, 1 Jul 2004 15:28:19 +0000 (15:28 +0000)]
adding the two files for pipelined broadcast in converse... forget to add to
cvs in the first checkin

17 years agoupdate PipeBroadcastStrategy for the new comlib interface
Filippo Gioachin [Wed, 30 Jun 2004 23:51:54 +0000 (23:51 +0000)]
update PipeBroadcastStrategy for the new comlib interface

17 years agoadded a few methods to the interface
Filippo Gioachin [Wed, 30 Jun 2004 23:48:57 +0000 (23:48 +0000)]
added a few methods to the interface

17 years agoadded a variable higherLevel and a method deliverer to be used to uniform the
Filippo Gioachin [Wed, 30 Jun 2004 23:47:36 +0000 (23:47 +0000)]
added a variable higherLevel and a method deliverer to be used to uniform the
usage of charm and convers layers

17 years agoadding pipebroadcaststrategy to the makefile
Filippo Gioachin [Wed, 30 Jun 2004 23:41:37 +0000 (23:41 +0000)]
adding pipebroadcaststrategy to the makefile

17 years agoModified pgm.C so that it calls refine 10 times consecutively without
Sayantan Chakravorty [Wed, 30 Jun 2004 22:35:06 +0000 (22:35 +0000)]
Modified pgm.C so that it calls refine 10 times consecutively without
any intervening calcualtions. This is to test stuff.

17 years agocheck suspendable falg in CthSuspend.
Gengbin Zheng [Wed, 30 Jun 2004 21:14:25 +0000 (21:14 +0000)]
check suspendable falg in CthSuspend.

17 years agoWhoops. This version has builds.
Terry L. Wilmarth [Wed, 30 Jun 2004 18:06:28 +0000 (18:06 +0000)]
Whoops.  This version has builds.

17 years agoSome pre-coarsening cleanup.
Terry L. Wilmarth [Wed, 30 Jun 2004 17:02:45 +0000 (17:02 +0000)]
Some pre-coarsening cleanup.

17 years agoNew GVT send/recv table data structure is speedy in most cases.
Terry L. Wilmarth [Wed, 30 Jun 2004 00:19:05 +0000 (00:19 +0000)]
New GVT send/recv table data structure is speedy in most cases.

17 years agoPropagated the firstItem which marks whether it is 1 or 0 for the FEM_Register call.
Sayantan Chakravorty [Tue, 29 Jun 2004 23:14:33 +0000 (23:14 +0000)]
Propagated the firstItem which marks whether it is 1 or 0 for the FEM_Register call.
It was missing

17 years agoAdded MPI_Request check...
Chao Huang [Tue, 29 Jun 2004 20:33:00 +0000 (20:33 +0000)]
Added MPI_Request check...

17 years agoredefine CkWallTimer and CkCpuTimer to BlueGene virtual timer.
Gengbin Zheng [Tue, 29 Jun 2004 20:26:39 +0000 (20:26 +0000)]
redefine CkWallTimer and CkCpuTimer to BlueGene virtual timer.

17 years agomacro defined CkCpuTimer
Gengbin Zheng [Tue, 29 Jun 2004 20:24:46 +0000 (20:24 +0000)]
macro defined CkCpuTimer

17 years agochanged header to charm++.h.
Gengbin Zheng [Tue, 29 Jun 2004 20:24:14 +0000 (20:24 +0000)]
changed header to charm++.h.

17 years agoignore idle timers for BigSim, changed CmiWallTimer to CkWallTimer() to better handle...
Gengbin Zheng [Tue, 29 Jun 2004 19:27:46 +0000 (19:27 +0000)]
ignore idle timers for BigSim, changed CmiWallTimer to CkWallTimer() to better handle the BigSim.

17 years agoFixed the treatment of all null request array in MPI_[Wait/Test][any/some]
Chao Huang [Fri, 25 Jun 2004 16:56:48 +0000 (16:56 +0000)]
Fixed the treatment of all null request array in MPI_[Wait/Test][any/some]
calls according to the Standard. They should return something to indicate
this situation.

17 years agoadded FEM_INDEX_1 and 0 to femf.h. necessary due to the register interface
Sayantan Chakravorty [Thu, 24 Jun 2004 23:10:37 +0000 (23:10 +0000)]
added FEM_INDEX_1 and 0 to femf.h. necessary due to the register interface

17 years agoswitch to context thread per csar request.
Gengbin Zheng [Thu, 24 Jun 2004 22:38:38 +0000 (22:38 +0000)]
switch to context thread per csar request.

17 years agoadded function decalration of CksdScheduler, CksdExitScheduler and CkDeliverMsgs...
Gengbin Zheng [Thu, 24 Jun 2004 21:32:59 +0000 (21:32 +0000)]
added function decalration of CksdScheduler, CksdExitScheduler and CkDeliverMsgs for BigSim.

17 years agoimplemented BgSetStartEvent() to mark an event in the middle of run as the beginning...
Gengbin Zheng [Thu, 24 Jun 2004 21:31:14 +0000 (21:31 +0000)]
implemented BgSetStartEvent() to mark an event in the middle of run as the beginning of simulation.

17 years agoimplemented functions similar to CsdScheduler and CmiDeliverMsg to re-enter the virtu...
Gengbin Zheng [Thu, 24 Jun 2004 21:23:33 +0000 (21:23 +0000)]
implemented functions similar to CsdScheduler and CmiDeliverMsg to re-enter the virtual processor scheduler queue.
added error checkings for integer overflow of integer priority bits.

17 years agostart implementing a C API for outside users to use the library in standalone fashion...
Gengbin Zheng [Thu, 24 Jun 2004 21:15:12 +0000 (21:15 +0000)]
start implementing a C API for outside users to use the library in standalone fashion to geenrate bglogs.

17 years agoput debug print into bgverbose mode.
Gengbin Zheng [Thu, 24 Jun 2004 20:59:48 +0000 (20:59 +0000)]
put debug print into bgverbose mode.

17 years agoadded more assertion check.
Gengbin Zheng [Thu, 24 Jun 2004 20:58:26 +0000 (20:58 +0000)]
added more assertion check.
added +bgverbose for printing more debug info

17 years agoadded a MACHSTATE debug print.
Gengbin Zheng [Thu, 24 Jun 2004 20:24:34 +0000 (20:24 +0000)]
added a MACHSTATE debug print.

17 years agoBug: if multiple completion passes in 0 as count, should immediately
Chao Huang [Thu, 24 Jun 2004 15:53:17 +0000 (15:53 +0000)]
Bug: if multiple completion passes in 0 as count, should immediately
return success and do nothing else.

17 years agoOrganize multiple completion of nonblocking requests into vectors, such
Chao Huang [Thu, 24 Jun 2004 02:17:59 +0000 (02:17 +0000)]
Organize multiple completion of nonblocking requests into vectors, such
that requests posted later in time won't overtake same match(msg envelope)
posted earlier. Calls affected are MPI_[Test/Wait][all/any/some].

17 years agoSafetime fix.
Terry L. Wilmarth [Tue, 22 Jun 2004 21:35:52 +0000 (21:35 +0000)]
Safetime fix.

17 years agoRemoved commit error messages...
Terry L. Wilmarth [Mon, 21 Jun 2004 20:45:15 +0000 (20:45 +0000)]
Removed commit error messages...

17 years agoRemoved ROMIO from automatic build target. Now we need to add build
Chao Huang [Mon, 21 Jun 2004 20:00:05 +0000 (20:00 +0000)]
Removed ROMIO from automatic build target. Now we need to add build
option "--with-romio" to build ROMIO with AMPI.

17 years agoOptimized [].
Jayant DeSouza [Mon, 21 Jun 2004 06:41:02 +0000 (06:41 +0000)]
Optimized [].

17 years agoOptimized []
Jayant DeSouza [Mon, 21 Jun 2004 04:02:53 +0000 (04:02 +0000)]
Optimized []

17 years agofixed python include library path
Filippo Gioachin [Sun, 20 Jun 2004 23:09:28 +0000 (23:09 +0000)]
fixed python include library path

17 years agoadded inheritance of CkIndex_* classes
Filippo Gioachin [Sun, 20 Jun 2004 23:01:36 +0000 (23:01 +0000)]
added inheritance of CkIndex_* classes

17 years agochanged processArgs $@ to "$@" to prevent quotes ("") in the parameter to be interpreted.
Gengbin Zheng [Fri, 18 Jun 2004 23:28:17 +0000 (23:28 +0000)]
changed processArgs $@ to "$@" to prevent quotes ("") in the parameter to be interpreted.