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

12 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

12 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++.

12 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

12 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'.

12 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

12 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.

12 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.

12 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.

12 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

12 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

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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"

13 years agofixed missing definition in non-debug memory modules
Filippo Gioachin [Tue, 25 Nov 2008 02:48:24 +0000 (02:48 +0000)]
fixed missing definition in non-debug memory modules

13 years agoadded functions to retrieve memory statistics
Filippo Gioachin [Tue, 25 Nov 2008 02:47:54 +0000 (02:47 +0000)]
added functions to retrieve memory statistics

13 years agoadded function
Filippo Gioachin [Tue, 25 Nov 2008 02:47:03 +0000 (02:47 +0000)]
added function

13 years agomoved registration of debug handlers
Filippo Gioachin [Tue, 25 Nov 2008 02:43:57 +0000 (02:43 +0000)]
moved registration of debug handlers

13 years agoMoved definition to separate .h file
Filippo Gioachin [Tue, 25 Nov 2008 02:41:53 +0000 (02:41 +0000)]
Moved definition to separate .h file

13 years agochanged functions to be static, so the file can be included in more than one file...
Filippo Gioachin [Tue, 25 Nov 2008 02:40:38 +0000 (02:40 +0000)]
changed functions to be static, so the file can be included in more than one file safely.
Added a destroyer for PCQueues

13 years agoa couple of more functions for C interfacing
Filippo Gioachin [Tue, 25 Nov 2008 02:39:04 +0000 (02:39 +0000)]
a couple of more functions for C interfacing

13 years agoa PUP::wrap_er should return the size of its contained PUP::er
Filippo Gioachin [Tue, 25 Nov 2008 02:38:07 +0000 (02:38 +0000)]
a PUP::wrap_er should return the size of its contained PUP::er

13 years agoadded C declarations for pup sync tags
Filippo Gioachin [Tue, 25 Nov 2008 02:37:44 +0000 (02:37 +0000)]
added C declarations for pup sync tags

13 years agoCleaned up the example for the tutorial book
Isaac Dooley [Mon, 24 Nov 2008 22:26:21 +0000 (22:26 +0000)]
Cleaned up the example for the tutorial book

13 years agouse our mpiCC instead of charmc to compile MPI program (instead of using system...
Gengbin Zheng [Mon, 24 Nov 2008 22:06:47 +0000 (22:06 +0000)]
use our mpiCC instead of charmc  to compile MPI program (instead of using system mpiCC that mess around mpi.h)

13 years agoAdded a comment to address an uncertainty regarding the CMK_WITH_TAU block
Chee Wai Lee [Mon, 24 Nov 2008 21:50:39 +0000 (21:50 +0000)]
Added a comment to address an uncertainty regarding the CMK_WITH_TAU block
in the code.

13 years agoRemoved Tau debug printf. Also changed tau_pthread_create calls to
Chee Wai Lee [Mon, 24 Nov 2008 21:46:31 +0000 (21:46 +0000)]
Removed Tau debug printf. Also changed tau_pthread_create calls to
pthread_create since they would be macroed appropriately if CMK_WITH_TAU is
true.

13 years agocopy mpicxx to bin
Gengbin Zheng [Mon, 24 Nov 2008 21:42:45 +0000 (21:42 +0000)]
copy mpicxx to bin

13 years agomark tau build in conv-mach-pre.sh
Gengbin Zheng [Mon, 24 Nov 2008 19:47:14 +0000 (19:47 +0000)]
mark tau build in conv-mach-pre.sh

13 years agofixed for tau
Gengbin Zheng [Mon, 24 Nov 2008 18:01:00 +0000 (18:01 +0000)]
fixed for tau

13 years agosimplified previous fix. define pthread function to tau_ variants as macro
Gengbin Zheng [Mon, 24 Nov 2008 18:00:35 +0000 (18:00 +0000)]
simplified previous fix. define pthread function to tau_ variants as macro

13 years agosimplified previous fix
Gengbin Zheng [Mon, 24 Nov 2008 17:59:52 +0000 (17:59 +0000)]
simplified previous fix

13 years agosimplified the previous fix
Gengbin Zheng [Mon, 24 Nov 2008 17:59:15 +0000 (17:59 +0000)]
simplified the previous fix

13 years agofixed tau build
Gengbin Zheng [Mon, 24 Nov 2008 17:47:46 +0000 (17:47 +0000)]
fixed tau build

13 years agofixed tau compilation
Gengbin Zheng [Mon, 24 Nov 2008 17:46:29 +0000 (17:46 +0000)]
fixed tau compilation

13 years agofixed Tau compilation
Gengbin Zheng [Mon, 24 Nov 2008 17:45:27 +0000 (17:45 +0000)]
fixed Tau compilation

13 years agoLooks like stuff from the older method of making TAU work got checked in
Chee Wai Lee [Sat, 22 Nov 2008 22:04:16 +0000 (22:04 +0000)]
Looks like stuff from the older method of making TAU work got checked in
by accident here.

13 years agoupdated to the new files.
Gengbin Zheng [Sat, 22 Nov 2008 06:00:56 +0000 (06:00 +0000)]
updated to the new files.

13 years agoModifications for TAU tracing in the Charm++ framework.
Chee Wai Lee [Sat, 22 Nov 2008 03:58:25 +0000 (03:58 +0000)]
Modifications for TAU tracing in the Charm++ framework.

13 years agofixed charm version
Gengbin Zheng [Fri, 21 Nov 2008 19:38:40 +0000 (19:38 +0000)]
fixed charm version

13 years agoSome changes to fix problems with obscure compilers.
Isaac Dooley [Tue, 18 Nov 2008 21:33:22 +0000 (21:33 +0000)]
Some changes to fix problems with obscure compilers.

13 years agoAdding the cmidirect many to many interface.
Sameer Kumar [Tue, 18 Nov 2008 15:45:46 +0000 (15:45 +0000)]
Adding the cmidirect many to many interface.

13 years agoadded ckexit()
Gengbin Zheng [Mon, 17 Nov 2008 21:10:44 +0000 (21:10 +0000)]
added ckexit()

13 years agominor changes
Gengbin Zheng [Mon, 17 Nov 2008 21:10:19 +0000 (21:10 +0000)]
minor changes

13 years agouse portable CmiLog2 instead of log2
Gengbin Zheng [Mon, 17 Nov 2008 20:20:57 +0000 (20:20 +0000)]
use portable CmiLog2 instead of log2

13 years agochanged name to CmiLog2
Gengbin Zheng [Mon, 17 Nov 2008 20:20:28 +0000 (20:20 +0000)]
changed name to CmiLog2

13 years agoadded ilog2() implementation in case log2 is not available.
Gengbin Zheng [Mon, 17 Nov 2008 18:20:33 +0000 (18:20 +0000)]
added ilog2() implementation in case log2 is not available.

13 years agoadded test for log2()
Gengbin Zheng [Mon, 17 Nov 2008 18:01:50 +0000 (18:01 +0000)]
added test for log2()

13 years agofixed a compiler error on turing
Gengbin Zheng [Mon, 17 Nov 2008 17:37:05 +0000 (17:37 +0000)]
fixed a compiler error on turing

13 years agoFixing build problem for uth and other platforms where LBDB doesn't exist.
Isaac Dooley [Thu, 13 Nov 2008 20:24:43 +0000 (20:24 +0000)]
Fixing build problem for uth and other platforms where LBDB doesn't exist.

13 years agochanged the version for the NAMD release
Abhinav Bhatele [Thu, 13 Nov 2008 18:26:12 +0000 (18:26 +0000)]
changed the version for the NAMD release