charm.git
11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Tue, 27 Apr 2010 02:25:19 +0000 (21:25 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoadded option --disable-error-checking, which defines CMK_ERROR_CHECKING as 0.
Gengbin Zheng [Tue, 27 Apr 2010 02:24:47 +0000 (21:24 -0500)]
added option --disable-error-checking, which defines CMK_ERROR_CHECKING as 0.

11 years agoFixed Header size under Bigsim.
Filippo Gioachin [Mon, 26 Apr 2010 23:21:54 +0000 (18:21 -0500)]
Fixed Header size under Bigsim.
Print buffer size smaller when using BigSim (by default only 4k are allocated per thread, so using 16k crashes)

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Mon, 26 Apr 2010 16:28:15 +0000 (11:28 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agobug fix (static varaible), optimizations (no copying for in-node msg) for SMP.
Gengbin Zheng [Mon, 26 Apr 2010 16:28:09 +0000 (11:28 -0500)]
bug fix (static varaible), optimizations (no copying for in-node msg) for SMP.

11 years agoprint which seed load balancer is using
Gengbin Zheng [Mon, 26 Apr 2010 16:26:42 +0000 (11:26 -0500)]
print which seed load balancer is using

11 years agoadded node queue (tentatively)
Gengbin Zheng [Mon, 26 Apr 2010 16:26:16 +0000 (11:26 -0500)]
added node queue (tentatively)

11 years agofixed a bug related to how CpvAccess is used in middle-ccs.C when bgconverse.h includ...
Gengbin Zheng [Mon, 26 Apr 2010 05:32:40 +0000 (00:32 -0500)]
fixed a bug related to how CpvAccess is used in middle-ccs.C when bgconverse.h included. CmiMyRank() is refined, which however is used in BpvAccess(). Resolve this problem by defining a function CmiMyRank_() in convcore.c, and use it in BpvAccess().

11 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Sun, 25 Apr 2010 02:07:55 +0000 (21:07 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agofixed a syntax error
Gengbin Zheng [Sat, 24 Apr 2010 14:23:14 +0000 (09:23 -0500)]
fixed a syntax error

11 years agoalways declare NodeState for immeidate msg even for non-smp.
Gengbin Zheng [Sat, 24 Apr 2010 13:54:39 +0000 (08:54 -0500)]
always declare NodeState for immeidate msg even for non-smp.

11 years agothe smp specific optimization of using node level queues only make sense when CMK_NOD...
Gengbin Zheng [Sat, 24 Apr 2010 06:01:55 +0000 (01:01 -0500)]
the smp specific optimization of using node level queues only make sense when CMK_NODE_QUEUE_AVAILABLE. CMK_SMP is not a better choice because multicore versions are SMP, but no node queue.

11 years agoadjust ++debug sleep time.
Gengbin Zheng [Sat, 24 Apr 2010 05:59:03 +0000 (00:59 -0500)]
adjust ++debug sleep time.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 24 Apr 2010 05:56:20 +0000 (00:56 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoturn NODE_QUEUE off for non-smp of lapi, fixed some compilation errors in machine...
Gengbin Zheng [Sat, 24 Apr 2010 05:54:23 +0000 (00:54 -0500)]
turn NODE_QUEUE off for non-smp of lapi, fixed some compilation errors in machine.c due to that.

11 years agoadded bluegenep
GENGBIN ZHENG [Sat, 24 Apr 2010 05:47:21 +0000 (00:47 -0500)]
added bluegenep

11 years agoinclude unistd.h for getpid()
GENGBIN ZHENG [Sat, 24 Apr 2010 05:44:24 +0000 (00:44 -0500)]
include unistd.h for getpid()

11 years agosuppress a compiler warning of possible redefinition of CMK_CHARMDEBUG
GENGBIN ZHENG [Sat, 24 Apr 2010 05:41:35 +0000 (00:41 -0500)]
suppress a compiler warning of possible redefinition of CMK_CHARMDEBUG

11 years agofor MPI_Alltoall when using lapi or bigsim simulation, use the flooding algorithm...
Gengbin Zheng [Sat, 24 Apr 2010 03:42:00 +0000 (22:42 -0500)]
for MPI_Alltoall when using lapi or bigsim simulation, use the flooding algorithm (set big MEDIUM size), instead of buffer exchange algoeithm.

11 years agoadded CMK_CONVERSE_LAPI
Gengbin Zheng [Sat, 24 Apr 2010 03:40:55 +0000 (22:40 -0500)]
added CMK_CONVERSE_LAPI

11 years agoBigsim Emulator / AMPI: Log some collective operations explicitly
Phil Miller [Fri, 23 Apr 2010 23:18:20 +0000 (18:18 -0500)]
Bigsim Emulator / AMPI: Log some collective operations explicitly

Add mpiOp and mpiSize fields to log records, to represent what
operation was occuring and on how much data.

Update AMPI_Barrier and AMPI_Allreduce to record new log structure.

Increment the emulator log version number to reflect the new members
of log records, and make it not a preprocessor define.

Move some related function definitions from header files to .C files.

11 years agoEmulator: comment cleanup
Phil Miller [Fri, 23 Apr 2010 23:15:08 +0000 (18:15 -0500)]
Emulator: comment cleanup

11 years agoAMPI: Fix tracing misnomers
Phil Miller [Mon, 19 Apr 2010 22:54:25 +0000 (17:54 -0500)]
AMPI: Fix tracing misnomers

11 years agoRenaming function
Filippo Gioachin [Fri, 23 Apr 2010 22:47:02 +0000 (17:47 -0500)]
Renaming function

11 years agoFixed CpdIsBdCharmDebugMessage with Gengbin
Filippo Gioachin [Fri, 23 Apr 2010 22:26:45 +0000 (17:26 -0500)]
Fixed CpdIsBdCharmDebugMessage with Gengbin

11 years agoCommitted wrong file...
Filippo Gioachin [Fri, 23 Apr 2010 22:26:12 +0000 (17:26 -0500)]
Committed wrong file...
Revert "Fixed CpdIsBdCharmDebugMessage with Gengbin"

This reverts commit ba861e39b3bc24d0dc04bb96cb1d4b8a44c92b54.

11 years agoFixed CpdIsBdCharmDebugMessage with Gengbin
Filippo Gioachin [Fri, 23 Apr 2010 22:13:48 +0000 (17:13 -0500)]
Fixed CpdIsBdCharmDebugMessage with Gengbin

11 years agouse env instead msg in CpdIsBgCharmDebugMessage
Gengbin Zheng [Fri, 23 Apr 2010 21:25:20 +0000 (16:25 -0500)]
use env instead msg in CpdIsBgCharmDebugMessage

11 years agoMerge branch 'charm' of charmgit:charm into charm
Filippo Gioachin [Fri, 23 Apr 2010 21:18:10 +0000 (16:18 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoAdding CMK_CHARMDEBUG enable in Eclipse
Filippo Gioachin [Fri, 23 Apr 2010 21:17:47 +0000 (16:17 -0500)]
Adding CMK_CHARMDEBUG enable in Eclipse

11 years agoChanged default return to 1: all messages that are not charm are by default allowed...
Filippo Gioachin [Fri, 23 Apr 2010 21:16:21 +0000 (16:16 -0500)]
Changed default return to 1: all messages that are not charm are by default allowed to freely transit.
This does not solve the problem with Bigsim-charmdebug which was broken by commit f5e43158.

11 years agoChanges to POSE: inlined (added "inline" keyword) a number of small functions
Ryan Mokos [Fri, 23 Apr 2010 20:26:17 +0000 (15:26 -0500)]
Changes to POSE: inlined (added "inline" keyword) a number of small functions

11 years agoMerge commit 'charm/charm' into virtualDebug
Filippo Gioachin [Fri, 23 Apr 2010 19:39:25 +0000 (14:39 -0500)]
Merge commit 'charm/charm' into virtualDebug

11 years agoFixed problem of virtualized CCS when Node_0_is_convhost
Filippo Gioachin [Fri, 23 Apr 2010 19:38:14 +0000 (14:38 -0500)]
Fixed problem of virtualized CCS when Node_0_is_convhost

11 years agodon't think we need another addBgNodeInbuffer_c for addBgNodeInbuffer
Gengbin Zheng [Fri, 23 Apr 2010 19:34:28 +0000 (14:34 -0500)]
don't think we need another addBgNodeInbuffer_c for addBgNodeInbuffer

11 years agofixed the previous commit.
Gengbin Zheng [Fri, 23 Apr 2010 19:23:25 +0000 (14:23 -0500)]
fixed the previous commit.
type pid_t is not defined (no header file to include) when CMK_HAS_PID is 0

11 years agoCan't depend on getpid to do the notification
Filippo Gioachin [Fri, 23 Apr 2010 19:11:41 +0000 (14:11 -0500)]
Can't depend on getpid to do the notification

11 years agoadd extern "C" to _replaySystem
Gengbin Zheng [Fri, 23 Apr 2010 19:06:40 +0000 (14:06 -0500)]
add extern "C" to _replaySystem

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 23 Apr 2010 19:02:07 +0000 (14:02 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agofixed compiler errors for windows build
Gengbin Zheng [Fri, 23 Apr 2010 19:01:43 +0000 (14:01 -0500)]
fixed compiler errors for windows build

11 years agoset the main thread's state proper in MPI
Gengbin Zheng [Fri, 23 Apr 2010 18:58:03 +0000 (14:58 -0400)]
set the main thread's state proper in MPI

11 years agoPOSE changes: added CheckpointCommit() to sim class to make event queue as clean...
Ryan Mokos [Fri, 23 Apr 2010 17:54:32 +0000 (12:54 -0500)]
POSE changes: added CheckpointCommit() to sim class to make event queue as clean as possible before checkpointing to disk; modified etrans so posers properly pup stored cpData based on whether antimethods are in use.

11 years agouse CMK_CHARMDEBUG instead of CMK_OPTIMIZE
Gengbin Zheng [Fri, 23 Apr 2010 17:01:34 +0000 (12:01 -0500)]
use CMK_CHARMDEBUG instead of CMK_OPTIMIZE

11 years agomake running configure depending on config_opts.sh
Gengbin Zheng [Fri, 23 Apr 2010 16:45:19 +0000 (11:45 -0500)]
make running configure depending on config_opts.sh

11 years agoecho enable/disable status to charm output file
Gengbin Zheng [Fri, 23 Apr 2010 16:44:19 +0000 (11:44 -0500)]
echo enable/disable status to charm output file
disable charmdebug does not disable record/replay

11 years agoactually use CMK_CHARMDEBUG (which is off when CCS is disabled in conv-mach)
Gengbin Zheng [Fri, 23 Apr 2010 16:22:57 +0000 (11:22 -0500)]
actually use CMK_CHARMDEBUG   (which is off when CCS is disabled in conv-mach)
build with-production disables charmdebug
clean up charmdebug init for bigsim (moving it to debug-charm.C)

11 years agotake only one line for the cpu model
Gengbin Zheng [Fri, 23 Apr 2010 16:22:35 +0000 (11:22 -0500)]
take only one line for the cpu model

11 years agoa config option --enable-charmdebug/--disable-charmdebug
Gengbin Zheng [Fri, 23 Apr 2010 16:16:49 +0000 (11:16 -0500)]
a config option --enable-charmdebug/--disable-charmdebug
default is enabled

11 years agofixed compilation errors when CCS is not on
Gengbin Zheng [Fri, 23 Apr 2010 15:32:30 +0000 (10:32 -0500)]
fixed compilation errors when CCS is not on

11 years agosome time a message can be a converse message (such as resumeThread).
Gengbin Zheng [Fri, 23 Apr 2010 15:05:51 +0000 (10:05 -0500)]
some time a message can be a converse message (such as resumeThread).
make sure it is indeed a charm message, otherwise call to _entryTable[env->getEpIdx()] is invalid

11 years agoCmmTable does not have to be CmiAlloc'ed, a normal malloc should be fine
Gengbin Zheng [Fri, 23 Apr 2010 15:04:21 +0000 (10:04 -0500)]
CmmTable does not have to be CmiAlloc'ed, a normal malloc should be fine

11 years agoMerge branch 'charm' of charmgit:charm into charm
Isaac Dooley [Fri, 23 Apr 2010 05:14:04 +0000 (01:14 -0400)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoAdding a command line option that allows trace logs to be created in multiple subdire...
Isaac Dooley [Fri, 23 Apr 2010 05:13:00 +0000 (01:13 -0400)]
Adding a command line option that allows trace logs to be created in multiple subdirectories. This should speedup the log writing when many thousand log files are written.

11 years agoRemoving print
Filippo Gioachin [Fri, 23 Apr 2010 00:42:08 +0000 (19:42 -0500)]
Removing print

11 years agoMerge commit 'charm/charm' into virtualDebug
Filippo Gioachin [Fri, 23 Apr 2010 00:05:20 +0000 (19:05 -0500)]
Merge commit 'charm/charm' into virtualDebug

11 years agoCasting some size_t variables to int within a printf statement that is expecting...
Isaac Dooley [Thu, 22 Apr 2010 23:24:05 +0000 (19:24 -0400)]
Casting some size_t variables to int within a printf statement that is expecting an int for each %d. Fixes compiler warnings on OSX.

11 years agoMoved ConverseDeliver to allow pure converse programs to link
Filippo Gioachin [Thu, 22 Apr 2010 23:00:51 +0000 (18:00 -0500)]
Moved ConverseDeliver to allow pure converse programs to link

11 years agoMade breakpoints work with bigsim virtualization correctly
Filippo Gioachin [Thu, 22 Apr 2010 22:22:40 +0000 (17:22 -0500)]
Made breakpoints work with bigsim virtualization correctly

11 years agoMerge commit 'charm/charm' into virtualDebug
Filippo Gioachin [Thu, 22 Apr 2010 21:43:49 +0000 (16:43 -0500)]
Merge commit 'charm/charm' into virtualDebug

11 years agoAMPI: Comment a tricky structure
Phil Miller [Thu, 22 Apr 2010 16:38:13 +0000 (11:38 -0500)]
AMPI: Comment a tricky structure

11 years agoChange breakPointEntryTable from Ckpv to Cpv since there is one single _entryTable...
Filippo Gioachin [Wed, 21 Apr 2010 23:52:20 +0000 (18:52 -0500)]
Change breakPointEntryTable from Ckpv to Cpv since there is one single _entryTable at the processor level.
Given the unicity of the _entryTable, currently breakpoint can only be set at the physical processor level, not at the virtual processor level (bigSim)

11 years agoFixed CpdNotify which now returns the virtual PE in bigsim
Filippo Gioachin [Wed, 21 Apr 2010 23:51:58 +0000 (18:51 -0500)]
Fixed CpdNotify which now returns the virtual PE in bigsim

11 years agoMoved CcsReply to middle-ccs so it works both in bigsim and in normal charm
Filippo Gioachin [Wed, 21 Apr 2010 23:51:00 +0000 (18:51 -0500)]
Moved CcsReply to middle-ccs so it works both in bigsim and in normal charm

11 years agoMerge branch 'charm' into virtualDebug
Filippo Gioachin [Wed, 21 Apr 2010 22:50:19 +0000 (17:50 -0500)]
Merge branch 'charm' into virtualDebug

Conflicts:
src/ck-core/ck.C
src/langs/bluegene/blue.C

11 years agofixed manytomany compilation errors, and static CmiPushPE error.
GENGBIN ZHENG [Wed, 21 Apr 2010 21:52:52 +0000 (16:52 -0500)]
fixed manytomany compilation errors, and static CmiPushPE error.
These cahnges however are taken from charm-6.2.

11 years agoNo need to be too verbose
Filippo Gioachin [Wed, 21 Apr 2010 21:18:46 +0000 (16:18 -0500)]
No need to be too verbose

11 years agoMerge branch 'charm' of charmgit:charm into charm
Filippo Gioachin [Wed, 21 Apr 2010 19:58:32 +0000 (14:58 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoDeleting message watchers recursively
Filippo Gioachin [Wed, 21 Apr 2010 19:57:55 +0000 (14:57 -0500)]
Deleting message watchers recursively

11 years agobug fixes and enhancement for record/replay
Gengbin Zheng [Wed, 21 Apr 2010 19:35:31 +0000 (14:35 -0500)]
bug fixes and enhancement for record/replay
also implement support for mixing charm record and bigsim replay.

11 years agodefine CsdEnqueueLifo to BgEnqeueu (instead of CmiSyncSend)
Gengbin Zheng [Wed, 21 Apr 2010 16:27:54 +0000 (11:27 -0500)]
define CsdEnqueueLifo  to BgEnqeueu (instead of CmiSyncSend)

11 years agofix xl path by changing to /soft/apps
Eric Bohm [Wed, 21 Apr 2010 01:17:35 +0000 (20:17 -0500)]
fix xl path by changing to /soft/apps
add zlib paths in /soft/apps to fix compressed trace logs
add xlc64 targets which do nothing because there is no 64bit model on BG

11 years agoRemove object file cruft
Phil Miller [Tue, 20 Apr 2010 22:51:42 +0000 (17:51 -0500)]
Remove object file cruft

11 years agocharj: Add debug property to ant build task
Aaron Becker [Mon, 19 Apr 2010 23:03:07 +0000 (18:03 -0500)]
charj: Add debug property to ant build task

11 years agocharj: Add EOF token to prevent early termination with no error
Aaron Becker [Mon, 19 Apr 2010 23:02:05 +0000 (18:02 -0500)]
charj: Add EOF token to prevent early termination with no error

11 years agoFixed parameter order
Filippo Gioachin [Mon, 19 Apr 2010 04:52:29 +0000 (23:52 -0500)]
Fixed parameter order

11 years agoAdding timer for detailed replay
Filippo Gioachin [Mon, 19 Apr 2010 03:59:20 +0000 (22:59 -0500)]
Adding timer for detailed replay

11 years agoincreasing flexibility of LAPI charmrun to understand executable paths
Filippo Gioachin [Mon, 19 Apr 2010 02:41:39 +0000 (21:41 -0500)]
increasing flexibility of LAPI charmrun to understand executable paths

11 years agofixed a typo in BgRewindRecord
Gengbin Zheng [Sat, 17 Apr 2010 17:44:21 +0000 (12:44 -0500)]
fixed a typo in BgRewindRecord

11 years agoimplemented two functions:
Gengbin Zheng [Sat, 17 Apr 2010 13:34:44 +0000 (08:34 -0500)]
implemented two functions:
1. BgEnqueue:  to enqueue a message locally
2. BgRewinRecord: for record/replay to rewind file pointer to the last record. This is why a message is not scheduled by "replay" module.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 17 Apr 2010 04:37:35 +0000 (23:37 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoset watcher to NULL in case it is used later.
Gengbin Zheng [Sat, 17 Apr 2010 04:37:04 +0000 (23:37 -0500)]
set watcher to NULL in case it is used later.

11 years agoCorrected a bug with modification of message timings with Issac's help
Gagan Gupta [Fri, 16 Apr 2010 19:53:01 +0000 (14:53 -0500)]
Corrected a bug with modification of message timings with Issac's help

11 years agoChanged malloc/free to CmiAlloc/CmiFree for the memory contention test
Chao Mei [Fri, 16 Apr 2010 19:40:38 +0000 (14:40 -0500)]
Changed malloc/free to CmiAlloc/CmiFree for the memory contention test

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 16 Apr 2010 16:13:31 +0000 (11:13 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoa scheme for bigsim to assign thread serial no consistently with normal charm.
Gengbin Zheng [Fri, 16 Apr 2010 16:08:00 +0000 (11:08 -0500)]
a scheme for bigsim to assign thread serial no consistently with normal charm.
Note the mainthread take 1 number (in CthInit), so the serial no starts from 2 for bigsim.

11 years agoadded extern "C" to LBTurnInstrumentOn.
Gengbin Zheng [Fri, 16 Apr 2010 01:21:43 +0000 (20:21 -0500)]
added extern "C" to LBTurnInstrumentOn.

11 years agoname change FLBTurnInstrumentationOn => FLBInstrumentON
Gengbin Zheng [Fri, 16 Apr 2010 01:14:51 +0000 (20:14 -0500)]
name change FLBTurnInstrumentationOn => FLBInstrumentON

11 years agoit looks like EmergencyExit() may be called multiple times, causing many runaway...
buildcharm [Thu, 15 Apr 2010 15:50:07 +0000 (10:50 -0500)]
it looks like EmergencyExit() may be called multiple times, causing many runaway processes on mac (hope.cs)

11 years agofixed shell syntax error when ppnused not defined
Gengbin Zheng [Thu, 15 Apr 2010 15:27:09 +0000 (10:27 -0500)]
fixed shell syntax error when ppnused not defined

11 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Thu, 15 Apr 2010 13:49:13 +0000 (08:49 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoA small change to the env var to consider the possibility of the extra comm thread...
Chao Mei [Wed, 14 Apr 2010 22:21:33 +0000 (17:21 -0500)]
A small change to the env var to consider the possibility of the extra comm thread in SMP.

11 years agofixed a VC++ compilation error
Gengbin Zheng [Wed, 14 Apr 2010 03:01:57 +0000 (22:01 -0500)]
fixed a VC++ compilation error

11 years agoAdded various flags to control record-replay behaviour. Added also buffering mechanism
Filippo Gioachin [Wed, 14 Apr 2010 01:05:56 +0000 (20:05 -0500)]
Added various flags to control record-replay behaviour. Added also buffering mechanism

11 years agoAdding functions to compute simple XOR checksum
Filippo Gioachin [Wed, 14 Apr 2010 01:05:08 +0000 (20:05 -0500)]
Adding functions to compute simple XOR checksum

11 years agoAdding call to EmergencyExit in ConverseCommonInit so the _coreState can be deleted
Filippo Gioachin [Wed, 14 Apr 2010 01:04:45 +0000 (20:04 -0500)]
Adding call to EmergencyExit in ConverseCommonInit so the _coreState can be deleted

11 years agowhen typing make under tmp, configure options used to be set at "build" command line...
Gengbin Zheng [Tue, 13 Apr 2010 21:31:36 +0000 (16:31 -0500)]
when typing make under tmp, configure options used to be set at "build" command line won't get used again.
According to the manual, ./config.status --config
is supposed to return the original configure command line options, however, it does not seem to work (may requires newer version of autoconf).
So right now, the configure options have to be stored in a file config_opts.sh, and is loaded when running configure in Makefile.

11 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Tue, 13 Apr 2010 21:26:06 +0000 (16:26 -0500)]
Merge branch 'charm' of charmgit:charm into charm

11 years agoCMK_OPTIMIZE does not turn off replay system now.
Gengbin Zheng [Tue, 13 Apr 2010 21:25:34 +0000 (16:25 -0500)]
CMK_OPTIMIZE does not turn off replay system now.

11 years agoAdded an environmental variable to improve the memory allocation performance in smp...
Chao Mei [Tue, 13 Apr 2010 21:04:33 +0000 (16:04 -0500)]
Added an environmental variable to improve the memory allocation performance in smp mode.

11 years agocharj: simple fibbonacci example code
Aaron Becker [Tue, 13 Apr 2010 20:59:26 +0000 (15:59 -0500)]
charj: simple fibbonacci example code