charm.git
8 years agoadd migration data
Yanhua Sun [Mon, 12 Aug 2013 22:50:58 +0000 (15:50 -0700)]
add migration data

8 years agoadd migration test to autobuild
Yanhua Sun [Mon, 12 Aug 2013 20:52:50 +0000 (13:52 -0700)]
add migration test to autobuild

8 years agotests: Rename source files from .cc to .C to appease MSVC++
Phil Miller [Mon, 12 Aug 2013 14:06:59 +0000 (09:06 -0500)]
tests: Rename source files from .cc to .C to appease MSVC++

8 years agoRevert "ckarray: order broadcasts"
Jonathan Lifflander [Sun, 11 Aug 2013 22:37:33 +0000 (17:37 -0500)]
Revert "ckarray: order broadcasts"

This reverts commit b4ac109cdce1c3c4dad02ab59ae7ccdb89853615.

8 years agoRevert "array: use explicit buffer for out-of-order broadcasts"
Jonathan Lifflander [Sun, 11 Aug 2013 22:37:24 +0000 (17:37 -0500)]
Revert "array: use explicit buffer for out-of-order broadcasts"

This reverts commit 8c4b89164855dad8a175089dc4a4b087dd73b847.

8 years agoRevert "Issue #250: Shift all responsibility for array broadcast sequencing back...
Jonathan Lifflander [Sun, 11 Aug 2013 22:37:09 +0000 (17:37 -0500)]
Revert "Issue #250: Shift all responsibility for array broadcast sequencing back into CkArrayBroadcaster"

This reverts commit f8d152fb5b81dfee1215cd0bfc60cebc2ff06e8b.

8 years agoRevert "CkArrayBroadcaster: eliminate a bunch of unnecessary casts"
Jonathan Lifflander [Sun, 11 Aug 2013 22:36:54 +0000 (17:36 -0500)]
Revert "CkArrayBroadcaster: eliminate a bunch of unnecessary casts"

This reverts commit 7ab3f60d8bef22fe22a193b4d947f45712947d9c.

8 years agoCommit by Nikhil from Windows: fixing compiler matching trouble on windows sequenced-array-broadcasts
Gengbin Zheng [Sun, 11 Aug 2013 21:17:47 +0000 (16:17 -0500)]
Commit by Nikhil from Windows: fixing compiler matching trouble on windows

8 years agoobjid: guarantee 64 bit masks on LLP64 (Windows x86_64) systems
Phil Miller [Sun, 11 Aug 2013 20:12:22 +0000 (15:12 -0500)]
objid: guarantee 64 bit masks on LLP64 (Windows x86_64) systems

8 years agoTypo fix
Phil Miller [Sun, 11 Aug 2013 19:32:02 +0000 (14:32 -0500)]
Typo fix

8 years agocharmxi: fix uninitialized value usage
Phil Miller [Sun, 11 Aug 2013 19:32:54 +0000 (14:32 -0500)]
charmxi: fix uninitialized value usage

8 years agoxlat-i: fix bigsim build-break from prior refactoring
Phil Miller [Sat, 10 Aug 2013 16:58:47 +0000 (11:58 -0500)]
xlat-i: fix bigsim build-break from prior refactoring

8 years agocleanup of pose code to comply with modern CMK_TRACE_DISABLED usage
Eric Bohm [Fri, 9 Aug 2013 23:02:53 +0000 (18:02 -0500)]
cleanup of pose code to comply with modern CMK_TRACE_DISABLED usage

8 years agouse SINGLE_ARG to collapse templates with arguments
Jonathan Lifflander [Fri, 9 Aug 2013 20:24:40 +0000 (15:24 -0500)]
use SINGLE_ARG to collapse templates with arguments

8 years agosdag: fix re-entrancy bug: save refnum at cont. creation, pass in later
Jonathan Lifflander [Fri, 9 Aug 2013 02:53:04 +0000 (21:53 -0500)]
sdag: fix re-entrancy bug: save refnum at cont. creation, pass in later

8 years agosdag: small refactoring, make generateWhenCode member of WhenConstruct
Jonathan Lifflander [Fri, 9 Aug 2013 02:18:35 +0000 (21:18 -0500)]
sdag: small refactoring, make generateWhenCode member of WhenConstruct

8 years agoDon't leak argument messages at startup
Phil Miller [Thu, 8 Aug 2013 16:22:32 +0000 (11:22 -0500)]
Don't leak argument messages at startup

8 years agofloating point numbers must be compared within an epsilon range.
Eric Bohm [Thu, 8 Aug 2013 18:35:21 +0000 (13:35 -0500)]
floating point numbers must be compared within an epsilon range.
Otherwise you get false positives from round off.

8 years agoSDAG: multiple template parameters being parsed as distinct cpp macro params
Jonathan Lifflander [Wed, 7 Aug 2013 23:24:43 +0000 (18:24 -0500)]
SDAG: multiple template parameters being parsed as distinct cpp macro params

revealed by the code generation bug in Charisma with multiple template
arguments

8 years agoremove race condition in multisectiontest setup
Eric Bohm [Wed, 7 Aug 2013 22:07:14 +0000 (17:07 -0500)]
remove race condition in multisectiontest setup

8 years agoCharmDebug manual and faq update on how to download and build
Bilge Acun [Wed, 7 Aug 2013 20:07:31 +0000 (15:07 -0500)]
CharmDebug manual and faq update on how to download and build

8 years agocase test: run from current working directory, to appease aprun
Phil Miller [Thu, 25 Jul 2013 17:11:45 +0000 (12:11 -0500)]
case test: run from current working directory, to appease aprun

8 years agoconfigure: Test for availability of fsync() and fdatasync()
Phil Miller [Thu, 25 Jul 2013 00:16:25 +0000 (19:16 -0500)]
configure: Test for availability of fsync() and fdatasync()

8 years agoconfigure: typo fix
Phil Miller [Thu, 25 Jul 2013 00:10:45 +0000 (19:10 -0500)]
configure: typo fix

8 years agoCkCallback: support setting a refnum on the passed message
Phil Miller [Wed, 24 Jul 2013 02:16:12 +0000 (21:16 -0500)]
CkCallback: support setting a refnum on the passed message

8 years agoCut down on circular header dependencies
Phil Miller [Tue, 23 Jul 2013 23:33:07 +0000 (18:33 -0500)]
Cut down on circular header dependencies

8 years agoCkArrayBroadcaster: eliminate a bunch of unnecessary casts
Phil Miller [Tue, 23 Jul 2013 08:09:47 +0000 (03:09 -0500)]
CkArrayBroadcaster: eliminate a bunch of unnecessary casts

8 years agoIssue #250: Shift all responsibility for array broadcast sequencing back into CkArray...
Phil Miller [Tue, 23 Jul 2013 08:05:17 +0000 (03:05 -0500)]
Issue #250: Shift all responsibility for array broadcast sequencing back into CkArrayBroadcaster

8 years agoarray: use explicit buffer for out-of-order broadcasts
Jonathan Lifflander [Tue, 23 Jul 2013 06:58:47 +0000 (01:58 -0500)]
array: use explicit buffer for out-of-order broadcasts

this is implemented as a map; the expectation being that this is a very rare
event

8 years agoCkArray: Privatize loop macro that can only be used internally
Phil Miller [Tue, 23 Jul 2013 04:31:48 +0000 (23:31 -0500)]
CkArray: Privatize loop macro that can only be used internally

8 years agockarray: order broadcasts
Jonathan Lifflander [Tue, 23 Jul 2013 01:34:37 +0000 (20:34 -0500)]
ckarray: order broadcasts

conceptually this is a bug, although it has not manifested in any real use
cases as far as we know. hence sequence broadcasts, paying the cost for the
extra size for an ordering fiend. enforce sequence by sending self message to
manager, since this case is unlikely to occur

8 years agosdag: add extensive migration test and add 'case' test to list
Jonathan Lifflander [Sun, 21 Jul 2013 20:29:25 +0000 (15:29 -0500)]
sdag: add extensive migration test and add 'case' test to list

8 years agosdag: add destructor for SDAG::Dependency after migration to free
Jonathan Lifflander [Sun, 21 Jul 2013 20:18:55 +0000 (15:18 -0500)]
sdag: add destructor for SDAG::Dependency after migration to free

8 years agosdag: fix for counting referenced messages during migration
Jonathan Lifflander [Sun, 21 Jul 2013 20:18:28 +0000 (15:18 -0500)]
sdag: fix for counting referenced messages during migration

8 years agoNDMeshStreamer: to appease older compilers, changing how inherited
Lukasz Wesolowski [Sun, 21 Jul 2013 02:02:45 +0000 (21:02 -0500)]
NDMeshStreamer: to appease older compilers, changing how inherited
variables are accessed

8 years agoadd demand_creation to Makefile test so demand creation is tested
Jonathan Lifflander [Sat, 20 Jul 2013 22:53:40 +0000 (17:53 -0500)]
add demand_creation to Makefile test so demand creation is tested

8 years agofix bug in demand creation causing a crash (set envelope type)
Jonathan Lifflander [Sat, 20 Jul 2013 22:52:41 +0000 (17:52 -0500)]
fix bug in demand creation causing a crash (set envelope type)

8 years agoNDMeshStreamer: remove the need to inherit from a special class when using
Lukasz Wesolowski [Fri, 19 Jul 2013 22:59:49 +0000 (17:59 -0500)]
NDMeshStreamer: remove the need to inherit from a special class when using
the library. Instead, have the user pass in the type of the client class using
a template parameter. This will require some relatively minor changes
in the benchmarks and applications that use the library.

8 years agoNDMeshStreamer: adding a way to initialize the library without specifying
Lukasz Wesolowski [Wed, 17 Jul 2013 21:39:42 +0000 (16:39 -0500)]
NDMeshStreamer: adding a way to initialize the library without specifying
a mechanism for completion, for use cases where completion is determined
using quiescence detection.

8 years agoNDMeshStreamer: register every submission and reception of data items with
Lukasz Wesolowski [Wed, 17 Jul 2013 20:15:47 +0000 (15:15 -0500)]
NDMeshStreamer: register every submission and reception of data items with
QD to prevent detecting quiescence while there are items buffered inside the
library.

8 years agoNDMeshStreamer: further cleanup - removing unused entry method and adding back
Lukasz Wesolowski [Tue, 16 Jul 2013 23:58:23 +0000 (18:58 -0500)]
NDMeshStreamer: further cleanup - removing unused entry method and adding back
a default constructor for MeshStreamerArrayClient, which is needed after all.

8 years agoNDMeshStreamer: removing code made unnecessary by recent changes to how
Lukasz Wesolowski [Tue, 16 Jul 2013 23:41:34 +0000 (18:41 -0500)]
NDMeshStreamer: removing code made unnecessary by recent changes to how
items are redelivered.

8 years agoNDMeshStreamer: modifying the way misdelivered items are handled
Lukasz Wesolowski [Tue, 16 Jul 2013 20:56:44 +0000 (15:56 -0500)]
NDMeshStreamer: modifying the way misdelivered items are handled
for ArrayMeshStreamer. Items that arrive at the wrong destination
due to stale location data are now buffered, and a request is sent
to the home PE to fetch the correct destination. The home PE replies
with the updated location to the PE where the item was misdelivered
and to the original sender of the data item.

In order to allow using entry methods in both the parent (MeshStreamer)
and child (ArrayMeshStreamer) classes, modified the inheritance structure
of the code and added a helper initialization function to avoid the need to
call the constructor of the base class.

8 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Tue, 16 Jul 2013 17:47:41 +0000 (10:47 -0700)]
Merge branch 'charm' of charmgit:charm into charm

8 years agominor fix for migration overhead when iteration is odd
Yanhua Sun [Tue, 16 Jul 2013 17:47:33 +0000 (10:47 -0700)]
minor fix for migration overhead when iteration is odd

8 years agorun make depends for generating the sdag.C dependencies nocopy-sdag
Jonathan Lifflander [Sat, 13 Jul 2013 01:46:37 +0000 (20:46 -0500)]
run make depends for generating the sdag.C dependencies

8 years agoMerge branch 'charm' into nocopy-sdag
Jonathan Lifflander [Sat, 13 Jul 2013 00:24:26 +0000 (19:24 -0500)]
Merge branch 'charm' into nocopy-sdag

Conform sdag.C compilation to the Makefile changes.

Conflicts:
src/scripts/Makefile

8 years agoremove duplicate dummy implementations
Jonathan Lifflander [Sat, 13 Jul 2013 00:18:11 +0000 (19:18 -0500)]
remove duplicate dummy implementations

8 years agouse CMK_REFNUM_TYPE instead of assuming int
Jonathan Lifflander [Sat, 13 Jul 2013 00:14:34 +0000 (19:14 -0500)]
use CMK_REFNUM_TYPE instead of assuming int

8 years agofactor out the underscores in labelNodes
Jonathan Lifflander [Fri, 12 Jul 2013 20:44:16 +0000 (15:44 -0500)]
factor out the underscores in labelNodes

8 years agorename generateCallNew to generateCall
Jonathan Lifflander [Fri, 12 Jul 2013 20:41:04 +0000 (15:41 -0500)]
rename generateCallNew to generateCall

8 years agorename xi::SdagConstruct::generateWhenCodeNew to xi::SdagConstruct::generateWhenCode
Jonathan Lifflander [Fri, 12 Jul 2013 20:39:44 +0000 (15:39 -0500)]
rename xi::SdagConstruct::generateWhenCodeNew to xi::SdagConstruct::generateWhenCode

8 years agoremove isSDAGGen parameter from Entry
Jonathan Lifflander [Fri, 12 Jul 2013 20:38:11 +0000 (15:38 -0500)]
remove isSDAGGen parameter from Entry

8 years agorename generateSignature* calls
Jonathan Lifflander [Fri, 12 Jul 2013 20:36:23 +0000 (15:36 -0500)]
rename generateSignature* calls

8 years agoadd another CkAbort for migration with BigSim logs in the state vars
Jonathan Lifflander [Fri, 12 Jul 2013 20:31:48 +0000 (15:31 -0500)]
add another CkAbort for migration with BigSim logs in the state vars

8 years agoinvert logic for testing presence of a message
Jonathan Lifflander [Fri, 12 Jul 2013 19:39:34 +0000 (14:39 -0500)]
invert logic for testing presence of a message

8 years agoSimplify ignoring already-matched messages
Phil Miller [Thu, 11 Jul 2013 22:10:03 +0000 (17:10 -0500)]
Simplify ignoring already-matched messages

8 years agoDrop repeat inclusion of std::set
Phil Miller [Thu, 11 Jul 2013 19:36:14 +0000 (14:36 -0500)]
Drop repeat inclusion of std::set

8 years agorename tracing SDAG RTS internal work from "_dummyEP", which completely useless
Jonathan Lifflander [Mon, 1 Jul 2013 06:29:20 +0000 (01:29 -0500)]
rename tracing SDAG RTS internal work from "_dummyEP", which completely useless

8 years ago"bug" that carried over from previous code
Jonathan Lifflander [Mon, 1 Jul 2013 05:19:11 +0000 (00:19 -0500)]
"bug" that carried over from previous code

8 years agofix small mistake in trace output
Jonathan Lifflander [Mon, 1 Jul 2013 05:06:16 +0000 (00:06 -0500)]
fix small mistake in trace output

8 years agoreintroduce bigsim support for the new implementation
Jonathan Lifflander [Mon, 1 Jul 2013 04:33:09 +0000 (23:33 -0500)]
reintroduce bigsim support for the new implementation

8 years agofactor out common method for generating local SDAG wrapper
Jonathan Lifflander [Mon, 1 Jul 2013 03:29:30 +0000 (22:29 -0500)]
factor out common method for generating local SDAG wrapper

8 years agofix more code generation indentation problems
Jonathan Lifflander [Mon, 1 Jul 2013 03:07:23 +0000 (22:07 -0500)]
fix more code generation indentation problems

8 years agostop generated code that is not necessary
Jonathan Lifflander [Mon, 1 Jul 2013 03:06:53 +0000 (22:06 -0500)]
stop generated code that is not necessary

8 years agoremove duplicate code in SDAG construction
Jonathan Lifflander [Mon, 1 Jul 2013 02:40:59 +0000 (21:40 -0500)]
remove duplicate code in SDAG construction

8 years agoadd tracing calls back in, change tracing calls to take an indentations argument
Jonathan Lifflander [Mon, 1 Jul 2013 02:35:09 +0000 (21:35 -0500)]
add tracing calls back in, change tracing calls to take an indentations argument

8 years agofix many spacing problems in generated code
Jonathan Lifflander [Mon, 1 Jul 2013 02:34:35 +0000 (21:34 -0500)]
fix many spacing problems in generated code

8 years agofix spacing
Jonathan Lifflander [Mon, 1 Jul 2013 01:53:30 +0000 (20:53 -0500)]
fix spacing

8 years agomake memory model for SDAG more consistent
Jonathan Lifflander [Sat, 29 Jun 2013 05:39:04 +0000 (00:39 -0500)]
make memory model for SDAG more consistent

8 years agoefficiency/clenaup: remove when entry in map when the list is empty
Jonathan Lifflander [Sat, 29 Jun 2013 04:59:35 +0000 (23:59 -0500)]
efficiency/clenaup: remove when entry in map when the list is empty

8 years agoref and deref forallclosure
Jonathan Lifflander [Sat, 29 Jun 2013 04:31:00 +0000 (23:31 -0500)]
ref and deref forallclosure

8 years agomake closure constructor virtual
Jonathan Lifflander [Sat, 29 Jun 2013 04:30:39 +0000 (23:30 -0500)]
make closure constructor virtual

8 years agoadd in reference counting code for the SDAG entry incoming message case
Jonathan Lifflander [Sat, 29 Jun 2013 02:35:05 +0000 (21:35 -0500)]
add in reference counting code for the SDAG entry incoming message case

8 years agofix indentation for closure unraveling
Jonathan Lifflander [Sat, 29 Jun 2013 00:08:01 +0000 (19:08 -0500)]
fix indentation for closure unraveling

8 years agounravel closures with regular scoping rules (shadowing, etc.)
Jonathan Lifflander [Fri, 28 Jun 2013 23:27:34 +0000 (18:27 -0500)]
unravel closures with regular scoping rules (shadowing, etc.)

8 years agoimplement conservative reference counting for SDAG messages
Jonathan Lifflander [Fri, 28 Jun 2013 22:51:10 +0000 (17:51 -0500)]
implement conservative reference counting for SDAG messages

8 years agooverride restriction for sdag entry for now
Jonathan Lifflander [Fri, 28 Jun 2013 05:27:57 +0000 (00:27 -0500)]
override restriction for sdag entry for now

8 years agotry to hush the very esoteric construction ordering warning from gcc
Jonathan Lifflander [Fri, 28 Jun 2013 03:03:09 +0000 (22:03 -0500)]
try to hush the very esoteric construction ordering warning from gcc

8 years agostop generating closures for local methods
Jonathan Lifflander [Fri, 28 Jun 2013 02:57:48 +0000 (21:57 -0500)]
stop generating closures for local methods

8 years agoadd macro for handling commas and remove qualification from PUPable*_decl
Jonathan Lifflander [Fri, 28 Jun 2013 02:40:50 +0000 (21:40 -0500)]
add macro for handling commas and remove qualification from PUPable*_decl

8 years agomethod templates: output the closure decl and def properly
Jonathan Lifflander [Thu, 27 Jun 2013 23:32:56 +0000 (18:32 -0500)]
method templates: output the closure decl and def properly

currently, SDAG does not support method templates, but a step in this direction is outputting the closures properly

8 years agoremove unused function
Jonathan Lifflander [Thu, 27 Jun 2013 21:05:58 +0000 (16:05 -0500)]
remove unused function

8 years agoreformatting and reindentation of file
Jonathan Lifflander [Thu, 27 Jun 2013 21:05:21 +0000 (16:05 -0500)]
reformatting and reindentation of file

8 years agochange pupper name to reduce conflicts
Jonathan Lifflander [Thu, 27 Jun 2013 20:23:56 +0000 (15:23 -0500)]
change pupper name to reduce conflicts

8 years agosimplify code generation
Jonathan Lifflander [Thu, 27 Jun 2013 20:14:34 +0000 (15:14 -0500)]
simplify code generation

8 years agofix problem with forward declarations
Jonathan Lifflander [Thu, 27 Jun 2013 20:12:52 +0000 (15:12 -0500)]
fix problem with forward declarations

8 years agoput PUP operators in the PUP namespace (standard convention)
Jonathan Lifflander [Wed, 26 Jun 2013 03:37:47 +0000 (22:37 -0500)]
put PUP operators in the PUP namespace (standard convention)

GCC now compiles the new SDAG code.

8 years agouse static_cast instead of reinterpret_cast
Jonathan Lifflander [Wed, 26 Jun 2013 02:51:45 +0000 (21:51 -0500)]
use static_cast instead of reinterpret_cast

8 years agocharmxi: explicit conversion to appease xlC++
Phil Miller [Fri, 21 Jun 2013 04:11:13 +0000 (04:11 +0000)]
charmxi: explicit conversion to appease xlC++

8 years agoRevert "use operator() for PUP"
Jonathan Lifflander [Thu, 20 Jun 2013 23:36:57 +0000 (16:36 -0700)]
Revert "use operator() for PUP"

This reverts commit b540c7e0dcf5e4de7a55f7c6183ad5333800c1dc.

8 years agouse operator() for PUP
Jonathan Lifflander [Thu, 20 Jun 2013 23:20:51 +0000 (16:20 -0700)]
use operator() for PUP

8 years agochange pushBuffer to return void
Jonathan Lifflander [Thu, 20 Jun 2013 09:50:48 +0000 (02:50 -0700)]
change pushBuffer to return void

8 years agofix possible bug with removing elms during iteration
Jonathan Lifflander [Fri, 14 Jun 2013 21:21:46 +0000 (14:21 -0700)]
fix possible bug with removing elms during iteration

8 years agotemplate support for sdag
Jonathan Lifflander [Fri, 14 Jun 2013 21:21:13 +0000 (14:21 -0700)]
template support for sdag

8 years agoadd in forgotten pup call for generated refnum field
Jonathan Lifflander [Thu, 13 Jun 2013 05:39:16 +0000 (22:39 -0700)]
add in forgotten pup call for generated refnum field

8 years agorefactoring of code to simplify
Jonathan Lifflander [Thu, 13 Jun 2013 00:49:24 +0000 (17:49 -0700)]
refactoring of code to simplify

8 years agoremove old calling code
Jonathan Lifflander [Fri, 12 Jul 2013 19:53:04 +0000 (14:53 -0500)]
remove old calling code

8 years agoall refnums to access closure state
Jonathan Lifflander [Thu, 13 Jun 2013 00:30:22 +0000 (17:30 -0700)]
all refnums to access closure state

8 years agomake generated names identical to previous names
Jonathan Lifflander [Wed, 12 Jun 2013 22:21:17 +0000 (15:21 -0700)]
make generated names identical to previous names