charm.git
11 years agoremoved POSIX_SOURCE macro
Gengbin Zheng [Sat, 24 Oct 2009 14:40:58 +0000 (14:40 +0000)]
removed POSIX_SOURCE macro

11 years agoprint num core infop on cray
Gengbin Zheng [Sat, 24 Oct 2009 05:52:28 +0000 (05:52 +0000)]
print num core infop on cray

11 years agoturned off signal
Gengbin Zheng [Sat, 24 Oct 2009 03:42:46 +0000 (03:42 +0000)]
turned off signal

11 years agoenable topology for bluegenep, which the nodeID can be an arbitary number (not ordere...
Gengbin Zheng [Sat, 24 Oct 2009 03:41:42 +0000 (03:41 +0000)]
enable topology for bluegenep, which the nodeID can be an arbitary number (not ordered in [0-numNodes].

11 years agoread --mode
Gengbin Zheng [Sat, 24 Oct 2009 03:30:18 +0000 (03:30 +0000)]
read --mode

11 years agoRemove spurious include of <features.h>; it's a Linux-ism
Phil Miller [Fri, 23 Oct 2009 22:53:02 +0000 (22:53 +0000)]
Remove spurious include of <features.h>; it's a Linux-ism

11 years agoArch: Add a pedantic mode
Phil Miller [Fri, 23 Oct 2009 19:53:33 +0000 (19:53 +0000)]
Arch: Add a pedantic mode

11 years agoPedantry: Core changes to compile with -pedantic
Phil Miller [Fri, 23 Oct 2009 19:49:15 +0000 (19:49 +0000)]
Pedantry: Core changes to compile with -pedantic

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

11 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

11 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

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

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

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

11 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

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

11 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

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

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

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

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

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

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

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

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

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

11 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).

11 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

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

11 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

11 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

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

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

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

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

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

11 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()

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

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

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

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

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

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

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

11 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

11 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

11 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

11 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_*

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

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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

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

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

11 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

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

11 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

11 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

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

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

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

11 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++

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

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

11 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?

11 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

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

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

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

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

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

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

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

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

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

11 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).

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

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

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

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

11 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

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

11 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

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

11 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

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

11 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

11 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)

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

11 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

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

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

11 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

11 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