charm.git
9 years agoMerge branch 'charm' of charmgit:charm into charm
Esteban Meneses [Fri, 20 Apr 2012 20:57:25 +0000 (15:57 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoTopoManager: return result from CmiGetHopsBetweenRanks C wrapper
Phil Miller [Fri, 20 Apr 2012 20:57:13 +0000 (15:57 -0500)]
TopoManager: return result from CmiGetHopsBetweenRanks C wrapper

9 years agoAdding fault tolerance support for chares.
Esteban Meneses [Fri, 20 Apr 2012 20:56:55 +0000 (15:56 -0500)]
Adding fault tolerance support for chares.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Fri, 20 Apr 2012 20:16:53 +0000 (16:16 -0400)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoadded filename to printTopo
Yanhua Sun [Fri, 20 Apr 2012 20:16:42 +0000 (16:16 -0400)]
added filename to printTopo

9 years agoa C wrapper for CmiGetHopsBetweenRanks
Gengbin Zheng [Fri, 20 Apr 2012 07:17:18 +0000 (02:17 -0500)]
a C wrapper for CmiGetHopsBetweenRanks

9 years agoAdding fclose for printTopo
Nikhil Jain [Thu, 19 Apr 2012 22:26:04 +0000 (17:26 -0500)]
Adding fclose for printTopo

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 19 Apr 2012 02:00:44 +0000 (21:00 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agonodegroup message should go to charm node queue after handler restored.
Gengbin Zheng [Thu, 19 Apr 2012 01:59:58 +0000 (20:59 -0500)]
nodegroup message should go to charm node queue after handler restored.

9 years agoNDMeshStreamer: removing several instances of incorrect usage of static keyword
Lukasz Wesolowski [Wed, 18 Apr 2012 23:48:27 +0000 (18:48 -0500)]
NDMeshStreamer: removing several instances of incorrect usage of static keyword

9 years agocompletion: give a callback when all producers are done
Phil Miller [Wed, 18 Apr 2012 23:20:42 +0000 (18:20 -0500)]
completion: give a callback when all producers are done

NDMeshStreamer can use this to drive a flush as soon as all of the
input data has been deposited, rather than potentially waiting for the
next periodic flush or forcing the client code to reduce separately.

9 years agocompletion: use callback from SDAG state variable, rather than resaving it
Phil Miller [Wed, 18 Apr 2012 23:08:33 +0000 (18:08 -0500)]
completion: use callback from SDAG state variable, rather than resaving it

9 years agocompletion: abolish tabs mixed with spaces
Phil Miller [Wed, 18 Apr 2012 23:07:05 +0000 (18:07 -0500)]
completion: abolish tabs mixed with spaces

9 years agocompletion: indent everything to 2 spaces
Phil Miller [Wed, 18 Apr 2012 22:50:11 +0000 (17:50 -0500)]
completion: indent everything to 2 spaces

9 years agoNDMeshStreamer: minor change to improve code readability
Lukasz Wesolowski [Wed, 18 Apr 2012 22:53:02 +0000 (17:53 -0500)]
NDMeshStreamer: minor change to improve code readability

9 years agoNDMeshStreamer: replaced the different MeshStreamerArrayClient classes with a single
Lukasz Wesolowski [Wed, 18 Apr 2012 20:10:23 +0000 (15:10 -0500)]
NDMeshStreamer: replaced the different MeshStreamerArrayClient classes with a single
array client class indexed by CkArrayIndex. Removed the second template
parameter to MeshStreamerArrayClient.

9 years agoAdding a CkArrayIndex constructor that takes a single int.
Lukasz Wesolowski [Wed, 18 Apr 2012 18:59:53 +0000 (13:59 -0500)]
Adding a CkArrayIndex constructor that takes a single int.
The constructor is needed in NDMeshStreamer to allow using int
instead of CkArrayIndex1D for savings in communication volume.
The change removes type safety when using multidimensional
array indices in user code. It should be possible to recover
the type safety using a runtime assert on the number of dimensions
in an index in genereated code, although this still needs to be implemented.

9 years agotest synchronization primitives
Gengbin Zheng [Wed, 18 Apr 2012 17:43:58 +0000 (12:43 -0500)]
test synchronization primitives

9 years agocompiler may optimize away X in "true || X"
Gengbin Zheng [Tue, 17 Apr 2012 22:11:19 +0000 (17:11 -0500)]
compiler may optimize away X in "true || X"
but X must be executed.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Tue, 17 Apr 2012 20:45:03 +0000 (16:45 -0400)]
Merge branch 'charm' of charmgit:charm into charm

9 years agominor fix for print information
Yanhua Sun [Tue, 17 Apr 2012 20:44:40 +0000 (16:44 -0400)]
minor fix for print information

9 years agotrace-projections: gzip logs by default
Phil Miller [Tue, 17 Apr 2012 20:32:02 +0000 (15:32 -0500)]
trace-projections: gzip logs by default

9 years agomaking +printTopo write to a file
Nikhil Jain [Tue, 17 Apr 2012 19:15:38 +0000 (14:15 -0500)]
making +printTopo write to a file

9 years agoa bug in calling allocNewTLSSeg
Gengbin Zheng [Tue, 17 Apr 2012 02:27:33 +0000 (21:27 -0500)]
a bug in calling allocNewTLSSeg

9 years agoDocs: specify that custom reducers should be registered in an initnode routine
Phil Miller [Mon, 16 Apr 2012 20:05:39 +0000 (15:05 -0500)]
Docs: specify that custom reducers should be registered in an initnode routine

9 years agoDocs: describe how to get the return value of a [sync] entry method
Phil Miller [Mon, 16 Apr 2012 19:52:01 +0000 (14:52 -0500)]
Docs: describe how to get the return value of a [sync] entry method

9 years agocombined two almost identical functions.
Gengbin Zheng [Sat, 14 Apr 2012 03:04:06 +0000 (22:04 -0500)]
combined two almost identical functions.

9 years agofix a bug when persistent does not work if CMK_USE_OOB is disabled.
Gengbin Zheng [Fri, 13 Apr 2012 21:58:31 +0000 (16:58 -0500)]
fix a bug when persistent does not work if CMK_USE_OOB is disabled.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 13 Apr 2012 21:03:15 +0000 (16:03 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoadd -lrt for clock_gettime
Gengbin Zheng [Fri, 13 Apr 2012 17:22:49 +0000 (10:22 -0700)]
add -lrt for clock_gettime

9 years agoChange macros to static variables for the sake of easy tuning.
Chao Mei [Thu, 12 Apr 2012 22:24:44 +0000 (17:24 -0500)]
Change macros to static variables for the sake of easy tuning.

9 years agoupdate
Gengbin Zheng [Thu, 12 Apr 2012 20:43:36 +0000 (15:43 -0500)]
update

9 years agopxshm only default now in non-smp
Gengbin Zheng [Thu, 12 Apr 2012 20:23:41 +0000 (15:23 -0500)]
pxshm only default now in non-smp

9 years agominor change to Makefile for depend file
Gengbin Zheng [Wed, 11 Apr 2012 21:07:29 +0000 (17:07 -0400)]
minor change to Makefile for depend file

9 years agoAdds the Makefile for NodeHelper lib
Chao Mei [Wed, 11 Apr 2012 20:27:28 +0000 (15:27 -0500)]
Adds the Makefile for NodeHelper lib

9 years agoChange path to charm directory
Chao Mei [Wed, 11 Apr 2012 20:13:39 +0000 (15:13 -0500)]
Change path to charm directory

9 years agoNDMeshStreamer: for virtual functions that cannot be made pure virtual,
Lukasz Wesolowski [Wed, 11 Apr 2012 19:57:08 +0000 (14:57 -0500)]
NDMeshStreamer: for virtual functions that cannot be made pure virtual,
do a CkAbort inside the default implementation to prevent difficult
to debug errors when user's definition of the pure virtual is missing
or incorrect

9 years agoMerge nodehelper lib and example codes into charm
Chao Mei [Wed, 11 Apr 2012 19:39:52 +0000 (14:39 -0500)]
Merge nodehelper lib and example codes into charm

9 years agoNodeHelper: move to corresponding directories
Chao Mei [Wed, 11 Apr 2012 19:03:22 +0000 (14:03 -0500)]
NodeHelper: move to corresponding directories

9 years agoadd TESTOPTS
Gengbin Zheng [Wed, 11 Apr 2012 16:25:51 +0000 (11:25 -0500)]
add TESTOPTS

9 years agoadd TESTOPTS
Gengbin Zheng [Wed, 11 Apr 2012 16:24:24 +0000 (11:24 -0500)]
add TESTOPTS

9 years agoPGI C++: Disable automatic 'using namespace std;'
Phil Miller [Mon, 9 Apr 2012 23:25:50 +0000 (18:25 -0500)]
PGI C++: Disable automatic 'using namespace std;'

9 years agobigsim quick tutorial added
Ehsan Totoni [Mon, 9 Apr 2012 15:17:14 +0000 (10:17 -0500)]
bigsim quick tutorial added

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Mon, 9 Apr 2012 04:56:56 +0000 (23:56 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoadded PumpLocalTransaction cap
Yanhua Sun [Mon, 9 Apr 2012 04:56:50 +0000 (23:56 -0500)]
added PumpLocalTransaction cap

9 years agoTest entry method templates: register EPs and reducers in initnode, not initproc...
Phil Miller [Mon, 9 Apr 2012 00:33:28 +0000 (19:33 -0500)]
Test entry method templates: register EPs and reducers in initnode, not initproc, to fix crashes

9 years agoRevert "Test entry method templates: move deps above boilerplate rules"
Phil Miller [Mon, 9 Apr 2012 00:32:23 +0000 (19:32 -0500)]
Revert "Test entry method templates: move deps above boilerplate rules"

This reverts commit 90ac939b5416d431ed268cd171efbc7ca6793d88.
Make picks the first target by default. Not what was intended.

We really need a fixed standard pattern for test makefiles. Life would
be much easier.

9 years agoTest entry method templates: move deps above boilerplate rules
Phil Miller [Sun, 8 Apr 2012 22:12:39 +0000 (17:12 -0500)]
Test entry method templates: move deps above boilerplate rules

9 years agoTest entry method templates: back away from auto-deps until charmc can wrap it correctly
Phil Miller [Sun, 8 Apr 2012 22:02:26 +0000 (17:02 -0500)]
Test entry method templates: back away from auto-deps until charmc can wrap it correctly

9 years agoimplementated progress engine
Gengbin Zheng [Sun, 8 Apr 2012 21:18:02 +0000 (16:18 -0500)]
implementated progress engine

9 years agocheck queue name in persistent
Yanhua Sun [Sun, 8 Apr 2012 20:59:30 +0000 (15:59 -0500)]
check queue name in persistent

9 years agofix a bug in memory registration of big messages
Yanhua Sun [Sun, 8 Apr 2012 18:10:27 +0000 (13:10 -0500)]
fix a bug in memory registration of big messages

9 years agoadded OOB receiving
Yanhua Sun [Sun, 8 Apr 2012 06:31:00 +0000 (01:31 -0500)]
added OOB receiving

9 years agoBug fix in XTTorus.h
Nikhil Jain [Sun, 8 Apr 2012 02:35:40 +0000 (21:35 -0500)]
Bug fix in XTTorus.h

9 years agoTest charm++/method_templates: put runtime arguments after the binary name, to satisf...
Phil Miller [Sat, 7 Apr 2012 15:00:33 +0000 (10:00 -0500)]
Test charm++/method_templates: put runtime arguments after the binary name, to satisfy charmrun

9 years agoBug fix in coordinatesToRank of Cray Torus
Nikhil Jain [Sat, 7 Apr 2012 07:57:22 +0000 (02:57 -0500)]
Bug fix in coordinatesToRank of Cray Torus

9 years agoUsed astyle --style=kr formatted source codes.
Chao Mei [Sat, 7 Apr 2012 06:12:22 +0000 (01:12 -0500)]
Used astyle --style=kr formatted source codes.

9 years ago1. added output if using charm-level notification
Chao Mei [Sat, 7 Apr 2012 06:07:00 +0000 (01:07 -0500)]
1. added output if using charm-level notification
2. fixed a bug in sending notification msgs for Quiesence Detection. Since I only used CmiPushPE to send messages, the QD state should be manually maintained on the sender side.
3. removed all trailing white spaces on every line.

9 years agourgent send polling often
Yanhua Sun [Sat, 7 Apr 2012 03:38:06 +0000 (22:38 -0500)]
urgent send polling often

9 years agoMinor changes in removing the extra nodehelper proxy
Chao Mei [Sat, 7 Apr 2012 03:01:02 +0000 (22:01 -0500)]
Minor changes in removing the extra nodehelper proxy

9 years ago1. Simplified the parallelization interface a little bit. The Nodehelper proxy could...
Chao Mei [Sat, 7 Apr 2012 02:47:14 +0000 (21:47 -0500)]
1. Simplified the parallelization interface a little bit. The Nodehelper proxy could be omitted.
2. Added optimized support to use charm-level notification scheme so that msg priority could be used if needed. In this optimized scheme, no memory allocation happens for notifying loop parallelization on a node.

9 years agoTest charm++/method_templates: include $TESTOPTS in arguments
Phil Miller [Fri, 6 Apr 2012 19:59:41 +0000 (14:59 -0500)]
Test charm++/method_templates: include $TESTOPTS in arguments

9 years agoMerge branch 'charm' of charmgit:charm into charm
Esteban Meneses [Fri, 6 Apr 2012 19:33:30 +0000 (14:33 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoMaking ft tests ready to be run with message logging.
Esteban Meneses [Fri, 6 Apr 2012 19:33:00 +0000 (14:33 -0500)]
Making ft tests ready to be run with message logging.

9 years agocharmxi: relocate helper functions so that entry method templates have them too
Phil Miller [Fri, 6 Apr 2012 01:46:49 +0000 (20:46 -0500)]
charmxi: relocate helper functions so that entry method templates have them too

For an entry method foo::bar, register CkIndex_foo's
`callmarshall_bar' and `marshallmessagepup_bar' methods in
CkIndex_foo::reg_bar, rather than in CkIndex_foo::__register, so that
every template instance will have the corresponding helper instances
registered.

9 years agocharmxi: refactor Entry::epStr to handle template argument generation
Phil Miller [Fri, 6 Apr 2012 01:33:47 +0000 (20:33 -0500)]
charmxi: refactor Entry::epStr to handle template argument generation

9 years agogemini_gni: Don't #include unnecessary gni_pub.h in converse.h
Phil Miller [Fri, 6 Apr 2012 17:34:19 +0000 (12:34 -0500)]
gemini_gni: Don't #include unnecessary gni_pub.h in converse.h

9 years agoModifying the test to use isomalloc pup instead of chunk_pup.
Esteban Meneses [Fri, 6 Apr 2012 15:28:16 +0000 (10:28 -0500)]
Modifying the test to use isomalloc pup instead of chunk_pup.

9 years agoTest charm++/method_templates: execute from working dir for Windows compat
Phil Miller [Fri, 6 Apr 2012 13:58:43 +0000 (08:58 -0500)]
Test charm++/method_templates: execute from working dir for Windows compat

9 years agoBug fix when using MPI_POST_RECV and MPI_Irecv together
Chao Mei [Fri, 6 Apr 2012 05:01:28 +0000 (00:01 -0500)]
Bug fix when using MPI_POST_RECV and MPI_Irecv together

9 years agoA minor bug fix as one right bracket is missing
Chao Mei [Fri, 6 Apr 2012 03:57:35 +0000 (22:57 -0500)]
A minor bug fix as one right bracket is missing

9 years agochanged CmiEnableUrgentSend
Gengbin Zheng [Thu, 5 Apr 2012 22:51:04 +0000 (17:51 -0500)]
changed CmiEnableUrgentSend

9 years agodefine CMK_USE_OOB
Gengbin Zheng [Thu, 5 Apr 2012 22:49:14 +0000 (17:49 -0500)]
define CMK_USE_OOB

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 5 Apr 2012 22:41:59 +0000 (17:41 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agore-implement urgent send
Gengbin Zheng [Thu, 5 Apr 2012 22:41:46 +0000 (17:41 -0500)]
re-implement urgent send

9 years agoModifying fttest rule to have charm++ and AMPI as dependencies.
Esteban Meneses [Thu, 5 Apr 2012 22:41:15 +0000 (17:41 -0500)]
Modifying fttest rule to have charm++ and AMPI as dependencies.

9 years agocharmxi: regularize more indentation in generated code
Phil Miller [Thu, 5 Apr 2012 22:05:30 +0000 (17:05 -0500)]
charmxi: regularize more indentation in generated code

9 years agoMerge branch 'entry_method_templates' into charm
Phil Miller [Thu, 5 Apr 2012 21:18:29 +0000 (16:18 -0500)]
Merge branch 'entry_method_templates' into charm

9 years agocharmxi: Generate registration for template EP instantiations
Phil Miller [Thu, 5 Apr 2012 20:07:05 +0000 (15:07 -0500)]
charmxi: Generate registration for template EP instantiations

Parse template EP instantiations in ci file and generate appropriate
registration code in the client module _register() function.

9 years agocharmxi: Deprecate magic generation of mainchare constructor taking CkArgMsg
Phil Miller [Thu, 5 Apr 2012 20:02:46 +0000 (15:02 -0500)]
charmxi: Deprecate magic generation of mainchare constructor taking CkArgMsg

charmxi magic to convert a mainchare constructor declaration with no
arguments to one taking CkArgMsg is being deprecated. Set a good
example, by correcting tests and comlib accordingly.

9 years agocharmxi: refactor EParameters to return a 'void' list when empty, to remove duplicati...
Phil Miller [Thu, 5 Apr 2012 19:30:58 +0000 (14:30 -0500)]
charmxi: refactor EParameters to return a 'void' list when empty, to remove duplication elsewhere

9 years agocharmxi: Rearrange entry members to clarify sdag support
Ramprasad Venkataraman [Wed, 4 Apr 2012 00:49:01 +0000 (19:49 -0500)]
charmxi: Rearrange entry members to clarify sdag support

9 years agocharmxi: more code reindentation
Ramprasad Venkataraman [Wed, 4 Apr 2012 00:47:48 +0000 (19:47 -0500)]
charmxi: more code reindentation

9 years agocharmxi: Reindent grammar
Ramprasad Venkataraman [Tue, 3 Apr 2012 23:01:11 +0000 (18:01 -0500)]
charmxi: Reindent grammar

9 years agocharmxi: Add EP index lookup function via entry method function pointer
Ramprasad Venkataraman [Tue, 3 Apr 2012 22:35:11 +0000 (17:35 -0500)]
charmxi: Add EP index lookup function via entry method function pointer

This permits lookup without instantiating temporary variables just to feed the
CkIndex_Foo::doSomething() methods. This should also let us register template
entry methods when we encounter their instantiations in client ci files.

9 years agoUse typedef for some sanity in test program
Ramprasad Venkataraman [Tue, 3 Apr 2012 22:33:16 +0000 (17:33 -0500)]
Use typedef for some sanity in test program

9 years agocharmxi: indent code better
Ramprasad Venkataraman [Tue, 3 Apr 2012 22:24:17 +0000 (17:24 -0500)]
charmxi: indent code better

9 years agoUpdate test program to operate on doubles (instead of int)
Ramprasad Venkataraman [Tue, 3 Apr 2012 19:56:16 +0000 (14:56 -0500)]
Update test program to operate on doubles (instead of int)

9 years agoTouchup the entry method templates test program
Ramprasad Venkataraman [Tue, 3 Apr 2012 16:52:43 +0000 (11:52 -0500)]
Touchup the entry method templates test program

9 years agocharmxi: genRegEp() now generates registration code for redn_wrapper variants too
Ramprasad Venkataraman [Tue, 3 Apr 2012 03:40:25 +0000 (22:40 -0500)]
charmxi: genRegEp() now generates registration code for redn_wrapper variants too

This now adds support for reductiontarget template entry methods while reducing code
duplication.

9 years agocharmxi: Modify redn wrapper function signature to accept void* object and then cast it
Ramprasad Venkataraman [Tue, 3 Apr 2012 02:46:42 +0000 (21:46 -0500)]
charmxi: Modify redn wrapper function signature to accept void* object and then cast it

This brings it in line with the expected CkCallFnPtr signature

9 years agoentry method templates: Test support for reductiontargets too
Ramprasad Venkataraman [Mon, 2 Apr 2012 23:19:20 +0000 (18:19 -0500)]
entry method templates: Test support for reductiontargets too

9 years agocharmxi: For consistency, even redn_wrapper call functions are prefixed with _call
Ramprasad Venkataraman [Mon, 2 Apr 2012 23:12:56 +0000 (18:12 -0500)]
charmxi: For consistency, even redn_wrapper call functions are prefixed with _call

9 years agocharmxi: reductiontarget ep variants now carry a redn_wrapper_ prefix (instead of...
Ramprasad Venkataraman [Mon, 2 Apr 2012 22:07:49 +0000 (17:07 -0500)]
charmxi: reductiontarget ep variants now carry a redn_wrapper_ prefix (instead of suffix)

This should allow the user to provide template parameters in the
CkReductionTarget() macro to distinguish between multiple instantiations
of a template entry method. This change should not affect any client code
in anyway.

9 years agocharmxi: Cleanup the code required to generate redn_wrapper variants for reductiontar...
Ramprasad Venkataraman [Mon, 2 Apr 2012 21:32:55 +0000 (16:32 -0500)]
charmxi: Cleanup the code required to generate redn_wrapper variants for reductiontarget eps

Absorb the _redn_wrapper name generation into currently used epStr(), epIdx() and epRegFn()
methods. This simplifies handling of these variants and makes it easier to introduce changes
for template EPs.

9 years agoMore modifications to entry method templates test
Ramprasad Venkataraman [Mon, 2 Apr 2012 19:19:14 +0000 (14:19 -0500)]
More modifications to entry method templates test

9 years agoreductions: pup boilerplate for CkReduction::reducerTypes
Ramprasad Venkataraman [Mon, 2 Apr 2012 18:39:54 +0000 (13:39 -0500)]
reductions: pup boilerplate for CkReduction::reducerTypes

This should allow user code to pass reducerTypes as entry method args

9 years agoAdd reducer functions for user-defined functors in the entry method templates eg
Ramprasad Venkataraman [Mon, 2 Apr 2012 18:03:20 +0000 (13:03 -0500)]
Add reducer functions for user-defined functors in the entry method templates eg

9 years agoUpdate the test program for entry method templates
Ramprasad Venkataraman [Mon, 2 Apr 2012 17:09:57 +0000 (12:09 -0500)]
Update the test program for entry method templates

9 years agoMaybe handle reduction targets, too?
Phil Miller [Sat, 31 Mar 2012 15:48:16 +0000 (10:48 -0500)]
Maybe handle reduction targets, too?