charm.git
10 years agofixed for VC++ windows
Gengbin Zheng [Tue, 29 Mar 2011 19:44:14 +0000 (14:44 -0500)]
fixed for VC++ windows

10 years agoupdated dependence rules for TreeMatchLB
Gengbin Zheng [Tue, 29 Mar 2011 19:38:45 +0000 (14:38 -0500)]
updated dependence rules for TreeMatchLB

10 years agoOverwrite changes
Emmanuel Jeannot [Tue, 29 Mar 2011 19:36:05 +0000 (21:36 +0200)]
Overwrite changes

10 years agoi
Emmanuel Jeannot [Tue, 29 Mar 2011 19:33:34 +0000 (21:33 +0200)]
i

10 years agosyntax error --
Emmanuel Jeannot [Tue, 29 Mar 2011 19:30:45 +0000 (21:30 +0200)]
syntax error --

10 years agoTreematch load balancer ++
Emmanuel Jeannot [Tue, 29 Mar 2011 19:11:48 +0000 (21:11 +0200)]
Treematch load balancer ++

10 years agoMerge branch 'charm' of charmgit:charm into charm
Emmanuel Jeannot [Tue, 29 Mar 2011 18:53:26 +0000 (20:53 +0200)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoload balancer with taking inti account load of objects
Emmanuel Jeannot [Tue, 29 Mar 2011 18:52:46 +0000 (20:52 +0200)]
load balancer with taking inti account load of objects

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Tue, 29 Mar 2011 18:47:42 +0000 (13:47 -0500)]
Merge branch 'charm' of charmgit:charm into charm

10 years agofixed VC++.
Gengbin Zheng [Tue, 29 Mar 2011 18:47:19 +0000 (13:47 -0500)]
fixed VC++.

10 years agoturned off RDTSC timer.
Gengbin Zheng [Tue, 29 Mar 2011 16:07:17 +0000 (11:07 -0500)]
turned off RDTSC timer.

10 years agovarious fix for windows build.
Gengbin Zheng [Tue, 29 Mar 2011 01:04:35 +0000 (20:04 -0500)]
various fix for windows build.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Mon, 28 Mar 2011 20:05:57 +0000 (15:05 -0500)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoadded Prof Emmanuel Jeannot's tree match load balancer.
Gengbin Zheng [Mon, 28 Mar 2011 20:04:44 +0000 (15:04 -0500)]
added Prof Emmanuel Jeannot's tree match load balancer.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Mon, 28 Mar 2011 07:19:01 +0000 (02:19 -0500)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoAdd CMK_TRACE_ENABLED for the previous check-in
Chao Mei [Mon, 28 Mar 2011 07:18:17 +0000 (02:18 -0500)]
Add CMK_TRACE_ENABLED for the previous check-in

10 years agoupdated charm version minor number due to the change in the previous commit in hybrid...
Gengbin Zheng [Mon, 28 Mar 2011 06:16:43 +0000 (01:16 -0500)]
updated charm version minor number due to the change in the previous commit in hybrid tree argument

10 years agoThreeLevelTree takes an argument to set group size.
Gengbin Zheng [Mon, 28 Mar 2011 06:01:09 +0000 (01:01 -0500)]
ThreeLevelTree takes an argument to set group size.

10 years agoRemove CMK_OPTIMIZE if tracing user events is enabled
Chao Mei [Mon, 28 Mar 2011 04:08:50 +0000 (23:08 -0500)]
Remove CMK_OPTIMIZE if tracing user events is enabled

10 years agoOnly print out info regarding cpuaffinity mapping on node 0.
Chao Mei [Sun, 27 Mar 2011 00:52:12 +0000 (19:52 -0500)]
Only print out info regarding cpuaffinity mapping on node 0.

10 years agoAdded codes to trace the MPI calls in the machine layer for non-smp run
Chao Mei [Sat, 26 Mar 2011 04:20:06 +0000 (23:20 -0500)]
Added codes to trace the MPI calls in the machine layer for non-smp run

10 years agodo nothing if adding a backward dependence.
Gengbin Zheng [Thu, 24 Mar 2011 16:50:08 +0000 (11:50 -0500)]
do nothing if adding a backward dependence.

10 years agofixed compiler warnings
Gengbin Zheng [Thu, 24 Mar 2011 16:49:35 +0000 (11:49 -0500)]
fixed compiler warnings

10 years agofixed a compiler warning
Gengbin Zheng [Thu, 24 Mar 2011 16:49:16 +0000 (11:49 -0500)]
fixed a compiler warning

10 years agomore load balancing time to use LBRealType.
Gengbin Zheng [Thu, 24 Mar 2011 06:48:16 +0000 (01:48 -0500)]
more load balancing time to use LBRealType.

10 years agovariable to store the original timer call is double always
Gengbin Zheng [Thu, 24 Mar 2011 06:45:00 +0000 (01:45 -0500)]
variable to store the original timer call is double always

10 years agoadd --with-lbtime-type in help
Gengbin Zheng [Thu, 24 Mar 2011 06:36:51 +0000 (01:36 -0500)]
add --with-lbtime-type in help

10 years agoa workaround for clang compiler, which crash at declaring array of size of negative...
Gengbin Zheng [Thu, 24 Mar 2011 06:24:06 +0000 (01:24 -0500)]
a workaround for clang compiler, which crash at declaring array of size of negative value.

10 years agoTopoMgrAPI: update the max nid on Jaguar
Abhinav S Bhatele [Thu, 24 Mar 2011 03:41:46 +0000 (22:41 -0500)]
TopoMgrAPI: update the max nid on Jaguar

10 years agoAdd explicit "this->" to comply with strict C++ two-level lookup rules
Aaron Becker [Wed, 23 Mar 2011 22:35:53 +0000 (17:35 -0500)]
Add explicit "this->" to comply with strict C++ two-level lookup rules

10 years agoUse CmiAbort instead of writing directly to null pointer.
Aaron Becker [Wed, 23 Mar 2011 22:32:19 +0000 (17:32 -0500)]
Use CmiAbort instead of writing directly to null pointer.

Clang complains about "*((void*)0) = 0;", and may optimize it away
unless the write is made to a volatile variable. Using CmiAbort
is more informative in any case.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Wed, 23 Mar 2011 20:08:43 +0000 (15:08 -0500)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoAdd clang to supported compilers
Aaron Becker [Wed, 23 Mar 2011 20:05:20 +0000 (15:05 -0500)]
Add clang to supported compilers

10 years agoUse explicit "this" to comply with strict C++ two-level naming rules
Aaron Becker [Wed, 23 Mar 2011 20:02:25 +0000 (15:02 -0500)]
Use explicit "this" to comply with strict C++ two-level naming rules

10 years agominor change
Gengbin Zheng [Tue, 22 Mar 2011 23:16:43 +0000 (18:16 -0500)]
minor change

10 years agoMinor change so that the pemap info is only printed out on proc 0 when it is loaded...
Chao Mei [Wed, 23 Mar 2011 06:54:04 +0000 (01:54 -0500)]
Minor change so that the pemap info is only printed out on proc 0 when it is loaded from a file.

10 years agoa new cmmand line option +pemapfile to specify a file name that contains the pemap.
Gengbin Zheng [Tue, 22 Mar 2011 21:39:36 +0000 (16:39 -0500)]
a new cmmand line option +pemapfile to specify a file name that contains the pemap.

10 years agoadded bigsim version of CkNodeSize and CkNodeFirst
Gengbin Zheng [Sat, 19 Mar 2011 06:15:52 +0000 (01:15 -0500)]
added bigsim version of CkNodeSize and CkNodeFirst

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 18 Mar 2011 21:29:11 +0000 (16:29 -0500)]
Merge branch 'charm' of charmgit:charm into charm

10 years agodefine SEQ compiler properly, instead of being like using icc and gcc at same time.
Gengbin Zheng [Fri, 18 Mar 2011 21:28:08 +0000 (16:28 -0500)]
define SEQ compiler properly, instead of being like using icc and gcc at same time.

10 years agofixed that bug that prevent charm converse broadcast to work on num of pes greater...
Gengbin Zheng [Fri, 18 Mar 2011 04:39:23 +0000 (23:39 -0500)]
fixed that bug that prevent charm converse broadcast to work on num of pes greater than 65536 (size of short). This was due to the use of Uint2 as "root" in converser header.
Fixed it by expanding it to a UInt4.
Prevent the header size from increasing by remove the error checking fields (magic and checksum) to be only used when --enable-error-checking.
Production build of mpi layer should not be affected.

10 years agomake the test shorter
Gengbin Zheng [Fri, 18 Mar 2011 04:34:36 +0000 (23:34 -0500)]
make the test shorter

10 years agominor changes
Gengbin Zheng [Fri, 18 Mar 2011 04:20:38 +0000 (23:20 -0500)]
minor changes

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 17 Mar 2011 07:37:34 +0000 (07:37 +0000)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoremoved unnecessary reference of paper.
Gengbin Zheng [Thu, 17 Mar 2011 07:33:27 +0000 (07:33 +0000)]
removed unnecessary reference of paper.
We don't want to encourage this practice, otherwise we can have many papers crowded into charm source code.

10 years agoadded new reduction built-in type: nop
Gengbin Zheng [Thu, 17 Mar 2011 01:23:53 +0000 (20:23 -0500)]
added new reduction built-in type: nop

10 years agoadded a reduction operation "nop" which does nothing.
Gengbin Zheng [Thu, 17 Mar 2011 01:20:23 +0000 (20:20 -0500)]
added a reduction operation "nop" which does nothing.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Wed, 16 Mar 2011 22:30:05 +0000 (17:30 -0500)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoAdded a flag to control whether to notify the children elements that a reduction...
Chao Mei [Wed, 16 Mar 2011 22:28:38 +0000 (17:28 -0500)]
Added a flag to control whether to notify the children elements that a reduction has started. Enabling this flag when users are sure that there's at least one element on each processor per chare array created. In such case, the reduction overhead will be reduced.

10 years agoEnable GROUP_LEVEL_TREE in ckreduction when the build is multicore or non-smp to...
Chao Mei [Wed, 16 Mar 2011 21:23:07 +0000 (16:23 -0500)]
Enable GROUP_LEVEL_TREE in ckreduction when the build is multicore or non-smp to reduce the overhead in reduction

10 years agoa minor fix
Gengbin Zheng [Wed, 16 Mar 2011 06:54:31 +0000 (01:54 -0500)]
a minor fix

10 years agoFixed a linking error if neither the spanning tree nor the hypercube broadcast is...
Chao Mei [Tue, 15 Mar 2011 20:57:44 +0000 (15:57 -0500)]
Fixed a linking error if neither the spanning tree nor the hypercube broadcast is defined.

10 years agoCorrected the implementation for SendHypercube(Node) to follow the order of msgs...
Chao Mei [Tue, 15 Mar 2011 19:53:11 +0000 (14:53 -0500)]
Corrected the implementation for SendHypercube(Node) to follow the order of msgs to be sent as described in the broadcast algorithm in HyperCube.

10 years agoCleaned the codes for SendSpanningChildren so that the non-SMP version shares as...
Chao Mei [Tue, 15 Mar 2011 19:14:21 +0000 (14:14 -0500)]
Cleaned the codes for SendSpanningChildren so that the non-SMP version shares as much codes as possible with that of SMP version.

10 years agoThe implementation of SendHypercube is corrected to follow the algorithm exactly...
Chao Mei [Tue, 15 Mar 2011 19:08:46 +0000 (14:08 -0500)]
The implementation of SendHypercube is corrected to follow the algorithm exactly. In addition, the non-SMP version shares as much codes as possible with that of SMP version.

10 years agomoved memory fence definition back to its original place (after Cpvs) since on window...
Gengbin Zheng [Tue, 15 Mar 2011 14:57:06 +0000 (09:57 -0500)]
moved memory fence definition back to its original place (after Cpvs) since on windows build it needs definition of type CmiNodeLock.

10 years agoFixed the implementation of SendHypercube as it should consider the starting pe of...
Chao Mei [Tue, 15 Mar 2011 05:22:12 +0000 (00:22 -0500)]
Fixed the implementation of SendHypercube as it should consider the starting pe of a broadcast.

10 years agoFixed the spanning tree implementation in SMP mode. Note it is a charm smp node
Chao Mei [Tue, 15 Mar 2011 02:49:38 +0000 (21:49 -0500)]
Fixed the spanning tree implementation in SMP mode. Note it is a charm smp node
aware spanning tree. Now spanning tree for broadcast is enabled in default in any charm mode. Additionally, the broadcast in hypercube is also made charm smp node aware.

10 years agoa workaround for bluegenep-smp with buggy xlc compiler - disable memory fence in...
Gengbin Zheng [Mon, 14 Mar 2011 18:27:54 +0000 (18:27 +0000)]
a workaround for bluegenep-smp with buggy xlc compiler - disable memory fence   in Cpv initialize.

10 years agochange all uiuc addresses to illinois v6.3.0
Abhinav S Bhatele [Mon, 14 Mar 2011 07:01:06 +0000 (02:01 -0500)]
change all uiuc addresses to illinois

10 years agoibverbs machine does not have an efficient implementation of CldMultipleSend, using...
Gengbin Zheng [Mon, 14 Mar 2011 06:11:03 +0000 (01:11 -0500)]
ibverbs machine does not have an efficient implementation of CldMultipleSend, using CldSimpleMultipleSend instead

10 years agouse CldSimpleMultipleSend (one by one sending) since CldMultipleSend in ibverbs are...
Gengbin Zheng [Mon, 14 Mar 2011 05:46:46 +0000 (00:46 -0500)]
use CldSimpleMultipleSend (one by one sending) since CldMultipleSend in ibverbs are very inefficient.
also modified CldSimpleMultipleSend to work within immediate handlers.

10 years agoRevert "change CldSimpleMultipleSend to work within immediate handler."
Gengbin Zheng [Mon, 14 Mar 2011 05:44:42 +0000 (00:44 -0500)]
Revert "change CldSimpleMultipleSend to work within immediate handler."

This reverts commit ee55439323e76222ccd29ec692d8876817637718.

10 years agoRevert "use CldSimpleMultipleSend (one by one sending) since CldMultipleSend in ibver...
Gengbin Zheng [Mon, 14 Mar 2011 05:43:49 +0000 (00:43 -0500)]
Revert "use CldSimpleMultipleSend (one by one sending) since CldMultipleSend in ibverbs are very inefficient."

This reverts commit 3560aec58cea3ad688fe236d7d11fa906970cb42.

10 years agouse CldSimpleMultipleSend (one by one sending) since CldMultipleSend in ibverbs are...
Gengbin Zheng [Mon, 14 Mar 2011 05:40:47 +0000 (00:40 -0500)]
use CldSimpleMultipleSend (one by one sending) since CldMultipleSend in ibverbs are very inefficient.

10 years agochange CldSimpleMultipleSend to work within immediate handler.
Gengbin Zheng [Mon, 14 Mar 2011 05:37:20 +0000 (00:37 -0500)]
change CldSimpleMultipleSend to work within immediate handler.
also fixed a bug in getting the CldBalanceHandlerIndex in CldSimpleMultipleSend()

10 years agofixed a memory error - does not allocate enough environ variable array for ++local...
Gengbin Zheng [Sun, 13 Mar 2011 00:50:26 +0000 (18:50 -0600)]
fixed a memory error - does not allocate enough environ variable array for ++local startup method.

10 years agochanged for immediate msg
Gengbin Zheng [Sat, 12 Mar 2011 06:17:53 +0000 (00:17 -0600)]
changed for immediate msg
also changed LOADTHRESH value

10 years agoMerge branches 'charm', 'charm' and 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 12 Mar 2011 06:11:31 +0000 (00:11 -0600)]
Merge branches 'charm', 'charm' and 'charm' of charmgit:charm into charm

10 years agoadd user event in neighbor load balancer
Yanhua YanhuaSunLaptop [Sat, 12 Mar 2011 05:46:57 +0000 (23:46 -0600)]
add user event in neighbor load balancer

10 years agoMerge branches 'charm' and 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 12 Mar 2011 02:29:08 +0000 (20:29 -0600)]
Merge branches 'charm' and 'charm' of charmgit:charm into charm

10 years agoadded some user event tracing.
Gengbin Zheng [Sat, 12 Mar 2011 00:40:39 +0000 (18:40 -0600)]
added some user event tracing.

10 years agoadd an option to control how many loads left befor stealing
Yanhua Sun [Fri, 11 Mar 2011 22:03:03 +0000 (16:03 -0600)]
add an option to control how many loads left befor stealing

10 years agoadded a new function CldCountTokensRank(int rank) for communication thread to get...
Gengbin Zheng [Fri, 11 Mar 2011 20:46:34 +0000 (14:46 -0600)]
added a new function CldCountTokensRank(int rank)  for communication thread to get token number on a specific rank.

10 years agofixed a memory leak, also make proactive really work.
Gengbin Zheng [Fri, 11 Mar 2011 07:46:33 +0000 (01:46 -0600)]
fixed a memory leak, also make proactive really work.

10 years agoask for strictpass when checking -fno-stack-protector
Gengbin Zheng [Fri, 11 Mar 2011 04:54:55 +0000 (22:54 -0600)]
ask for strictpass when checking -fno-stack-protector

10 years agofix for the smp torus topo
Gengbin Zheng [Fri, 11 Mar 2011 05:05:45 +0000 (23:05 -0600)]
fix for the smp torus topo

10 years agoinline two msg pool functions.
Gengbin Zheng [Fri, 11 Mar 2011 03:58:19 +0000 (21:58 -0600)]
inline two msg pool functions.

10 years agoa better load msg buffering scheme.
Gengbin Zheng [Fri, 11 Mar 2011 00:26:46 +0000 (18:26 -0600)]
a better load msg buffering scheme.

10 years agoturn off cpp generating line number control statement so that preprocessing of ci...
Gengbin Zheng [Thu, 10 Mar 2011 22:30:31 +0000 (16:30 -0600)]
turn off cpp generating line number control statement so that preprocessing of ci file works with charmxi.

10 years agofixed a bug in recent change
Gengbin Zheng [Thu, 10 Mar 2011 21:15:27 +0000 (15:15 -0600)]
fixed a bug in recent change

10 years agoadd environ CmiNumNodes to make ++local working with ibverbs.
Gengbin Zheng [Thu, 10 Mar 2011 15:21:38 +0000 (09:21 -0600)]
add environ CmiNumNodes to make ++local working with ibverbs.

10 years agoDeleted extra braces in btree_delete_int() of isomalloc.c that sometimes caused the...
Ryan Mokos [Thu, 10 Mar 2011 02:58:01 +0000 (20:58 -0600)]
Deleted extra braces in btree_delete_int() of isomalloc.c that sometimes caused the b-tree to merge nodes when it shouldn't.  Moved some variable declarations to the beginning of btree_delete_int() to keep the code C compatible.  And also added some more comments at the top of isomalloc.c to explain the data structures better.

10 years agominor changes to immediate message handling to reduce the overhead (by default it...
Gengbin Zheng [Wed, 9 Mar 2011 15:02:56 +0000 (15:02 +0000)]
minor changes to immediate message handling to reduce the overhead (by default it is still off)

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Wed, 9 Mar 2011 14:56:21 +0000 (08:56 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agomake it explicitly generate 32 bit binary (since QT is for 32 bit anyway)
Gengbin Zheng [Wed, 9 Mar 2011 14:55:16 +0000 (08:55 -0600)]
make it explicitly generate 32 bit binary (since QT is for 32 bit anyway)

10 years agoMerge branch 'charm' of git://charm.cs.illinois.edu/charm into charm
Nikhil Jain [Tue, 8 Mar 2011 23:00:03 +0000 (17:00 -0600)]
Merge branch 'charm' of git://charm.cs.illinois.edu/charm into charm

10 years agock-ldb: fix comm graph and leaks in ScotchLB
Nikhil Jain [Tue, 8 Mar 2011 22:58:13 +0000 (16:58 -0600)]
ck-ldb: fix comm graph and leaks in ScotchLB

10 years agoavoid -fPIC in multicore build if not needed.
Gengbin Zheng [Mon, 7 Mar 2011 22:46:59 +0000 (16:46 -0600)]
avoid -fPIC in multicore build if not needed.

10 years agochanged the test in previous checkin to refine to linux (including multicore version)
Gengbin Zheng [Mon, 7 Mar 2011 22:40:31 +0000 (16:40 -0600)]
changed the test in previous checkin to refine to linux (including multicore version)

10 years agotest if compiler takes -fno-stack-protector on linux
Gengbin Zheng [Mon, 7 Mar 2011 20:36:06 +0000 (14:36 -0600)]
test if compiler takes -fno-stack-protector on linux

10 years agoRevert "added -fno-stack-protector to disable stack smashing protection by compiler"
Gengbin Zheng [Mon, 7 Mar 2011 18:41:11 +0000 (12:41 -0600)]
Revert "added -fno-stack-protector to disable stack smashing protection by compiler"

This reverts commit e5ae1fb6a82962b5b4bc7b700313b31c6a7faeae.

10 years agoadded -fno-stack-protector to disable stack smashing protection by compiler
Gengbin Zheng [Mon, 7 Mar 2011 18:36:16 +0000 (12:36 -0600)]
added -fno-stack-protector to disable stack smashing protection by compiler

10 years agominor changes in compiling tls version.
Gengbin Zheng [Mon, 7 Mar 2011 18:30:48 +0000 (12:30 -0600)]
minor changes in compiling tls version.

10 years agomake sure we don't add an extra -tls when -tlsglobals
Gengbin Zheng [Mon, 7 Mar 2011 18:24:06 +0000 (12:24 -0600)]
make sure we don't add an extra -tls when -tlsglobals

10 years agowith -tlsglobals parameter, charmc picks up *-tls version of thread library.
Gengbin Zheng [Mon, 7 Mar 2011 06:06:50 +0000 (00:06 -0600)]
with -tlsglobals parameter, charmc picks up *-tls version of thread library.

10 years agocompile tlsglobals support of uJcontext-tls.o, and for default thread library.
Gengbin Zheng [Mon, 7 Mar 2011 06:05:51 +0000 (00:05 -0600)]
compile tlsglobals support of uJcontext-tls.o, and for default thread library.

10 years agominor changes
Gengbin Zheng [Mon, 7 Mar 2011 05:57:09 +0000 (23:57 -0600)]
minor changes

10 years agoChkpt: Fix a const-correctness warning
Phil Miller [Mon, 7 Mar 2011 02:32:22 +0000 (20:32 -0600)]
Chkpt: Fix a const-correctness warning

10 years agoSDAG: Don't free a stored message until it's dead
Phil Miller [Mon, 7 Mar 2011 01:54:16 +0000 (19:54 -0600)]
SDAG: Don't free a stored message until it's dead

Commit 8f693c5af40eb40733a750b5802ab5f292b4288f added message
reference count increment/decrement calls to SDAG to enable marking
the targets in a 'when' clause as [nokeep]. However, it freed the
messages after the first SDAG statement in the body of the when,
rather than the last. This error was found in the course of Charm LU
development.