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

16 years agoadded a new function called CcsNoResponse, this allow both the client and
Filippo Gioachin [Tue, 8 Mar 2005 05:33:51 +0000 (05:33 +0000)]
added a new function called CcsNoResponse, this allow both the client and
the server to close the connection of a CCS request without sending any data
back to the client.

16 years agouse make depends for a complete dependence rule.
Gengbin Zheng [Tue, 8 Mar 2005 03:29:08 +0000 (03:29 +0000)]
use make depends for a complete dependence rule.

16 years agoinserting new section about Python scripting.
Filippo Gioachin [Tue, 8 Mar 2005 00:56:46 +0000 (00:56 +0000)]
inserting new section about Python scripting.

16 years agodisable traceing of CkIndex_CkLocMgr::immigrate() because it calls broadcast listener...
Gengbin Zheng [Mon, 7 Mar 2005 22:37:32 +0000 (22:37 +0000)]
disable traceing of CkIndex_CkLocMgr::immigrate() because it calls broadcast listener which may deliver broadcast message and casued nested trace events.

16 years agoFixed a bug in method modifier generation.
Chao Huang [Mon, 7 Mar 2005 18:34:39 +0000 (18:34 +0000)]
Fixed a bug in method modifier generation.

16 years agoA fix to dense graph generation code
Yogesh Mehta [Mon, 7 Mar 2005 10:56:51 +0000 (10:56 +0000)]
A fix to dense graph generation code

16 years agobench.C is now calling loadbalancing
Sameer Kumar [Mon, 7 Mar 2005 06:30:09 +0000 (06:30 +0000)]
bench.C is now calling loadbalancing

16 years agoMaking local messages call the correct array deliver to enable projections.
Sameer Kumar [Mon, 7 Mar 2005 05:19:22 +0000 (05:19 +0000)]
Making local messages call the correct array deliver to enable projections.

16 years agodeleted an unused flag (dead code)
Filippo Gioachin [Mon, 7 Mar 2005 04:39:54 +0000 (04:39 +0000)]
deleted an unused flag (dead code)

16 years agoFixing bugs in the learning framework.
Sameer Kumar [Mon, 7 Mar 2005 04:30:00 +0000 (04:30 +0000)]
Fixing bugs in the learning framework.
    Cached array indices get reset during loadbalancing.
    DelegatePointerPup now works fine with a NULL delegate pointer.

16 years agoAdding a new benchmark that demostrates the performance gains of MeshStreaming. This...
Sameer Kumar [Sun, 6 Mar 2005 18:24:41 +0000 (18:24 +0000)]
Adding a new benchmark that demostrates the performance gains of MeshStreaming. This gain should be seen on large processor configurations.

16 years agodon't display "template"
Gengbin Zheng [Sun, 6 Mar 2005 17:49:27 +0000 (17:49 +0000)]
don't display "template"

16 years agoFixing streaming benchmark to not call CkExit with messages in flight. There is still...
Sameer Kumar [Sun, 6 Mar 2005 17:17:32 +0000 (17:17 +0000)]
Fixing streaming benchmark to not call CkExit with messages in flight. There is still a bug in CkExit.

16 years agominor change in error message giving by array manager.
Gengbin Zheng [Sun, 6 Mar 2005 06:05:23 +0000 (06:05 +0000)]
minor change in error message giving by array manager.

16 years agominor change in verbose print.
Gengbin Zheng [Sun, 6 Mar 2005 06:03:54 +0000 (06:03 +0000)]
minor change in verbose print.

16 years agovery subtle bug when doing async load balancing and switching load balancers.
Gengbin Zheng [Sun, 6 Mar 2005 04:14:28 +0000 (04:14 +0000)]
very subtle bug when doing async load balancing and switching load balancers.
Migrated callbacks may have side effect of switching to next load balancer by turned it on, which causes migrated() event is also called to the new balancer.

16 years agominor changes, added a few comments in switching startegies.
Gengbin Zheng [Sun, 6 Mar 2005 04:11:25 +0000 (04:11 +0000)]
minor changes, added a few comments in switching startegies.

16 years agoimproved obj time stats collection when LDStats collection is turned on in the middle...
Gengbin Zheng [Sun, 6 Mar 2005 04:10:01 +0000 (04:10 +0000)]
improved obj time stats collection when LDStats collection is turned on in the middle of an entryi in which case the execution time of the current entry is ignored. Fixed by treating TurnStatsOn() as startTimer.

16 years agoFixing stupid bug that declared the toggle variable twice.
Sameer Kumar [Sun, 6 Mar 2005 04:02:24 +0000 (04:02 +0000)]
Fixing stupid bug that declared the toggle variable twice.

16 years agonew definition added
Filippo Gioachin [Sun, 6 Mar 2005 02:31:46 +0000 (02:31 +0000)]
new definition added

16 years agowhen in lb debug mode, print migration decision.
Gengbin Zheng [Sun, 6 Mar 2005 00:17:46 +0000 (00:17 +0000)]
when in lb debug mode, print migration decision.

16 years agoenhaced CmiAbort message display and also display a stacktrace before abort.
Gengbin Zheng [Sat, 5 Mar 2005 18:55:26 +0000 (18:55 +0000)]
enhaced CmiAbort message display and also display a stacktrace before abort.

16 years agoadded a couple of functions definitions which were never declared by only defined.
Filippo Gioachin [Sat, 5 Mar 2005 08:55:28 +0000 (08:55 +0000)]
added a couple of functions definitions which were never declared by only defined.
this clarify better what the machine layer has to implement to be able to work

16 years agoprint background time.
Gengbin Zheng [Sat, 5 Mar 2005 07:30:30 +0000 (07:30 +0000)]
print background time.

16 years agoa bug fix: detect if obj start time is valid (using -1) in case LBStats is on in...
Gengbin Zheng [Sat, 5 Mar 2005 07:30:10 +0000 (07:30 +0000)]
a bug fix: detect if obj start time is valid (using -1) in case LBStats is on in the middle of an entry, and then object start time is invalid.

16 years agosome more descriptions
Filippo Gioachin [Sat, 5 Mar 2005 06:40:07 +0000 (06:40 +0000)]
some more descriptions

16 years agoadding templates for developing new machine architecture layers.
Filippo Gioachin [Sat, 5 Mar 2005 05:52:23 +0000 (05:52 +0000)]
adding templates for developing new machine architecture layers.
also present a README with basic instructions.

16 years agocode cleanup. deleted some define values that are never used inside the code
Filippo Gioachin [Sat, 5 Mar 2005 02:42:41 +0000 (02:42 +0000)]
code cleanup. deleted some define values that are never used inside the code

16 years agoAdded in interface for sum(f*T + c*L).
Yan Shi [Fri, 4 Mar 2005 22:47:54 +0000 (22:47 +0000)]
Added in interface for sum(f*T + c*L).

16 years agoNew projections (incomplete) version.
Chee Wai Lee [Fri, 4 Mar 2005 22:32:11 +0000 (22:32 +0000)]
New projections (incomplete) version.

16 years agoFixed some parameter passing bugs for boundaries, added the two new parameters to
Terry L. Wilmarth [Fri, 4 Mar 2005 17:03:27 +0000 (17:03 +0000)]
Fixed some parameter passing bugs for boundaries, added the two new parameters to
the Fortran interface.

16 years agoCoarsening pays attention to boundaries, still needs to handle 'corners'.
Terry L. Wilmarth [Fri, 4 Mar 2005 16:23:07 +0000 (16:23 +0000)]
Coarsening pays attention to boundaries, still needs to handle 'corners'.

16 years agoBLAS names now controlled by FORTRANUNDERSCORE as in leanCP
Eric Bohm [Thu, 3 Mar 2005 23:50:24 +0000 (23:50 +0000)]
BLAS names now controlled by FORTRANUNDERSCORE as in leanCP
So one make can rule them all.

Also removed evil local makefile overrides to OPTS and FLAGS

16 years agoA function in paircalcID to setup data.
Yan Shi [Thu, 3 Mar 2005 19:40:21 +0000 (19:40 +0000)]
A function in paircalcID to setup data.

16 years agoAdding double timeouts to CcdCallFnAfter. Now can be called sub-milliseconds later...
Sameer Kumar [Thu, 3 Mar 2005 03:42:09 +0000 (03:42 +0000)]
Adding double timeouts to CcdCallFnAfter. Now can be called sub-milliseconds later by passing a value less than 1. 0.1 -> 100 us.

16 years agoStreaming with sub mili second timeouts.
Sameer Kumar [Thu, 3 Mar 2005 03:39:53 +0000 (03:39 +0000)]
Streaming with sub mili second timeouts.

16 years agoscyld version charmrun used to not taking nodelist file, it finds free up nodes and...
Gengbin Zheng [Thu, 3 Mar 2005 03:05:01 +0000 (03:05 +0000)]
scyld version charmrun used to not taking nodelist file, it finds free up nodes and fire programs on those nodes.
Per popular request, now also support nodelist, but only enabled when ++nodelist option specified explicitly.

16 years agoenable -static link to avoid missing shared libs on slave nodes.
Gengbin Zheng [Thu, 3 Mar 2005 03:03:25 +0000 (03:03 +0000)]
enable -static link to avoid missing shared libs on slave nodes.

16 years agofixed compiler errors for scyld compilation.
Gengbin Zheng [Thu, 3 Mar 2005 02:48:30 +0000 (02:48 +0000)]
fixed compiler errors for scyld compilation.

16 years agoMore adept, yet still tuned to DetailedSim.
Terry L. Wilmarth [Thu, 3 Mar 2005 00:23:50 +0000 (00:23 +0000)]
More adept, yet still tuned to DetailedSim.

16 years agoStreaming benchmark now ckexits after all messages have been received.
Sameer Kumar [Wed, 2 Mar 2005 20:03:54 +0000 (20:03 +0000)]
Streaming benchmark now ckexits after all messages have been received.
This hopefully will avoid a hang in the benchmark on some architectures.

Linear benchmark is run for fewer iterations.

16 years agoavoid a double mmeory copy for CmiSyncSend in GM version because SyncSend makes one...
Gengbin Zheng [Wed, 2 Mar 2005 00:28:25 +0000 (00:28 +0000)]
avoid a double mmeory copy for CmiSyncSend in GM version because SyncSend makes one copy, and then gm machine layer makes another copy into dma buffer.

16 years agoTemporary hack for DetailedSim.
Terry L. Wilmarth [Tue, 1 Mar 2005 23:46:00 +0000 (23:46 +0000)]
Temporary hack for DetailedSim.

16 years ago*** empty log message ***
Chao Huang [Tue, 1 Mar 2005 20:22:54 +0000 (20:22 +0000)]
*** empty log message ***

16 years agoAdded streaming in MPI_Isend. (by default it's turned off)
Chao Huang [Tue, 1 Mar 2005 19:35:18 +0000 (19:35 +0000)]
Added streaming in MPI_Isend. (by default it's turned off)

16 years agofixed a bug in gm_stats collection due to my earlier change of the meaning of gm_maxs...
Gengbin Zheng [Tue, 1 Mar 2005 19:11:21 +0000 (19:11 +0000)]
fixed a bug in gm_stats collection due to my earlier change of the meaning of gm_maxsize (not inclusive)

16 years agoadded back support for old format of fem dat files.
Gengbin Zheng [Tue, 1 Mar 2005 05:34:13 +0000 (05:34 +0000)]
added back support for old format of fem dat files.
Optionally one should have a file "FEMVERSION" together with fem dat files to specify the file version number.

16 years agoa major change: instead of having one send queue gloablly on each node, have one...
Gengbin Zheng [Tue, 1 Mar 2005 04:46:32 +0000 (04:46 +0000)]
a major change: instead of having one send queue gloablly on each node, have one queue for each destination node. and send_progress poll send queue in round-robin fashion for fairness.
Also improved the timeout handling. Timeout sends should be now properly resend while still preserve the order of sends.

16 years agoMoved argv extraction in procinit calls
Chao Huang [Mon, 28 Feb 2005 22:15:49 +0000 (22:15 +0000)]
Moved argv extraction in procinit calls

16 years agopassed linker time option -Wl,--allow-multiple-definition to allow multiple definit...
Gengbin Zheng [Fri, 25 Feb 2005 23:42:19 +0000 (23:42 +0000)]
passed  linker time option -Wl,--allow-multiple-definition  to allow multiple definitions (first is used), this is needed for compiling NAMD with -static.

16 years agoAdded 4- 5- 6-d array content
Chao Huang [Fri, 25 Feb 2005 07:22:08 +0000 (07:22 +0000)]
Added 4- 5- 6-d array content

16 years agoAdded comlib support. Turn on/off by #define AMPI_COMLIB 1
Chao Huang [Fri, 25 Feb 2005 02:38:13 +0000 (02:38 +0000)]
Added comlib support. Turn on/off by #define AMPI_COMLIB 1
Run time flag +ampi_streaming enables streaming library.

16 years agowait until all 2000 ring finished, call main done. This seems to fix a wierd bug...
Gengbin Zheng [Thu, 24 Feb 2005 16:40:21 +0000 (16:40 +0000)]
wait until all 2000 ring finished, call main done. This seems to fix a wierd bug that it hang calling CkExit() before everyone finishes.

16 years agoadded a ps -u to check is there is residual process.
Gengbin Zheng [Thu, 24 Feb 2005 16:19:03 +0000 (16:19 +0000)]
added a ps -u to check is there is residual process.

16 years agoAdding fix for AMPI broadcast strategy.
Sameer Kumar [Thu, 24 Feb 2005 00:27:13 +0000 (00:27 +0000)]
Adding fix for AMPI broadcast strategy.

16 years agoAdded support for 4-, 5-, and 6-D chare array.
Chao Huang [Wed, 23 Feb 2005 08:25:45 +0000 (08:25 +0000)]
Added support for 4-, 5-, and 6-D chare array.
The index sets are {w,x,y,z}, {v,w,x,y,z}, and {x1,y1,z1,x2,y2,z2}

16 years agoadjust windows size to be able to divide max seq # range DGRAM_SEQNO_MASK, this is...
Gengbin Zheng [Tue, 22 Feb 2005 17:19:19 +0000 (17:19 +0000)]
adjust windows size to be able to divide max seq # range DGRAM_SEQNO_MASK, this is to make sure seq # % window size is consecutive.

16 years agoNew possibly faster version of streaming strategy based on pup_cmialloc.
Sameer Kumar [Tue, 22 Feb 2005 06:30:49 +0000 (06:30 +0000)]
New possibly faster version of streaming strategy based on pup_cmialloc.
Streaming no longer uses CmiMultipleSend.

16 years agoFixing bug in dummystrategy.
Sameer Kumar [Tue, 22 Feb 2005 00:18:19 +0000 (00:18 +0000)]
Fixing bug in dummystrategy.
Mesh streaming now works on all processor values, not just perfect squares

16 years agoadded number of nodes to newmesh
Sayantan Chakravorty [Mon, 21 Feb 2005 22:42:09 +0000 (22:42 +0000)]
added number of nodes to newmesh

16 years agoModifications to support VMI 2.1.
Greg Koenig [Mon, 21 Feb 2005 22:32:23 +0000 (22:32 +0000)]
Modifications to support VMI 2.1.
This should allow Charm++ running on VMI 2.1 to work on Opteron/InfiniBand.