charm.git
11 years agoDocs: Describe +pemap and +commap
Phil Miller [Thu, 24 Jun 2010 22:00:26 +0000 (17:00 -0500)]
Docs: Describe +pemap and +commap

11 years agoDocs: elaborate on charmrun ++mpiexec
Phil Miller [Tue, 29 Jun 2010 17:05:45 +0000 (12:05 -0500)]
Docs: elaborate on charmrun ++mpiexec

11 years agoMerge branch 'charm' of charmgit:charm into charm
Filippo Gioachin [Mon, 5 Jul 2010 05:34:14 +0000 (00:34 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoAnother merge function registered for CCS requests
Filippo Gioachin [Mon, 5 Jul 2010 05:32:43 +0000 (00:32 -0500)]
Another merge function registered for CCS requests

11 years agoFixed a bug in CkReduce under bigsim
Filippo Gioachin [Mon, 5 Jul 2010 05:32:08 +0000 (00:32 -0500)]
Fixed a bug in CkReduce under bigsim

11 years agoCharj: Removed output flag, which is no longer needed for init output.
Jonathan Lifflander [Sat, 3 Jul 2010 21:57:08 +0000 (16:57 -0500)]
Charj: Removed output flag, which is no longer needed for init output.

11 years agoCharj: Dereference array on access, assuming it is always a pointer.
Jonathan Lifflander [Sat, 3 Jul 2010 21:56:20 +0000 (16:56 -0500)]
Charj: Dereference array on access, assuming it is always a pointer.

11 years agoCharj: Added include path for stdlib into charj/src/charj/libs to Array header files.
Jonathan Lifflander [Sat, 3 Jul 2010 21:54:04 +0000 (16:54 -0500)]
Charj: Added include path for stdlib into charj/src/charj/libs to Array header files.

11 years agoCharj: Fixed incorrect tree grammar for range expressions.
Jonathan Lifflander [Sat, 3 Jul 2010 21:53:15 +0000 (16:53 -0500)]
Charj: Fixed incorrect tree grammar for range expressions.

11 years agoCharj: Modifications to Array functionality and test harness.
Jonathan Lifflander [Sat, 3 Jul 2010 21:46:48 +0000 (16:46 -0500)]
Charj: Modifications to Array functionality and test harness.

11 years agoCharj: Removal of automatic promotion of pointer to object in entry methods.
Jonathan Lifflander [Sat, 3 Jul 2010 21:41:59 +0000 (16:41 -0500)]
Charj: Removal of automatic promotion of pointer to object in entry methods.

The method that promotes pointer types to object types in entry method parameters
is not working correctly. It was causing the Array pointers to be converted to
objects, which was breaking them in the chare/mainchare case. This code/methodology
is going to be rewritten at some point.

11 years agoCharj: Added Array include and usings statement.
Jonathan Lifflander [Sat, 3 Jul 2010 21:40:16 +0000 (16:40 -0500)]
Charj: Added Array include and usings statement.

11 years agoCharj: Added domainExpression to args for expanded syntax of initializer.
Jonathan Lifflander [Sat, 3 Jul 2010 21:38:34 +0000 (16:38 -0500)]
Charj: Added domainExpression to args for expanded syntax of initializer.

11 years agoCharj: Modified array example, that uses mainchare and 1D array.
Jonathan Lifflander [Sat, 3 Jul 2010 21:35:11 +0000 (16:35 -0500)]
Charj: Modified array example, that uses mainchare and 1D array.

11 years agoFixed problem with bigsim environment not picking up the right CkReduce function
Filippo Gioachin [Sat, 3 Jul 2010 01:38:24 +0000 (20:38 -0500)]
Fixed problem with bigsim environment not picking up the right CkReduce function

11 years agoSetting again the breakpoint info if we are the first to set the breakpoint again...
Filippo Gioachin [Sat, 3 Jul 2010 00:03:14 +0000 (19:03 -0500)]
Setting again the breakpoint info if we are the first to set the breakpoint again after it got deleted.
Also, do not set/remove if it is already.

11 years agoRegistering merge function to avoid crash on shutdown
Filippo Gioachin [Fri, 2 Jul 2010 23:45:27 +0000 (18:45 -0500)]
Registering merge function to avoid crash on shutdown

11 years agoMerge branch 'charm' into virtualDebug
Filippo Gioachin [Fri, 2 Jul 2010 23:30:28 +0000 (18:30 -0500)]
Merge branch 'charm' into virtualDebug

11 years agoFor now make conditional available only in non-bigsim
Filippo Gioachin [Fri, 2 Jul 2010 21:42:40 +0000 (16:42 -0500)]
For now make conditional available only in non-bigsim

11 years agodisabled sync for crayxt since it does not exist on compute node (frontend where... reviewed-6.2.1
Gengbin Zheng [Fri, 2 Jul 2010 06:21:11 +0000 (01:21 -0500)]
disabled sync for crayxt since it does not exist on compute node (frontend where configure runs does have it)

11 years agoMerge branch 'charm' of charmgit:charm into charm
Filippo Gioachin [Thu, 1 Jul 2010 21:38:11 +0000 (16:38 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoCharj: Forgot to include VariableInitializer.
Jonathan Lifflander [Thu, 1 Jul 2010 21:32:36 +0000 (16:32 -0500)]
Charj: Forgot to include VariableInitializer.

11 years agoCharj: Fixed dynamic cast from PointerType to ClassSymbol, which is not valid.
Jonathan Lifflander [Thu, 1 Jul 2010 16:51:52 +0000 (11:51 -0500)]
Charj: Fixed dynamic cast from PointerType to ClassSymbol, which is not valid.

11 years agoRemoving annoying output
Jonathan Lifflander [Thu, 1 Jul 2010 03:08:57 +0000 (22:08 -0500)]
Removing annoying output

11 years agoCharj: Fix of initializers in regular class (not a chare)
Jonathan Lifflander [Thu, 1 Jul 2010 03:08:36 +0000 (22:08 -0500)]
Charj: Fix of initializers in regular class (not a chare)

11 years agoCharj: Fixed PUPing problem, blocks can overlap...methods do not.
Jonathan Lifflander [Wed, 30 Jun 2010 23:35:26 +0000 (18:35 -0500)]
Charj: Fixed PUPing problem, blocks can overlap...methods do not.

Modified code so the rules do not overlap.

11 years agoCharj: Used the correct namespace resolution in the string templates.
Jonathan Lifflander [Wed, 30 Jun 2010 23:34:01 +0000 (18:34 -0500)]
Charj: Used the correct namespace resolution in the string templates.

11 years agoCharj: Fix assumption that modifier list will always exist.
Jonathan Lifflander [Wed, 30 Jun 2010 23:33:10 +0000 (18:33 -0500)]
Charj: Fix assumption that modifier list will always exist.

11 years agoCharj: Fixing bad code, catching a NPE and printing the error and moving on.
Jonathan Lifflander [Wed, 30 Jun 2010 23:30:30 +0000 (18:30 -0500)]
Charj: Fixing bad code, catching a NPE and printing the error and moving on.

Still needs more fixing...commented location where the same thing is happening,
but the NPE is actually being acted on.

11 years agoCharj: Merged changes.
Jonathan Lifflander [Wed, 30 Jun 2010 22:24:13 +0000 (17:24 -0500)]
Charj: Merged changes.

Merge branch 'charm' of charmgit:charm into charm

Conflicts:
src/langs/charj/src/charj/translator/AstModifier.java
src/langs/charj/src/charj/translator/Charj.stg

11 years agoCharj: Remove dead code for old constructor generator.
Jonathan Lifflander [Wed, 30 Jun 2010 21:35:14 +0000 (16:35 -0500)]
Charj: Remove dead code for old constructor generator.

11 years agoCharj: Fixed initializers. Removed dead code from AstModifier.
Jonathan Lifflander [Wed, 30 Jun 2010 21:33:53 +0000 (16:33 -0500)]
Charj: Fixed initializers. Removed dead code from AstModifier.

11 years agoCharj: Removed duplicate ENTRY definition
Jonathan Lifflander [Wed, 30 Jun 2010 20:24:02 +0000 (15:24 -0500)]
Charj: Removed duplicate ENTRY definition

11 years agoMerge branch 'charm' of charmgit:charm into charm
Filippo Gioachin [Wed, 30 Jun 2010 00:16:49 +0000 (19:16 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoAdded support to record load balancer decisions during +record, and replay them durin...
Filippo Gioachin [Tue, 29 Jun 2010 23:50:19 +0000 (18:50 -0500)]
Added support to record load balancer decisions during +record, and replay them during +replay. Notice that since there are pointers in the message stored, after reloading it from file the poiters need to be corrected.

11 years agoPassing in a pointer to the message since it might need reallocation
Filippo Gioachin [Tue, 29 Jun 2010 23:44:08 +0000 (18:44 -0500)]
Passing in a pointer to the message since it might need reallocation

11 years agoCharj: Added generator for migration constructors for chare arrays.
Jonathan Lifflander [Tue, 29 Jun 2010 17:16:20 +0000 (12:16 -0500)]
Charj: Added generator for migration constructors for chare arrays.

11 years agoCharj: More pupInitMethod code.
Jonathan Lifflander [Tue, 29 Jun 2010 17:11:40 +0000 (12:11 -0500)]
Charj: More pupInitMethod code.

11 years agoCharj: Fixed emission of pupInitMethod function signature to header file.
Jonathan Lifflander [Tue, 29 Jun 2010 17:07:12 +0000 (12:07 -0500)]
Charj: Fixed emission of pupInitMethod function signature to header file.

11 years agoCharj: Added the constructorHelper() generated call.
Jonathan Lifflander [Tue, 29 Jun 2010 06:00:32 +0000 (01:00 -0500)]
Charj: Added the constructorHelper() generated call.

11 years agoCharj: Added the detection and generation of default constructors if not present.
Jonathan Lifflander [Tue, 29 Jun 2010 05:59:18 +0000 (00:59 -0500)]
Charj: Added the detection and generation of default constructors if not present.

11 years agoCharj: Remove migration code...not working yet
Jonathan Lifflander [Tue, 29 Jun 2010 05:56:20 +0000 (00:56 -0500)]
Charj: Remove migration code...not working yet

11 years agoCharj: Added before correct modifications.
Jonathan Lifflander [Tue, 29 Jun 2010 05:19:42 +0000 (00:19 -0500)]
Charj: Added before correct modifications.

11 years agoCharj: PUP method styling change to match other generated code.
Jonathan Lifflander [Tue, 29 Jun 2010 04:08:02 +0000 (23:08 -0500)]
Charj: PUP method styling change to match other generated code.

11 years agoCharj: Fix to add namespace on pup method
Jonathan Lifflander [Tue, 29 Jun 2010 04:02:16 +0000 (23:02 -0500)]
Charj: Fix to add namespace on pup method

11 years agoCharj: Code styling changes.
Jonathan Lifflander [Tue, 29 Jun 2010 03:27:53 +0000 (22:27 -0500)]
Charj: Code styling changes.

11 years agoCharj: Whitespace changes.
Jonathan Lifflander [Tue, 29 Jun 2010 03:27:26 +0000 (22:27 -0500)]
Charj: Whitespace changes.

11 years agoCharj: Completely rewrote PUPers, to use the emitter instead of modifing the AST.
Jonathan Lifflander [Tue, 29 Jun 2010 03:24:41 +0000 (22:24 -0500)]
Charj: Completely rewrote PUPers, to use the emitter instead of modifing the AST.

11 years agoCharj: Fixed output of modifier lists for objects and primitives
Jonathan Lifflander [Tue, 29 Jun 2010 01:33:42 +0000 (20:33 -0500)]
Charj: Fixed output of modifier lists for objects and primitives

11 years agoAdding ability to build cuda with pxshm enabled
Lukasz Wesolowski [Sun, 27 Jun 2010 20:01:01 +0000 (15:01 -0500)]
Adding ability to build cuda with pxshm enabled

11 years agofor mpiexec, the nodetable's IP address have to be get from compute node, instead...
Gengbin Zheng [Sat, 26 Jun 2010 07:23:32 +0000 (02:23 -0500)]
for mpiexec, the nodetable's IP address have to be get from compute node, instead of nodelist file.

11 years agoextended pemap string to l-u:s.b
Gengbin Zheng [Fri, 25 Jun 2010 22:32:03 +0000 (17:32 -0500)]
extended pemap string to   l-u:s.b
the new block field controls how many items in each subrange.

11 years agoControl Points: Fix potential startup race condition on SMP builds
Phil Miller [Fri, 25 Jun 2010 15:33:51 +0000 (10:33 -0500)]
Control Points: Fix potential startup race condition on SMP builds

I was seeing crashes at startup with control points linked in on
net-linux-x86_64. The problem seemed to be that main chares are
started in PE0 in an arbitrary order, so if one of them tries to
access stuff that's initialized in another (such as Ckpv(cp_effects)),
then it will read random bits of memory and fail. When I moved the
call to the initialization function into an initproc call, which will
precede mainchare construction, then that crash disappeared.

11 years agobuild: Update the make depends file
Ramprasad Venkataraman [Thu, 24 Jun 2010 21:22:11 +0000 (16:22 -0500)]
build: Update the make depends file

11 years agobuild: update make depends to generate the correct make commands
Ramprasad Venkataraman [Thu, 24 Jun 2010 21:17:54 +0000 (16:17 -0500)]
build: update make depends to generate the correct make commands

Actually touch the timestamp file after compiling the ci file.
Also, remove all stamp files when make clean

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 24 Jun 2010 21:08:56 +0000 (16:08 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoincreased the maximun number of excludecore allowed.
Gengbin Zheng [Thu, 24 Jun 2010 21:07:31 +0000 (16:07 -0500)]
increased the maximun number of excludecore allowed.

11 years agobuild: add -intrinsic to the make commands for charm's ci files generated by make...
Ramprasad Venkataraman [Thu, 24 Jun 2010 20:18:30 +0000 (15:18 -0500)]
build: add -intrinsic to the make commands for charm's ci files generated by make depends

11 years agobuild: Modify the makefile to work with the new dependency rules generated by charmc -M
Ramprasad Venkataraman [Thu, 24 Jun 2010 19:52:22 +0000 (14:52 -0500)]
build: Modify the makefile to work with the new dependency rules generated by charmc -M

The makefile now simply appends a compilation command to every make rule for the ci timestamp files
Ideally, this should just be a pattern rule to generate %.ci.stamp from %.ci. But the current mechanism
seems to be the path of least resistance.

11 years agocharmxi: Fix wrong variable name from my prev commit
Ramprasad Venkataraman [Thu, 24 Jun 2010 19:44:10 +0000 (14:44 -0500)]
charmxi: Fix wrong variable name from my prev commit

11 years agocharmc -M: Correct the path for the timestamp file in the dependency rules
Ramprasad Venkataraman [Thu, 24 Jun 2010 18:26:51 +0000 (13:26 -0500)]
charmc -M: Correct the path for the timestamp file in the dependency rules

11 years agocharmxi -M: Strip the last slash (/) too when computing basename of ci file
Ramprasad Venkataraman [Thu, 24 Jun 2010 17:43:48 +0000 (12:43 -0500)]
charmxi -M: Strip the last slash (/) too when computing basename of ci file

11 years agoMerge branch 'charm' of charmgit:charm into charm
Phil Miller [Thu, 24 Jun 2010 17:16:53 +0000 (12:16 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agocharmxi -M: Don't generate rules directly - let the driver script do that
Phil Miller [Thu, 24 Jun 2010 17:16:46 +0000 (12:16 -0500)]
charmxi -M: Don't generate rules directly - let the driver script do that

11 years agockcomplex: Mimic std::norm std::abs and std::isfinite for ckcomplex. Also supply...
Ramprasad Venkataraman [Thu, 24 Jun 2010 15:34:52 +0000 (10:34 -0500)]
ckcomplex: Mimic std::norm std::abs and std::isfinite for ckcomplex. Also supply operator/.

Again, these are just quick additions to provide standard-like functionality.
Very incomplete, very loose adherence to the standard.
Refer CHARM-9 for what needs to be done.

11 years agoAdding interface for the load balancer to call the CkMessageWatcher with the migratio...
Filippo Gioachin [Thu, 24 Jun 2010 03:22:34 +0000 (22:22 -0500)]
Adding interface for the load balancer to call the CkMessageWatcher with the migration message

11 years agoAdded a couple of pup routines
Filippo Gioachin [Thu, 24 Jun 2010 03:21:45 +0000 (22:21 -0500)]
Added a couple of pup routines

11 years agoUsing macro to generate process functions; added a new one for LB messages
Filippo Gioachin [Thu, 24 Jun 2010 03:21:05 +0000 (22:21 -0500)]
Using macro to generate process functions; added a new one for LB messages

11 years agoChanging return type from int to CmiBool
Filippo Gioachin [Thu, 24 Jun 2010 02:08:52 +0000 (21:08 -0500)]
Changing return type from int to CmiBool

11 years agoCharj: Wrote the second part of the constructorHelper, actually generating the helper...
Jonathan Lifflander [Thu, 24 Jun 2010 01:52:15 +0000 (20:52 -0500)]
Charj: Wrote the second part of the constructorHelper, actually generating the helper per class in ANTLR.

Replacing functionality that was in Java with ANTLR.

11 years agoCharj: Modified ANTLR code to change "type" of node when encountering a entry method...
Jonathan Lifflander [Thu, 24 Jun 2010 01:16:57 +0000 (20:16 -0500)]
Charj: Modified ANTLR code to change "type" of node when encountering a entry method or entry constructor.

Moved this functionality from the Java code to ANTLR.

11 years agoMSA: enroll without a shared count of participants
Phil Miller [Wed, 23 Jun 2010 20:10:11 +0000 (15:10 -0500)]
MSA: enroll without a shared count of participants

11 years agoSDAG: Reference messages before buffering them, unreference after delivery
Phil Miller [Wed, 23 Jun 2010 04:07:55 +0000 (23:07 -0500)]
SDAG: Reference messages before buffering them, unreference after delivery

CharmLU uses [nokeep] entry methods to make the runtime not make
excess copies of messages that it wasn't going to modify. On
conversion to SDAG, Jonathan and I found that the CmiReference calls
in the client code weren't reached before control returned to the
runtime, because SDAG buffers messages internally when the client code
isn't ready to receive them (i.e. hasn't reached the corresponding
`when' clause).

Since SDAG hangs onto the messages given to it, make it claim a
reference to those messages, and release those references after the
message has been delivered to its client code.

11 years agoCharj: make sure Fib works with no command-line arguments
Aaron Becker [Tue, 22 Jun 2010 20:56:49 +0000 (15:56 -0500)]
Charj: make sure Fib works with no command-line arguments

11 years agoCharj: removed Java code for arranging modifiers and adding private. Added Antlr...
Jonathan Lifflander [Tue, 22 Jun 2010 17:14:04 +0000 (12:14 -0500)]
Charj: removed Java code for arranging modifiers and adding private. Added Antlr code that does the same.

11 years agoMSA: Add 'exclusive' write/accum modes, that discard existing array content
Phil Miller [Tue, 22 Jun 2010 03:45:37 +0000 (22:45 -0500)]
MSA: Add 'exclusive' write/accum modes, that discard existing array content

11 years agoCharj: only register methods for tracing once per class
Aaron Becker [Mon, 21 Jun 2010 23:01:30 +0000 (18:01 -0500)]
Charj: only register methods for tracing once per class

11 years agoCharj: make a few fib methods "traced" by default
Aaron Becker [Mon, 21 Jun 2010 22:41:31 +0000 (17:41 -0500)]
Charj: make a few fib methods "traced" by default

11 years agoCharj: add projections tracing framework and "traced" method keyword
Aaron Becker [Mon, 21 Jun 2010 22:41:04 +0000 (17:41 -0500)]
Charj: add projections tracing framework and "traced" method keyword

11 years agoCharj: produce object and header files in top-level dir
Aaron Becker [Fri, 18 Jun 2010 00:46:33 +0000 (19:46 -0500)]
Charj: produce object and header files in top-level dir

11 years agoCharj: add utility method for reading file into string
Aaron Becker [Fri, 18 Jun 2010 00:38:58 +0000 (19:38 -0500)]
Charj: add utility method for reading file into string

11 years agoCharj: don't use cpp preprocessor; it messes up our line numbering
Aaron Becker [Thu, 17 Jun 2010 23:18:17 +0000 (18:18 -0500)]
Charj: don't use cpp preprocessor; it messes up our line numbering

11 years agoCharj: don't attempt to pup readonly vars
Aaron Becker [Thu, 17 Jun 2010 23:09:28 +0000 (18:09 -0500)]
Charj: don't attempt to pup readonly vars

11 years agoCharj: Warn on assigment to readonlys outside of mainchare constructors
Aaron Becker [Thu, 17 Jun 2010 23:08:39 +0000 (18:08 -0500)]
Charj: Warn on assigment to readonlys outside of mainchare constructors

11 years agoCharj: be more flexible about delete; allow "delete this"
Aaron Becker [Thu, 17 Jun 2010 17:00:03 +0000 (12:00 -0500)]
Charj: be more flexible about delete; allow "delete this"

11 years agoCharj: change fib example to be structured the same as the charm example
Aaron Becker [Thu, 17 Jun 2010 16:59:06 +0000 (11:59 -0500)]
Charj: change fib example to be structured the same as the charm example

11 years agoCharj: reduced verbosity, added basis for readonly assignment checks
Aaron Becker [Thu, 17 Jun 2010 08:25:49 +0000 (03:25 -0500)]
Charj: reduced verbosity, added basis for readonly assignment checks

11 years agoCharj: add externs to ci file for all referenced chare types
Aaron Becker [Thu, 17 Jun 2010 08:14:35 +0000 (03:14 -0500)]
Charj: add externs to ci file for all referenced chare types

11 years agoCharj: convert extern collection from list to set
Aaron Becker [Thu, 17 Jun 2010 08:13:06 +0000 (03:13 -0500)]
Charj: convert extern collection from list to set

11 years agoCharj: correctly resolve sibling types in the current package
Aaron Becker [Thu, 17 Jun 2010 08:12:44 +0000 (03:12 -0500)]
Charj: correctly resolve sibling types in the current package

11 years agoCharj: correctly assign types to package scopes
Aaron Becker [Thu, 17 Jun 2010 07:29:11 +0000 (02:29 -0500)]
Charj: correctly assign types to package scopes

11 years agoCharj: tag method_call nodes with type info
Aaron Becker [Thu, 17 Jun 2010 07:05:05 +0000 (02:05 -0500)]
Charj: tag method_call nodes with type info

11 years agoCharj: be less picky about command line argument capitalization
Aaron Becker [Wed, 16 Jun 2010 18:36:30 +0000 (13:36 -0500)]
Charj: be less picky about command line argument capitalization

11 years agoCharj: remove obsolete type stuff from semantics pass
Aaron Becker [Wed, 16 Jun 2010 18:11:35 +0000 (13:11 -0500)]
Charj: remove obsolete type stuff from semantics pass

11 years agoCharj: group type resolution calls into their own function
Aaron Becker [Wed, 16 Jun 2010 18:10:09 +0000 (13:10 -0500)]
Charj: group type resolution calls into their own function

11 years agobrought AMPI record/replay back to life.
Gengbin Zheng [Wed, 16 Jun 2010 03:42:51 +0000 (22:42 -0500)]
brought AMPI record/replay back to life.
1. fixed out-of-date compilation issues
2. allows recording multiple ranks in one run, extended +msgLogWrite argument to take a list of ranks
3. fixed a replay bug in MPI_Comm_split
Disabled use of zlib for now.

11 years agoCharj: added test case with several entry invocation cases
Aaron Becker [Tue, 15 Jun 2010 21:55:19 +0000 (16:55 -0500)]
Charj: added test case with several entry invocation cases

11 years agoCharj: only dereference object types in entry invocations
Aaron Becker [Tue, 15 Jun 2010 21:54:55 +0000 (16:54 -0500)]
Charj: only dereference object types in entry invocations

11 years agoCharj: tweaked output diagnostics and codegen, allow byte primitive type
Aaron Becker [Tue, 15 Jun 2010 21:53:45 +0000 (16:53 -0500)]
Charj: tweaked output diagnostics and codegen, allow byte primitive type

11 years agoMerge branch 'charm' of charmgit:charm into charm
Jonathan Lifflander [Tue, 15 Jun 2010 17:55:36 +0000 (12:55 -0500)]
Merge branch 'charm' of charmgit:charm into charm