charm.git
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 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?

9 years agoAdd a readonly definition to the module, to make sure the inclusion guards on it...
Phil Miller [Fri, 30 Mar 2012 21:10:02 +0000 (16:10 -0500)]
Add a readonly definition to the module, to make sure the inclusion guards on it are right

9 years agoTry using nested template args for EP templates. Just a sanity check
Ramprasad Venkataraman [Fri, 30 Mar 2012 19:18:37 +0000 (14:18 -0500)]
Try using nested template args for EP templates. Just a sanity check

9 years agoTest generated code for entry method template declarations
Ramprasad Venkataraman [Fri, 30 Mar 2012 02:57:48 +0000 (21:57 -0500)]
Test generated code for entry method template declarations

9 years agocharmxi: Parse entry method template declarations in .ci and emit accordingly
Phil Miller [Fri, 30 Mar 2012 01:50:40 +0000 (20:50 -0500)]
charmxi: Parse entry method template declarations in .ci and emit accordingly

All of the generated code in .decl.h/.def.h files are templated
according to whether the corresponding entry method is templated.
Push #ifdef CK_TEMPLATES_ONLY down to each element, so it can switch
on whether it's templated or not.

No syntactic support for instantiating entry method templates yet,
though it can be done manually.

9 years agoreplacing MPI_COMM_WORLD with charmComm on mpi layer
Nikhil Jain [Thu, 5 Apr 2012 18:02:57 +0000 (13:02 -0500)]
replacing MPI_COMM_WORLD with charmComm on mpi layer

9 years agoadd fttest rule
Gengbin Zheng [Thu, 5 Apr 2012 17:55:45 +0000 (12:55 -0500)]
add fttest rule

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Thu, 5 Apr 2012 17:51:09 +0000 (12:51 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agosplit RDMA queue, pooling persistent more often
Yanhua Sun [Thu, 5 Apr 2012 17:51:02 +0000 (12:51 -0500)]
split RDMA queue, pooling persistent more often

9 years agoChanging fault tolerance test cases to include message logging.
Esteban Meneses [Thu, 5 Apr 2012 17:25:28 +0000 (12:25 -0500)]
Changing fault tolerance test cases to include message logging.

9 years agoAdding flag for message logging.
Esteban Meneses [Thu, 5 Apr 2012 17:11:50 +0000 (12:11 -0500)]
Adding flag for message logging.

9 years agoBug fix. Avoiding the use of a null pointer when migration constructor is used.
Esteban Meneses [Thu, 5 Apr 2012 16:32:53 +0000 (11:32 -0500)]
Bug fix. Avoiding the use of a null pointer when migration constructor is used.

9 years agominor clean up
Gengbin Zheng [Wed, 4 Apr 2012 22:59:44 +0000 (17:59 -0500)]
minor clean up

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

9 years agofix an issue with MULTI_SEND
Gengbin Zheng [Wed, 4 Apr 2012 22:41:35 +0000 (17:41 -0500)]
fix an issue with MULTI_SEND

9 years agoBug fix. The _currentObj global variable was not being updated during reduction and...
Esteban Meneses [Wed, 4 Apr 2012 20:58:23 +0000 (15:58 -0500)]
Bug fix. The _currentObj global variable was not being updated during reduction and the wrong sender object was being reported in message logging protocols.

9 years agoNDMeshStreamer: bug fix to the changes just checked in
Lukasz Wesolowski [Wed, 4 Apr 2012 19:58:57 +0000 (14:58 -0500)]
NDMeshStreamer: bug fix to the changes just checked in

9 years agoNDMeshStreamer: adding 2D client
Lukasz Wesolowski [Wed, 4 Apr 2012 19:58:08 +0000 (14:58 -0500)]
NDMeshStreamer: adding 2D client

9 years agosplit SendBufferMsg to 3 versions
Gengbin Zheng [Tue, 3 Apr 2012 20:29:18 +0000 (15:29 -0500)]
split SendBufferMsg to 3 versions

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Tue, 3 Apr 2012 20:04:03 +0000 (15:04 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agominor fix for tracing comm thread
Yanhua Sun [Tue, 3 Apr 2012 20:03:53 +0000 (15:03 -0500)]
minor fix for tracing comm thread

9 years agoprojections generate topology file.
Gengbin Zheng [Tue, 3 Apr 2012 18:14:32 +0000 (13:14 -0500)]
projections generate topology file.