charm.git
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.

17 years agoAdded anti-methods.
Terry L. Wilmarth [Fri, 18 Jun 2004 23:20:00 +0000 (23:20 +0000)]
Added anti-methods.

17 years agoFixed incorrect handling of number of PAPI counts in projections *without*
Chee Wai Lee [Fri, 18 Jun 2004 20:14:52 +0000 (20:14 +0000)]
Fixed incorrect handling of number of PAPI counts in projections *without*
PAPI actually installed.

17 years agoimplemented the missing CldEnqueueMulti().
Gengbin Zheng [Thu, 17 Jun 2004 19:52:39 +0000 (19:52 +0000)]
implemented the missing CldEnqueueMulti().

17 years agoAnother // comment changed to /* */
Chao Huang [Wed, 16 Jun 2004 06:04:08 +0000 (06:04 +0000)]
Another // comment changed to /* */

17 years agoanother // comment changed to /* */
Chao Huang [Wed, 16 Jun 2004 05:53:45 +0000 (05:53 +0000)]
another // comment changed to /* */

17 years agoFixed ROMIO make dependency.
Chao Huang [Wed, 16 Jun 2004 04:36:55 +0000 (04:36 +0000)]
Fixed ROMIO make dependency.

17 years agoupdated for new file conv-counter.c
Gengbin Zheng [Tue, 15 Jun 2004 21:40:30 +0000 (21:40 +0000)]
updated for new file conv-counter.c

17 years agoCmi function declarations for performance counters.
Gengbin Zheng [Tue, 15 Jun 2004 21:30:59 +0000 (21:30 +0000)]
Cmi function declarations for performance counters.

17 years agoa general "high level" (so far) interface for performance counters.
Gengbin Zheng [Tue, 15 Jun 2004 21:29:20 +0000 (21:29 +0000)]
a general "high level" (so far) interface for performance counters.

17 years agoFixed problem in multiple completion of non-blocking communication requests.
Chao Huang [Tue, 15 Jun 2004 20:39:41 +0000 (20:39 +0000)]
Fixed problem in multiple completion of non-blocking communication requests.
The request should be tested/completed in the order they are posted, not the
order they are indexed in the array.
Another bug fix is MPI_REQUEST_NULL in test/wait is identified by setting
status to empty. in testany/waitany it is ignored and in testsome/waitsome
it is counted with empty status.

17 years agoAdded PRIO_MSGS and terminus method.
Terry L. Wilmarth [Tue, 15 Jun 2004 20:10:17 +0000 (20:10 +0000)]
Added PRIO_MSGS and terminus method.

17 years agoWorking version (with BigNetSim) was event queuing optimization removed. WIth PRIO_MS...
Terry L. Wilmarth [Tue, 15 Jun 2004 19:59:44 +0000 (19:59 +0000)]
Working version (with BigNetSim) was event queuing optimization removed. WIth PRIO_MSGS off, this will be a bit slower, but PRIO_MSGS off is necessary to implement big timestamps.

17 years agoMade default not PUP_EVERY_ELEMENT.
Jayant DeSouza [Tue, 15 Jun 2004 18:32:07 +0000 (18:32 +0000)]
Made default not PUP_EVERY_ELEMENT.

17 years agoRemoved need for ostream operators.
Jayant DeSouza [Tue, 15 Jun 2004 18:28:55 +0000 (18:28 +0000)]
Removed need for ostream operators.

17 years agoa minor fix for print.
Gengbin Zheng [Tue, 15 Jun 2004 16:47:01 +0000 (16:47 +0000)]
a minor fix for print.

17 years agoSeems to work... but -netsim is SLOWER than netsim!
Terry L. Wilmarth [Mon, 14 Jun 2004 23:53:53 +0000 (23:53 +0000)]
Seems to work... but -netsim is SLOWER than netsim!

17 years agoSet default configuration similar to 6/8. Seems to be working...
Terry L. Wilmarth [Mon, 14 Jun 2004 22:35:57 +0000 (22:35 +0000)]
Set default configuration similar to 6/8.  Seems to be working...

17 years agoFixed dangling if.
Jayant DeSouza [Mon, 14 Jun 2004 22:05:43 +0000 (22:05 +0000)]
Fixed dangling if.

17 years agoa few minor changes:
Gengbin Zheng [Mon, 14 Jun 2004 21:09:55 +0000 (21:09 +0000)]
a few minor changes:
1. added "bgelapse" in config file parser
2. reduced bgLog, removing unused threadNum and index.

17 years agoFixed a problem with commits happening before rollbacks were handled.
Terry L. Wilmarth [Mon, 14 Jun 2004 21:03:45 +0000 (21:03 +0000)]
Fixed a problem with commits happening before rollbacks were handled.

17 years agotest
cvs [Mon, 14 Jun 2004 20:45:55 +0000 (20:45 +0000)]
test

17 years agotest
cvs [Mon, 14 Jun 2004 20:45:00 +0000 (20:45 +0000)]
test

17 years agotest
cvs [Mon, 14 Jun 2004 20:44:42 +0000 (20:44 +0000)]
test

17 years agoold
cvs [Mon, 14 Jun 2004 20:44:21 +0000 (20:44 +0000)]
old

17 years agotest
cvs [Mon, 14 Jun 2004 20:41:32 +0000 (20:41 +0000)]
test

17 years agotest
cvs [Mon, 14 Jun 2004 20:35:26 +0000 (20:35 +0000)]
test

17 years agotest
cvs [Mon, 14 Jun 2004 20:32:42 +0000 (20:32 +0000)]
test

17 years agotest
cvs [Mon, 14 Jun 2004 20:29:54 +0000 (20:29 +0000)]
test

17 years agotest
cvs [Mon, 14 Jun 2004 20:28:43 +0000 (20:28 +0000)]
test