charm.git
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 agourgent send polling often
Yanhua Sun [Sat, 7 Apr 2012 03:38:06 +0000 (22:38 -0500)]
urgent send polling often

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.

9 years agoCommAwareRefineLB: VC++ doesn't like variable-sized arrays on the stack, so use std...
Phil Miller [Tue, 3 Apr 2012 14:50:15 +0000 (09:50 -0500)]
CommAwareRefineLB: VC++ doesn't like variable-sized arrays on the stack, so use std::vector instead

9 years agofix bugs in setting sendBufferMsg cap.
Gengbin Zheng [Tue, 3 Apr 2012 06:53:27 +0000 (01:53 -0500)]
fix bugs in setting sendBufferMsg cap.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Tue, 3 Apr 2012 05:24:21 +0000 (00:24 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoadded sendbuffer control
Yanhua Sun [Tue, 3 Apr 2012 05:24:10 +0000 (00:24 -0500)]
added sendbuffer control

9 years agoimprove function isCharmEnvelope
Gengbin Zheng [Tue, 3 Apr 2012 02:47:18 +0000 (21:47 -0500)]
improve function isCharmEnvelope

9 years agoNDMeshStreamer: adding support for specifying priority of streamed messages
Lukasz Wesolowski [Mon, 2 Apr 2012 22:51:22 +0000 (17:51 -0500)]
NDMeshStreamer: adding support for specifying priority of streamed messages

9 years agoMerge branch 'charm' of charmgit:charm into charm
Esteban Meneses [Mon, 2 Apr 2012 22:39:54 +0000 (17:39 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoAdding test cases for fault tolerant Charm++. These tests do not interfere with the...
Esteban Meneses [Mon, 2 Apr 2012 22:38:51 +0000 (17:38 -0500)]
Adding test cases for fault tolerant Charm++. These tests do not interfere with the regular 'make test'; in order to run them, use 'make fttest'.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Mon, 2 Apr 2012 22:29:14 +0000 (17:29 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoimprove the function to find charm messages in projections' comm thread tracing
Gengbin Zheng [Mon, 2 Apr 2012 22:28:35 +0000 (17:28 -0500)]
improve the function to find charm messages in projections' comm thread tracing

9 years agoNDMeshStreamer: 1. bug fix - cast to base client class
Lukasz Wesolowski [Mon, 2 Apr 2012 20:39:29 +0000 (15:39 -0500)]
NDMeshStreamer: 1. bug fix - cast to base client class
                2. remove template parameter from iterator class by
                   slightly modifying interface

9 years agoNDMeshStreamer: disable caching of array location data by default since it is only
Lukasz Wesolowski [Mon, 2 Apr 2012 19:41:28 +0000 (14:41 -0500)]
NDMeshStreamer: disable caching of array location data by default since it is only
supported for 1D arrays

9 years agoNDMeshStreamer: added support for 3D chare arrays
Lukasz Wesolowski [Mon, 2 Apr 2012 19:39:25 +0000 (14:39 -0500)]
NDMeshStreamer: added support for 3D chare arrays

9 years agoallow arbitarily long fortran line of code
Gengbin Zheng [Mon, 2 Apr 2012 18:32:56 +0000 (14:32 -0400)]
allow arbitarily long fortran line of code

9 years agoMerge branch 'charm' of charmgit:charm into charm
Harshitha [Mon, 2 Apr 2012 17:24:41 +0000 (12:24 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoAdding Communication aware refinement based strategy called CommAwareRefineLB. Made...
Harshitha [Mon, 2 Apr 2012 17:24:12 +0000 (12:24 -0500)]
Adding Communication aware refinement based strategy called CommAwareRefineLB. Made RefineSwapLB and CommAwareRefineLB to be built by default

9 years agoAvoiding an additional reduction in CentralLB for message logging.
Esteban Meneses [Mon, 2 Apr 2012 17:03:12 +0000 (12:03 -0500)]
Avoiding an additional reduction in CentralLB for message logging.

9 years agofix compilation error
Gengbin Zheng [Mon, 2 Apr 2012 14:49:25 +0000 (09:49 -0500)]
fix compilation error

9 years agoget rid of memory handle in chunk header for persistent
Gengbin Zheng [Mon, 2 Apr 2012 05:51:26 +0000 (00:51 -0500)]
get rid of memory handle in chunk header for persistent
use ref counter.

9 years agofix bug in node level persistent
Gengbin Zheng [Mon, 2 Apr 2012 02:51:27 +0000 (21:51 -0500)]
fix bug in node level persistent

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 1 Apr 2012 21:45:39 +0000 (16:45 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoavoid double locking
Gengbin Zheng [Sun, 1 Apr 2012 21:45:29 +0000 (16:45 -0500)]
avoid double locking

9 years agoput mpi interpolate declaration under extern "C"
Gengbin Zheng [Sun, 1 Apr 2012 16:19:36 +0000 (11:19 -0500)]
put mpi interpolate declaration under extern "C"

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 1 Apr 2012 07:23:26 +0000 (02:23 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agopersistent threshold use smsg_max, dynamic_smsgs works now with persistent
Gengbin Zheng [Sun, 1 Apr 2012 07:15:19 +0000 (02:15 -0500)]
persistent threshold use smsg_max, dynamic_smsgs works now with persistent

9 years agofix persistent comm thread tracing using simple way
Yanhua Sun [Sun, 1 Apr 2012 06:51:31 +0000 (23:51 -0700)]
fix persistent comm thread tracing using simple way

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Sun, 1 Apr 2012 05:09:08 +0000 (00:09 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agofix persistent comm thread tracing
Yanhua Sun [Sun, 1 Apr 2012 05:08:45 +0000 (00:08 -0500)]
fix persistent comm thread tracing

9 years agoMerge branch 'charm-mpi-interop' of charmgit:charm into charm
Nikhil Jain [Sat, 31 Mar 2012 23:05:38 +0000 (18:05 -0500)]
Merge branch 'charm-mpi-interop' of charmgit:charm into charm

9 years agowell, the main module I had added to ck-core conflicted with
Nikhil Jain [Sat, 31 Mar 2012 23:03:27 +0000 (18:03 -0500)]
well, the main module I had added to ck-core conflicted with
user defined mainmodule - my bad. Fixed that, also reverted changes
to charmc

9 years agoAvoiding barrier for message logging version on initCharm.
Esteban Meneses [Sat, 31 Mar 2012 22:12:07 +0000 (17:12 -0500)]
Avoiding barrier for message logging version on initCharm.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Esteban Meneses [Sat, 31 Mar 2012 22:06:12 +0000 (17:06 -0500)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoAvoiding barriers in CmiTimerInit after a crash.
Esteban Meneses [Sat, 31 Mar 2012 21:56:26 +0000 (16:56 -0500)]
Avoiding barriers in CmiTimerInit after a crash.

9 years agoSeparating interoperation files, looks much cleaner now
Nikhil Jain [Sat, 31 Mar 2012 20:41:25 +0000 (15:41 -0500)]
Separating interoperation files, looks much cleaner now

9 years agoMerge branch 'charm' of charmgit:charm into charm-mpi-interop
Nikhil Jain [Sat, 31 Mar 2012 17:06:35 +0000 (12:06 -0500)]
Merge branch 'charm' of charmgit:charm into charm-mpi-interop

Conflicts:
src/conv-core/converse.h

9 years agocharmxi: Fix accidentally repeated } in code generated for multiple inheritance
Phil Miller [Sat, 31 Mar 2012 15:09:10 +0000 (10:09 -0500)]
charmxi: Fix accidentally repeated } in code generated for multiple inheritance

Extra '}' were introduced in the generated declarations by 59806c784.

9 years agocharmxi: Streamline indentation for large swaths of generated decl code
Ramprasad Venkataraman [Sat, 31 Mar 2012 05:29:26 +0000 (00:29 -0500)]
charmxi: Streamline indentation for large swaths of generated decl code