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

11 years agoCharj Arrays: Clean up test code
Phil Miller [Mon, 8 Nov 2010 17:52:17 +0000 (11:52 -0600)]
Charj Arrays: Clean up test code

11 years agouse extern "C" so that this header file can be included in c++.
Gengbin Zheng [Mon, 8 Nov 2010 16:53:20 +0000 (10:53 -0600)]
use extern "C" so that this header file can be included in c++.

11 years agoCharj Arrays: const-ify size() methods
Phil Miller [Mon, 8 Nov 2010 01:45:58 +0000 (19:45 -0600)]
Charj Arrays: const-ify size() methods

11 years agoCharj Arrays: Fix mismatched new[]/delete
Phil Miller [Mon, 8 Nov 2010 01:34:32 +0000 (19:34 -0600)]
Charj Arrays: Fix mismatched new[]/delete

11 years agochange charm to not build shared library form by default. build with --build-shared...
Gengbin Zheng [Sun, 7 Nov 2010 18:11:17 +0000 (12:11 -0600)]
change charm to not build shared library form by default. build with --build-shared to enable it.
Also get rid of badly named build and compile time option: -bs

11 years agochanged a c++ comment // to /* */
Gengbin Zheng [Sun, 7 Nov 2010 18:10:57 +0000 (12:10 -0600)]
changed a c++ comment // to /* */

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 7 Nov 2010 18:08:40 +0000 (12:08 -0600)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoa minor change to CmiPoolAllocInit so that it can be accidentally called twice.
Gengbin Zheng [Sun, 7 Nov 2010 18:07:47 +0000 (12:07 -0600)]
a minor change to CmiPoolAllocInit so that it can be accidentally called twice.

11 years agofixed a bug in the previous commit that did not return result from Strategy().
Gengbin Zheng [Sun, 7 Nov 2010 14:50:03 +0000 (08:50 -0600)]
fixed a bug in the previous commit that did not return result from Strategy().

11 years agoclean up the interface cleanup (Strategy, and LDStats) in the previous commit.
Gengbin Zheng [Sun, 7 Nov 2010 06:53:39 +0000 (01:53 -0500)]
clean up the interface cleanup (Strategy, and LDStats) in the previous commit.
1. supports both the old Startegy() interface and the new one. (we can decide to completely drop the old interface later when it is ready).
2. Ideally, LDStats should not allow directly accessing n_pes (what if it is a name somebody else does not like?). Access to n_pes field through nprocs() call, eventually they should all be private variables. Rename n_pes back to count for legacy code that still accessing it directly. NAMD is updated to use nprocs() call for newer version of charm.

11 years agoRecBisectBfLB commented out and GraphPartLB added
Abhinav S Bhatele [Tue, 2 Nov 2010 05:47:15 +0000 (00:47 -0500)]
RecBisectBfLB commented out and GraphPartLB added

11 years agoGraphPartLB demonstrating the use of ProcArray and ObjGraph
Abhinav S Bhatele [Tue, 2 Nov 2010 05:44:58 +0000 (00:44 -0500)]
GraphPartLB demonstrating the use of ProcArray and ObjGraph

11 years agock-ldb: a new 'ObjGraph' interface for communication aware LBs
Abhinav S Bhatele [Tue, 2 Nov 2010 05:44:11 +0000 (00:44 -0500)]
ck-ldb: a new 'ObjGraph' interface for communication aware LBs

11 years agock-ldb: New graph class to be used by all communication aware load balancers
Abhinav S Bhatele [Fri, 29 Oct 2010 21:07:10 +0000 (16:07 -0500)]
ck-ldb: New graph class to be used by all communication aware load balancers

New graph class which should be used by all communication aware load balancers.
This will replace ObjGraph.* graph.* and the graph struct in GreedyCommLB.h

11 years agoBaseLB: informative comments making future developers' life simple
Abhinav S Bhatele [Fri, 29 Oct 2010 14:07:50 +0000 (09:07 -0500)]
BaseLB: informative comments making future developers' life simple

11 years agock-ldb: 'int count' in Nborhood ldbs changed to n_nbrs
Abhinav S Bhatele [Sun, 24 Oct 2010 23:31:06 +0000 (18:31 -0500)]
ck-ldb: 'int count' in Nborhood ldbs changed to n_nbrs

load balancers inherting from NborBaseLB still need count
which is the number of neighbors from which stats are received.
And it should be called n_nbrs

11 years agoHybridLB: removal of 'int count' from various functions
Abhinav S Bhatele [Sun, 24 Oct 2010 05:13:23 +0000 (00:13 -0500)]
HybridLB: removal of 'int count' from various functions

this should be the last changes for the first round of clean up

11 years agock-ldb: second set of changes for removing count
Abhinav S Bhatele [Sun, 24 Oct 2010 04:48:24 +0000 (23:48 -0500)]
ck-ldb: second set of changes for removing count

int count has been removed from work(LDStats *stats ...)

11 years agock-ldb: count in the struct LdStats changed to n_pes
Abhinav S Bhatele [Sun, 24 Oct 2010 00:40:07 +0000 (19:40 -0500)]
ck-ldb: count in the struct LdStats changed to n_pes

11 years agock-ldb: the API for the virtual work function changed
Abhinav S Bhatele [Sun, 24 Oct 2010 00:11:31 +0000 (19:11 -0500)]
ck-ldb: the API for the virtual work function changed

the argument 'int count' is no longer needed. It is already
available through stats->count. megatest and lb_test still work.

11 years agoGreedyCommLb: count has been removed as an argument
Abhinav S Bhatele [Sat, 23 Oct 2010 23:46:54 +0000 (18:46 -0500)]
GreedyCommLb: count has been removed as an argument

Also the use of stats has been made cleaner

11 years agoCentralLB: remove redundant parameter 'count'
Abhinav S Bhatele [Sat, 23 Oct 2010 23:13:50 +0000 (18:13 -0500)]
CentralLB: remove redundant parameter 'count'

Remove the 'count' parameter from four functions in CentralLB and fix the
corresponding compilation errors in combination LB implementations. The next
step is to change the work implementations in other load balancers.

Change docs and version number to reflect the ldb API change, so that
application load balancers in NAMD and ChaNGa can work either way.

11 years agoCommLBHeap: changed load to val in ObjectHeap
Abhinav S Bhatele [Mon, 4 Oct 2010 23:15:40 +0000 (18:15 -0500)]
CommLBHeap: changed load to val in ObjectHeap

11 years agoMerge branch 'charm' of charmgit:charm into charm
Xiang Ni [Fri, 5 Nov 2010 17:09:31 +0000 (12:09 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoadd persistent
Xiang Ni [Fri, 5 Nov 2010 16:20:56 +0000 (11:20 -0500)]
add persistent

11 years agogatherflat/tree call alternative scripts if they exist.
Gengbin Zheng [Fri, 5 Nov 2010 05:57:19 +0000 (00:57 -0500)]
gatherflat/tree call alternative scripts if they exist.

11 years agoDan's gather scripts that uses hard link for windows. Not used as default.
Gengbin Zheng [Fri, 5 Nov 2010 05:55:53 +0000 (00:55 -0500)]
Dan's gather scripts that uses hard link for windows. Not used as default.

11 years agofor sumdetail, ignore the case when EP is negative. (a bug introduced in the previous...
Gengbin Zheng [Fri, 5 Nov 2010 01:29:37 +0000 (20:29 -0500)]
for sumdetail, ignore the case when EP is negative. (a bug introduced in the previous change for idle line and traceBegin/end)

11 years agoAdded a sub-test to bypass the startup phase when a strategy has not
Lukasz Wesolowski [Thu, 4 Nov 2010 22:05:28 +0000 (17:05 -0500)]
Added a sub-test to bypass the startup phase when a strategy has not
been set up yet.

11 years agoFixed a bug in the code which receives the strategy table in comlib;
Lukasz Wesolowski [Thu, 4 Nov 2010 21:58:20 +0000 (16:58 -0500)]
Fixed a bug in the code which receives the strategy table in comlib;
the number of strategies in the table now gets updated;
bug was preventing buffered messages from getting sent after start up

11 years agoAdded a simple POSE program (examples/pose/PatternGen) to generate traffic patterns...
Ryan Mokos [Wed, 3 Nov 2010 19:43:23 +0000 (14:43 -0500)]
Added a simple POSE program (examples/pose/PatternGen) to generate traffic patterns.  This program can be easily expanded to generate other patterns in addition to the two already there.  See the README for details.

11 years agoupdated comments.
Gengbin Zheng [Wed, 3 Nov 2010 14:15:56 +0000 (09:15 -0500)]
updated comments.

11 years agofixed a bug in shrinking (binsize doubled), the idle time was not handled properly.
Gengbin Zheng [Wed, 3 Nov 2010 06:47:45 +0000 (01:47 -0500)]
fixed a bug in shrinking (binsize doubled), the idle time was not handled properly.

11 years agoI had somehow inadvertantly removed the no_va_randomization flag , reinserting it
Abhishek Gupta [Mon, 1 Nov 2010 17:19:26 +0000 (12:19 -0500)]
I had somehow inadvertantly removed the no_va_randomization flag , reinserting it

11 years agoRemoving TODO and restoring modified files (used for testing correctness in tree...
Abhishek Gupta [Mon, 1 Nov 2010 02:28:35 +0000 (21:28 -0500)]
Removing TODO and restoring modified files (used for testing correctness in tree startup)

11 years agoRemoving unnecessary files and restoring modifications to existing code which I had... charmrun
Abhishek Gupta [Mon, 1 Nov 2010 02:08:16 +0000 (21:08 -0500)]
Removing unnecessary files and restoring modifications to existing code which I had done for debugging purposes

11 years agoRemoving unnecessary lm from makefile
Abhishek Gupta [Sun, 31 Oct 2010 11:54:18 +0000 (06:54 -0500)]
Removing unnecessary lm from makefile

11 years agoMerge remote branch 'origin/charmrun' into charmrun
Abhishek Gupta [Sun, 31 Oct 2010 11:50:08 +0000 (06:50 -0500)]
Merge remote branch 'origin/charmrun' into charmrun

11 years agoMerge remote branch 'origin/charm' into charmrun_merge
Abhishek Gupta [Sun, 31 Oct 2010 11:43:39 +0000 (06:43 -0500)]
Merge remote branch 'origin/charm' into charmrun_merge


11 years agoMerge branch 'charm' of charmgit:charm into charm
Abhishek Gupta [Sun, 31 Oct 2010 09:37:26 +0000 (04:37 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoFixed bugs caused due to code modifications due to hierarchical-start so that fault...
Abhishek Gupta [Sun, 31 Oct 2010 09:23:34 +0000 (04:23 -0500)]
Fixed bugs caused due to code modifications due to hierarchical-start so that fault-tolerance support works

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Sat, 30 Oct 2010 22:46:13 +0000 (17:46 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoAdded node size and number of nodes to sts file to make projections charm SMP
Chao Mei [Sat, 30 Oct 2010 22:44:45 +0000 (17:44 -0500)]
Added node size and number of nodes to sts file to make projections charm SMP

11 years agoMerge commit 'origin/charm' into scratch
Abhishek Gupta [Sat, 30 Oct 2010 02:05:13 +0000 (21:05 -0500)]
Merge commit 'origin/charm' into scratch


11 years agoFixed a bug in commlib which was cauing it to hang if a strategy was used to send...
Abhishek Gupta [Fri, 29 Oct 2010 23:42:41 +0000 (18:42 -0500)]
Fixed a bug in commlib which was cauing it to hang if a strategy was used to send a message before the strategy start-up was complete

11 years agocomlib: Fix non-initialized cookie that breaks multicast strategies
Ramprasad Venkataraman [Fri, 29 Oct 2010 22:41:24 +0000 (17:41 -0500)]
comlib: Fix non-initialized cookie that breaks multicast strategies

Comlib multicast strategies failed to completely initialize the CkSectionInfo
cookie for multicast msgs that were going to already used array sections. The
first message to a 'new' section traverses a different path through comlib code
and hence did not suffer the same fate. The second message, however, ended up on
remote PEs with an not-completely-initialized cookie, causing section hash object
lookup to fail. This crashed the program.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 29 Oct 2010 21:48:29 +0000 (16:48 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoit broke autobuild test for mpi-smp.
Gengbin Zheng [Fri, 29 Oct 2010 21:29:39 +0000 (16:29 -0500)]
it broke autobuild test for mpi-smp.

Revert "Use os malloc instead of our own gnu malloc in mpi-*-smp."

This reverts commit 75cd8e634475a97aa556a1a1149178244b0046f2.

11 years agoFixed the makefile to point to correct charmc instead of charmc in my home dir (which...
Abhishek Gupta [Fri, 29 Oct 2010 21:13:32 +0000 (16:13 -0500)]
Fixed the makefile to point to correct charmc instead of charmc in my home dir (which I checked in earlier)

11 years agoBoradcast_tree test for commlib
Abhishek Gupta [Fri, 29 Oct 2010 20:50:19 +0000 (15:50 -0500)]
Boradcast_tree test for commlib

11 years agoMerge branch 'charm' of charmgit:charm into charm
Abhishek Gupta [Fri, 29 Oct 2010 20:40:18 +0000 (15:40 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoModified commlib_stream and Pipebroadcast test so that they compie
Abhishek Gupta [Fri, 29 Oct 2010 20:34:43 +0000 (15:34 -0500)]
Modified commlib_stream and Pipebroadcast test so that they compie

11 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Fri, 29 Oct 2010 20:19:13 +0000 (15:19 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agocharj: add support for 'extern' statements
Aaron Becker [Fri, 29 Oct 2010 20:18:56 +0000 (15:18 -0500)]
charj: add support for 'extern' statements

11 years agosilence ant config warning
Aaron Becker [Fri, 29 Oct 2010 20:18:13 +0000 (15:18 -0500)]
silence ant config warning

11 years agoadded explicit code for handling traceBegin and traceEnd.
Gengbin Zheng [Fri, 29 Oct 2010 19:04:05 +0000 (14:04 -0500)]
added explicit code for handling traceBegin and traceEnd.

11 years agoChanged the note for tracing comm op to differentiate the ops
Chao Mei [Thu, 28 Oct 2010 23:50:16 +0000 (18:50 -0500)]
Changed the note for tracing comm op to differentiate the ops

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Thu, 28 Oct 2010 23:38:28 +0000 (18:38 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoChanged the way of tracing events on the communication thread
Chao Mei [Thu, 28 Oct 2010 23:37:58 +0000 (18:37 -0500)]
Changed the way of tracing events on the communication thread

11 years agoAdded functions that are useful for tracing events on the communication thread in...
Chao Mei [Thu, 28 Oct 2010 23:35:44 +0000 (18:35 -0500)]
Added functions that are useful for tracing events on the communication thread in SMP mode

11 years agoAdded support to trace an arbitrary range of steps
Chao Mei [Thu, 28 Oct 2010 23:21:57 +0000 (18:21 -0500)]
Added support to trace an arbitrary range of steps

11 years agoTopoMgrAPI: CkAssert changed to CmiAssert and some cleanup
Abhinav S Bhatele [Thu, 28 Oct 2010 18:50:56 +0000 (13:50 -0500)]
TopoMgrAPI: CkAssert changed to CmiAssert and some cleanup

11 years agoTopoMgr: changed CkAssert -> CmiAssert
Abhinav S Bhatele [Thu, 28 Oct 2010 17:09:12 +0000 (12:09 -0500)]
TopoMgr: changed CkAssert -> CmiAssert

removed CmiAssert from two functions which were anyways doing
partial testing of error cases

11 years agotopomanager: Assert valid user input
Ramprasad Venkataraman [Wed, 27 Oct 2010 23:34:49 +0000 (18:34 -0500)]
topomanager: Assert valid user input

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Wed, 27 Oct 2010 22:21:37 +0000 (17:21 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoUse os malloc instead of our own gnu malloc in mpi-*-smp.
Chao Mei [Wed, 27 Oct 2010 22:20:57 +0000 (17:20 -0500)]
Use os malloc instead of our own gnu malloc in mpi-*-smp.

11 years agotopomanager: check in file missed during prev commit
Eric Bohm [Wed, 27 Oct 2010 22:16:02 +0000 (17:16 -0500)]
topomanager: check in file missed during prev commit

11 years agotopomanager: const-correctness for some member functions
Ramprasad Venkataraman [Wed, 27 Oct 2010 20:27:59 +0000 (15:27 -0500)]
topomanager: const-correctness for some member functions

11 years agoMerge branch 'ramv/fix-topo-tree' into charm
Ramprasad Venkataraman [Tue, 26 Oct 2010 20:34:25 +0000 (15:34 -0500)]
Merge branch 'ramv/fix-topo-tree' into charm

11 years agofixed VC++ compiler error on std::inserter
Zheng [Tue, 26 Oct 2010 06:10:27 +0000 (01:10 -0500)]
fixed VC++ compiler error on std::inserter

11 years agoupdated
Gengbin Zheng [Tue, 26 Oct 2010 04:44:11 +0000 (23:44 -0500)]

11 years agotested std::inserter (used in ParFUM)
Gengbin Zheng [Mon, 25 Oct 2010 19:48:00 +0000 (14:48 -0500)]
tested std::inserter (used in ParFUM)

11 years agofixed a compiler error with VC++ 10.0
Gengbin Zheng [Tue, 26 Oct 2010 03:59:43 +0000 (22:59 -0500)]
fixed a compiler error with VC++ 10.0

11 years agoMerge branch 'charm' of charmgit:charm into charm
JoAnne Geigner [Mon, 25 Oct 2010 21:32:46 +0000 (16:32 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agospanning trees: dont use deprecated TopoManager API
Ramprasad Venkataraman [Mon, 25 Oct 2010 18:09:11 +0000 (13:09 -0500)]
spanning trees: dont use deprecated TopoManager API

11 years agoabs() needs cstdlib
Ramprasad Venkataraman [Mon, 25 Oct 2010 17:49:24 +0000 (12:49 -0500)]
abs() needs cstdlib

11 years agoremoved the unnecessary warning "Group TraceControlPointsBOC is not yet capable of...
Gengbin Zheng [Mon, 25 Oct 2010 16:53:14 +0000 (11:53 -0500)]
removed the unnecessary warning "Group TraceControlPointsBOC is not yet capable of migration."

11 years agoRevert "remove the unnecessary warning "Group TraceControlPointsBOC is not yet capabl...
Gengbin Zheng [Mon, 25 Oct 2010 16:52:37 +0000 (11:52 -0500)]
Revert "remove the unnecessary warning "Group TraceControlPointsBOC is not yet capable of migration.""

This reverts commit cda2f550755b7c3b5c931f5d12c6e21f2483c73c.

11 years agockmulticast: spanning trees can have more branches than requested
Ramprasad Venkataraman [Fri, 22 Oct 2010 14:46:04 +0000 (09:46 -0500)]
ckmulticast: spanning trees can have more branches than requested

Hence update the number of actual children once the tree generation
routine identifies them

11 years agoremove the unnecessary warning "Group TraceControlPointsBOC is not yet capable of...
Gengbin Zheng [Mon, 25 Oct 2010 16:28:46 +0000 (11:28 -0500)]
remove the unnecessary warning "Group TraceControlPointsBOC is not yet capable of migration."

11 years agoCharj : Removed unnecessary statements from the newExpression rule
Minas Charalambides [Sat, 23 Oct 2010 18:47:01 +0000 (13:47 -0500)]
Charj : Removed unnecessary statements from the newExpression rule

Small fix in CharjASTModifier.classScopeDeclaration where
genericTypeParameterList would be rewritten even if empty,
causing a RewriteEmptyStreamException

11 years agoconfigure: Document meaning of CHARM_VERSION more explicitly
Phil Miller [Fri, 22 Oct 2010 22:13:40 +0000 (17:13 -0500)]
configure: Document meaning of CHARM_VERSION more explicitly

11 years agobluegenep: added -production flags to be used --with-production
Abhinav S Bhatele [Fri, 22 Oct 2010 15:28:55 +0000 (10:28 -0500)]
bluegenep: added -production flags to be used --with-production

11 years agofixed errors from previous change which was new instructions for liveViz
JoAnne Geigner [Fri, 22 Oct 2010 13:36:29 +0000 (08:36 -0500)]
fixed errors from previous change which was new instructions for liveViz

11 years agosupport visual studio 10
Gengbin Zheng [Fri, 22 Oct 2010 05:18:23 +0000 (00:18 -0500)]
support visual studio 10

11 years agoMS VC++ unix2nt_cc: update comments to reflect present versions
Phil Miller [Thu, 21 Oct 2010 18:53:15 +0000 (13:53 -0500)]
MS VC++ unix2nt_cc: update comments to reflect present versions

11 years agoMS VC++: Drop archaic compiler flag
Phil Miller [Thu, 21 Oct 2010 18:50:16 +0000 (13:50 -0500)]
MS VC++: Drop archaic compiler flag

Drop the /FD flag, since it now causes build failures on the current
version of VC++. MSDN has said it should not be used except by the IDE
since VS.NET 2003:

11 years agoSpanning trees: Dont count on-node subtree against maxBranches
Ramprasad Venkataraman [Thu, 21 Oct 2010 18:27:02 +0000 (13:27 -0500)]
Spanning trees: Dont count on-node subtree against maxBranches

Strategies that try to minimize the total bytes on the network use one sub-tree
for the on-node PEs. This used to count against the maximum allowed branching
factor specified for the spanning tree. However, in the case of binary trees
(maxBranches=2), this caused excessively deep trees as the inter-node tree was
effectively a chain! Fix this by not counting the local branch against the
allowed maximum branching factor (maxBranches).

As before, if there are not enough off-node children, the strategies will use
as many branches for local destinations as possible.

11 years agoRevert "turn off poll to make clustermatic support for on-demand queueing system...
Gengbin Zheng [Wed, 20 Oct 2010 16:03:07 +0000 (11:03 -0500)]
Revert "turn off poll to make clustermatic support for on-demand queueing system where a job is suspended temporarily."

This reverts commit 981ff2ec43e264ecda310d93e35419fda0f15a41.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Wed, 20 Oct 2010 16:00:52 +0000 (11:00 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoAdd a '-production' flag for architecture-specific features
Phil Miller [Thu, 21 Oct 2010 00:17:08 +0000 (19:17 -0500)]
Add a '-production' flag for architecture-specific features

Abhinav requested a flag to indicate that architecture-specific
production-mode features should be enabled. Add it from front (/build)
to back (charmc), with documentation.

To add something to the compiler flags, add an appropriate definition
of CMK_PRODUCTION or CMK_{C,CXX,F90,LD,LDXX}_PRODUCTION to or, and the -production flag will include it in
the options passed to the underlying compiler.

I did *not* make a test for this in the configure script, nor define a
C preprocessor macro CMK_PRODUCTION, because code should never be
testing that directly. Architecture-specific scripts should be
enabling particular features where they're appropriate.