charm.git
10 years agoMSA: Consolidate handle-based API
Phil Miller [Wed, 8 Dec 2010 01:02:48 +0000 (19:02 -0600)]
MSA: Consolidate handle-based API

Factor out the handle classes from the individual MSA dimensions, so
that they all behave the same way.

- Standardize on handles passed by value in the process.
- Remove the Accum::accumulate(int x, [int y[, int z,] ENTRY e)
  methods, because they can be ambiguous with an ENTRY type
  convertible to int.

Update ParFUM's parallel remeshing and some examples correspondingly.

10 years agock-ldb: make the API changes consistent for Cent and Hier LBs
Abhinav S Bhatele [Mon, 6 Dec 2010 19:17:22 +0000 (13:17 -0600)]
ck-ldb: make the API changes consistent for Cent and Hier LBs

In both cases now (centralized and hierarchical), Strategy(stats, procs) calls
Strategy(stats) and comments added to not use the former (maintained only for
legacy applications)

10 years agockgraph: add an access function
Abhinav S Bhatele [Mon, 6 Dec 2010 17:53:35 +0000 (11:53 -0600)]
ckgraph: add an access function

10 years agoMSA: Support negative indices for 3D arrays
Phil Miller [Mon, 6 Dec 2010 17:39:23 +0000 (11:39 -0600)]
MSA: Support negative indices for 3D arrays

10 years agoEnable chare array element access by CkIndexND, such as 'thisIndex'
Phil Miller [Mon, 6 Dec 2010 02:34:33 +0000 (20:34 -0600)]
Enable chare array element access by CkIndexND, such as 'thisIndex'

11 years agoMSA: Update 1D and 2D handles to have the same structure as 3D
Phil Miller [Sun, 5 Dec 2010 22:41:55 +0000 (16:41 -0600)]
MSA: Update 1D and 2D handles to have the same structure as 3D

11 years agocharmxi: Minor formatting cleanup
Phil Miller [Fri, 3 Dec 2010 17:26:41 +0000 (11:26 -0600)]
charmxi: Minor formatting cleanup

11 years agoPOSE: Adapt Makefile for parallel builds
Phil Miller [Fri, 3 Dec 2010 07:37:51 +0000 (01:37 -0600)]
POSE: Adapt Makefile for parallel builds

11 years agoMakefile snippet with useful rules to include in libs and apps
Phil Miller [Fri, 3 Dec 2010 06:47:39 +0000 (00:47 -0600)]
Makefile snippet with useful rules to include in libs and apps

11 years agoFix retStr error
Aaron Becker [Thu, 2 Dec 2010 01:58:08 +0000 (19:58 -0600)]
Fix retStr error

11 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Wed, 1 Dec 2010 19:28:11 +0000 (13:28 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agodocs: minor change
Abhinav S Bhatele [Wed, 1 Dec 2010 07:00:48 +0000 (01:00 -0600)]
docs: minor change

11 years agodocs: fixed a caption
Abhinav S Bhatele [Wed, 1 Dec 2010 06:52:49 +0000 (00:52 -0600)]
docs: fixed a caption

11 years agodocs: instructions on using the new ObjGraph interface
Abhinav S Bhatele [Wed, 1 Dec 2010 06:47:22 +0000 (00:47 -0600)]
docs: instructions on using the new ObjGraph interface

11 years agodocs: added info about adding a libmodulefooLB.dep
Abhinav S Bhatele [Wed, 1 Dec 2010 05:28:07 +0000 (23:28 -0600)]
docs: added info about adding a libmodulefooLB.dep

11 years agockgraph: added some more methods to access private variables
Abhinav S Bhatele [Wed, 1 Dec 2010 03:56:17 +0000 (21:56 -0600)]
ckgraph: added some more methods to access private variables

11 years agock-ldb: this should surely fix compilation problems
Abhinav S Bhatele [Wed, 1 Dec 2010 03:10:01 +0000 (21:10 -0600)]
ck-ldb: this should surely fix compilation problems

11 years agock-ldb: this should fix compilation problems
Abhinav S Bhatele [Wed, 1 Dec 2010 02:54:36 +0000 (20:54 -0600)]
ck-ldb: this should fix compilation problems

EveryLB does not have a dependency file anymore

11 years agolb_test: code cleanup
Abhinav S Bhatele [Sat, 27 Nov 2010 08:04:50 +0000 (02:04 -0600)]
lb_test: code cleanup

11 years agotests: renamed a directory
Abhinav S Bhatele [Sat, 27 Nov 2010 07:06:07 +0000 (01:06 -0600)]
tests: renamed a directory

11 years agojacobi2d Makefile: forgot a flag
Abhinav S Bhatele [Sat, 27 Nov 2010 07:00:31 +0000 (01:00 -0600)]
jacobi2d Makefile: forgot a flag

11 years agolb_tests: Makefile changes for MetisLB and ScotchLB
Abhinav S Bhatele [Sat, 27 Nov 2010 06:58:10 +0000 (00:58 -0600)]
lb_tests: Makefile changes for MetisLB and ScotchLB

11 years agoMetisLB: transformed to use ckgraph: the new ObjGraph
Abhinav S Bhatele [Sat, 27 Nov 2010 06:52:49 +0000 (00:52 -0600)]
MetisLB: transformed to use ckgraph: the new ObjGraph

11 years agoScotchLB: minor fixes
Abhinav S Bhatele [Sat, 27 Nov 2010 06:38:32 +0000 (00:38 -0600)]
ScotchLB: minor fixes

11 years agock-ldb: EveryLB has no dependencies
Abhinav S Bhatele [Sat, 27 Nov 2010 06:37:44 +0000 (00:37 -0600)]
ck-ldb: EveryLB has no dependencies

11 years agock-ldb: ScotchLB and MetisLB removed from EveryLB
Abhinav S Bhatele [Sat, 27 Nov 2010 06:35:25 +0000 (00:35 -0600)]
ck-ldb: ScotchLB and MetisLB removed from EveryLB

ScotchLB requires scotch.h, libscotch.a and MetisLB requires metis.h, libmetis.a
So, by default they cannot be compiled

11 years agolb_test: updated README and deleted old unused files
Abhinav S Bhatele [Sat, 27 Nov 2010 01:53:35 +0000 (19:53 -0600)]
lb_test: updated README and deleted old unused files

11 years agolb_test: removed the dependence on modified code to test a load
Abhinav S Bhatele [Sat, 27 Nov 2010 01:45:09 +0000 (19:45 -0600)]
lb_test: removed the dependence on modified code to test a load
balancing strategy

11 years agock-ldb: new load balancing strategy based on Scotch
Abhinav S Bhatele [Sat, 27 Nov 2010 01:06:27 +0000 (19:06 -0600)]
ck-ldb: new load balancing strategy based on Scotch

11 years agockgraph: number of bytes is an integer
Abhinav S Bhatele [Sat, 27 Nov 2010 01:01:31 +0000 (19:01 -0600)]
ckgraph: number of bytes is an integer

11 years agock-ldb: fixed total time and code to handle average load properly
Abhinav S Bhatele [Wed, 24 Nov 2010 20:51:49 +0000 (14:51 -0600)]
ck-ldb: fixed total time and code to handle average load properly

11 years agock-ldb: added TeamLB to Makefile_lb.sh
Abhinav S Bhatele [Wed, 24 Nov 2010 20:18:18 +0000 (14:18 -0600)]
ck-ldb: added TeamLB to Makefile_lb.sh

Without this, TeamLB in EveryLB.ci will get overwritten the next
time someone does ./Makefile_lb.sh

11 years agoMerge branch 'charm' of charmgit:charm into charm
Abhinav S Bhatele [Wed, 24 Nov 2010 20:11:02 +0000 (14:11 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agockgraph: added few methods and corrected some
Abhinav S Bhatele [Wed, 24 Nov 2010 20:10:30 +0000 (14:10 -0600)]
ckgraph: added few methods and corrected some

11 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Wed, 24 Nov 2010 20:05:51 +0000 (14:05 -0600)]
Merge branch 'charm' of charmgit:charm into charm

Conflicts:
src/xlat-i/xi-grammar.tab.C

11 years agocharmxi: add 'reductiontarget' entry attribute keyword
Aaron Becker [Wed, 24 Nov 2010 20:03:37 +0000 (14:03 -0600)]
charmxi: add 'reductiontarget' entry attribute keyword

11 years agoNew files and modifications to LBDatabase to include Team Load Balancer, a two stage...
Esteban Meneses [Wed, 24 Nov 2010 17:44:18 +0000 (11:44 -0600)]
New files and modifications to LBDatabase to include Team Load Balancer, a two stage load balancer to minimize the edge cut in the communication across teams. A message logging protocol can benefit from such load balancer.

11 years agotrace-projections: Define control functions as no-ops when tracing disabled
Phil Miller [Sun, 21 Nov 2010 17:15:35 +0000 (11:15 -0600)]
trace-projections: Define control functions as no-ops when tracing disabled

11 years agockmulticast: Simplify reduceFragment() signature
Ramprasad Venkataraman [Fri, 12 Nov 2010 19:27:32 +0000 (13:27 -0600)]
ckmulticast: Simplify reduceFragment() signature

recvRedMsg() which calls reduceFragment() can increment redn numbers itself,
instead of passing arguments to reduceFragment to cause them to happen.

11 years agockmulticast: code docs for class reductionInfo
Ramprasad Venkataraman [Fri, 12 Nov 2010 17:04:09 +0000 (11:04 -0600)]
ckmulticast: code docs for class reductionInfo

11 years agockmulticast: cleanup some dead code
Ramprasad Venkataraman [Thu, 11 Nov 2010 17:25:31 +0000 (11:25 -0600)]
ckmulticast: cleanup some dead code

11 years agockmulticast: more code docs.
Ramprasad Venkataraman [Thu, 11 Nov 2010 17:23:09 +0000 (11:23 -0600)]
ckmulticast: more code docs.

11 years agockmulticast: code docs and pretty indent for recvRedMsg()
Ramprasad Venkataraman [Fri, 29 Oct 2010 20:42:33 +0000 (15:42 -0500)]
ckmulticast: code docs and pretty indent for recvRedMsg()

11 years agoRemove archaic CVS headers
Phil Miller [Fri, 19 Nov 2010 05:02:12 +0000 (23:02 -0600)]
Remove archaic CVS headers

11 years agoMerge last phase of static array optimization branch
Phil Miller [Fri, 19 Nov 2010 04:06:36 +0000 (22:06 -0600)]
Merge last phase of static array optimization branch

11 years agoChanged POSE DOP log file writing so it's all done from the localStat object on each...
Ryan Mokos [Thu, 18 Nov 2010 00:16:22 +0000 (18:16 -0600)]
Changed POSE DOP log file writing so it's all done from the localStat object on each PE rather than each event queue.  This makes DOP log file writing significantly faster and eliminates problems with opening a log file many times for append.

11 years agominor: change to static to reduce globals.
Gengbin Zheng [Tue, 16 Nov 2010 06:11:59 +0000 (00:11 -0600)]
minor: change to static to reduce globals.

11 years agoxi sdag: generate tracing symbols for all constructs
Phil Miller [Tue, 16 Nov 2010 03:30:49 +0000 (21:30 -0600)]
xi sdag: generate tracing symbols for all constructs

11 years agoxi sdag: clean up formatting of output generation code
Phil Miller [Tue, 16 Nov 2010 03:29:42 +0000 (21:29 -0600)]
xi sdag: clean up formatting of output generation code

11 years agoxi: alignment matching arguments in grammar
Phil Miller [Tue, 16 Nov 2010 03:27:30 +0000 (21:27 -0600)]
xi: alignment matching arguments in grammar

11 years agoxi: remove weird pointless else
Phil Miller [Tue, 16 Nov 2010 03:07:26 +0000 (21:07 -0600)]
xi: remove weird pointless else

11 years agoxi: Delete code in SDAG that's been commented since it was checked in
Phil Miller [Tue, 16 Nov 2010 00:39:09 +0000 (18:39 -0600)]
xi: Delete code in SDAG that's been commented since it was checked in

11 years agoxi: factor out repeated code for SDAG atomics
Phil Miller [Tue, 16 Nov 2010 00:15:56 +0000 (18:15 -0600)]
xi: factor out repeated code for SDAG atomics

11 years agoChanged the accumulation variable (avgPEs) in POSE DOP analysis to an 8-byte integer...
Ryan Mokos [Mon, 15 Nov 2010 21:47:29 +0000 (15:47 -0600)]
Changed the accumulation variable (avgPEs) in POSE DOP analysis to an 8-byte integer (as well as a few other POSE stats variables).  This fixes incorrect reporting of the number of recommended PEs when GVT values are large.

11 years agoMerge second phase of static array optimziations
Phil Miller [Mon, 15 Nov 2010 14:48:36 +0000 (08:48 -0600)]
Merge second phase of static array optimziations

11 years agoconfigure: Rebuild with new API version in place
Phil Miller [Sun, 14 Nov 2010 15:21:28 +0000 (09:21 -0600)]
configure: Rebuild with new API version in place

11 years agoUpdate API version to match static array addition
Phil Miller [Sun, 14 Nov 2010 15:21:05 +0000 (09:21 -0600)]
Update API version to match static array addition

11 years agoMerge first phase of static array optimziations into 'charm'
Phil Miller [Sun, 14 Nov 2010 15:17:18 +0000 (09:17 -0600)]
Merge first phase of static array optimziations into 'charm'

11 years agoMerge cleanup fixes before static array optimizations
Philip Miller [Sun, 14 Nov 2010 07:18:39 +0000 (01:18 -0600)]
Merge cleanup fixes before static array optimizations

Conflicts:
src/ck-core/cklocation.C
This was just Abhinav's name change of dimInfo to arrayMapInfo.

11 years agobuild,charmc: Remove obsolete and now false comment
Philip Miller [Mon, 8 Nov 2010 03:12:23 +0000 (21:12 -0600)]
build,charmc: Remove obsolete and now false comment

11 years agoarch files for windows multicore 64 bit.
Gengbin Zheng [Sat, 13 Nov 2010 04:42:53 +0000 (22:42 -0600)]
arch files for windows multicore 64 bit.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Fri, 12 Nov 2010 18:57:17 +0000 (12:57 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoFixed a minor bug if there're no actual PEs to be built into a spanning tree
Chao Mei [Fri, 12 Nov 2010 18:56:23 +0000 (12:56 -0600)]
Fixed a minor bug if there're no actual PEs to be built into a spanning tree

11 years agodimInfo: Explicitly default to nchares = 0
Phil Miller [Thu, 11 Nov 2010 22:18:55 +0000 (16:18 -0600)]
dimInfo: Explicitly default to nchares = 0

When an array is constructed with no initial elements, DefaultArrayMap
sees that nInts == 0 and passes through to RRMap. However, dimInfo
still does calculations based on the initial arguments. These
calculations trigger valgrind to note calculations based on the
uninitialized value of _numChares, which could legitimately be
garbage.

Initialize _numChares to 0 in the case where it won't be used, to
quiet the errors.

11 years agodocs and hello: change inheritance from Chare to CBase_
Abhinav S Bhatele [Thu, 11 Nov 2010 19:24:10 +0000 (13:24 -0600)]
docs and hello: change inheritance from Chare to CBase_

This was pointed out by Danila that the manual and the tutorial
do not match (the manual is outdated). Also updated the hello
programs which people look at usually. Ideally we should change this
in all tests and examples.

11 years agoprojections manual: this should be the correct order
Abhinav S Bhatele [Thu, 11 Nov 2010 19:04:23 +0000 (13:04 -0600)]
projections manual: this should be the correct order

A naive projections user does not need to turn tracing off/on
All he needs is how to link in projections and summary

11 years agoGraphBFTLB: stratgey which does breadth first traversal
Abhinav S Bhatele [Thu, 11 Nov 2010 18:58:42 +0000 (12:58 -0600)]
GraphBFTLB: stratgey which does breadth first traversal

Currently does not consider:
  1. non-migratable objects (tries to map them)
  2. non-available processors (maps to all of them)
  3. assumes a connected graph

11 years agockgraph: changed access for some members and added methods
Abhinav S Bhatele [Thu, 11 Nov 2010 18:58:09 +0000 (12:58 -0600)]
ckgraph: changed access for some members and added methods

11 years agock-ldb: added documentation for ProcStats and LDStats
Abhinav S Bhatele [Thu, 11 Nov 2010 18:55:52 +0000 (12:55 -0600)]
ck-ldb: added documentation for ProcStats and LDStats

11 years agoincorporated Tom Quinn's suggestion on calling flush before fclose.
Gengbin Zheng [Wed, 10 Nov 2010 15:24:36 +0000 (09:24 -0600)]
incorporated Tom Quinn's suggestion on calling flush before fclose.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Abhinav S Bhatele [Wed, 10 Nov 2010 19:45:38 +0000 (13:45 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agofixed compilation error on windows
Gengbin Zheng [Wed, 10 Nov 2010 18:00:12 +0000 (12:00 -0600)]
fixed compilation error on windows

11 years agolb_test: ability to call GraphBFTLB added
Abhinav S Bhatele [Wed, 10 Nov 2010 19:35:02 +0000 (13:35 -0600)]
lb_test: ability to call GraphBFTLB added

11 years agock-ldb: New analog of RotateLB
Abhinav S Bhatele [Wed, 10 Nov 2010 19:33:32 +0000 (13:33 -0600)]
ck-ldb: New analog of RotateLB

This is a example load balancer which demonstrates the use of ckgraph data
structures (the new ObjGraph). Checking in skeleton first.

11 years agock-ldb: this ObjGraph is not compiled anymore
Abhinav S Bhatele [Wed, 10 Nov 2010 19:31:37 +0000 (13:31 -0600)]
ck-ldb: this ObjGraph is not compiled anymore

this is to avoid confusion, some people were thinking that this one and the one
in ckgraph.h are related

11 years agofixed compilation error on windows
Gengbin Zheng [Wed, 10 Nov 2010 18:00:12 +0000 (12:00 -0600)]
fixed compilation error on windows

11 years agotreat +pemap separately with it argument.
Gengbin Zheng [Wed, 10 Nov 2010 05:10:24 +0000 (23:10 -0600)]
treat +pemap separately with it argument.

11 years agoFixed a bug when "+pemap" is specified as it was falsely parsed for number of PEs.
Chao Mei [Wed, 10 Nov 2010 03:44:19 +0000 (21:44 -0600)]
Fixed a bug when "+pemap" is specified as it was falsely parsed for number of PEs.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Wed, 10 Nov 2010 00:49:47 +0000 (18:49 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoFixed a bug in creating charm SMP node-aware spanning tree. The bug is that
Chao Mei [Wed, 10 Nov 2010 00:40:23 +0000 (18:40 -0600)]
Fixed a bug in creating charm SMP node-aware spanning tree. The bug is that
when all remote procs are on the same charm SMP node, the parent proc
will have multiple remote children from those procs.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Ryan Mokos [Tue, 9 Nov 2010 21:27:02 +0000 (15:27 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoIncluded <unistd.h> in pose.C so BlueGeneP recognizes the unlink system call.
Ryan Mokos [Tue, 9 Nov 2010 21:25:25 +0000 (15:25 -0600)]
Included <unistd.h> in pose.C so BlueGeneP recognizes the unlink system call.

11 years agoprint current memeory usage when abort with out-of-memory.
Gengbin Zheng [Tue, 9 Nov 2010 21:23:52 +0000 (15:23 -0600)]
print current memeory usage when abort with out-of-memory.

11 years agofixed a bug that when sending persistent, the second level handler is not restored...
Gengbin Zheng [Tue, 9 Nov 2010 02:44:09 +0000 (20:44 -0600)]
fixed a bug that when sending persistent, the second level handler is not restored properly.

11 years agoCharj Arrays: correct missing return
Phil Miller [Tue, 9 Nov 2010 00:28:01 +0000 (18:28 -0600)]
Charj Arrays: correct missing return

11 years agoCharj Arrays: quiet warning about initialization order
Phil Miller [Tue, 9 Nov 2010 00:27:35 +0000 (18:27 -0600)]
Charj Arrays: quiet warning about initialization order

11 years agoCharj Arrays: Add slicing test
Phil Miller [Tue, 9 Nov 2010 00:20:46 +0000 (18:20 -0600)]
Charj Arrays: Add slicing test

11 years agoAdded the ability to override the evt (ending virtual time) for an entry method in...
Ryan Mokos [Mon, 8 Nov 2010 23:07:25 +0000 (17:07 -0600)]
Added the ability to override the evt (ending virtual time) for an entry method in a POSE program when doing DOP analysis.  The following code needs to be added to the entry method:

  if ((pose_config.stats) && (pose_config.dop)) {
    parent->dop_override_evt = ovt + (POSE_TimeType)time_that_would_have_been_elapsed;
  }

Also added patterns 2 and 3 to the POSE PatternGen example for testing of the above feature.

11 years agocheck and report the error when trying to set up a persistent channel to the processo...
Gengbin Zheng [Mon, 8 Nov 2010 20:57:40 +0000 (14:57 -0600)]
check and report the error when trying to set up a persistent channel to the processor itself.

11 years agoicnlude conv-autocinfig.h so that PERSISTENT_COMM macro is defined before using it.
Gengbin Zheng [Mon, 8 Nov 2010 20:56:59 +0000 (14:56 -0600)]
icnlude conv-autocinfig.h so that PERSISTENT_COMM macro is defined before using it.

11 years agoset size byte of the persistent buffer to 0 when setting up the persistent channel.
Gengbin Zheng [Mon, 8 Nov 2010 20:34:55 +0000 (14:34 -0600)]
set size byte of the persistent buffer to 0 when setting up the persistent channel.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Mon, 8 Nov 2010 19:04:31 +0000 (13:04 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoMake the tree construction to be charm SMP node-aware to ensure children are on
Chao Mei [Mon, 8 Nov 2010 19:02:57 +0000 (13:02 -0600)]
Make the tree construction to be charm SMP node-aware to ensure children are on
different charm SMP nodes.

11 years agoAdded a few timerStart and timerStop calls that were missing. This eliminates some...
Ryan Mokos [Mon, 8 Nov 2010 18:49:40 +0000 (12:49 -0600)]
Added a few timerStart and timerStop calls that were missing.  This eliminates some timer switching warnings when +stats_pose is enabled.

11 years agoAdded two inline functions to retrieve the PE value from Vertex
Chao Mei [Mon, 8 Nov 2010 18:27:24 +0000 (12:27 -0600)]
Added two inline functions to retrieve the PE value from Vertex

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Mon, 8 Nov 2010 18:26:04 +0000 (12:26 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoPOSE now deletes (using unlink) DOP log files during initialization since posers...
Ryan Mokos [Mon, 8 Nov 2010 18:23:05 +0000 (12:23 -0600)]
POSE now deletes (using unlink) DOP log files during initialization since posers open them for appending.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Mon, 8 Nov 2010 18:14:11 +0000 (12:14 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoAdded a simple adaptive scheme to split the multicast message according to the messag...
Chao Mei [Mon, 8 Nov 2010 18:11:45 +0000 (12:11 -0600)]
Added a simple adaptive scheme to split the multicast message according to the message size.
Also fixed a bug in forgetting to re-assign the number of children when creating the
spanning tree.

11 years agoCharj Arrays: clean up Makefile
Phil Miller [Mon, 8 Nov 2010 17:55:18 +0000 (11:55 -0600)]
Charj Arrays: clean up Makefile