charm.git
10 years agoCommenting one line of initialization makes program incorrect. Now this line is back
Yanhua Yanhua [Sun, 20 Feb 2011 07:29:51 +0000 (01:29 -0600)]
Commenting one line of initialization makes program incorrect. Now this line is back

10 years agolb_test: remove unnecessary lib paths
Abhinav S Bhatele [Sun, 20 Feb 2011 05:24:23 +0000 (23:24 -0600)]
lb_test: remove unnecessary lib paths

10 years agodoc: fix compilation errors
Abhinav S Bhatele [Sat, 19 Feb 2011 17:25:08 +0000 (11:25 -0600)]
doc: fix compilation errors

10 years agofix work stealing hanging problem on Jagua
Gengbin Zheng [Sat, 19 Feb 2011 01:52:20 +0000 (20:52 -0500)]
fix work stealing hanging problem on Jagua

10 years agoFixed a bug in setting the starting time of tracing MPI_Isend
Chao Mei [Fri, 18 Feb 2011 23:23:39 +0000 (17:23 -0600)]
Fixed a bug in setting the starting time of tracing MPI_Isend

10 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Fri, 18 Feb 2011 22:56:01 +0000 (16:56 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoAdded a macro to turn off user event when tracing MPI_Isend/MPI_Recv in order to...
Chao Mei [Fri, 18 Feb 2011 19:14:08 +0000 (13:14 -0600)]
Added a macro to turn off user event when tracing MPI_Isend/MPI_Recv in order to reduce the overhead of comm thread tracing.

10 years agofix a bug in workstealing for processor=2
Yanhua Yanhua [Fri, 18 Feb 2011 17:38:16 +0000 (11:38 -0600)]
fix a bug in workstealing for processor=2

10 years agoOnly use workstealing when processor number is more than 1
Yanhua Yanhua [Fri, 18 Feb 2011 17:23:29 +0000 (11:23 -0600)]
Only use workstealing when processor number is more than 1

10 years agosmp switch to os malloc.
Gengbin Zheng [Fri, 18 Feb 2011 06:19:49 +0000 (00:19 -0600)]
smp switch to os malloc.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 18 Feb 2011 05:53:24 +0000 (23:53 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoraise CcdUSER event to activate QD.
Gengbin Zheng [Fri, 18 Feb 2011 05:51:43 +0000 (23:51 -0600)]
raise CcdUSER event to activate QD.
disabled immediate message for now.
minor optimization in CldAckNoTaskHandler to reuse the incoming message.

10 years agoregister qd callback in a separate CcdUSER condition event, so that it can be called...
Gengbin Zheng [Fri, 18 Feb 2011 05:50:29 +0000 (23:50 -0600)]
register qd callback in a separate CcdUSER condition event, so that it can be called separately.

10 years agoAdded documentation for typed reductions
Aaron Becker [Fri, 18 Feb 2011 01:13:49 +0000 (19:13 -0600)]
Added documentation for typed reductions

10 years agoMerge branch 'charm' of charmgit:charm into charm
Abhinav S Bhatele [Thu, 17 Feb 2011 22:45:46 +0000 (16:45 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoWSLB: the target already exists as part of EveryLB
Abhinav S Bhatele [Thu, 17 Feb 2011 22:43:03 +0000 (16:43 -0600)]
WSLB: the target already exists as part of EveryLB

10 years agoInfrastructure for external package interaction
Phil Miller [Thu, 17 Feb 2011 21:39:21 +0000 (15:39 -0600)]
Infrastructure for external package interaction

10 years agoMakefile: Delete warning-generating spurious whitespace
Phil Miller [Thu, 17 Feb 2011 21:29:10 +0000 (15:29 -0600)]
Makefile: Delete warning-generating spurious whitespace

10 years agoFixed message tracing on comm thread (to trace those entry methods that need
Chao Mei [Thu, 17 Feb 2011 19:56:33 +0000 (13:56 -0600)]
Fixed message tracing on comm thread (to trace those entry methods that need
to be traced). And added trace for sending message on comm thread.

10 years agoPointing to the latest xlc compiler.
Sameer Kumar [Thu, 17 Feb 2011 00:21:12 +0000 (18:21 -0600)]
Pointing to the latest xlc compiler.

10 years agoAdd the -lmpl library.
Sameer Kumar [Wed, 16 Feb 2011 23:49:04 +0000 (17:49 -0600)]
Add the -lmpl library.

10 years agoBlue Gene/Q changes for charm++.
Sameer Kumar [Wed, 16 Feb 2011 22:33:28 +0000 (16:33 -0600)]
Blue Gene/Q changes for charm++.

10 years agoMS VC++: Define NOMINMAX at the compiler level, to avoid inclusion order issues
Phil Miller [Tue, 15 Feb 2011 17:09:24 +0000 (11:09 -0600)]
MS VC++: Define NOMINMAX at the compiler level, to avoid inclusion order issues

10 years agoDDT: Update old-style code and remove a VC++-ism
Phil Miller [Tue, 15 Feb 2011 16:31:56 +0000 (10:31 -0600)]
DDT: Update old-style code and remove a VC++-ism

10 years agock-ldb: LDBs which use METIS are using sendToList
Abhinav S Bhatele [Tue, 15 Feb 2011 03:01:06 +0000 (21:01 -0600)]
ck-ldb: LDBs which use METIS are using sendToList

at some point they should be changed to use both sendToList and
recvFromList

10 years agokNeighbor: finally behaving as expected of a load balancing benchmark
Abhinav S Bhatele [Tue, 15 Feb 2011 02:47:36 +0000 (20:47 -0600)]
kNeighbor: finally behaving as expected of a load balancing benchmark

10 years agoAMPI: Remove code that's been dead since 2000
Phil Miller [Tue, 15 Feb 2011 01:28:07 +0000 (19:28 -0600)]
AMPI: Remove code that's been dead since 2000

10 years agocray pmi: make the error more explicit
Abhinav Bhatele [Mon, 14 Feb 2011 22:15:24 +0000 (17:15 -0500)]
cray pmi: make the error more explicit

10 years agoset dependence of location mgr to ckmap group.
Gengbin Zheng [Mon, 14 Feb 2011 21:56:45 +0000 (15:56 -0600)]
set dependence of location mgr to ckmap group.

10 years agoadded a const to the group ID in setGroupDepID
Gengbin Zheng [Mon, 14 Feb 2011 21:53:37 +0000 (15:53 -0600)]
added a const to the group ID in setGroupDepID

10 years agoRemove long-dead code
Phil Miller [Mon, 14 Feb 2011 18:46:31 +0000 (12:46 -0600)]
Remove long-dead code

10 years agolapi-mpcc64: Compiler name and option selection for Linux and AIX support lapi-patch
Phil Miller [Mon, 14 Feb 2011 17:26:40 +0000 (11:26 -0600)]
lapi-mpcc64: Compiler name and option selection for Linux and AIX support

10 years agolapi-smp: Link the right pthread library for Linux or AIX
Phil Miller [Mon, 14 Feb 2011 16:55:30 +0000 (10:55 -0600)]
lapi-smp: Link the right pthread library for Linux or AIX

10 years agoRemove old CVS header
Phil Miller [Mon, 14 Feb 2011 15:32:45 +0000 (09:32 -0600)]
Remove old CVS header

10 years agoMS VC++: Disable spurious macro definitions of min/max
Phil Miller [Mon, 14 Feb 2011 15:30:43 +0000 (09:30 -0600)]
MS VC++: Disable spurious macro definitions of min/max

10 years agokNeighbor: remove more unused functions
Abhinav S Bhatele [Mon, 14 Feb 2011 03:23:50 +0000 (21:23 -0600)]
kNeighbor: remove more unused functions

10 years agokNeighbor: change the load pattern
Abhinav S Bhatele [Mon, 14 Feb 2011 02:46:05 +0000 (20:46 -0600)]
kNeighbor: change the load pattern

10 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua YanhuaSunLaptop [Sun, 13 Feb 2011 18:09:21 +0000 (12:09 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agocomment out some unnecessary code about CldProcData in work stealing
Yanhua YanhuaSunLaptop [Sun, 13 Feb 2011 18:08:49 +0000 (12:08 -0600)]
comment out some unnecessary code about CldProcData in work stealing

10 years agoRemove old CVS header
Phil Miller [Sun, 13 Feb 2011 17:40:39 +0000 (11:40 -0600)]
Remove old CVS header

10 years agoRemove another extraneous include
Phil Miller [Sun, 13 Feb 2011 17:40:30 +0000 (11:40 -0600)]
Remove another extraneous include

10 years agoRemove an extraneous include
Phil Miller [Sun, 13 Feb 2011 17:37:33 +0000 (11:37 -0600)]
Remove an extraneous include

10 years agoRecBipartLB: Minimize inclusions and prefer C++ headers
Phil Miller [Sun, 13 Feb 2011 17:37:14 +0000 (11:37 -0600)]
RecBipartLB: Minimize inclusions and prefer C++ headers

10 years agoRecBipartLB: Reduce exposure and fix a build break along the way
Phil Miller [Sun, 13 Feb 2011 17:29:41 +0000 (11:29 -0600)]
RecBipartLB: Reduce exposure and fix a build break along the way

Only put the class that actually needs to be in the external header there.
Everything else can go in the source file.

Rather than 'using namespace std', just say 'using std::vector'.

List headers from most to least specific, so that dependencies aren't hidden.

10 years agokNeighbor: simplify the code
Abhinav S Bhatele [Sat, 12 Feb 2011 20:54:00 +0000 (14:54 -0600)]
kNeighbor: simplify the code

10 years agoadd search engine code in examples/
Yanhua Yanhua [Fri, 11 Feb 2011 22:10:42 +0000 (16:10 -0600)]
add search engine code in examples/

10 years agoadd search engine code in example/
Yanhua Yanhua [Fri, 11 Feb 2011 22:09:10 +0000 (16:09 -0600)]
add search engine code in example/

10 years agoDocumentation for CsdNextMessage() and the multiple unprocessed msg queues in convers...
Ramprasad Venkataraman [Fri, 11 Feb 2011 17:10:44 +0000 (11:10 -0600)]
Documentation for CsdNextMessage() and the multiple unprocessed msg queues in converse/charm++

10 years agoMinor change to nqueen example makefile
Yanhua Yanhua [Fri, 11 Feb 2011 18:38:47 +0000 (12:38 -0600)]
Minor change to nqueen example makefile

10 years agonot all C compilers(e.g. xlc, vc++) support inline in C code.
Gengbin Zheng [Fri, 11 Feb 2011 14:18:21 +0000 (08:18 -0600)]
not all C compilers(e.g. xlc, vc++)  support inline in C code.

10 years agofix a bug in seed load balancer about begin idle
Yanhua YanhuaSunLaptop [Fri, 11 Feb 2011 06:37:29 +0000 (00:37 -0600)]
fix a bug in seed load balancer about begin idle

10 years agoregisterCPReductions needs to be initnode call, and called once per node (for SMP...
Gengbin Zheng [Thu, 10 Feb 2011 22:00:15 +0000 (16:00 -0600)]
registerCPReductions needs to be initnode call, and called once per node (for SMP). reduceTable is node level data structure.

10 years agoRecBipartLB: ldb strategy using recursive bipartition
Abhinav S Bhatele [Thu, 10 Feb 2011 18:48:22 +0000 (12:48 -0600)]
RecBipartLB: ldb strategy using recursive bipartition

code written by Swapnil Ghike (ghike2@illinois.edu)

10 years agoturn off TLS based Cpv when not using gnu compiler.
Gengbin Zheng [Thu, 10 Feb 2011 15:31:23 +0000 (15:31 +0000)]
turn off TLS based Cpv when not using gnu compiler.

10 years agoadded a ";" before the CkpvDeclare(char**,Ck_argv);
Gengbin Zheng [Thu, 10 Feb 2011 15:22:36 +0000 (15:22 +0000)]
added a ";" before the CkpvDeclare(char**,Ck_argv);
seem to please xlC compiler on bluegene-smp-xlc

10 years agojacobi3d-sdag: remove incomplete load balancing support
Abhinav S Bhatele [Thu, 10 Feb 2011 07:40:16 +0000 (01:40 -0600)]
jacobi3d-sdag: remove incomplete load balancing support

10 years agominor formatting change to the previous commit.
Gengbin Zheng [Thu, 10 Feb 2011 05:07:19 +0000 (23:07 -0600)]
minor formatting change to the previous commit.

10 years agoRevert "fixed the cmipool init."
Gengbin Zheng [Thu, 10 Feb 2011 05:04:04 +0000 (23:04 -0600)]
Revert "fixed the cmipool init."

This reverts commit 76204a97287b400aa24f62280b01573d1de45c31.

10 years agoa slight better way to implement CpvInitialized() under TLS-based Cpvs, to reduce...
Gengbin Zheng [Thu, 10 Feb 2011 05:02:04 +0000 (23:02 -0600)]
a slight better way to implement CpvInitialized() under TLS-based Cpvs, to reduce some race condtion in SMP.

10 years agompi-crayxt topo: test for module that provides rca_get_meshcoord() v6.3.0-beta2
Phil Miller [Tue, 8 Feb 2011 22:26:56 +0000 (16:26 -0600)]
mpi-crayxt topo: test for module that provides rca_get_meshcoord()

In configure, test for header and library linkage to get mesh
coordinates on Cray XT[456]. If it's not available, fail with an
appropriate message in the affected file.

10 years agompi-crayxt: Don't link rca by default, since it's not generally useful
Phil Miller [Wed, 9 Feb 2011 20:55:23 +0000 (14:55 -0600)]
mpi-crayxt: Don't link rca by default, since it's not generally useful

10 years agoconfigure: clean and clarify PMI_Get_nid test
Phil Miller [Tue, 8 Feb 2011 22:21:40 +0000 (16:21 -0600)]
configure: clean and clarify PMI_Get_nid test

10 years agoproper take care of ++ppn (with two +'s)
Gengbin Zheng [Wed, 9 Feb 2011 20:26:21 +0000 (14:26 -0600)]
proper take care of ++ppn (with two +'s)

10 years agofixed the cmipool init.
Gengbin Zheng [Wed, 9 Feb 2011 20:20:57 +0000 (14:20 -0600)]
fixed the cmipool init.

10 years agoalways initialize CmiPool (it does not cost much extra space) since user can still...
Gengbin Zheng [Wed, 9 Feb 2011 06:50:03 +0000 (00:50 -0600)]
always initialize CmiPool (it does not cost much extra space) since user can still explicitly call CmiPoolAlloc(). and CmiPoolAllocInit() is important for smp build of charm

10 years agoxlc: remove all remaining -qstaticinline
Phil Miller [Wed, 9 Feb 2011 01:53:09 +0000 (19:53 -0600)]
xlc: remove all remaining -qstaticinline

10 years agompi-crayxt topo: test for modules that provide PMI_Get_nid()
Phil Miller [Tue, 8 Feb 2011 21:04:35 +0000 (15:04 -0600)]
mpi-crayxt topo: test for modules that provide PMI_Get_nid()

In configure, test for the function necessary to get topology
information on Cray XT[456]. If that function is not available, fail
in compilation of the affected file, with an error indicating what
modules to load to get that function.

10 years agock-ldb: separate the load balancers into two lists
Abhinav S Bhatele [Tue, 8 Feb 2011 20:37:10 +0000 (14:37 -0600)]
ck-ldb: separate the load balancers into two lists

10 years agoPingpong test: const-correctness warning cleanup
Phil Miller [Tue, 8 Feb 2011 04:41:28 +0000 (22:41 -0600)]
Pingpong test: const-correctness warning cleanup

10 years agoAMPI: Define MPI_GROUP_EMPTY
Phil Miller [Tue, 8 Feb 2011 02:23:19 +0000 (20:23 -0600)]
AMPI: Define MPI_GROUP_EMPTY

Define the constant MPI_GROUP_EMPTY to refer to an empty group
inserted in the groups data structure at initialization time.

This allows mpich-test/context/{ictest3,grouptest} to compile and
run. They do not yet pass, though.

10 years agonet-sol-x86_64: Fix for junky compiler/preprocessor
Phil Miller [Tue, 8 Feb 2011 01:56:04 +0000 (19:56 -0600)]
net-sol-x86_64: Fix for junky compiler/preprocessor

Tested there and on net-linux-x86_64

10 years agosimple2d: fix Makefile rules
Abhinav S Bhatele [Mon, 7 Feb 2011 22:33:12 +0000 (16:33 -0600)]
simple2d: fix Makefile rules

10 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Fri, 4 Feb 2011 23:38:24 +0000 (17:38 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoUpdated the config test for CMK_HAS_SETAFFINITY
Chao Mei [Fri, 4 Feb 2011 23:37:07 +0000 (17:37 -0600)]
Updated the config test for CMK_HAS_SETAFFINITY

10 years agoa patch from Jim: find a group size that evenly divides the number of pes.
Gengbin Zheng [Fri, 4 Feb 2011 18:07:06 +0000 (12:07 -0600)]
a patch from Jim: find a group size that evenly divides the number of pes.

10 years agoNet Charmrun: fix syntax error in generated script under ++mpiexec
Phil Miller [Thu, 3 Feb 2011 21:38:20 +0000 (15:38 -0600)]
Net Charmrun: fix syntax error in generated script under ++mpiexec

10 years agoAdded a new topology (mesh 3D) to simulate a 3D simulation space.
Esteban Meneses [Thu, 3 Feb 2011 20:17:24 +0000 (14:17 -0600)]
Added a new topology (mesh 3D) to simulate a 3D simulation space.

10 years agosimple2d: fix compilation error
Abhinav S Bhatele [Thu, 3 Feb 2011 18:55:12 +0000 (12:55 -0600)]
simple2d: fix compilation error

10 years agoMerge branch 'charm' of charmgit:charm into charm
Abhinav S Bhatele [Wed, 2 Feb 2011 23:35:38 +0000 (23:35 +0000)]
Merge branch 'charm' of charmgit:charm into charm

10 years agosimple2D: indentation and other minor changes
Abhinav S Bhatele [Wed, 2 Feb 2011 23:35:06 +0000 (23:35 +0000)]
simple2D: indentation and other minor changes

10 years agoNet Charmrun mpiexec: fail noisily if node count cannot be detected
Phil Miller [Wed, 2 Feb 2011 05:01:21 +0000 (23:01 -0600)]
Net Charmrun mpiexec: fail noisily if node count cannot be detected

10 years agoNet Charmrun mpiexec: fail noisily if rank cannot be detected
Phil Miller [Wed, 2 Feb 2011 04:54:53 +0000 (22:54 -0600)]
Net Charmrun mpiexec: fail noisily if rank cannot be detected

10 years agoNet Charmrun: support PMI_ID under mpiexec
Phil Miller [Wed, 2 Feb 2011 04:53:30 +0000 (22:53 -0600)]
Net Charmrun: support PMI_ID under mpiexec

10 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Tue, 1 Feb 2011 21:20:23 +0000 (15:20 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoChange reduction wrapper callbacks to use CkReductionTarget
Aaron Becker [Tue, 1 Feb 2011 21:19:54 +0000 (15:19 -0600)]
Change reduction wrapper callbacks to use CkReductionTarget

10 years agofixed a bug found in AMPI_Comm_split: when color is MPI_UNDEFINED, it supposed to...
Gengbin Zheng [Tue, 1 Feb 2011 18:33:49 +0000 (12:33 -0600)]
fixed a bug found in AMPI_Comm_split: when color is MPI_UNDEFINED, it supposed to return MPI_COMM_NULL

10 years agoFT: changes to make smp restart work
Xiang Ni [Tue, 1 Feb 2011 05:48:44 +0000 (23:48 -0600)]
FT: changes to make smp restart work

10 years agoRevert "changes to make smp restart work"
Phil Miller [Tue, 1 Feb 2011 06:55:38 +0000 (00:55 -0600)]
Revert "changes to make smp restart work"

Undo conglomeration of sutff, one piece of which was the intended change.

This reverts commit 6d419d67c59ae54bc412a77a5961674862f82c5e.

Conflicts:

src/ck-core/qd.C

10 years agomodified
Xiang Ni [Tue, 1 Feb 2011 06:48:33 +0000 (00:48 -0600)]
modified

10 years agoMerge branch 'charm' of charmgit:charm into charm
Xiang Ni [Tue, 1 Feb 2011 05:49:10 +0000 (23:49 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agochanges to make smp restart work
Xiang Ni [Tue, 1 Feb 2011 05:48:44 +0000 (23:48 -0600)]
changes to make smp restart work

10 years agowave2d: pdf not required
ASB [Mon, 31 Jan 2011 02:32:07 +0000 (20:32 -0600)]
wave2d: pdf not required

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 30 Jan 2011 16:31:07 +0000 (10:31 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agofixed a recursive dependency problem in isomalloc. isomalloc_blocklist is CpvInistial...
Gengbin Zheng [Sun, 30 Jan 2011 16:29:14 +0000 (10:29 -0600)]
fixed a recursive dependency problem in isomalloc. isomalloc_blocklist is CpvInistialized which calls malloc again, which checked isomalloc_blocklist itself. Race conditions in SMP mode, can cause weird problem and crash.
Fixed by introduce another flag to only allow isomalloc to check isomalloc_blocklist after memory initialized.

10 years agoUse old-style cast for message construction downcasting
Phil Miller [Sun, 30 Jan 2011 16:17:41 +0000 (10:17 -0600)]
Use old-style cast for message construction downcasting

VC++ and Sun CC were not happy with the reinterpret_cast<> that I had
used, and returned NULL. Switch to an old-style cast to make them work.

Tested on net-linux-x86_64 before commit.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 30 Jan 2011 08:50:35 +0000 (02:50 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoRemove another CVS header v6.3.0-beta1
Phil Miller [Fri, 28 Jan 2011 23:19:10 +0000 (17:19 -0600)]
Remove another CVS header

10 years agoFix allocation/initialization bug in messages with varsize arrays
Phil Miller [Fri, 7 Jan 2011 20:43:36 +0000 (14:43 -0600)]
Fix allocation/initialization bug in messages with varsize arrays

Store the offsets computed during message allocation and assign the
pointers to later in the buffer during the constructor of the
message's generated base class. This saves us from cases where the
compiler overwrites the buffer's contents between allocation and
construction.

This patch does not address the cases in which
 - The compiler generates code in the user's constructor that
   overwrites these pointers
 - Alignment is screwed up by the compiler padding the allocation at
   the beginning rather than the end.
We don't currently know of instances in which either of these errors
occurs.

10 years agoAdded CkReductionTarget for reductiontarget callbacks
Aaron Becker [Fri, 28 Jan 2011 22:38:35 +0000 (16:38 -0600)]
Added CkReductionTarget for reductiontarget callbacks

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 28 Jan 2011 20:22:21 +0000 (14:22 -0600)]
Merge branch 'charm' of charmgit:charm into charm