charm.git
16 years agoChanging a delete to delete[] which makes it correct.
Sameer Kumar [Sun, 27 Mar 2005 05:54:14 +0000 (05:54 +0000)]
Changing a delete to delete[] which makes it correct.

16 years agomore accurate timing for load balancing process.
Gengbin Zheng [Sun, 27 Mar 2005 05:04:15 +0000 (05:04 +0000)]
more accurate timing for load balancing process.

16 years agochange to report more accurate the time spent in load balancing process.
Gengbin Zheng [Sun, 27 Mar 2005 04:54:07 +0000 (04:54 +0000)]
change to report more accurate the time spent in load balancing process.

16 years agofixed a bug which can cause a double deletion of myStat data pointers.
Gengbin Zheng [Sun, 27 Mar 2005 03:58:01 +0000 (03:58 +0000)]
fixed a bug which can cause a double deletion of myStat data pointers.

16 years agofixed a compiler warning.
Gengbin Zheng [Sun, 27 Mar 2005 03:56:33 +0000 (03:56 +0000)]
fixed a compiler warning.

16 years agofixing memory bug
Sameer Kumar [Sun, 27 Mar 2005 01:50:30 +0000 (01:50 +0000)]
fixing memory bug

16 years agoconverted #ifndef LBOBJ_H to #ifndef LBOBJ1_H
Nilesh Choudhury [Sun, 27 Mar 2005 00:03:32 +0000 (00:03 +0000)]
converted #ifndef LBOBJ_H to #ifndef LBOBJ1_H

16 years agoget rid of a wrong assertion.
Gengbin Zheng [Sat, 26 Mar 2005 23:39:47 +0000 (23:39 +0000)]
get rid of a wrong assertion.

16 years agoupdated for new HybridBaseLB.
Gengbin Zheng [Sat, 26 Mar 2005 06:38:40 +0000 (06:38 +0000)]
updated for new HybridBaseLB.

16 years agosplit HybridLB to base hybrid LB, and made existing HybridLB as sub class of it....
Gengbin Zheng [Sat, 26 Mar 2005 06:38:11 +0000 (06:38 +0000)]
split HybridLB to base hybrid LB, and made existing HybridLB as sub class of it. This allows one to implement other strategies under the framework.

16 years agochange debug verbosity.
Gengbin Zheng [Sat, 26 Mar 2005 05:46:04 +0000 (05:46 +0000)]
change debug verbosity.

16 years agoAdding a no streaming option to compare performance.
Sameer Kumar [Fri, 25 Mar 2005 23:26:11 +0000 (23:26 +0000)]
Adding a no streaming option to compare performance.

16 years agoremoved more debug prints
Gengbin Zheng [Fri, 25 Mar 2005 22:47:18 +0000 (22:47 +0000)]
removed more debug prints

16 years agoupdate to recognize +LBSyncResume which force all processors doing a barrier before...
Gengbin Zheng [Fri, 25 Mar 2005 22:29:13 +0000 (22:29 +0000)]
update to recognize +LBSyncResume which force all processors doing a barrier before resume.

16 years agoAdding benchmarks that test a machine layer. The print pingpong, pingpong cpu and...
Sameer Kumar [Fri, 25 Mar 2005 19:17:14 +0000 (19:17 +0000)]
Adding benchmarks that test a machine layer. The print pingpong, pingpong cpu and network pipelining results. There are some rare cases when these benchmarks hang. Will enable them in autobuild after fixing that.

16 years agooops, fixed debug macro.
Gengbin Zheng [Fri, 25 Mar 2005 18:01:01 +0000 (18:01 +0000)]
oops, fixed debug macro.

16 years agofixed an compiler error on SUN cc where a private class variable is not accessible...
Gengbin Zheng [Fri, 25 Mar 2005 17:53:45 +0000 (17:53 +0000)]
fixed an compiler error on SUN cc where a private class variable is not accessible from the same class.

16 years agofixed compiler error for uth-linux when LBDB is off.
Gengbin Zheng [Fri, 25 Mar 2005 17:47:50 +0000 (17:47 +0000)]
fixed compiler error for uth-linux when LBDB is off.
cleanup code and remove some debug prints.

16 years agoCorrected the definitions of spanning tree function to implement in machine.c
Filippo Gioachin [Fri, 25 Mar 2005 09:00:48 +0000 (09:00 +0000)]
Corrected the definitions of spanning tree function to implement in machine.c
Added two functions for asynchronous sends that have to be implemented in
machine.c These two functions were not declared anywhere exept in the machine
implementations.

16 years agodefines lbinit() function in .ci to export the load balancer to command line options.
Gengbin Zheng [Fri, 25 Mar 2005 07:22:16 +0000 (07:22 +0000)]
defines lbinit() function in .ci to export the load balancer to command line options.

16 years agoAdding a persistent option to the DirectMulticastStrategy which will make it keep...
Sameer Kumar [Fri, 25 Mar 2005 04:29:34 +0000 (04:29 +0000)]
Adding a persistent option to the DirectMulticastStrategy which will make it keep the message till the next one shows up.

16 years agoadded hybridlb.
Gengbin Zheng [Fri, 25 Mar 2005 01:16:04 +0000 (01:16 +0000)]
added hybridlb.

16 years agouse CMK_USE_SYNC to protect "sync" system call.
Gengbin Zheng [Fri, 25 Mar 2005 01:05:38 +0000 (01:05 +0000)]
use CMK_USE_SYNC to protect "sync" system call.

16 years agoupdated.
Gengbin Zheng [Thu, 24 Mar 2005 22:59:08 +0000 (22:59 +0000)]
updated.

16 years agoa new file for HybridLB definition Location,etc data structure.
Gengbin Zheng [Thu, 24 Mar 2005 22:58:01 +0000 (22:58 +0000)]
a new file for HybridLB definition Location,etc data structure.

16 years agoadded HybridLB header files.
Gengbin Zheng [Thu, 24 Mar 2005 22:56:43 +0000 (22:56 +0000)]
added HybridLB header files.

16 years agoassign the pe number of LD database (pe is a new data field)
Gengbin Zheng [Thu, 24 Mar 2005 22:38:22 +0000 (22:38 +0000)]
assign the pe number of LD database (pe is a new data field)

16 years agoupdated
Gengbin Zheng [Thu, 24 Mar 2005 22:37:45 +0000 (22:37 +0000)]
updated

16 years agoa first working version.
Gengbin Zheng [Thu, 24 Mar 2005 22:37:00 +0000 (22:37 +0000)]
a first working version.

16 years agoupdated to actually compile HybridLB
Gengbin Zheng [Thu, 24 Mar 2005 22:36:30 +0000 (22:36 +0000)]
updated to actually compile HybridLB

16 years agoincreased LB database version to 2
Gengbin Zheng [Thu, 24 Mar 2005 22:35:51 +0000 (22:35 +0000)]
increased LB database version to 2

16 years agocouple changes in data structures of LDStats and LBMigrateMsg.
Gengbin Zheng [Thu, 24 Mar 2005 22:35:31 +0000 (22:35 +0000)]
couple changes in data structures of LDStats and LBMigrateMsg.
Adding fields for hybrid load balancing.

16 years agofixed to prevent infinit loop when a subdir does not present.
Gengbin Zheng [Thu, 24 Mar 2005 22:33:41 +0000 (22:33 +0000)]
fixed to prevent infinit loop when a subdir does not present.

16 years agoremoved some dead code.
Gengbin Zheng [Thu, 24 Mar 2005 22:24:26 +0000 (22:24 +0000)]
removed some dead code.

16 years agoThis is actually sayantan....
Sayantan Chakravorty [Thu, 24 Mar 2005 21:20:45 +0000 (21:20 +0000)]
This is actually sayantan....

Added a fortran wrapper for a refinement code

16 years agomake clean removed check.C itself.
Gengbin Zheng [Thu, 24 Mar 2005 17:05:07 +0000 (17:05 +0000)]
make clean removed check.C itself.

16 years agofixed typedef int8.
Gengbin Zheng [Thu, 24 Mar 2005 17:00:48 +0000 (17:00 +0000)]
fixed typedef int8.

16 years agofixed typedef int8.
Gengbin Zheng [Thu, 24 Mar 2005 16:50:06 +0000 (16:50 +0000)]
fixed typedef int8.

16 years agoonly set default value in .h
Eric Bohm [Thu, 24 Mar 2005 13:24:11 +0000 (13:24 +0000)]
only set default value in .h

16 years agoincreased select timeout value from 1 to 10.
Gengbin Zheng [Thu, 24 Mar 2005 07:43:06 +0000 (07:43 +0000)]
increased select timeout value from 1 to 10.
added a few comments.

16 years agoAdded conserveMemory flag.
Eric Bohm [Thu, 24 Mar 2005 06:23:19 +0000 (06:23 +0000)]
Added conserveMemory flag.
If set the right and left arrays are deleted at end of backward path.
conserveMemory defaults to true if the parameter is not given.
So old code linking to it should be less likely to break and should
gain the memory benefit.

16 years agoinitialized hashtable size
Sayantan Chakravorty [Thu, 24 Mar 2005 04:30:30 +0000 (04:30 +0000)]
initialized hashtable size

16 years agowrappers
Sayantan Chakravorty [Thu, 24 Mar 2005 00:57:23 +0000 (00:57 +0000)]
wrappers

16 years agowrappers
Sayantan Chakravorty [Thu, 24 Mar 2005 00:44:12 +0000 (00:44 +0000)]
wrappers

16 years agoadded new utility test to check that all the Cmi defined types have the correct size
Filippo Gioachin [Thu, 24 Mar 2005 00:24:33 +0000 (00:24 +0000)]
added new utility test to check that all the Cmi defined types have the correct size

16 years agoMore wrappers
Sayantan Chakravorty [Thu, 24 Mar 2005 00:24:04 +0000 (00:24 +0000)]
More wrappers

16 years agoChanged makefile
Sayantan Chakravorty [Thu, 24 Mar 2005 00:12:45 +0000 (00:12 +0000)]
Changed makefile

16 years agowrapped printf
Sayantan Chakravorty [Thu, 24 Mar 2005 00:12:29 +0000 (00:12 +0000)]
wrapped printf

16 years agoWrapped macros around printf
Sayantan Chakravorty [Thu, 24 Mar 2005 00:04:59 +0000 (00:04 +0000)]
Wrapped macros around printf

16 years agocorrecting problem with check program
Filippo Gioachin [Wed, 23 Mar 2005 22:01:03 +0000 (22:01 +0000)]
correcting problem with check program

16 years agofixed non-standard compiler
Filippo Gioachin [Wed, 23 Mar 2005 16:45:06 +0000 (16:45 +0000)]
fixed non-standard compiler

16 years agoadded tiny test to check that the Cmi defined types have the correct size
Filippo Gioachin [Wed, 23 Mar 2005 06:31:51 +0000 (06:31 +0000)]
added tiny test to check that the Cmi defined types have the correct size

16 years agoa few more comments
Filippo Gioachin [Wed, 23 Mar 2005 04:52:47 +0000 (04:52 +0000)]
a few more comments

16 years agoChanged the makefile so that it uses charmc and not ar
Sayantan Chakravorty [Tue, 22 Mar 2005 23:34:30 +0000 (23:34 +0000)]
Changed the makefile so that it uses charmc and not ar

16 years agoFixing a cpv. Moved CpvDeclare from header file to .c
Sameer Kumar [Tue, 22 Mar 2005 22:52:17 +0000 (22:52 +0000)]
Fixing a cpv. Moved CpvDeclare from header file to .c

16 years ago*** empty log message ***
Sameer Kumar [Tue, 22 Mar 2005 22:02:49 +0000 (22:02 +0000)]
*** empty log message ***

16 years agoAligned the complex arrays to 16 bytes. Various optimizations require that.
Sameer Kumar [Tue, 22 Mar 2005 20:30:15 +0000 (20:30 +0000)]
Aligned the complex arrays to 16 bytes. Various optimizations require that.

16 years agoimplemented CmiSyncListSendFn (correspondent to the call CmiSyncListSend)
Filippo Gioachin [Tue, 22 Mar 2005 20:05:46 +0000 (20:05 +0000)]
implemented CmiSyncListSendFn (correspondent to the call CmiSyncListSend)

16 years agoAdding a warning in handleMessage.
Sameer Kumar [Tue, 22 Mar 2005 19:20:25 +0000 (19:20 +0000)]
Adding a warning in handleMessage.

16 years agoChanging CharmStrategy and DirectMulticastStrategy to use the strategy_handler
Sameer Kumar [Tue, 22 Mar 2005 15:14:03 +0000 (15:14 +0000)]
Changing CharmStrategy and DirectMulticastStrategy to use the strategy_handler
code.

16 years agoAdding a new handler which makes it easy for strategies to
Sameer Kumar [Tue, 22 Mar 2005 15:10:59 +0000 (15:10 +0000)]
Adding a new handler which makes it easy for strategies to
communicate with each other.

16 years agoAdded the node to node adjacency information
Sayantan Chakravorty [Tue, 22 Mar 2005 04:24:21 +0000 (04:24 +0000)]
Added the node to node adjacency information

16 years agoimplement change for LBDump format 1 which has a less field in procStat.
Gengbin Zheng [Tue, 22 Mar 2005 01:10:56 +0000 (01:10 +0000)]
implement change for LBDump format 1 which has a less field in procStat.
By default, dump version number into file after version 1.

16 years agoa runtime option +LBVersion to specify a version number for LBDump file.
Gengbin Zheng [Tue, 22 Mar 2005 00:42:06 +0000 (00:42 +0000)]
a runtime option +LBVersion to specify a version number for LBDump file.

16 years agointroduced a LBDump file version number to keep backward compatibilities.
Gengbin Zheng [Tue, 22 Mar 2005 00:41:24 +0000 (00:41 +0000)]
introduced  a LBDump file version number to keep backward compatibilities.

16 years agorearranged header inclusion so that now it allows LBDatabase to directly (inline...
Gengbin Zheng [Mon, 21 Mar 2005 20:38:09 +0000 (20:38 +0000)]
rearranged header inclusion so that now it allows LBDatabase to directly (inline) call to LBDBManager without paying a function call to LDfoo() in lbdb.C.

16 years agoenabled BigSim simualtor specific converse streaming to reduce of the overhead on...
Gengbin Zheng [Mon, 21 Mar 2005 20:27:26 +0000 (20:27 +0000)]
enabled BigSim simualtor specific converse streaming to reduce of the overhead on pe 0 when tnes of thousands of VPs send stats message to it.

16 years agowhen clearing LBStats database, call CkVec::clear instead of resize(0) to actually...
Gengbin Zheng [Mon, 21 Mar 2005 20:26:23 +0000 (20:26 +0000)]
when clearing LBStats database, call CkVec::clear instead of resize(0) to actually free the memory because resize(0) won't do anything if existing capacity is enough for the request which is 0.

16 years agoreplaced call to LBDatabaseObj() by the_lbdb which is already pre-assigned.
Gengbin Zheng [Mon, 21 Mar 2005 19:37:36 +0000 (19:37 +0000)]
replaced call to LBDatabaseObj() by the_lbdb which is already pre-assigned.

16 years agoadded some more recasts for the double<--complex cases. Should help with alignment...
Eric Bohm [Mon, 21 Mar 2005 17:54:14 +0000 (17:54 +0000)]
added some more recasts for the double<--complex cases.  Should help with alignment issues.

16 years agoupdated bluegene header
Gengbin Zheng [Mon, 21 Mar 2005 17:12:35 +0000 (17:12 +0000)]
updated bluegene header

16 years agoupdate bluegene header
Gengbin Zheng [Mon, 21 Mar 2005 17:11:06 +0000 (17:11 +0000)]
update bluegene header

16 years agoupdate bluegene header to use geenric header defined in converse.h.
Gengbin Zheng [Mon, 21 Mar 2005 17:09:06 +0000 (17:09 +0000)]
update bluegene header to use geenric header defined in converse.h.

16 years agoBug in the copy constructor for Array4D.
Eric Bohm [Mon, 21 Mar 2005 16:13:04 +0000 (16:13 +0000)]
Bug in the copy constructor for Array4D.
Noted by Gengbin, should be fixed.

16 years agoConverting CkpvAccess(_qd) back to CpvAccess(_qd). No idea why that broke bluegene...
Sameer Kumar [Mon, 21 Mar 2005 14:44:43 +0000 (14:44 +0000)]
Converting CkpvAccess(_qd) back to CpvAccess(_qd). No idea why that broke bluegene build. Gengbin, please verify.

16 years agoThe correct fix for setup complete flag. It takes into account migration and atsync...
Sameer Kumar [Mon, 21 Mar 2005 14:33:20 +0000 (14:33 +0000)]
The correct fix for setup complete flag. It takes into account migration and atsync calls between comlib setup of the previous step.

16 years agoswitch to use generic bluegene header CMK_BLUEGENE_FIELDS
Gengbin Zheng [Mon, 21 Mar 2005 08:17:46 +0000 (08:17 +0000)]
switch to use generic bluegene header CMK_BLUEGENE_FIELDS

16 years agoreversing change to stop using the receivedTable flag. Now all setup completion check...
Sameer Kumar [Mon, 21 Mar 2005 06:59:33 +0000 (06:59 +0000)]
reversing change to stop using the receivedTable flag. Now all setup completion checks use receiveTable flag. Will have to investigate this later.

16 years agoimplemented inline message for array.
Gengbin Zheng [Mon, 21 Mar 2005 05:57:47 +0000 (05:57 +0000)]
implemented inline message for array.
Fix inline deliver so that timing of the current object is temporarily stopped and resumed after inline message processed.

16 years agoCode cleanup. Shorter header for streaming and enable array caching again.
Sameer Kumar [Mon, 21 Mar 2005 05:21:51 +0000 (05:21 +0000)]
Code cleanup. Shorter header for streaming and enable array caching again.

16 years agoReducing iterations further.
Sameer Kumar [Mon, 21 Mar 2005 05:17:01 +0000 (05:17 +0000)]
Reducing iterations further.

16 years agoa minor name change CK_MSG_SKIPSCHEDULER => CK_MSG_EXPEDITED
Gengbin Zheng [Mon, 21 Mar 2005 05:13:19 +0000 (05:13 +0000)]
a minor name change CK_MSG_SKIPSCHEDULER => CK_MSG_EXPEDITED

16 years agoa minor name change CK_MSG_SKIPSCHEDULER => CK_MSG_EXPEDITED
Gengbin Zheng [Mon, 21 Mar 2005 05:07:14 +0000 (05:07 +0000)]
a minor name change CK_MSG_SKIPSCHEDULER => CK_MSG_EXPEDITED

16 years agoadded a new entry attribute [inline].
Gengbin Zheng [Mon, 21 Mar 2005 05:06:35 +0000 (05:06 +0000)]
added a new entry attribute [inline].

16 years agoRemoving unnecessary prints.
Sameer Kumar [Mon, 21 Mar 2005 05:04:00 +0000 (05:04 +0000)]
Removing unnecessary prints.

16 years agomake decl file depends on charmxi, so that it gets recompiled with cahrmxi is changed.
Gengbin Zheng [Mon, 21 Mar 2005 05:03:21 +0000 (05:03 +0000)]
make decl file depends on charmxi, so that it gets recompiled with cahrmxi is changed.

16 years agoreducing iterations for these two too!
Sameer Kumar [Sun, 20 Mar 2005 23:40:21 +0000 (23:40 +0000)]
reducing iterations for these two too!

16 years agoreducing iterations by 10 times.
Sameer Kumar [Sun, 20 Mar 2005 23:39:41 +0000 (23:39 +0000)]
reducing iterations by 10 times.

16 years agowhen array listener delivering a broadcast message to an element, check to make sure...
Gengbin Zheng [Sun, 20 Mar 2005 23:36:13 +0000 (23:36 +0000)]
when array listener delivering a broadcast message to an element, check to make sure if this array element has already received it before to prevent a duplication. Surprisingly this bug was not discovered until now.

16 years agochanging the start() broadcast to point-to-point messages. For some reason broadcast...
Sameer Kumar [Sun, 20 Mar 2005 22:10:38 +0000 (22:10 +0000)]
changing the start() broadcast to point-to-point messages. For some reason broadcast leads to a duplication which results in forwarding and hence an exception in the strategy on the destination processor.

16 years agoa fix for compiler error.
Gengbin Zheng [Sun, 20 Mar 2005 21:36:07 +0000 (21:36 +0000)]
a fix for compiler error.

16 years agofixed a minor thing in parsing traceRoot.
Gengbin Zheng [Sun, 20 Mar 2005 21:34:29 +0000 (21:34 +0000)]
fixed a minor thing in parsing traceRoot.

16 years agocleanup bluegene header.
Gengbin Zheng [Sun, 20 Mar 2005 21:01:53 +0000 (21:01 +0000)]
cleanup bluegene header.

16 years agocleanup bluegene header
Gengbin Zheng [Sun, 20 Mar 2005 21:00:10 +0000 (21:00 +0000)]
cleanup bluegene header

16 years agoclean up bluegene header
Gengbin Zheng [Sun, 20 Mar 2005 20:57:36 +0000 (20:57 +0000)]
clean up bluegene header

16 years agocleanup bluegene header.
Gengbin Zheng [Sun, 20 Mar 2005 20:56:15 +0000 (20:56 +0000)]
cleanup bluegene header.

16 years agoan optimization for memory on message broadcast.
Gengbin Zheng [Sun, 20 Mar 2005 20:53:29 +0000 (20:53 +0000)]
an optimization for memory on message broadcast.
The old scheme copies message on each simulated virtual processors on each
node, which can easily run out of memory. The new scheme only copies message
header and make a token, which saves memory dramatically.

16 years agowhen run charmrun under a job shell, apply -machinefile $PBS_NODEFILE in command...
Gengbin Zheng [Sun, 20 Mar 2005 17:34:08 +0000 (17:34 +0000)]
when run charmrun under a job shell, apply -machinefile $PBS_NODEFILE in command line.

16 years agoreverted change in batsync which caused a program hang when no load balancer. Reduced...
Gengbin Zheng [Sun, 20 Mar 2005 17:20:18 +0000 (17:20 +0000)]
reverted change in batsync which caused a program hang when no load balancer. Reduced lb period time from 1s to 0.5 second.

16 years agoDGEMM in calculatePairs_gemm is now the default.
Eric Bohm [Sun, 20 Mar 2005 04:27:06 +0000 (04:27 +0000)]
DGEMM in calculatePairs_gemm is now the default.
Set NOGEMM to return to the old (probably slower) behavior.
This checkin also strips out the zgemm version from calculatePairs_gemm
It was slower than dgemm and didn't produce correct results for noncomplex output.

If we ever need a calculatePairs which produces complex output we can dredge it
out of CVS.