charm.git
12 years agoPedantry: The last extraneous ';'s
Phil Miller [Fri, 23 Oct 2009 19:21:21 +0000 (19:21 +0000)]
Pedantry: The last extraneous ';'s

12 years agoturn off shmem_swap which seems to be very slow
Gengbin Zheng [Fri, 23 Oct 2009 03:00:43 +0000 (03:00 +0000)]
turn off shmem_swap which seems to be very slow
Added condition callback for idle

12 years agofixed a syntax error in previous checkin
Gengbin Zheng [Fri, 23 Oct 2009 02:58:56 +0000 (02:58 +0000)]
fixed a syntax error in previous checkin

12 years agofixed previous checkin
Gengbin Zheng [Fri, 23 Oct 2009 02:48:38 +0000 (02:48 +0000)]
fixed previous checkin

12 years agouse %g to print float
Gengbin Zheng [Fri, 23 Oct 2009 02:24:10 +0000 (02:24 +0000)]
use %g to print float

12 years agoThe initial implementation of prefetch optimization for bigsim's ooc emulation by...
Chao Mei [Fri, 23 Oct 2009 02:22:37 +0000 (02:22 +0000)]
The initial implementation of prefetch optimization for bigsim's ooc emulation by using asynchronous IO (use callback in a newly created pthread for notifying the IO completion). To enable this, modify conv-mach-bigsim.h to turn on BIGSIM_OOC_PREFETCH.

12 years ago1. Rewrote the part of using/initializing PAPI counter
Chao Mei [Fri, 23 Oct 2009 02:20:02 +0000 (02:20 +0000)]
1. Rewrote the part of using/initializing PAPI counter
2. Changes for prefetch optimization for ooc emulation

12 years agoAdded a thread private variable for the sake of prefetch optimization (using AIO...
Chao Mei [Fri, 23 Oct 2009 02:17:34 +0000 (02:17 +0000)]
Added a thread private variable for the sake of prefetch optimization (using AIO) in bigsim's ooc emulation.

12 years agoAdded a macro for enabling prefetch optimization (using AIO) in bigsim ooc emulation
Chao Mei [Fri, 23 Oct 2009 02:16:34 +0000 (02:16 +0000)]
Added a macro for enabling prefetch optimization (using AIO) in bigsim ooc emulation

12 years agopath to charm bin fixed
Abhinav Bhatele [Thu, 22 Oct 2009 23:28:57 +0000 (23:28 +0000)]
path to charm bin fixed

12 years agouse swap atomic at sender side.
Gengbin Zheng [Thu, 22 Oct 2009 23:01:14 +0000 (23:01 +0000)]
use swap atomic at sender side.

12 years agocompiler optimization (icc v11) can optimize away alloca, use a global variable to...
Gengbin Zheng [Thu, 22 Oct 2009 18:52:59 +0000 (18:52 +0000)]
compiler optimization (icc v11) can optimize away alloca, use a global variable to defeat it.

12 years agoupdated
Gengbin Zheng [Thu, 22 Oct 2009 15:34:01 +0000 (15:34 +0000)]
updated

12 years agoadded mem-arena.o rule.
Gengbin Zheng [Thu, 22 Oct 2009 15:30:40 +0000 (15:30 +0000)]
added mem-arena.o rule.

12 years agoa mini-library (extracted from isomalloc) that manage a chunk of memory as slots...
Gengbin Zheng [Thu, 22 Oct 2009 15:30:09 +0000 (15:30 +0000)]
a mini-library (extracted from isomalloc) that manage a chunk of memory as slots. Two methods can be selected, old array based scheme, and new B-Tree scheme.

12 years agoIn CmiAlloc and CmiFree for shemem, use arena_malloc() to allocate from pre-allocated...
Gengbin Zheng [Thu, 22 Oct 2009 15:28:59 +0000 (15:28 +0000)]
In CmiAlloc and CmiFree for shemem, use arena_malloc() to allocate from pre-allocated symmetric heap.

12 years agomajor changes and ported to crayXT.
Gengbin Zheng [Thu, 22 Oct 2009 15:27:44 +0000 (15:27 +0000)]
major changes and ported to crayXT.
1. modernized machine interface
2. remove processor number limit due to locks being as globals.
3. add memory management code (mem-arena) for symmetric heap, it manages a big chunk of memory in isomalloc-like way.

12 years agocommon configure file for shmem
Gengbin Zheng [Thu, 22 Oct 2009 15:23:48 +0000 (15:23 +0000)]
common configure file for shmem

12 years agomanage memory in charm (mem-arena).
Gengbin Zheng [Thu, 22 Oct 2009 15:22:55 +0000 (15:22 +0000)]
manage memory in charm (mem-arena).

12 years agoturn on support for cray xt and bluegene
Gengbin Zheng [Thu, 22 Oct 2009 05:25:15 +0000 (05:25 +0000)]
turn on support for cray xt and bluegene

12 years agoshmem config files for crayXT
Gengbin Zheng [Wed, 21 Oct 2009 23:33:30 +0000 (23:33 +0000)]
shmem config files for crayXT

12 years agoprint cpu topo info for craxy XT
Gengbin Zheng [Wed, 21 Oct 2009 23:31:39 +0000 (23:31 +0000)]
print cpu topo info for craxy XT

12 years agocommon defs go to conv-common.h
Gengbin Zheng [Wed, 21 Oct 2009 23:30:48 +0000 (23:30 +0000)]
common defs go to conv-common.h

12 years agoTom Quin's patch for print doubles.
Gengbin Zheng [Wed, 21 Oct 2009 15:53:11 +0000 (15:53 +0000)]
Tom Quin's patch for print doubles.

12 years agoadded a new function CkPupChareData() to save chare objects. This includes pupping...
Gengbin Zheng [Wed, 21 Oct 2009 15:49:12 +0000 (15:49 +0000)]
added a new function CkPupChareData() to save chare objects. This includes pupping the local chare object table and vidblock table.

12 years agoa puper for VidBlock
Gengbin Zheng [Wed, 21 Oct 2009 15:47:53 +0000 (15:47 +0000)]
a puper for VidBlock

12 years agowhen CMK_FT_CHARE is define, plain chare's objPtr is an index to a local chare object...
Gengbin Zheng [Wed, 21 Oct 2009 15:47:26 +0000 (15:47 +0000)]
when CMK_FT_CHARE is define, plain chare's objPtr is an index to a local chare object table. This allows chareID to be used in various applications such as record/replay, FT, parallel debug.

12 years agodefine ChareType in charm.h, to reduce redundency, remove the similar type in ckobjid.h.
Gengbin Zheng [Wed, 21 Oct 2009 15:45:52 +0000 (15:45 +0000)]
define ChareType in charm.h, to reduce redundency, remove the similar type in ckobjid.h.

12 years agoadded chareType in chareTable.
Gengbin Zheng [Wed, 21 Oct 2009 15:44:34 +0000 (15:44 +0000)]
added chareType in chareTable.
added an additional parameter to CkRegisterChare()

12 years agoupdated the usage of CkRegisterChare
Gengbin Zheng [Wed, 21 Oct 2009 15:43:52 +0000 (15:43 +0000)]
updated the usage of CkRegisterChare

12 years agoupdate the usage of CkRegisterChare
Gengbin Zheng [Wed, 21 Oct 2009 15:43:27 +0000 (15:43 +0000)]
update the usage of CkRegisterChare

12 years agoCkRegisterChare takes one more parameter
Gengbin Zheng [Wed, 21 Oct 2009 15:39:47 +0000 (15:39 +0000)]
CkRegisterChare takes one more parameter

12 years agoupdated dependencyCVS: ---------------------------------------------------------...
Gengbin Zheng [Wed, 21 Oct 2009 15:38:37 +0000 (15:38 +0000)]
updated dependencyCVS: ----------------------------------------------------------------------

12 years agoregenerated.
Gengbin Zheng [Wed, 21 Oct 2009 15:37:20 +0000 (15:37 +0000)]
regenerated.

12 years agochanged CkRegisterChare() to take one additional argument that tells the type of...
Gengbin Zheng [Wed, 21 Oct 2009 15:36:31 +0000 (15:36 +0000)]
changed CkRegisterChare() to take one additional argument that tells the type of a chare.

12 years agoIn CmiFree for infiband message, for CmiMultipleSendHeader (multipleSend), the only...
Gengbin Zheng [Wed, 21 Oct 2009 03:14:13 +0000 (03:14 +0000)]
In CmiFree for infiband message, for CmiMultipleSendHeader (multipleSend), the only means that CmiFree check if it is CmiMultipleSendHeader is to check Converse handler. This is dangerous because Converse handler field can be not initialized, which results in a errorous match. Utilize the padding to a magic number for a little more safety.

12 years agoabort when running standalone mode in net-ibverb layer
Gengbin Zheng [Wed, 21 Oct 2009 02:58:40 +0000 (02:58 +0000)]
abort when running standalone mode in net-ibverb layer

12 years agoRevert effects of accidental mass-commit
Phil Miller [Wed, 21 Oct 2009 02:14:04 +0000 (02:14 +0000)]
Revert effects of accidental mass-commit

12 years agoBuild: be a bit more explicit about actions
Phil Miller [Wed, 21 Oct 2009 01:35:16 +0000 (01:35 +0000)]
Build: be a bit more explicit about actions

12 years agoReestablished backward compatibility of ckGetSectionID. Added other functions pre_stupid
Filippo Gioachin [Tue, 20 Oct 2009 23:28:29 +0000 (23:28 +0000)]
Reestablished backward compatibility of ckGetSectionID. Added other functions
to return the other SectionIDs present in a CProxySection_*

12 years agoTests: Delete extraneous ';'s
Phil Miller [Tue, 20 Oct 2009 18:43:34 +0000 (18:43 +0000)]
Tests: Delete extraneous ';'s

12 years agoConfigure: Revert addition of $OPTS to test_{cc,cxx}
Phil Miller [Tue, 20 Oct 2009 18:35:09 +0000 (18:35 +0000)]
Configure: Revert addition of $OPTS to test_{cc,cxx}

This ends up passing options intended for charmc to the underlying
compiler. Back this out until a better way can be found.

12 years agoRemove more extraneous ';'s found through fftlib and grep
Phil Miller [Tue, 20 Oct 2009 18:27:40 +0000 (18:27 +0000)]
Remove more extraneous ';'s found through fftlib and grep

12 years agoParFUM: Remove extraneous ';'s and delete dead no-op code
Phil Miller [Tue, 20 Oct 2009 18:18:28 +0000 (18:18 +0000)]
ParFUM: Remove extraneous ';'s and delete dead no-op code

12 years agoParFUM: Replace 'long long' with CmiUInt8
Phil Miller [Tue, 20 Oct 2009 18:17:00 +0000 (18:17 +0000)]
ParFUM: Replace 'long long' with CmiUInt8

12 years agoRemove more extraneous ';'s found via LIBS
Phil Miller [Tue, 20 Oct 2009 18:15:48 +0000 (18:15 +0000)]
Remove more extraneous ';'s found via LIBS

12 years agoConfigure: Remove broken unused test
Phil Miller [Tue, 20 Oct 2009 15:34:53 +0000 (15:34 +0000)]
Configure: Remove broken unused test

The configure test for 'CMK_TEMPLATE_MEMBERS_BROKEN' has been wrong
since at least g++ 3.4. It's also unused in the charm codebase. Hence,
delete it.

12 years agoConfigure: test for namespace support correctly
Phil Miller [Tue, 20 Oct 2009 15:25:24 +0000 (15:25 +0000)]
Configure: test for namespace support correctly

12 years agoOne more header for charm++ to compile pedantically
Phil Miller [Tue, 20 Oct 2009 15:07:15 +0000 (15:07 +0000)]
One more header for charm++ to compile pedantically

12 years agoRemove lots of extraneous ';'s to let charm build with pedantic compilers
Phil Miller [Tue, 20 Oct 2009 02:02:03 +0000 (02:02 +0000)]
Remove lots of extraneous ';'s to let charm build with pedantic compilers

12 years agoCCS: Don't assume exists
Phil Miller [Tue, 20 Oct 2009 00:49:48 +0000 (00:49 +0000)]
CCS: Don't assume  exists

12 years agoIBM compiler fails in compiling code with constructors using default parameters.
Filippo Gioachin [Tue, 20 Oct 2009 00:15:31 +0000 (00:15 +0000)]
IBM compiler fails in compiling code with constructors using default parameters.

12 years agoRemove lots of extraneous to enable stricter compilation
Phil Miller [Mon, 19 Oct 2009 23:47:44 +0000 (23:47 +0000)]
Remove lots of extraneous  to enable stricter compilation

12 years agocharmxi: eliminate extraneous after PUPmarhsall
Phil Miller [Mon, 19 Oct 2009 23:17:51 +0000 (23:17 +0000)]
charmxi: eliminate extraneous  after PUPmarhsall

12 years agoUse the information gained in testing for 'long long' support
Phil Miller [Mon, 19 Oct 2009 23:09:29 +0000 (23:09 +0000)]
Use the information gained in testing for 'long long' support

12 years agoConfigure: use the test result from __int64
Phil Miller [Mon, 19 Oct 2009 23:00:35 +0000 (23:00 +0000)]
Configure: use the test result from __int64

12 years agoConfigure: test compiler/platform features with $OPTS
Phil Miller [Mon, 19 Oct 2009 22:53:57 +0000 (22:53 +0000)]
Configure: test compiler/platform features with $OPTS

The test_{cc,cxx} functions don't pass $OPTS on the compiler command
lines, despite the fact that charmc later will. This can potentially
change what types, macros, and operations are defined and available.
Add $OPTS to both of those so that the tests reflect the actual
build environment.

12 years agoBuild: add a --quiet flag
Phil Miller [Mon, 19 Oct 2009 20:44:29 +0000 (20:44 +0000)]
Build: add a --quiet flag

12 years agofixed CProxySection_ArrayBase default constructor which may resulted in random _nsid...
Gengbin Zheng [Sun, 18 Oct 2009 17:48:49 +0000 (17:48 +0000)]
fixed CProxySection_ArrayBase default constructor which may resulted in random _nsid (number of sectiongIDs), and lead to crash in pup.
Also write a better pup for sectionID.

12 years agomove desctructor of cksectionID to be inlined, to fix a link error with VC++
Gengbin Zheng [Sun, 18 Oct 2009 14:54:41 +0000 (14:54 +0000)]
move desctructor of cksectionID to be inlined, to fix a link error with VC++

12 years agoadd traceUserSuppliedNote in trace-converse since it may resulted in a undef error...
Gengbin Zheng [Sun, 18 Oct 2009 14:53:21 +0000 (14:53 +0000)]
add traceUserSuppliedNote in trace-converse since it may resulted in a undef error when compiling converse program.

12 years agoSwitching thread mechanism so x86 snow leopard "make test" succeeds.
Isaac Dooley [Sat, 17 Oct 2009 17:22:41 +0000 (17:22 +0000)]
Switching thread mechanism so x86 snow leopard "make test" succeeds.

12 years agopes => nodes, a typo in previous checkin?
Gengbin Zheng [Sat, 17 Oct 2009 15:10:25 +0000 (15:10 +0000)]
pes => nodes, a typo in previous checkin?

12 years agocompiler weirdness for new Mac 10
Gengbin Zheng [Sat, 17 Oct 2009 15:08:10 +0000 (15:08 +0000)]
compiler weirdness for new Mac 10

12 years agomisuse SECTIONSIZE
Gengbin Zheng [Sat, 17 Oct 2009 04:32:35 +0000 (04:32 +0000)]
misuse SECTIONSIZE

12 years agoswitch to uJcontext.
Gengbin Zheng [Sat, 17 Oct 2009 02:38:23 +0000 (02:38 +0000)]
switch to uJcontext.

12 years agoStart fixing problems for newer stricter compilers
Phil Miller [Fri, 16 Oct 2009 23:31:14 +0000 (23:31 +0000)]
Start fixing problems for newer stricter compilers

Newer/stricter compilers don't allow ';' after namespace declarations,
so start removing them.

12 years agoUsing gcc 4.4 compatible flags for darwin versions of charm.
Isaac Dooley [Fri, 16 Oct 2009 22:20:06 +0000 (22:20 +0000)]
Using gcc 4.4 compatible flags for darwin versions of charm.

12 years agoremoved prints
Filippo Gioachin [Fri, 16 Oct 2009 21:19:55 +0000 (21:19 +0000)]
removed prints

12 years agoforgot return statement
Filippo Gioachin [Fri, 16 Oct 2009 20:52:31 +0000 (20:52 +0000)]
forgot return statement

12 years agoRemoving a flag that breaks the new compilers on Snow Leopard.
Isaac Dooley [Fri, 16 Oct 2009 20:49:33 +0000 (20:49 +0000)]
Removing a flag that breaks the new compilers on Snow Leopard.

12 years agoAdding sections to groups.
Filippo Gioachin [Fri, 16 Oct 2009 20:12:57 +0000 (20:12 +0000)]
Adding sections to groups.
Deleted duplicated constructors for most CProxy* classes. Using default parameters instead.
Changed CProxySection* definitions to support multiple sections, i.e sections spanning more than one single array/group. Changed also the delegation framework interface to handle this. CkMulticast and Comlib have still to be updated if they want to handle multisection proxies.

12 years agoFixing a CkExit problem in the control point module that was causing crashes.
Isaac Dooley [Fri, 16 Oct 2009 19:18:37 +0000 (19:18 +0000)]
Fixing a CkExit problem in the control point module that was causing crashes.

12 years agoRemoving -Wno-long-double flag which breaks builds on the new version of gcc on Snow...
Isaac Dooley [Fri, 16 Oct 2009 19:12:41 +0000 (19:12 +0000)]
Removing -Wno-long-double flag which breaks builds on the new version of gcc on Snow Leopard (10.6).

12 years agosort core number on each individual node according to its PE number.
Gengbin Zheng [Fri, 16 Oct 2009 05:11:43 +0000 (05:11 +0000)]
sort core number on each individual node according to its PE number.
make comm thread floating instead of bound to the last core.

12 years agofixed compiler error when SMP is on.
Gengbin Zheng [Fri, 16 Oct 2009 03:46:16 +0000 (03:46 +0000)]
fixed compiler error when SMP is on.
Cleanup use of CMK_IBVERBS_STATS.

12 years agodisable mmap probe scheme as default in smp mode. It requires "sync" which may not...
Gengbin Zheng [Fri, 16 Oct 2009 03:44:07 +0000 (03:44 +0000)]
disable mmap probe scheme as default in smp mode. It requires "sync" which may not be there.

12 years agofor ack packet, free the "buf" when send completes.
Gengbin Zheng [Thu, 15 Oct 2009 20:40:14 +0000 (20:40 +0000)]
for ack packet, free the "buf" when send completes.

12 years agoadded +qd runtime option to enable dummy qd.
Gengbin Zheng [Wed, 14 Oct 2009 23:23:27 +0000 (23:23 +0000)]
added +qd runtime option to enable dummy qd.
add chare_objs and vidblock tables, and initialization

12 years agoinitQd takes argv now
Gengbin Zheng [Wed, 14 Oct 2009 23:21:49 +0000 (23:21 +0000)]
initQd takes argv now

12 years agomake dummy QD a runtime option
Gengbin Zheng [Wed, 14 Oct 2009 23:20:53 +0000 (23:20 +0000)]
make dummy QD a runtime option

12 years agoadded isPlainChare to chare table
Gengbin Zheng [Wed, 14 Oct 2009 23:19:51 +0000 (23:19 +0000)]
added isPlainChare to chare table

12 years agoin FT_CHARE, add chareIdx to Chare class
Gengbin Zheng [Wed, 14 Oct 2009 23:15:55 +0000 (23:15 +0000)]
in FT_CHARE, add chareIdx to Chare class

12 years agoAdding support for supporting GPU/CPU switching for a single VP.
Isaac Dooley [Wed, 14 Oct 2009 22:16:06 +0000 (22:16 +0000)]
Adding support for supporting GPU/CPU switching for a single VP.

12 years agoFix a warning in a popular header
Phil Miller [Wed, 14 Oct 2009 16:01:52 +0000 (16:01 +0000)]
Fix a warning in a popular header

12 years agodeleting the type "Slot" as it conflicts with the one defined in many memory modules...
Filippo Gioachin [Wed, 14 Oct 2009 01:52:40 +0000 (01:52 +0000)]
deleting the type "Slot" as it conflicts with the one defined in many memory modules (moreover it is a simple typedef used only locally)

12 years agofixed some indentation.
Gengbin Zheng [Tue, 13 Oct 2009 01:48:02 +0000 (01:48 +0000)]
fixed some indentation.

12 years agoSwapglobals: compile before checking in pre_stupid2
Phil Miller [Mon, 12 Oct 2009 23:30:46 +0000 (23:30 +0000)]
Swapglobals: compile before checking in

12 years agoSwapglobals: fix sorted order trick
Phil Miller [Mon, 12 Oct 2009 23:28:32 +0000 (23:28 +0000)]
Swapglobals: fix sorted order trick

12 years ago1. Added user event traces for major MPI calls for communication thread in SMP
Chao Mei [Sat, 10 Oct 2009 08:44:24 +0000 (08:44 +0000)]
1. Added user event traces for major MPI calls for communication thread in SMP
2. Added a measurement to report how much time each task of communicaiton thread spends.
3. Added parameters to control how send/recv should alternate for communication thread in SMP.

12 years agoFixed a data racing problem in trace communication thread when using CkpvAccessOther
Chao Mei [Sat, 10 Oct 2009 08:39:10 +0000 (08:39 +0000)]
Fixed a data racing problem in trace communication thread when using CkpvAccessOther

12 years agoforgot to pup parent class in CkCacheManager
Filippo Gioachin [Sat, 10 Oct 2009 02:31:43 +0000 (02:31 +0000)]
forgot to pup parent class in CkCacheManager

12 years agoSwapglobals: Fix small omission in modified layout
Phil Miller [Fri, 9 Oct 2009 23:36:06 +0000 (23:36 +0000)]
Swapglobals: Fix small omission in modified layout

I forgot to add the size of each object as I went along.

12 years agoSwapglobals: diagnostic version of sorted GOT
Phil Miller [Fri, 9 Oct 2009 23:33:58 +0000 (23:33 +0000)]
Swapglobals: diagnostic version of sorted GOT

Implement the sorting and space-counting portion of the modified
swap-globals layout. Print out appropriate diagnostics to compare size
results.

12 years agoSwapglobals: More cleanup before heavy change
Phil Miller [Fri, 9 Oct 2009 23:13:34 +0000 (23:13 +0000)]
Swapglobals: More cleanup before heavy change

12 years agoAdded support to trace communication thread in SMP mode. To enable this, compile...
Chao Mei [Fri, 9 Oct 2009 23:04:34 +0000 (23:04 +0000)]
Added support to trace communication thread in SMP mode. To enable this, compile charm with "-DCMK_SMP_TRACE_COMMTHREAD=1"

12 years agoFixed a minor bug that is related to the access to cmiArgDebugFlag.
Chao Mei [Fri, 9 Oct 2009 22:33:18 +0000 (22:33 +0000)]
Fixed a minor bug that is related to the access to cmiArgDebugFlag.

12 years agoSwapglobals: Simplify CtgGlobalList constructor in advance of big changes
Phil Miller [Fri, 9 Oct 2009 17:38:02 +0000 (17:38 +0000)]
Swapglobals: Simplify CtgGlobalList constructor in advance of big changes

Flatten the control flow of the loop that figures out which symbols
are user globals to a single layer. Deeply nested code is much harder
to work with.

12 years agoavoid some tests
Gengbin Zheng [Fri, 9 Oct 2009 13:03:53 +0000 (13:03 +0000)]
avoid some tests

12 years agoadded -lpsapi
Gengbin Zheng [Fri, 9 Oct 2009 05:21:30 +0000 (05:21 +0000)]
added -lpsapi