charm.git
12 years agoadded bgtest
Gengbin Zheng [Fri, 30 Oct 2009 00:16:33 +0000 (00:16 +0000)]
added bgtest

12 years agoCore: don't put extra ';' where they aren't needed
Phil Miller [Thu, 29 Oct 2009 23:51:53 +0000 (23:51 +0000)]
Core: don't put extra ';' where they aren't needed

12 years agotweaked a little on finding a buddy processor
Gengbin Zheng [Thu, 29 Oct 2009 22:15:49 +0000 (22:15 +0000)]
tweaked a little on finding a buddy processor

12 years agoAdded image resize to work around JPEG 64K image height limit,
Orion Lawlor [Thu, 29 Oct 2009 21:56:19 +0000 (21:56 +0000)]
Added image resize to work around JPEG 64K image height limit,
and added runlength encoding for new client.

12 years agominor changes to previous fix
Gengbin Zheng [Thu, 29 Oct 2009 19:13:42 +0000 (19:13 +0000)]
minor changes to previous fix

12 years agofixed a divide by 0 bug in case the object size is 0 in the recent changes.
Gengbin Zheng [Thu, 29 Oct 2009 18:39:25 +0000 (18:39 +0000)]
fixed a divide by 0 bug in case the object size is 0 in the recent changes.

12 years agoremoved a debug print
Gengbin Zheng [Thu, 29 Oct 2009 16:48:32 +0000 (16:48 +0000)]
removed a debug print

12 years agoMoving a function to the ControlPoint namespace.
Isaac Dooley [Thu, 29 Oct 2009 16:09:46 +0000 (16:09 +0000)]
Moving a function to the ControlPoint namespace.

12 years agoreduced iteration number
Gengbin Zheng [Thu, 29 Oct 2009 15:54:50 +0000 (15:54 +0000)]
reduced iteration number

12 years agoChanges due to the new type for ChareType struct.
Esteban Meneses [Thu, 29 Oct 2009 14:56:45 +0000 (14:56 +0000)]
Changes due to the new type for ChareType struct.

12 years agoAdded support for team-based message logging.
Esteban Meneses [Thu, 29 Oct 2009 14:42:31 +0000 (14:42 +0000)]
Added support for team-based message logging.

12 years agoAdded some support for team-based message logging.
Esteban Meneses [Thu, 29 Oct 2009 14:42:11 +0000 (14:42 +0000)]
Added some support for team-based message logging.

12 years agoAdded a new flag for message logging and team-based support.
Esteban Meneses [Thu, 29 Oct 2009 14:41:41 +0000 (14:41 +0000)]
Added a new flag for message logging and team-based support.

12 years agoadded armci test
Gengbin Zheng [Thu, 29 Oct 2009 07:19:04 +0000 (07:19 +0000)]
added armci test

12 years agoadded
Gengbin Zheng [Thu, 29 Oct 2009 07:18:09 +0000 (07:18 +0000)]
added

12 years agofixed makefiles.
Gengbin Zheng [Thu, 29 Oct 2009 06:57:44 +0000 (06:57 +0000)]
fixed makefiles.

12 years agogeneralzie the previous fix: make sure only those pthreads that spawned by charm...
Gengbin Zheng [Thu, 29 Oct 2009 03:48:28 +0000 (03:48 +0000)]
generalzie the previous fix: make sure only those pthreads that spawned by charm can call isomalloc, other system spawned pthreads should not call isomalloc.

12 years agoperftest
Gengbin Zheng [Thu, 29 Oct 2009 03:19:30 +0000 (03:19 +0000)]
perftest

12 years agowhen not enabled, it treats cpu topology just the same as the charm/SMP node (CmiNumN...
Gengbin Zheng [Wed, 28 Oct 2009 21:23:14 +0000 (21:23 +0000)]
when not enabled, it treats cpu topology just the same as the charm/SMP node (CmiNumNodes(), CmiRankOf(pe), etc)

12 years agolog changes
Gengbin Zheng [Wed, 28 Oct 2009 21:04:02 +0000 (21:04 +0000)]
log changes

12 years agoupdated due to change in cputopology
Gengbin Zheng [Wed, 28 Oct 2009 20:45:27 +0000 (20:45 +0000)]
updated due to change in cputopology

12 years agochanged cputopology function API (some parameter from pe to node id)
Gengbin Zheng [Wed, 28 Oct 2009 20:44:54 +0000 (20:44 +0000)]
changed cputopology function API (some parameter from pe to node id)
added two more functions

12 years agowhen picking buddy processors, always find a processor on next *physical* processors...
Gengbin Zheng [Wed, 28 Oct 2009 20:43:31 +0000 (20:43 +0000)]
when picking buddy processors, always find a processor on next *physical* processors. Implemented using cpu topology API

12 years agofixed syntax error in IA64's atomic operations
Gengbin Zheng [Wed, 28 Oct 2009 03:31:49 +0000 (03:31 +0000)]
fixed syntax error in IA64's atomic operations

12 years agoswitch to memory fence for IA64
Gengbin Zheng [Wed, 28 Oct 2009 03:30:56 +0000 (03:30 +0000)]
switch to memory fence for IA64

12 years agocharmxi: Work around failings of ancient Sun compilers
Phil Miller [Tue, 27 Oct 2009 21:54:45 +0000 (21:54 +0000)]
charmxi: Work around failings of ancient Sun compilers

Sun C++ 5.4, included with Sun Studio 7, can't handle default
arguments to template functions correctly. Overload the templates in
question to have versions with and without the argument, and work the
argument into the body of the overload.

12 years agoAdded control point stuff to the Makefile...
Jonathan Lifflander [Tue, 27 Oct 2009 20:41:26 +0000 (20:41 +0000)]
Added control point stuff to the Makefile...

12 years agoAdded the generated file for control points.
Jonathan Lifflander [Tue, 27 Oct 2009 19:50:29 +0000 (19:50 +0000)]
Added the generated file for control points.

12 years agofixed a compiler error
Gengbin Zheng [Tue, 27 Oct 2009 13:55:07 +0000 (13:55 +0000)]
fixed a compiler error

12 years agocall CmiMachineExit() in machine_exit()
Gengbin Zheng [Tue, 27 Oct 2009 06:32:26 +0000 (06:32 +0000)]
call CmiMachineExit() in machine_exit()

12 years agosome fix for SMP mode, and clean shutdown.
Gengbin Zheng [Tue, 27 Oct 2009 06:31:51 +0000 (06:31 +0000)]
some fix for SMP mode, and clean shutdown.

12 years agofixed a typo in previous change
Gengbin Zheng [Mon, 26 Oct 2009 20:48:55 +0000 (20:48 +0000)]
fixed a typo in previous change

12 years agoUpdating Control Point API generator.
Isaac Dooley [Mon, 26 Oct 2009 17:50:11 +0000 (17:50 +0000)]
Updating Control Point API generator.

12 years agoRenaming Makefile because the current charm build scripts will overwrite the main...
Isaac Dooley [Mon, 26 Oct 2009 17:29:13 +0000 (17:29 +0000)]
Renaming Makefile because the current charm build scripts will overwrite the main Makefile with this one.

12 years agoCleaning up the main doxygen page. Stripping out a bunch of unnecessary HTML code...
Isaac Dooley [Mon, 26 Oct 2009 17:20:03 +0000 (17:20 +0000)]
Cleaning up the main doxygen page. Stripping out a bunch of unnecessary HTML code to replace with simpler doxygen commands. I also added a section for experimental features such as critical path detection.

12 years agoA script that generates parts of the control point framework's API and implementation.
Isaac Dooley [Mon, 26 Oct 2009 16:42:16 +0000 (16:42 +0000)]
A script that generates parts of the control point framework's API and implementation.

12 years agoprint MPI_Init_thread level in characters for some missing ones.
Gengbin Zheng [Mon, 26 Oct 2009 16:17:29 +0000 (16:17 +0000)]
print MPI_Init_thread level in characters for some missing ones.

12 years agoadded missing TypeMainChare
Gengbin Zheng [Sun, 25 Oct 2009 03:30:35 +0000 (03:30 +0000)]
added missing TypeMainChare

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

12 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

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

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

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

12 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

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

12 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

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