charm.git
11 years agoCharj : iostream is now included in produced .h files
Minas Charalambides [Wed, 2 Jun 2010 02:20:04 +0000 (21:20 -0500)]
Charj   :   iostream is now included in produced .h files
            std::cout is now used in produced .h files

            AstModifier now works when a .cj file contains
            multiple type definitions

11 years agoCharj : added support for the print and println statements
Minas Charalambides [Wed, 2 Jun 2010 02:14:58 +0000 (21:14 -0500)]
Charj   :   added support for the print and println statements

11 years agoMerge branch 'charm' of charmgit:charm into charm
Filippo Gioachin [Wed, 2 Jun 2010 01:28:30 +0000 (20:28 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoCharj: fix interaction between pupping code and readonly variables
Aaron Becker [Wed, 2 Jun 2010 01:18:50 +0000 (20:18 -0500)]
Charj: fix interaction between pupping code and readonly variables

11 years agoCharj : many small fixes of stuff that broke during the last few commits
Minas Charalambides [Wed, 2 Jun 2010 01:06:52 +0000 (20:06 -0500)]
Charj   :   many small fixes of stuff that broke during the last few commits

11 years agoCharj : added a new rule for constructor call in Charj.g
Minas Charalambides [Wed, 2 Jun 2010 01:06:03 +0000 (20:06 -0500)]
Charj   :   added a new rule for constructor call in Charj.g
            to avoid generating code of the form x = new foo*()

11 years agoMerge branch 'conditionalDelivery' into charm
Filippo Gioachin [Wed, 2 Jun 2010 00:13:40 +0000 (19:13 -0500)]
Merge branch 'conditionalDelivery' into charm

11 years agoCode available only when CHARMDEBUG is on
Filippo Gioachin [Tue, 1 Jun 2010 23:43:36 +0000 (18:43 -0500)]
Code available only when CHARMDEBUG is on

11 years agoCharj: add framework for detecting necessary module externs
Aaron Becker [Tue, 1 Jun 2010 23:36:16 +0000 (18:36 -0500)]
Charj: add framework for detecting necessary module externs

11 years agoCharj: declare all readonly variables at the end of the .cc file
Aaron Becker [Tue, 1 Jun 2010 23:35:27 +0000 (18:35 -0500)]
Charj: declare all readonly variables at the end of the .cc file

11 years agoCharj: add hello array example
Aaron Becker [Tue, 1 Jun 2010 23:34:30 +0000 (18:34 -0500)]
Charj: add hello array example

11 years agoMoved some variables so Converse programs compile
Filippo Gioachin [Tue, 1 Jun 2010 22:19:25 +0000 (17:19 -0500)]
Moved some variables so Converse programs compile

11 years agoCharj: migration constructor handling for arrays
Aaron Becker [Tue, 1 Jun 2010 22:14:40 +0000 (17:14 -0500)]
Charj: migration constructor handling for arrays

Note: there are two parts to this. First, identifying array types which
don't have an explicitly defined migration contructor and adding a
default. Second, ensuring that migration constructors are not added to
the interface file regardless of whether they are user-defined or
generated by us.

11 years agoCharj: fix include name for readonly module
Aaron Becker [Tue, 1 Jun 2010 22:14:06 +0000 (17:14 -0500)]
Charj: fix include name for readonly module

11 years agoBigSim complain
Filippo Gioachin [Tue, 1 Jun 2010 21:52:04 +0000 (16:52 -0500)]
BigSim complain

11 years agoMerge branch 'charm' into conditionalDelivery
Filippo Gioachin [Tue, 1 Jun 2010 21:29:44 +0000 (16:29 -0500)]
Merge branch 'charm' into conditionalDelivery

Conflicts:
src/ck-core/debug-charm.C

11 years agoUsing shmem to provide consistency and allow the un-delivery of a user-specified...
Filippo Gioachin [Tue, 1 Jun 2010 21:16:28 +0000 (16:16 -0500)]
Using shmem to provide consistency and allow the un-delivery of a user-specified amount of messages.
The master process checks if the user has selected to completely end conditional mode, or if he has chosen to just rollback partially. (In the latter case a new child is forked, and it will re-deliver the messages not rolled back)

11 years agoBlueGene to BigSim in user output
Gengbin Zheng [Tue, 1 Jun 2010 19:38:53 +0000 (14:38 -0500)]
BlueGene to BigSim in user output

11 years agoCorrectly considering breakpoint messages when delivering conditionally
Filippo Gioachin [Tue, 1 Jun 2010 17:29:06 +0000 (12:29 -0500)]
Correctly considering breakpoint messages when delivering conditionally

11 years agoInfrastructure for conditional delivery of messages (working).
Filippo Gioachin [Tue, 1 Jun 2010 16:04:21 +0000 (11:04 -0500)]
Infrastructure for conditional delivery of messages (working).
A child is forked to handle conditional messages, parent forwards CCS requests to child.
Upon exit, child terminates, and parent resumes normal operations.
Now there is a function in CpdFreezeModeScheduler to pull new messages

11 years agoChanged interface to ConverseDeliver: added the pe to which we are trying to deliver.
Filippo Gioachin [Tue, 1 Jun 2010 15:59:03 +0000 (10:59 -0500)]
Changed interface to ConverseDeliver: added the pe to which we are trying to deliver.
This allows a conditional reply depending on local vs. remote processor.
Notice that list-based functions cannot distinguish processor.

11 years agoWhen only one processor is allocated, -1 was not correctly interpreted
Filippo Gioachin [Tue, 1 Jun 2010 15:54:42 +0000 (10:54 -0500)]
When only one processor is allocated, -1 was not correctly interpreted

11 years agoadded enable/disable with/without into build script help page.
Gengbin Zheng [Tue, 1 Jun 2010 15:02:59 +0000 (10:02 -0500)]
added enable/disable with/without into build script help page.

11 years agofixed couple CpvAccess(currentChareIdx) to Ckpv
Gengbin Zheng [Tue, 1 Jun 2010 15:02:22 +0000 (10:02 -0500)]
fixed couple CpvAccess(currentChareIdx) to Ckpv

11 years agocommit a lot of unwanted changes.
Gengbin Zheng [Tue, 1 Jun 2010 13:46:58 +0000 (08:46 -0500)]
commit a lot of unwanted changes.
Revert "use Ckpv on currentChareIdx"

This reverts commit 3ef2bf0524a2b3c51c6262ca466e55245ec1166a.

11 years agoCharj: modify fibonacci example to use readonlys
Aaron Becker [Tue, 1 Jun 2010 11:01:32 +0000 (06:01 -0500)]
Charj: modify fibonacci example to use readonlys

11 years agoCharj: add support for readonly variables
Aaron Becker [Tue, 1 Jun 2010 10:44:40 +0000 (05:44 -0500)]
Charj: add support for readonly variables

11 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Tue, 1 Jun 2010 07:27:50 +0000 (02:27 -0500)]
Merge branch 'charm' of charmgit:charm into charm

Conflicts:
src/langs/charj/src/charj/translator/CharjEmitter.g

11 years agoCharj: update proxy alloaction syntax for fib example
Aaron Becker [Tue, 1 Jun 2010 07:06:36 +0000 (02:06 -0500)]
Charj: update proxy alloaction syntax for fib example

11 years agoCharj: use ckNew when allocating for proxy types
Aaron Becker [Tue, 1 Jun 2010 07:06:08 +0000 (02:06 -0500)]
Charj: use ckNew when allocating for proxy types

11 years agoCharj : a default constructor is added if not present (classes and chares)
Minas Charalambides [Tue, 1 Jun 2010 05:33:37 +0000 (00:33 -0500)]
Charj   :   a default constructor is added if not present (classes and chares)

11 years agoCharj : small fix in Charj.stg for constructor code generation
Minas Charalambides [Tue, 1 Jun 2010 05:32:17 +0000 (00:32 -0500)]
Charj   :   small fix in Charj.stg for constructor code generation

11 years agoCharj : small change to local variable and formal parameter
Minas Charalambides [Mon, 31 May 2010 22:41:59 +0000 (17:41 -0500)]
Charj   :   small change to local variable and formal parameter
            declarations with regard to the handling of modifiers,
            so that they are output in the same fashion as for
            class scope declarations

            for class scope declarations, if no access modifier is
            specified, then private is assumed and added to the AST

11 years agoMerge branch 'minasFixes' into charm
Minas Charalambides [Mon, 31 May 2010 21:06:10 +0000 (16:06 -0500)]
Merge branch 'minasFixes' into charm

11 years agoCharj : renamed PupRoutineCreator.java to AstModifier.java
Minas Charalambides [Mon, 31 May 2010 21:02:39 +0000 (16:02 -0500)]
Charj   :   renamed PupRoutineCreator.java to AstModifier.java

            AstModifier.java is used in CharjASTModifier.g for
            general transformations on the incoming AST, which
            includes adding the necessary PUP nodes.

            Also, it alters the incoming modifier list for class
            scope definitions, so as to split the various types of
            modifiers into separate subtrees.

11 years agouse Ckpv on currentChareIdx
Gengbin Zheng [Mon, 31 May 2010 15:01:59 +0000 (10:01 -0500)]
use Ckpv on currentChareIdx

11 years agoCharj : initMethod now correctly calls the default constructor
Minas Charalambides [Sun, 30 May 2010 19:36:42 +0000 (14:36 -0500)]
Charj   :   initMethod now correctly calls the default constructor
            of templated types

            added method dupTree in CharjAST.java to return a cloned
            subtree starting at the node on which the call is made

11 years agoCharj: if a module contains a mainchare, it should be a mainmodule
Aaron Becker [Sun, 30 May 2010 02:11:28 +0000 (21:11 -0500)]
Charj: if a module contains a mainchare, it should be a mainmodule

11 years agoFixing the steering model that assumes a positive slope on the appliation timesteps...
Isaac Dooley [Sat, 29 May 2010 16:51:57 +0000 (11:51 -0500)]
Fixing the steering model that assumes a positive slope on the appliation timesteps. If m<=0 we now just double the load balancing period.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Isaac Dooley [Sat, 29 May 2010 16:14:55 +0000 (11:14 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoCharj: allow multiple type definitions per file
Aaron Becker [Sat, 29 May 2010 04:34:32 +0000 (23:34 -0500)]
Charj: allow multiple type definitions per file

11 years agoCharj: add mainchare to fib example
Aaron Becker [Sat, 29 May 2010 04:33:42 +0000 (23:33 -0500)]
Charj: add mainchare to fib example

11 years agoCharj: do not require multi-part package names
Aaron Becker [Sat, 29 May 2010 03:25:27 +0000 (22:25 -0500)]
Charj: do not require multi-part package names

11 years agoCharj: fix ordering of namespace declarations
Aaron Becker [Sat, 29 May 2010 00:12:56 +0000 (19:12 -0500)]
Charj: fix ordering of namespace declarations

11 years agoCharj: improved error message and added pupping for proxy types
Aaron Becker [Sat, 29 May 2010 00:04:29 +0000 (19:04 -0500)]
Charj: improved error message and added pupping for proxy types

11 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Fri, 28 May 2010 23:57:39 +0000 (18:57 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoCharj: updated Fibonacci example
Aaron Becker [Fri, 28 May 2010 23:57:19 +0000 (18:57 -0500)]
Charj: updated Fibonacci example

11 years agoCharj: improved entry method handling and recognition on invocation
Aaron Becker [Fri, 28 May 2010 23:56:20 +0000 (18:56 -0500)]
Charj: improved entry method handling and recognition on invocation

11 years agoCharj: fixed bool name in symbol table
Aaron Becker [Fri, 28 May 2010 23:55:37 +0000 (18:55 -0500)]
Charj: fixed bool name in symbol table

11 years agoJacobi example: Remove old CVS headers
Phil Miller [Fri, 28 May 2010 14:24:48 +0000 (09:24 -0500)]
Jacobi example: Remove old CVS headers

11 years agoMerge branch 'minas' into charm
Aaron Becker [Fri, 28 May 2010 22:42:49 +0000 (17:42 -0500)]
Merge branch 'minas' into charm

11 years agoCharj: fix token problems introduced during merge minas
Aaron Becker [Fri, 28 May 2010 22:42:18 +0000 (17:42 -0500)]
Charj: fix token problems introduced during merge

11 years agoCharj: fix mangled package name bug
Aaron Becker [Fri, 28 May 2010 22:37:22 +0000 (17:37 -0500)]
Charj: fix mangled package name bug

11 years agoCharj: start adding features back in to fibonacci example
Aaron Becker [Fri, 28 May 2010 22:12:22 +0000 (17:12 -0500)]
Charj: start adding features back in to fibonacci example

11 years agoCharj: add missing LTE and GTE tokens for ASTModifier
Aaron Becker [Fri, 28 May 2010 22:07:09 +0000 (17:07 -0500)]
Charj: add missing LTE and GTE tokens for ASTModifier

11 years agoCharj: improved type import mechanism and include/using codegen
Aaron Becker [Fri, 28 May 2010 21:57:49 +0000 (16:57 -0500)]
Charj: improved type import mechanism and include/using codegen

11 years agoDelivering a single message in the queue conditionally
Filippo Gioachin [Fri, 28 May 2010 18:22:52 +0000 (13:22 -0500)]
Delivering a single message in the queue conditionally

11 years agocurrent way of setting up plain chare index is problematic in presence of virtual...
Gengbin Zheng [Fri, 28 May 2010 14:52:01 +0000 (09:52 -0500)]
current way of setting up plain chare index is problematic in presence of virtual base class, where setting chare index before constructor is called is dangerous. Fixed that by introducing a Cpv variable.

11 years agolround does not exist in VC++.
Gengbin Zheng [Fri, 28 May 2010 06:49:50 +0000 (01:49 -0500)]
lround does not exist in VC++.

11 years agosuppress some compiler warnings.
Gengbin Zheng [Fri, 28 May 2010 03:36:09 +0000 (22:36 -0500)]
suppress some compiler warnings.

11 years agoCharj : initMethod is called before puping pointer types
Minas Charalambides [Thu, 27 May 2010 20:16:59 +0000 (15:16 -0500)]
Charj   :   initMethod is called before puping pointer types

            initMethod initializes every pointer by calling
            the respective default constructors

11 years agomore one palce BlueGene => BigSim
Gengbin Zheng [Thu, 27 May 2010 20:11:23 +0000 (15:11 -0500)]
more one palce BlueGene => BigSim

11 years agochanged exit info from BlueGene to BigSim.
Gengbin Zheng [Thu, 27 May 2010 19:48:27 +0000 (14:48 -0500)]
changed exit info from BlueGene to BigSim.

11 years agoCharj : added support for the dot access operator (as opposed to the
Minas Charalambides [Thu, 27 May 2010 19:33:13 +0000 (14:33 -0500)]
Charj   :   added support for the dot access operator (as opposed to the
            arrow). Now dots are turned into arrows in CharjASTModifier.g
            and the pup generation modules are free to choose either the
            dot or the arrow depending on the occasion.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Isaac Dooley [Thu, 27 May 2010 17:23:55 +0000 (12:23 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoRemoving an erroneous assert statement that caused control points to fail on 64-bit...
Isaac Dooley [Thu, 27 May 2010 17:22:53 +0000 (12:22 -0500)]
Removing an erroneous assert statement that caused control points to fail on 64-bit builds.

11 years agoAdding a new analytical model of load balancing period steering. This one automatical...
Isaac Dooley [Thu, 27 May 2010 17:16:23 +0000 (12:16 -0500)]
Adding a new analytical model of load balancing period steering. This one automatically determines what the exact optimal load balancing period would be (for a certain class of programs).

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Thu, 27 May 2010 16:33:34 +0000 (11:33 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoFixed the usage of Cpv var myCPUAffToCore when cpuaffinity is not available.
Chao Mei [Thu, 27 May 2010 16:31:56 +0000 (11:31 -0500)]
Fixed the usage of Cpv var myCPUAffToCore when cpuaffinity is not available.

11 years agoMerge branch 'abecker/charj-main' into charm
Aaron Becker [Wed, 26 May 2010 23:38:40 +0000 (18:38 -0500)]
Merge branch 'abecker/charj-main' into charm

11 years agoCharj: update mainchare test abecker/charj-main
Aaron Becker [Wed, 26 May 2010 23:38:17 +0000 (18:38 -0500)]
Charj: update mainchare test

11 years agoCharj: small fix to class constructor codegen
Aaron Becker [Wed, 26 May 2010 23:37:26 +0000 (18:37 -0500)]
Charj: small fix to class constructor codegen

11 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Wed, 26 May 2010 22:09:36 +0000 (17:09 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoIntegrated the memory affinity settings into charm++
Chao Mei [Wed, 26 May 2010 22:06:07 +0000 (17:06 -0500)]
Integrated the memory affinity settings into charm++
1. To build charm++ with NUMA support, add "--with-numa" after ./build script
2. The memory affinity settings are in the format of "+maffinity +mempol {bind|preferred|interleave} [+memnodemap nid1,nid2...,nidk]

11 years agofor array messages, avoid packing when on the same node.
Gengbin Zheng [Wed, 26 May 2010 20:44:02 +0000 (15:44 -0500)]
for array messages, avoid packing when on the same node.

11 years agoCharj: add simple mainchare example program
Aaron Becker [Wed, 26 May 2010 17:41:21 +0000 (12:41 -0500)]
Charj: add simple mainchare example program

11 years agoCharj: fix bug in modifier output for class constructors
Aaron Becker [Wed, 26 May 2010 16:48:06 +0000 (11:48 -0500)]
Charj: fix bug in modifier output for class constructors

11 years agoCharj: add basic recognition of explicit proxy types
Aaron Becker [Wed, 26 May 2010 16:21:44 +0000 (11:21 -0500)]
Charj: add basic recognition of explicit proxy types

11 years agoCharj: fix mainchare support in ASTModifier
Aaron Becker [Wed, 26 May 2010 16:19:53 +0000 (11:19 -0500)]
Charj: fix mainchare support in ASTModifier

11 years agoMerge branch 'charm' into abecker/charj-main
Aaron Becker [Wed, 26 May 2010 15:50:22 +0000 (10:50 -0500)]
Merge branch 'charm' into abecker/charj-main

11 years agofixed compiler errors fwhen build bigsim.
Gengbin Zheng [Wed, 26 May 2010 15:37:33 +0000 (10:37 -0500)]
fixed compiler errors fwhen build bigsim.
blue_impl.h needs to move up, and Cpv=>Ckpv

11 years agouse test_finish instead of exit to exit from configure, which, when error occurs...
Gengbin Zheng [Wed, 26 May 2010 15:22:52 +0000 (10:22 -0500)]
use test_finish instead of exit to exit from configure, which, when error occurs, tells a user to look at log in charmconfig.out.

11 years agoCharj : added basic support for automatic puping of pointer types
Minas Charalambides [Wed, 26 May 2010 07:34:10 +0000 (02:34 -0500)]
Charj   :   added basic support for automatic puping of pointer types

11 years agoCharj: add automatic forward declarations for class variables
Aaron Becker [Wed, 26 May 2010 07:15:51 +0000 (02:15 -0500)]
Charj: add automatic forward declarations for class variables

11 years agoMerge branch 'minas' into abecker/charj-main
Aaron Becker [Wed, 26 May 2010 06:58:54 +0000 (01:58 -0500)]
Merge branch 'minas' into abecker/charj-main

11 years agoMerge branch 'charm' into abecker/charj-main
Aaron Becker [Wed, 26 May 2010 06:42:43 +0000 (01:42 -0500)]
Merge branch 'charm' into abecker/charj-main

Conflicts:
src/langs/charj/src/charj/translator/CharjSemantics.g

11 years agoCharj: retain more information about class field types
Aaron Becker [Wed, 26 May 2010 06:40:48 +0000 (01:40 -0500)]
Charj: retain more information about class field types

11 years agoCharj : producing the pup routine now generates an OBJECT_REFERENCE
Minas Charalambides [Wed, 26 May 2010 05:48:30 +0000 (00:48 -0500)]
Charj   :   producing the pup routine now generates an OBJECT_REFERENCE
            node for the PUP::er object

11 years agoCharj : added AST nodes to support pointers and references
Minas Charalambides [Wed, 26 May 2010 05:36:36 +0000 (00:36 -0500)]
Charj   :   added AST nodes to support pointers and references

11 years agoCharj: better treatment of blocks, particularly single statement blocks
Aaron Becker [Wed, 26 May 2010 03:01:36 +0000 (22:01 -0500)]
Charj: better treatment of blocks, particularly single statement blocks

11 years agoMerge branch 'charm' into abecker/charj-main
Aaron Becker [Wed, 26 May 2010 01:53:54 +0000 (20:53 -0500)]
Merge branch 'charm' into abecker/charj-main

Conflicts:
src/langs/charj/src/charj/translator/Charj.g
src/langs/charj/src/charj/translator/Charj.stg
src/langs/charj/src/charj/translator/CharjEmitter.g
src/langs/charj/src/charj/translator/CharjSemantics.g

11 years agoMerge branch 'minas' into charm
Minas Charalambides [Wed, 26 May 2010 00:50:51 +0000 (19:50 -0500)]
Merge branch 'minas' into charm

11 years agoCharj : fixed an issue where VOID would not produce output text
Minas Charalambides [Wed, 26 May 2010 00:06:23 +0000 (19:06 -0500)]
Charj   :   fixed an issue where VOID would not produce output text

11 years agoCharj : added pup generation for primitive type class members
Minas Charalambides [Tue, 25 May 2010 23:50:20 +0000 (18:50 -0500)]
Charj   :   added pup generation for primitive type class members

11 years agoCharj: initial collection of class field types
Aaron Becker [Tue, 25 May 2010 23:25:03 +0000 (18:25 -0500)]
Charj: initial collection of class field types

11 years agoCharj : fixed an issue with extraneous bracket generation for
Minas Charalambides [Tue, 25 May 2010 23:20:15 +0000 (18:20 -0500)]
Charj   :   fixed an issue with extraneous bracket generation for
            blocks

11 years agoCharj: output only member functions for .cc files, improve formatting
Aaron Becker [Tue, 25 May 2010 22:51:07 +0000 (17:51 -0500)]
Charj: output only member functions for .cc files, improve formatting

11 years agoMerge branch 'charm' of charmgit:charm into charm
Filippo Gioachin [Tue, 25 May 2010 22:32:26 +0000 (17:32 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoForce the delivery of a particular message in the queue
Filippo Gioachin [Tue, 25 May 2010 22:32:00 +0000 (17:32 -0500)]
Force the delivery of a particular message in the queue

11 years agoCharj: formatting improvements for blocks and namespaces
Aaron Becker [Tue, 25 May 2010 22:02:18 +0000 (17:02 -0500)]
Charj: formatting improvements for blocks and namespaces