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

16 years agoa helper function to return obj handle from index.
Gengbin Zheng [Sun, 20 Mar 2005 03:41:33 +0000 (03:41 +0000)]
a helper function to return obj handle from index.

16 years agoa simple function to return a LBObj from an index of the LBObj array.
Gengbin Zheng [Sun, 20 Mar 2005 03:34:48 +0000 (03:34 +0000)]
a simple function to return a LBObj from an index of the LBObj array.

16 years agono need to batsync for starting LB periodically if numpes is 1.
Gengbin Zheng [Sun, 20 Mar 2005 03:31:41 +0000 (03:31 +0000)]
no need to batsync for starting LB periodically if numpes is 1.

16 years agodefine bluegene msg header with generic macro defined in CMK_BLUEGENE_FIELDS of conve...
Gengbin Zheng [Sun, 20 Mar 2005 01:59:53 +0000 (01:59 +0000)]
define bluegene msg header with generic macro defined in CMK_BLUEGENE_FIELDS of converse.h.

16 years agoadded a reference counter to bluegene msg header for memory optimization.
Gengbin Zheng [Sun, 20 Mar 2005 01:55:09 +0000 (01:55 +0000)]
added a reference counter to bluegene msg header for memory optimization.

16 years agoThe DGEMM version for calculatePairs
Eric Bohm [Sun, 20 Mar 2005 00:07:29 +0000 (00:07 +0000)]
The DGEMM version for calculatePairs
Enable with _PAIRCALC_USE_DGEMM_

16 years agoadded a "flag" field in bluegene header for future use.
Gengbin Zheng [Sat, 19 Mar 2005 21:12:42 +0000 (21:12 +0000)]
added a "flag" field in bluegene header for future use.

16 years agosince bluegene converse msg header is common to all platforms, use the common definit...
Gengbin Zheng [Sat, 19 Mar 2005 21:11:16 +0000 (21:11 +0000)]
since bluegene converse msg header is common to all platforms, use the common definition defined in converse.h (CMK_BLUEGENE_FIELDS).

16 years agoprint number of real pes used for simualtion at startup.
Gengbin Zheng [Sat, 19 Mar 2005 20:37:06 +0000 (20:37 +0000)]
print number of real pes used for simualtion at startup.

16 years agosome reorgnization of timer subroutines.
Gengbin Zheng [Sat, 19 Mar 2005 20:33:08 +0000 (20:33 +0000)]
some reorgnization of timer subroutines.
Implemented a special purpose streaming for reducing messages for example in the case of collecting all load balancing stats into processor 0. After streaming, there will be one message out from one physical processor instead of as many as virtual processors on each physical node.

16 years agoDisabling benchmark for now. Will fix it when I get a chance.
Sameer Kumar [Sat, 19 Mar 2005 20:00:56 +0000 (20:00 +0000)]
Disabling benchmark for now. Will fix it when I get a chance.

16 years agofixed a compiler error for ibm compiler.
Gengbin Zheng [Sat, 19 Mar 2005 08:39:40 +0000 (08:39 +0000)]
fixed a compiler error for ibm compiler.

16 years agoAddition of calculatePairs_gemm which contains the GEMM version of the calculation.
Eric Bohm [Sat, 19 Mar 2005 04:54:13 +0000 (04:54 +0000)]
Addition of calculatePairs_gemm which contains the GEMM version of the calculation.
Enable it by turning on the -DGEMM flag.

Current implementation uses ZGEMM and strips out the imaginary results.

Works, solution seems equivalent.  Doesn't have much performance impact on cool cluster.

Implemented version using the DGEMM scheme, but it segfaults.  I also completely fail to comprehend how it could possibly work correctly.

16 years agoanother workaround
Sameer Kumar [Fri, 18 Mar 2005 23:22:14 +0000 (23:22 +0000)]
another workaround

16 years agocasting to satisfy rs6k xlc compiler
Eric Bohm [Fri, 18 Mar 2005 17:26:25 +0000 (17:26 +0000)]
casting to satisfy rs6k xlc compiler

16 years agoPutting a work around for the autobuild failures. For some reason I cannot remprduce...
Sameer Kumar [Fri, 18 Mar 2005 15:41:27 +0000 (15:41 +0000)]
Putting a work around for the autobuild failures. For some reason I cannot remprduce them. So cacheing of array ids seems to be my frist suspect.

16 years agoadded free() to CkVec to actually resize to 0.
Gengbin Zheng [Fri, 18 Mar 2005 06:02:46 +0000 (06:02 +0000)]
added free() to CkVec to actually resize to 0.

16 years agoMight have forgotten to pack the message. Adding an extra pack.
Sameer Kumar [Fri, 18 Mar 2005 04:15:26 +0000 (04:15 +0000)]
Might have forgotten to pack the message. Adding an extra pack.

16 years agoAdded RefineKLB
Tarun Agarwal [Fri, 18 Mar 2005 03:53:29 +0000 (03:53 +0000)]
Added RefineKLB
(Checking in again because forgot to add log comment in the last checkin)

16 years agoSeveral new changes
Sameer Kumar [Fri, 18 Mar 2005 03:21:55 +0000 (03:21 +0000)]
Several new changes

     Learning framework will now be tested in autobuild
     Fixed cached index bug.

     EachToManyMulticast strategy now does not work with sections. This makes it a lot simpler.
     The strategy should now be explicitly be used for all-to-all operations

     Cleaned up direct and ring multicast strategies. Isolated and abstracted out a lot
     of common code.

16 years agoFixing bug in the router strategy. MyPe was not initialized.
Sameer Kumar [Fri, 18 Mar 2005 03:19:25 +0000 (03:19 +0000)]
Fixing bug in the router strategy. MyPe was not initialized.

16 years agoFixing bug in linear.C. The benchmark was not storing the bucketsize correctly.
Sameer Kumar [Fri, 18 Mar 2005 03:18:26 +0000 (03:18 +0000)]
Fixing bug in linear.C. The benchmark was not storing the bucketsize correctly.
Now bucketsize is readonly.

16 years agoNew benchmarks to test the learning framework. Several new tests are now enabled.
Sameer Kumar [Fri, 18 Mar 2005 03:17:16 +0000 (03:17 +0000)]
New benchmarks to test the learning framework. Several new tests are now enabled.

16 years agoAdded RefineKLB to the Makefiles
Tarun Agarwal [Fri, 18 Mar 2005 02:17:50 +0000 (02:17 +0000)]
Added RefineKLB to the Makefiles

16 years ago*** empty log message ***
Tarun Agarwal [Fri, 18 Mar 2005 01:57:44 +0000 (01:57 +0000)]
*** empty log message ***

16 years agoFixed a locking problem, and one of many weird element problems.
Terry L. Wilmarth [Thu, 17 Mar 2005 22:55:51 +0000 (22:55 +0000)]
Fixed a locking problem, and one of many weird element problems.

16 years agoFixed make test
Eric Bohm [Thu, 17 Mar 2005 22:31:41 +0000 (22:31 +0000)]
Fixed make test

16 years agofixed an infinite loop in the rehash code
Nilesh Choudhury [Thu, 17 Mar 2005 21:56:57 +0000 (21:56 +0000)]
fixed an infinite loop in the rehash code

16 years agosomehow log message skipped last time ...
Gengbin Zheng [Thu, 17 Mar 2005 20:01:28 +0000 (20:01 +0000)]
somehow log message skipped last time ...
Implemented CmiMemoryUsage() that could print current memory usage. Only meant for gnu-malloc.

16 years ago*** empty log message ***
Gengbin Zheng [Thu, 17 Mar 2005 19:57:38 +0000 (19:57 +0000)]
*** empty log message ***

16 years agotweak for better compiler compat
Eric Bohm [Thu, 17 Mar 2005 19:39:54 +0000 (19:39 +0000)]
tweak for better compiler compat

16 years agotweaks for better C++ compatability and inlining with CMK_OPTIMIZE
Eric Bohm [Thu, 17 Mar 2005 19:12:17 +0000 (19:12 +0000)]
tweaks for better C++ compatability and inlining with CMK_OPTIMIZE

16 years agoMore stats collection. Moved initialization to after memory subsystem.
Eric Bohm [Thu, 17 Mar 2005 18:10:01 +0000 (18:10 +0000)]
More stats collection. Moved initialization to after memory subsystem.
Still unstable.

16 years agoFixed another locking bug, added derived boundaries. Boundaries work great, but...
Terry L. Wilmarth [Thu, 17 Mar 2005 00:50:55 +0000 (00:50 +0000)]
Fixed another locking bug, added derived boundaries.  Boundaries work great, but there are still a few locking problems when running sequentially.

16 years agoAdd cmipool to converse.
Eric Bohm [Wed, 16 Mar 2005 18:42:29 +0000 (18:42 +0000)]
Add cmipool to converse.

16 years agoBasic message pooling at the converse layer.
Eric Bohm [Wed, 16 Mar 2005 18:41:29 +0000 (18:41 +0000)]
Basic message pooling at the converse layer.
Set CONVERSE_POOL to enable.  Currently unstable.

16 years agoMore refinements.
Eric Bohm [Wed, 16 Mar 2005 18:04:13 +0000 (18:04 +0000)]
More refinements.
Still has some sort of race condition.  Probably need to add locking.

16 years agoFixed sequential deadlock problem... I hope.
Terry L. Wilmarth [Wed, 16 Mar 2005 17:53:31 +0000 (17:53 +0000)]
Fixed sequential deadlock problem... I hope.

16 years agoShould have been modified along with corresponding changes to other
Chee Wai Lee [Wed, 16 Mar 2005 04:15:04 +0000 (04:15 +0000)]
Should have been modified along with corresponding changes to other
name changes from registerFunction etc ... to traceRegisterFunction

16 years agoAdded operator= for 4D analogous to 6D.
Eric Bohm [Tue, 15 Mar 2005 23:05:05 +0000 (23:05 +0000)]
Added operator= for 4D analogous to 6D.
Should help with leanCP issues.

16 years agoFixes to not pool large messages.
Eric Bohm [Tue, 15 Mar 2005 22:43:22 +0000 (22:43 +0000)]
Fixes to not pool large messages.

16 years agoA standalone NetFEM to Paraview mesh file converter. Build with "make". Run executabl...
Isaac Dooley [Tue, 15 Mar 2005 17:36:33 +0000 (17:36 +0000)]
A standalone NetFEM to Paraview mesh file converter. Build with "make". Run executable from parent
directory of the "NetFEM" containing the chunk/timestep meshes.

16 years agoCleaned up my changes to make them look nicer, modified documentation. No functional...
Isaac Dooley [Tue, 15 Mar 2005 17:33:48 +0000 (17:33 +0000)]
Cleaned up my changes to make them look nicer, modified documentation. No functional changes.

16 years agoremoved an unused obj handle in computeInfo to save space.
Gengbin Zheng [Tue, 15 Mar 2005 17:16:23 +0000 (17:16 +0000)]
removed an unused obj handle in computeInfo to save space.

16 years agoForgot to check this in with the header file. Switching GAMMA to GAMMA_MEM
Sameer Kumar [Mon, 14 Mar 2005 20:12:57 +0000 (20:12 +0000)]
Forgot to check this in with the header file. Switching GAMMA to GAMMA_MEM

16 years agoRenaming GAMMA to GAMMA_MEM for the sp compilers.
Sameer Kumar [Mon, 14 Mar 2005 16:04:38 +0000 (16:04 +0000)]
Renaming GAMMA to GAMMA_MEM for the sp compilers.

16 years agoNew version to test the learning frmework.
Sameer Kumar [Sun, 13 Mar 2005 22:09:35 +0000 (22:09 +0000)]
New version to test the learning frmework.

16 years agoNew AAPC learner which uses a smarter technique. It now takes max of two sets of...
Sameer Kumar [Sun, 13 Mar 2005 21:55:37 +0000 (21:55 +0000)]
New AAPC learner which uses a smarter technique. It now takes max of two sets of parameter values.

16 years agoadded LBProfit into Makefile.
Gengbin Zheng [Sun, 13 Mar 2005 21:07:51 +0000 (21:07 +0000)]
added LBProfit into Makefile.

16 years agoa simple class for determining if a new load balancing cycle is profitable or not.
Gengbin Zheng [Sun, 13 Mar 2005 21:07:16 +0000 (21:07 +0000)]
a simple class for determining if a new load balancing cycle is profitable or not.

16 years agoshrank stats data structure size.
Gengbin Zheng [Sat, 12 Mar 2005 21:57:36 +0000 (21:57 +0000)]
shrank stats data structure size.

16 years agochange avail_vector to be static class member (this helps same memory for bigsim...
Gengbin Zheng [Sat, 12 Mar 2005 21:07:35 +0000 (21:07 +0000)]
change avail_vector to be static class member (this helps same memory for bigsim simulation)

16 years agofixed a memory leak.
Gengbin Zheng [Sat, 12 Mar 2005 08:24:34 +0000 (08:24 +0000)]
fixed a memory leak.

16 years agoAdded netfem_data.h to the headers. We want it to be included so we can build
Isaac Dooley [Sat, 12 Mar 2005 06:00:31 +0000 (06:00 +0000)]
Added netfem_data.h to the headers. We want it to be included so we can build
the standalone NetFEM -> Paraview converter against our version of charm/netfem.

16 years agoA minor change needed for the standalone NetFEM -> Paraview converter. Basically...
Isaac Dooley [Sat, 12 Mar 2005 05:57:07 +0000 (05:57 +0000)]
A minor change needed for the standalone NetFEM -> Paraview converter. Basically we add two accessor functions to get connectivity data. This
might be a hack, but was the easiest way I saw of making it work.

16 years agoAdded more debug output
Sayantan Chakravorty [Sat, 12 Mar 2005 01:06:44 +0000 (01:06 +0000)]
Added more debug output

16 years ago*** empty log message ***
Terry L. Wilmarth [Sat, 12 Mar 2005 00:38:27 +0000 (00:38 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Terry L. Wilmarth [Sat, 12 Mar 2005 00:23:45 +0000 (00:23 +0000)]
*** empty log message ***

16 years agoThis code is not working less than the previous checkin.
Terry L. Wilmarth [Fri, 11 Mar 2005 22:05:44 +0000 (22:05 +0000)]
This code is not working less than the previous checkin.

16 years agoRemoved localResume that might break AMPI.
Chao Huang [Fri, 11 Mar 2005 18:27:10 +0000 (18:27 +0000)]
Removed localResume that might break AMPI.

16 years agoadded dummyLB.
Gengbin Zheng [Fri, 11 Mar 2005 07:12:43 +0000 (07:12 +0000)]
added dummyLB.

16 years agomake element topo map a static class variable.
Gengbin Zheng [Fri, 11 Mar 2005 07:05:00 +0000 (07:05 +0000)]
make element topo map a static class variable.

16 years agoadded DummyLB.h in ck header so that it is copied to include.
Gengbin Zheng [Fri, 11 Mar 2005 06:57:55 +0000 (06:57 +0000)]
added DummyLB.h in ck header so that it is copied to include.

16 years agoat info printout, print number of real number of processors (CmiNumPes()),
Gengbin Zheng [Fri, 11 Mar 2005 06:57:19 +0000 (06:57 +0000)]
at info printout, print number of real number of processors (CmiNumPes()),

16 years agochange to use array broadcast instead of pt-to-pt send.
Gengbin Zheng [Fri, 11 Mar 2005 06:29:02 +0000 (06:29 +0000)]
change to use array broadcast instead of pt-to-pt send.

16 years agoAn adaptation of Sanjay's pplKalloc to act as a pool for CmiAlloc
Eric Bohm [Fri, 11 Mar 2005 05:24:12 +0000 (05:24 +0000)]
An adaptation of Sanjay's pplKalloc to act as a pool for CmiAlloc
A small number of changes to converse.h convcore.c and Makefile are
necessary to activate it.  Since this version sometimes causes segfaults in
megatest I'm not checking in those other changes yet. So this should
have no effect on anything for now.

16 years agofixed a bug in print central LB memory usage.
Gengbin Zheng [Fri, 11 Mar 2005 04:05:00 +0000 (04:05 +0000)]
fixed a bug in print central LB memory usage.

16 years agolatest version of coarsening... with bugs.
Terry L. Wilmarth [Fri, 11 Mar 2005 00:20:46 +0000 (00:20 +0000)]
latest version of coarsening... with bugs.

16 years agoadd comlib support (turned off by default)
Chao Huang [Thu, 10 Mar 2005 21:38:44 +0000 (21:38 +0000)]
add comlib support (turned off by default)

16 years agouse jpeg2ps to shrink eps.
Gengbin Zheng [Thu, 10 Mar 2005 07:01:03 +0000 (07:01 +0000)]
use jpeg2ps to shrink eps.

16 years ago1. removed the limitation of JArray dimensions (was 3)
Chao Huang [Thu, 10 Mar 2005 06:13:13 +0000 (06:13 +0000)]
1. removed the limitation of JArray dimensions (was 3)
2. moved the .decl.h in generated .h file to immediately above main class
   to support user classes in .decl.h

16 years agoMajor fixes to the documentation to include graphics for both the .ps and
Chee Wai Lee [Wed, 9 Mar 2005 22:23:20 +0000 (22:23 +0000)]
Major fixes to the documentation to include graphics for both the .ps and
.pdf versions correctly and simultaneously.

16 years agoAdded a var sized index attribute and code for node to element adjacency
Sayantan Chakravorty [Wed, 9 Mar 2005 22:09:54 +0000 (22:09 +0000)]
Added a var sized index attribute and code for node to element adjacency

16 years agoPrevious images too large. These should work.
Chee Wai Lee [Wed, 9 Mar 2005 20:21:03 +0000 (20:21 +0000)]
Previous images too large. These should work.

16 years agofix of c definition problem
Filippo Gioachin [Wed, 9 Mar 2005 20:11:38 +0000 (20:11 +0000)]
fix of c definition problem

16 years agoudpated to conform to the change in cksection.h: sectionInfo and mcast msg header...
Gengbin Zheng [Wed, 9 Mar 2005 07:38:51 +0000 (07:38 +0000)]
udpated to conform to the change in cksection.h: sectionInfo and mcast msg header size are shrunk.

16 years agoshrinked size of message.
Gengbin Zheng [Wed, 9 Mar 2005 07:36:26 +0000 (07:36 +0000)]
shrinked size of message.

16 years agoadded a definition of operator = for CkArrayIndex6D to make sure it copies correctly.
Gengbin Zheng [Wed, 9 Mar 2005 07:29:22 +0000 (07:29 +0000)]
added a definition of operator = for CkArrayIndex6D to make sure it copies correctly.

16 years agocheck in of the machine.c file of the template (example) architecture
Filippo Gioachin [Tue, 8 Mar 2005 21:41:03 +0000 (21:41 +0000)]
check in of the machine.c file of the template (example) architecture

16 years agoadded edge data file
Sayantan Chakravorty [Tue, 8 Mar 2005 19:51:54 +0000 (19:51 +0000)]
added edge data file

16 years agoRemoved debug code
Sayantan Chakravorty [Tue, 8 Mar 2005 19:51:20 +0000 (19:51 +0000)]
Removed debug code

16 years agoremoving static definition of Python methods (static intrinsically means that
Filippo Gioachin [Tue, 8 Mar 2005 16:46:29 +0000 (16:46 +0000)]
removing static definition of Python methods (static intrinsically means that
the declarations are not seen outside the scope of the file!)

16 years agorollback of a stupid change...
Filippo Gioachin [Tue, 8 Mar 2005 16:20:28 +0000 (16:20 +0000)]
rollback of a stupid change...

16 years agofixed a bug in async load balancing - double resume a thread in resumeFromSync and...
Gengbin Zheng [Tue, 8 Mar 2005 09:19:51 +0000 (09:19 +0000)]
fixed a bug in async load balancing - double resume a thread in resumeFromSync and migrateTo.

16 years agoupdated python interface: main change is a cleanup to the semantics, and a
Filippo Gioachin [Tue, 8 Mar 2005 05:39:01 +0000 (05:39 +0000)]
updated python interface: main change is a cleanup to the semantics, and a
few bugfixes

16 years agoadded small description of Converse, for doxygen
Filippo Gioachin [Tue, 8 Mar 2005 05:35:03 +0000 (05:35 +0000)]
added small description of Converse, for doxygen