charm.git
12 years agoUpdates for xl compiler and V1R3.
Sameer Kumar [Mon, 22 Dec 2008 20:54:54 +0000 (20:54 +0000)]
Updates for xl compiler and V1R3.

12 years agoClarified some comments.
Lukasz Wesolowski [Fri, 19 Dec 2008 22:52:33 +0000 (22:52 +0000)]
Clarified some comments.

12 years agofixed CBaseT template parameters for scoped derived classes
Aaron Becker [Fri, 19 Dec 2008 20:16:58 +0000 (20:16 +0000)]
fixed CBaseT template parameters for scoped derived classes

12 years agoRe-introduced scoped names, with fix for scoped sync method return types
Aaron Becker [Fri, 19 Dec 2008 20:09:25 +0000 (20:09 +0000)]
Re-introduced scoped names, with fix for scoped sync method return types

12 years agoRevert Aaron's namespace support work in charmxi, as it breaks the build
Phil Miller [Fri, 19 Dec 2008 19:38:17 +0000 (19:38 +0000)]
Revert Aaron's namespace support work in charmxi, as it breaks the build

12 years agoImplemented pre-allocation of data for subsequent work request to allow
Lukasz Wesolowski [Fri, 19 Dec 2008 19:10:19 +0000 (19:10 +0000)]
Implemented pre-allocation of data for subsequent work request to allow
overlap of the work request's data transfer with current kernel's execution

12 years agoRolling back part of previous checkin. I had accidentally enabled the critical path...
Isaac Dooley [Thu, 18 Dec 2008 22:26:10 +0000 (22:26 +0000)]
Rolling back part of previous checkin. I had accidentally enabled the critical path detection.

12 years agoAdding more support for detecting critical paths at runtime (this is all currently...
Isaac Dooley [Thu, 18 Dec 2008 22:24:05 +0000 (22:24 +0000)]
Adding more support for detecting critical paths at runtime (this is all currently disabled by preprocessor macros).

12 years agoNow create user events to help develop the critical path detection code.
Isaac Dooley [Thu, 18 Dec 2008 22:18:29 +0000 (22:18 +0000)]
Now create user events to help develop the critical path detection code.

12 years agoAdding support for user defined strings that can be noted. These are basically user...
Isaac Dooley [Thu, 18 Dec 2008 22:17:30 +0000 (22:17 +0000)]
Adding support for user defined strings that can be noted. These are basically user events that contain strings. The timeline tool can use these new log entries.

12 years agoAdding a new method.
Isaac Dooley [Thu, 18 Dec 2008 22:15:21 +0000 (22:15 +0000)]
Adding a new method.

12 years agoimproved nampace support in charmxi
Aaron Becker [Thu, 18 Dec 2008 20:22:33 +0000 (20:22 +0000)]
improved nampace support in charmxi

12 years agoadded example of the use of namespaces with chare inheritance
Aaron Becker [Thu, 18 Dec 2008 00:21:10 +0000 (00:21 +0000)]
added example of the use of namespaces with chare inheritance

12 years agoadded namespace support
Aaron Becker [Thu, 18 Dec 2008 00:14:00 +0000 (00:14 +0000)]
added namespace support

12 years agonamespace support, initial efforts
Aaron Becker [Thu, 18 Dec 2008 00:02:56 +0000 (00:02 +0000)]
namespace support, initial efforts

12 years agoAdding support for many-to-many, enabling fast libraries and updates for V1R3 driver.
Sameer Kumar [Wed, 17 Dec 2008 22:30:16 +0000 (22:30 +0000)]
Adding support for many-to-many, enabling fast libraries and updates for V1R3 driver.

12 years agoAdding cmidirectmanytomany.h to list of headers to be copied to net-linux/include
Sameer Kumar [Wed, 17 Dec 2008 19:49:10 +0000 (19:49 +0000)]
Adding cmidirectmanytomany.h to list of headers to be copied to net-linux/include

12 years agoCompile fix.
Sameer Kumar [Wed, 17 Dec 2008 19:28:28 +0000 (19:28 +0000)]
Compile fix.

12 years agoimproved code generation and fixed emitter symbol table problem
Aaron Becker [Tue, 16 Dec 2008 21:44:19 +0000 (21:44 +0000)]
improved code generation and fixed emitter symbol table problem

12 years agolots of code gen improvements, working on symtab import
Aaron Becker [Tue, 16 Dec 2008 21:44:15 +0000 (21:44 +0000)]
lots of code gen improvements, working on symtab import

12 years agofixed stdlib path and added stdlib target
Aaron Becker [Tue, 16 Dec 2008 21:43:59 +0000 (21:43 +0000)]
fixed stdlib path and added stdlib target

12 years agoadded new test case and stub chare class
Aaron Becker [Tue, 16 Dec 2008 21:43:53 +0000 (21:43 +0000)]
added new test case and stub chare class

12 years agoavoid stale antlr file problem for debug targets
Aaron Becker [Tue, 16 Dec 2008 21:43:31 +0000 (21:43 +0000)]
avoid stale antlr file problem for debug targets

12 years agoimproved target for tests
Aaron Becker [Tue, 16 Dec 2008 21:43:24 +0000 (21:43 +0000)]
improved target for tests

12 years agofixed disambiguation of primitive and object decls
Aaron Becker [Tue, 16 Dec 2008 21:43:17 +0000 (21:43 +0000)]
fixed disambiguation of primitive and object decls

12 years agofixes to ast, output templates still broken
Aaron Becker [Tue, 16 Dec 2008 21:43:10 +0000 (21:43 +0000)]
fixes to ast, output templates still broken

12 years agosplit variable declarations into primitives and objects
Aaron Becker [Tue, 16 Dec 2008 21:43:02 +0000 (21:43 +0000)]
split variable declarations into primitives and objects

12 years agoAdding manytomany bgp implementation. This will only work with V1R3 driver.
Sameer Kumar [Tue, 16 Dec 2008 16:01:49 +0000 (16:01 +0000)]
Adding manytomany bgp implementation. This will only work with V1R3 driver.

12 years agoProtecting manytomany definitions with a #define.
Sameer Kumar [Tue, 16 Dec 2008 00:07:45 +0000 (00:07 +0000)]
Protecting manytomany definitions with a #define.

12 years ago-Added pupCommon to class BgTimeLog
Ryan Mokos [Mon, 15 Dec 2008 22:56:27 +0000 (22:56 +0000)]
-Added pupCommon to class BgTimeLog
-Modified parameters of winPup

12 years agoInclude ctype.h to quiet a warning about implicit functions
Phil Miller [Mon, 15 Dec 2008 21:02:06 +0000 (21:02 +0000)]
Include ctype.h to quiet a warning about implicit functions

12 years agoFixing some problems that I encountered on linux.
Isaac Dooley [Mon, 15 Dec 2008 18:06:52 +0000 (18:06 +0000)]
Fixing some problems that I encountered on linux.

12 years agoAdded a new function to the _msgTable (registration of messages) to be used to delete...
Filippo Gioachin [Sun, 14 Dec 2008 06:27:48 +0000 (06:27 +0000)]
Added a new function to the _msgTable (registration of messages) to be used to delete the message itself. This is registered as the ::dealloc function of the message.
This allows code that requires special care while deallocating the message to execute correctly. Before a message was deallocated with CkFreeMsg.
Changed also some CkFreeMsg to delete.

12 years agoReplaced timers with higher resolution version from cutil.h and added a new
Lukasz Wesolowski [Fri, 12 Dec 2008 18:47:47 +0000 (18:47 +0000)]
Replaced timers with higher resolution version from cutil.h and added a new
work request READY state to allow the completion (not just the issue) of
a prefetch while a kernel is executing.

12 years agoSome updates to user events.
Isaac Dooley [Fri, 12 Dec 2008 18:38:12 +0000 (18:38 +0000)]
Some updates to user events.

12 years agoUpdating more user event documentation.
Isaac Dooley [Thu, 11 Dec 2008 23:27:23 +0000 (23:27 +0000)]
Updating more user event documentation.

12 years agoUpdated the documentation for user event tracing.
Isaac Dooley [Thu, 11 Dec 2008 23:16:38 +0000 (23:16 +0000)]
Updated the documentation for user event tracing.

12 years agomoved memory debug function into extern "C" block.
Gengbin Zheng [Thu, 11 Dec 2008 21:27:21 +0000 (21:27 +0000)]
moved memory debug function into extern "C" block.

12 years agoFixed bug in the linking stage which was preventing inclusion of CUDA SDK library...
Lukasz Wesolowski [Thu, 11 Dec 2008 21:13:57 +0000 (21:13 +0000)]
Fixed bug in the linking stage which was preventing inclusion of CUDA SDK library include files.

12 years agoFixing some windows compilation problems.
Isaac Dooley [Thu, 11 Dec 2008 18:11:55 +0000 (18:11 +0000)]
Fixing some windows compilation problems.

12 years agoanother fix for VC++
Gengbin Zheng [Thu, 11 Dec 2008 17:48:45 +0000 (17:48 +0000)]
another fix for VC++

12 years agomove some memory debug prototype to converse.h from charm++.h since they are used...
Gengbin Zheng [Thu, 11 Dec 2008 17:43:59 +0000 (17:43 +0000)]
move some memory debug prototype to converse.h from charm++.h since they are used in converse/machine.c

12 years agofixed a compilation error for VC++
Gengbin Zheng [Thu, 11 Dec 2008 17:41:32 +0000 (17:41 +0000)]
fixed a compilation error for VC++

12 years agoFix some format string errors that were giving warnings
Phil Miller [Thu, 11 Dec 2008 17:08:13 +0000 (17:08 +0000)]
Fix some format string errors that were giving warnings

12 years agoMore whacks at the const char* mole, including a charmxi change
Phil Miller [Thu, 11 Dec 2008 06:06:22 +0000 (06:06 +0000)]
More whacks at the const char* mole, including a charmxi change

12 years agoAdd some consts, silence some warnings
Phil Miller [Thu, 11 Dec 2008 05:08:01 +0000 (05:08 +0000)]
Add some consts, silence some warnings

12 years agoQuiet a bunch more compiler warnings
Phil Miller [Thu, 11 Dec 2008 00:37:10 +0000 (00:37 +0000)]
Quiet a bunch more compiler warnings

12 years ago- new interface for memory statistics
Filippo Gioachin [Wed, 10 Dec 2008 06:54:11 +0000 (06:54 +0000)]
- new interface for memory statistics
- #ifdef to separate the Slot from the user memory

12 years agoWhen node 0 is convhost, we need to check for messages, but *only* on node 0! The...
Filippo Gioachin [Wed, 10 Dec 2008 06:30:55 +0000 (06:30 +0000)]
When node 0 is convhost, we need to check for messages, but *only* on node 0! The others nodes don't have a valid socket.

12 years agoonly one processor prints warnings
Filippo Gioachin [Wed, 10 Dec 2008 06:29:03 +0000 (06:29 +0000)]
only one processor prints warnings

12 years agofixed a silly bug that prevent multicore/smp running on more than 32 cores.
Gengbin Zheng [Wed, 10 Dec 2008 02:43:24 +0000 (02:43 +0000)]
fixed a silly bug that prevent multicore/smp running on more than 32 cores.

12 years agoCleaned up and added doxygen comments. Added a little inteligent support for adapting...
Isaac Dooley [Tue, 9 Dec 2008 22:46:12 +0000 (22:46 +0000)]
Cleaned up and added doxygen comments. Added a little inteligent support for adapting priorities of critical paths.

12 years agoAdded timers for profiling.
Lukasz Wesolowski [Mon, 8 Dec 2008 18:29:14 +0000 (18:29 +0000)]
Added timers for profiling.

13 years agoa various optimizatons for multicore:
Gengbin Zheng [Fri, 5 Dec 2008 22:02:17 +0000 (22:02 +0000)]
a various optimizatons for multicore:
1. fix for SMP run
2.  exchanging load with neighbors are using direct access
3.  send token to neighbors use simple one-by-one sends to avoid building array of messages for multiple send. (SyncSendAndFree is efficient enough for SMP)
4. tweak formular of sending how many tokens to underloaded processors

13 years agoAuthor: phil
Phil Miller [Fri, 5 Dec 2008 03:56:28 +0000 (03:56 +0000)]
Author: phil
Task: Shared bulk data in emulation
Hours: 4
Progress: 65%
Summary: Add C++ versions, harmonize argument order

Add operator new/delete() to make things better for C++ code, and put the
arguments in the sensible order for the C versions (size, then index) to
match the C++.

13 years agoTask: Shared bulk data in emulation
Phil Miller [Fri, 5 Dec 2008 02:36:02 +0000 (02:36 +0000)]
Task: Shared bulk data in emulation
Time: 4 hours
Progress: 65%

Add the shared allocation objects to the build of the bigsim emulator library

13 years agoQuiet numerous warnings about conversion from string constant to char*, by
Phil Miller [Fri, 5 Dec 2008 00:43:00 +0000 (00:43 +0000)]
Quiet numerous warnings about conversion from string constant to char*, by
judicious addition of `const'.

13 years agoNow a list of control points to be modified has been created
Isaac Dooley [Fri, 5 Dec 2008 00:02:33 +0000 (00:02 +0000)]
Now a list of control points to be modified has been created

13 years agoStarted implementing some rules to determine if critical path is a performance problem.
Isaac Dooley [Thu, 4 Dec 2008 23:22:43 +0000 (23:22 +0000)]
Started implementing some rules to determine if critical path is a performance problem.

13 years agoadded a command line option +workstealing to enable work stealing. By default it...
Gengbin Zheng [Thu, 4 Dec 2008 18:28:05 +0000 (18:28 +0000)]
added a command line option +workstealing to enable work stealing. By default it is off.

13 years agoAdding optional support for critical path detection(currently disabled by default...
Isaac Dooley [Thu, 4 Dec 2008 00:22:35 +0000 (00:22 +0000)]
Adding optional support for critical path detection(currently disabled by default), and some uses of this in the control point framework. The control point framework can now also gather idle time for its own uses.

13 years agofixed horrible debug target path hack
Aaron Becker [Wed, 3 Dec 2008 22:32:41 +0000 (22:32 +0000)]
fixed horrible debug target path hack

13 years agochanged warning message on generated headers
Aaron Becker [Wed, 3 Dec 2008 22:32:35 +0000 (22:32 +0000)]
changed warning message on generated headers

13 years agofixed scoping rule and corrected variable name typo
Aaron Becker [Wed, 3 Dec 2008 22:32:25 +0000 (22:32 +0000)]
fixed scoping rule and corrected variable name typo

13 years agoa little optimiation for SMP: use node shared queue for messages to the same node...
Gengbin Zheng [Wed, 3 Dec 2008 21:18:20 +0000 (21:18 +0000)]
a little optimiation for SMP:  use node shared queue for messages to the same node and with CLD_ANYWHERE tag. This implements a simple load balancing scheme for multicore nodes.

13 years agoupdated topo object creation function to the latest version.
Gengbin Zheng [Wed, 3 Dec 2008 20:19:45 +0000 (20:19 +0000)]
updated topo object creation function to the latest version.

13 years agoTask: Shared bulk data in emulation
Phil Miller [Wed, 3 Dec 2008 00:38:54 +0000 (00:38 +0000)]
Task: Shared bulk data in emulation
Hours: 0.25
Summary: Don't export vector of allocations
Progress: 55%

There's no reason code outside this module should see the vector of
allocations, so make it static.

13 years agoAdded some external declarations to the work request file, so user will not
Lukasz Wesolowski [Wed, 3 Dec 2008 00:16:36 +0000 (00:16 +0000)]
Added some external declarations to the work request file, so user will not
have to include them.

13 years agoTask: Shared bulk data in emulation
Phil Miller [Tue, 2 Dec 2008 22:29:38 +0000 (22:29 +0000)]
Task: Shared bulk data in emulation
Summary: Separate shared bulk data interface from definition
Hours: 8

Move the code defining the shared bulk data trick into a source file separate
from the header, so that we have one object to link for whole programs using it,
and hence one instance of the sharing structure.

13 years agoShared allocation of bulk data
Phil Miller [Tue, 2 Dec 2008 21:40:19 +0000 (21:40 +0000)]
Shared allocation of bulk data

13 years agoCode clean up and better comments.
Lukasz Wesolowski [Tue, 2 Dec 2008 19:38:10 +0000 (19:38 +0000)]
Code clean up and better comments.

13 years agoI implemented prefetching of data into GPU memory during kernel execution and data
Lukasz Wesolowski [Mon, 1 Dec 2008 22:43:54 +0000 (22:43 +0000)]
I implemented prefetching of data into GPU memory during kernel execution and data
transfer out of GPU memory.

13 years agoI split the memory stream into a data in stream and data out stream, which
Lukasz Wesolowski [Mon, 1 Dec 2008 20:48:59 +0000 (20:48 +0000)]
I split the memory stream into a data in stream and data out stream, which
will allow overlap between transfers in and out (not yet implemented).

13 years agocorrected charmc path
Pritish Jetley [Mon, 1 Dec 2008 18:42:24 +0000 (18:42 +0000)]
corrected charmc path

13 years agoavoid starting mpd daemon everytime running charmrun
Gengbin Zheng [Mon, 1 Dec 2008 16:48:52 +0000 (16:48 +0000)]
avoid starting mpd daemon everytime running charmrun

13 years agouninitialized variable
Filippo Gioachin [Sun, 30 Nov 2008 19:40:58 +0000 (19:40 +0000)]
uninitialized variable

13 years agoassume input is correctly skewed
Pritish Jetley [Sat, 29 Nov 2008 02:50:05 +0000 (02:50 +0000)]
assume input is correctly skewed

13 years agoCleaned up the code a bit. Now it is even simpler.
Isaac Dooley [Fri, 28 Nov 2008 22:17:04 +0000 (22:17 +0000)]
Cleaned up the code a bit. Now it is even simpler.

13 years agofixed for problematic mpicxx compiler
Gengbin Zheng [Fri, 28 Nov 2008 04:47:53 +0000 (04:47 +0000)]
fixed for problematic mpicxx compiler

13 years agofixed CC for metislib
Gengbin Zheng [Fri, 28 Nov 2008 04:45:01 +0000 (04:45 +0000)]
fixed CC for metislib

13 years agoenhanced grammar to accept a new keyword "conditional" after a parameter in a paramet...
Filippo Gioachin [Fri, 28 Nov 2008 00:28:18 +0000 (00:28 +0000)]
enhanced grammar to accept a new keyword "conditional" after a parameter in a parameter marshalled entry method.
The CProxy_ and CkIndex_ routines have been changed to support this conditional packing. A new message per entry method with conditional parameters is generated (by adding it to the AST during preprocessing). The generation utilizes the already added "conditonal" keyword of messages.

13 years agonew method for message allocation of Parameter marshalled messages with conditionally...
Filippo Gioachin [Fri, 28 Nov 2008 00:24:13 +0000 (00:24 +0000)]
new method for message allocation of Parameter marshalled messages with conditionally packed parameters (used only by the .def.h files)

13 years agoImplemented asynchronous memory transfer and made some other fixes.
Lukasz Wesolowski [Wed, 26 Nov 2008 22:19:10 +0000 (22:19 +0000)]
Implemented asynchronous memory transfer and made some other fixes.

13 years agoChanges to support solaris on x86.
Eric Bohm [Wed, 26 Nov 2008 22:07:05 +0000 (22:07 +0000)]
Changes to support solaris on x86.

13 years agomake sure ampi.h is included instead of system mpi.h.
Gengbin Zheng [Wed, 26 Nov 2008 17:22:16 +0000 (17:22 +0000)]
make sure ampi.h is included instead of system mpi.h.

13 years agodefine CC as mpiCC instead of charmc
Gengbin Zheng [Wed, 26 Nov 2008 17:21:22 +0000 (17:21 +0000)]
define CC as mpiCC instead of charmc

13 years agoAdded a new target "dependsCaseSensitive" which will work on Macs and possibly other...
Isaac Dooley [Tue, 25 Nov 2008 23:15:44 +0000 (23:15 +0000)]
Added a new target "dependsCaseSensitive" which will work on Macs and possibly other systems that have case insensitive filesystems.

13 years agoadded uth for 64 bit
Gengbin Zheng [Tue, 25 Nov 2008 19:31:46 +0000 (19:31 +0000)]
added uth for 64 bit

13 years agofixed a build error
Gengbin Zheng [Tue, 25 Nov 2008 18:25:06 +0000 (18:25 +0000)]
fixed a build error

13 years agouse CMK_CCS_AVAILABLE
Gengbin Zheng [Tue, 25 Nov 2008 16:59:59 +0000 (16:59 +0000)]
use CMK_CCS_AVAILABLE

13 years agofixed the way CMK_CCS_AVAILABLE is used
Gengbin Zheng [Tue, 25 Nov 2008 16:59:14 +0000 (16:59 +0000)]
fixed the way CMK_CCS_AVAILABLE is used

13 years agomove the new code out of CCS_AVAILABLE so that it compiles for uth-linux
Gengbin Zheng [Tue, 25 Nov 2008 16:43:19 +0000 (16:43 +0000)]
move the new code out of CCS_AVAILABLE so that it compiles for uth-linux

13 years agochange include mpi.h to ampi.h to avoid compiler header searching problem in mpicxx.
Gengbin Zheng [Tue, 25 Nov 2008 16:28:25 +0000 (16:28 +0000)]
change include mpi.h to ampi.h to avoid compiler header searching problem in mpicxx.

13 years agodisabled traceCore/projector in bigsim
Gengbin Zheng [Tue, 25 Nov 2008 05:12:06 +0000 (05:12 +0000)]
disabled traceCore/projector in bigsim

13 years agodisable traceCore/projector in bigsim
Gengbin Zheng [Tue, 25 Nov 2008 05:11:11 +0000 (05:11 +0000)]
disable traceCore/projector in bigsim

13 years agodefine CmiNodeAllBarrier to NULL in bigsim
Gengbin Zheng [Tue, 25 Nov 2008 05:10:17 +0000 (05:10 +0000)]
define CmiNodeAllBarrier to NULL in bigsim

13 years agomake using cpv varaible serializer consistent in bigsim
Gengbin Zheng [Tue, 25 Nov 2008 05:09:06 +0000 (05:09 +0000)]
make using cpv varaible serializer consistent in bigsim

13 years agofix for tau build
Gengbin Zheng [Tue, 25 Nov 2008 04:09:52 +0000 (04:09 +0000)]
fix for tau build

13 years agonew keyword "conditional" for conditional packing of message fields, to be used to...
Filippo Gioachin [Tue, 25 Nov 2008 02:54:27 +0000 (02:54 +0000)]
new keyword "conditional" for conditional packing of message fields, to be used to optimize no-copy operations in shared-memory systems (SMP or non)

13 years agoadded merger function "random"
Filippo Gioachin [Tue, 25 Nov 2008 02:50:54 +0000 (02:50 +0000)]
added merger function "random"