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

11 years agoMerge branch 'minas' of charmgit:charm into minas
Aaron Becker [Tue, 25 May 2010 21:24:28 +0000 (16:24 -0500)]
Merge branch 'minas' of charmgit:charm into minas

Conflicts:
src/langs/charj/src/charj/translator/Translator.java

11 years agoCharj: translator update to accomodate ASTModifier
Aaron Becker [Tue, 25 May 2010 20:50:20 +0000 (15:50 -0500)]
Charj: translator update to accomodate ASTModifier

11 years agoCharj: handling for reference types, scoping, and new/delete calls
Aaron Becker [Tue, 25 May 2010 21:01:13 +0000 (16:01 -0500)]
Charj: handling for reference types, scoping, and new/delete calls

11 years agoCharj: translator update to accomodate ASTModifier
Aaron Becker [Tue, 25 May 2010 20:50:20 +0000 (15:50 -0500)]
Charj: translator update to accomodate ASTModifier

11 years agoCharj : added the necessary infrastructure for pup routine generation
Minas Charalambides [Tue, 25 May 2010 20:31:50 +0000 (15:31 -0500)]
Charj   :   added the necessary infrastructure for pup routine generation

11 years agoCharj: added some provisions for handling mainchares
Aaron Becker [Tue, 25 May 2010 19:14:36 +0000 (14:14 -0500)]
Charj: added some provisions for handling mainchares

11 years agoRemove a junk ifdef
Phil Miller [Tue, 25 May 2010 02:18:16 +0000 (21:18 -0500)]
Remove a junk ifdef

11 years agoRemove declaration of non-existent function
Phil Miller [Tue, 25 May 2010 02:00:33 +0000 (21:00 -0500)]
Remove declaration of non-existent function

11 years agoReductions: eliminate silly internal DEBUGRED macro
Phil Miller [Tue, 25 May 2010 00:54:59 +0000 (19:54 -0500)]
Reductions: eliminate silly internal DEBUGRED macro

11 years agoReductions: Convert ifdef'ed CkPrintf calls to macro
Phil Miller [Tue, 25 May 2010 00:54:24 +0000 (19:54 -0500)]
Reductions: Convert ifdef'ed CkPrintf calls to macro

Remove a whole bunch of #ifdef from the reduction code by using the
debug-printing macro that was already defined and heavily used. This
substantially improves the readability of the affected code.

11 years agoReductions: Set the reference number on reduction result messages
Phil Miller [Tue, 25 May 2010 00:06:18 +0000 (19:06 -0500)]
Reductions: Set the reference number on reduction result messages

SDAG's `when' construct supports a notion of a tag, or `reference
number' on incoming messages to restrict processing order. On normal
messages, this is set with CkSetRefNum, and parameter-marshalled
messages use the first integer parameter.

Pritish found that it would be useful if the messages generated by
reductions had a predictable reference number. Since the user code
generally doesn't handle reduction messages until it's too late to be
useful, set the reference number of the message handed to the
reduction callback to the reduction number.

11 years agoAMPI/CUDA: Synchronous and asynchronous invocation, some cleanup
Phil Miller [Mon, 17 May 2010 22:04:07 +0000 (17:04 -0500)]
AMPI/CUDA: Synchronous and asynchronous invocation, some cleanup

- Add a synchronous variant of the work request function
- Remove the MPI_Comm argument to the functions, and just use MPI_COMM_SELF internally
- Clean up comments and other nits

11 years agoCUDA: Minor whitespace fix
Phil Miller [Mon, 17 May 2010 21:33:52 +0000 (16:33 -0500)]
CUDA: Minor whitespace fix

11 years agoCharj: fix packageScope wildcard typo
Aaron Becker [Mon, 24 May 2010 18:59:41 +0000 (13:59 -0500)]
Charj: fix packageScope wildcard typo

11 years agoCharj: fix primitive type lookup for method symbol table insertion
Aaron Becker [Mon, 24 May 2010 18:58:48 +0000 (13:58 -0500)]
Charj: fix primitive type lookup for method symbol table insertion

11 years agoCharj: minor formatting output tweak
Aaron Becker [Mon, 24 May 2010 18:56:06 +0000 (13:56 -0500)]
Charj: minor formatting output tweak

11 years agoCharj: code cleanup
Aaron Becker [Mon, 24 May 2010 18:42:55 +0000 (13:42 -0500)]
Charj: code cleanup

11 years agoCharj : replaced occurrences of common keywords (eg 'int') with
Minas Charalambides [Mon, 24 May 2010 06:10:30 +0000 (01:10 -0500)]
Charj   :   replaced occurrences of common keywords (eg 'int') with
            the respective tokens (eg INT) which have been added to
            Charj.g

11 years agoAdd infrastructure for additional AST pass
Aaron Becker [Mon, 24 May 2010 04:52:02 +0000 (23:52 -0500)]
Add infrastructure for additional AST pass

11 years agoCharj : created CharjASTModifier.g (currently does nothing other
Minas Charalambides [Mon, 24 May 2010 04:06:18 +0000 (23:06 -0500)]
Charj   :   created CharjASTModifier.g (currently does nothing other
            than parsing the incoming tree)

            fixed a typo in CharjSemantics.g

11 years agoCharj: integrate Minas's branch and fix some formatting issues
Aaron Becker [Mon, 24 May 2010 01:12:36 +0000 (20:12 -0500)]
Charj: integrate Minas's branch and fix some formatting issues

11 years agoMerge branch 'minas/ciFiles' into charm
Aaron Becker [Mon, 24 May 2010 01:06:07 +0000 (20:06 -0500)]
Merge branch 'minas/ciFiles' into charm

11 years agoMerge branch 'noNamepsaceInCiFiles' into minas/ciFiles
Minas Charalambides [Mon, 24 May 2010 00:56:14 +0000 (19:56 -0500)]
Merge branch 'noNamepsaceInCiFiles' into minas/ciFiles

11 years agoMerge branch 'minas/namespaces' into charm
Aaron Becker [Mon, 24 May 2010 00:46:15 +0000 (19:46 -0500)]
Merge branch 'minas/namespaces' into charm

11 years agoCharj : namespaces are no longer generated in .ci files so that
Minas Charalambides [Mon, 24 May 2010 00:44:20 +0000 (19:44 -0500)]
Charj : namespaces are no longer generated in .ci files so that
        they compile

11 years agoCharj : fixed a minor issue with brace generation in .ci files
Minas Charalambides [Mon, 24 May 2010 00:41:49 +0000 (19:41 -0500)]
Charj : fixed a minor issue with brace generation in .ci files

11 years agoCharj : Fixed a bug where the entry keyword would be output in .h and .cc
Minas Charalambides [Mon, 24 May 2010 00:13:13 +0000 (19:13 -0500)]
Charj : Fixed a bug where the entry keyword would be output in .h and .cc
        files as well.

11 years agoCharj : fixed a bug where entry methods would not be output in .ci files
Minas Charalambides [Sun, 23 May 2010 23:26:58 +0000 (18:26 -0500)]
Charj : fixed a bug where entry methods would not be output in .ci files

11 years agoCharj : fixed namespace generation so that we don't output the
Minas Charalambides [Sun, 23 May 2010 20:43:53 +0000 (15:43 -0500)]
Charj   :   fixed namespace generation so that we don't output the
            top-level default namespace

            fixed namespace order generation (broke in a previous commit)

11 years agoCharj : fixed chare .ci code generation (broke it while dealing
Minas Charalambides [Sun, 23 May 2010 20:32:44 +0000 (15:32 -0500)]
Charj   :   fixed chare .ci code generation (broke it while dealing
            with namespaces)

11 years agoMerge branch 'minas/namespaces' of charmgit:charm into minas/namespaces
Minas Charalambides [Sun, 23 May 2010 20:25:53 +0000 (15:25 -0500)]
Merge branch 'minas/namespaces' of charmgit:charm into minas/namespaces

11 years agoCharj : fixed a bug where the package names would appear concatenated
Minas Charalambides [Sun, 23 May 2010 05:25:03 +0000 (00:25 -0500)]
Charj   :   fixed a bug where the package names would appear concatenated
            on top of a class/chare declaration

11 years agofixed a weird compiler optimization bug on power7 with gcc.
Gengbin Zheng [Sun, 23 May 2010 15:05:46 +0000 (10:05 -0500)]
fixed a weird compiler optimization bug on power7 with gcc.
Pointers can not be re-constructed at thread entry function, with -O on.

11 years agoskip CmiMemoryUsage test when in SMP mode.
Gengbin Zheng [Sun, 23 May 2010 06:38:29 +0000 (01:38 -0500)]
skip CmiMemoryUsage test when in SMP mode.

11 years agofixed a bug in node replay.
Gengbin Zheng [Sun, 23 May 2010 05:26:35 +0000 (00:26 -0500)]
fixed a bug in node replay.
modify +wth automatically in case the +wth provided in the command line is not t
he same.

11 years agoCharj : fixed a bug where the package names would appear concatenated
Minas Charalambides [Sun, 23 May 2010 05:25:03 +0000 (00:25 -0500)]
Charj   :   fixed a bug where the package names would appear concatenated
            on top of a class/chare declaration

11 years agoCharj : fixed namespace generation issues
Minas Charalambides [Sun, 23 May 2010 05:10:09 +0000 (00:10 -0500)]
Charj :     fixed namespace generation issues

            including the class related header file is issued before
            entering a namespace

11 years agosupport record/replay at the node level.
Gengbin Zheng [Sun, 23 May 2010 04:46:22 +0000 (23:46 -0500)]
support record/replay at the node level.

11 years agoadded an error check that sendtime should be less than recv time.
Gengbin Zheng [Sun, 23 May 2010 04:22:33 +0000 (23:22 -0500)]
added an error check that sendtime should be less than recv time.

11 years agominor change
Gengbin Zheng [Sun, 23 May 2010 04:22:07 +0000 (23:22 -0500)]
minor change

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 23 May 2010 03:02:07 +0000 (22:02 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years ago update plain chare table and other tables from Cpv to Ckpv so that it works
Gengbin Zheng [Sun, 23 May 2010 03:00:37 +0000 (22:00 -0500)]
 update plain chare table and other tables from Cpv to Ckpv so that it works
for BigSim. Change bigsim conv-mach files to use the table-based plain chares scheme just as non-bigsim versions.

11 years agoCharj: fix 'void' type parse error and premature method symbol changes
Aaron Becker [Sun, 23 May 2010 02:53:10 +0000 (21:53 -0500)]
Charj: fix 'void' type parse error and premature method symbol changes

11 years agoCharj: improve debugging targets in makefile
Aaron Becker [Sun, 23 May 2010 02:10:39 +0000 (21:10 -0500)]
Charj: improve debugging targets in makefile

11 years agoCharj: Simplified method handling, methods now registered with parents
Aaron Becker [Sun, 23 May 2010 02:01:56 +0000 (21:01 -0500)]
Charj: Simplified method handling, methods now registered with parents

11 years agoCharj: cosmetic improvements to namespace generation
Aaron Becker [Sat, 22 May 2010 23:52:53 +0000 (18:52 -0500)]
Charj: cosmetic improvements to namespace generation

11 years agoCharj: remove extraneous output from charjc
Aaron Becker [Sat, 22 May 2010 03:06:15 +0000 (22:06 -0500)]
Charj: remove extraneous output from charjc

11 years agoCharj: simplify test case and remove extraneous stuff
Aaron Becker [Sat, 22 May 2010 03:02:36 +0000 (22:02 -0500)]
Charj: simplify test case and remove extraneous stuff

11 years agoCharj: change test to compile by default instead of fail by default
Aaron Becker [Sat, 22 May 2010 03:01:56 +0000 (22:01 -0500)]
Charj: change test to compile by default instead of fail by default

11 years agoCharj: simplify and improve chare type handling
Aaron Becker [Sat, 22 May 2010 03:01:12 +0000 (22:01 -0500)]
Charj: simplify and improve chare type handling

11 years agoCharj: fixed documentation
Aaron Becker [Sat, 22 May 2010 03:00:25 +0000 (22:00 -0500)]
Charj: fixed documentation

11 years agoCharj: improve "include" formatting and add charm++.h by default
Aaron Becker [Sat, 22 May 2010 02:59:50 +0000 (21:59 -0500)]
Charj: improve "include" formatting and add charm++.h by default

11 years agoCharj: fix missing primitive type def'n for 'long'
Aaron Becker [Sat, 22 May 2010 02:59:06 +0000 (21:59 -0500)]
Charj: fix missing primitive type def'n for 'long'