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

12 years agoWindows with MS MPI, compiler Gnu compiler Mingw
Gengbin Zheng [Fri, 9 Oct 2009 05:19:56 +0000 (05:19 +0000)]
Windows with MS MPI, compiler Gnu compiler Mingw

12 years agouse test result for kill() to guard the code
Gengbin Zheng [Fri, 9 Oct 2009 04:12:41 +0000 (04:12 +0000)]
use test result for kill() to guard the code

12 years agoupdated
Gengbin Zheng [Fri, 9 Oct 2009 04:09:25 +0000 (04:09 +0000)]
updated

12 years agofor getpid/kill test link, instead of just partially compiled.
Gengbin Zheng [Fri, 9 Oct 2009 04:08:58 +0000 (04:08 +0000)]
for getpid/kill test link, instead of just partially compiled.

12 years agotest kill()
Gengbin Zheng [Fri, 9 Oct 2009 03:56:40 +0000 (03:56 +0000)]
test kill()

12 years agoEmulator: Cut 8 bytes from BgTimeLog by reordering
Phil Miller [Thu, 8 Oct 2009 22:18:27 +0000 (22:18 +0000)]
Emulator: Cut 8 bytes from BgTimeLog by reordering

BgTimeLog incorporated a lot of padding, because its members were not
ordered from largest to smallest. Reordering brings it down to exactly
the size of its members, from 208 bytes to 200. This 4% reduction can
slightly increase the maximum size of emulation runs.

12 years agoinitialize variable in testing 64 bit compiler to avoid a compiler warning.
Gengbin Zheng [Thu, 8 Oct 2009 21:07:31 +0000 (21:07 +0000)]
initialize variable in testing 64 bit compiler to avoid a compiler warning.

12 years agoif mpicxx calls icpc, add -m64
Gengbin Zheng [Thu, 8 Oct 2009 20:36:35 +0000 (20:36 +0000)]
if mpicxx calls icpc, add -m64

12 years agowhen 64 bit macro is set in conv-mach, but auto config does not agree with it print...
Gengbin Zheng [Thu, 8 Oct 2009 20:35:56 +0000 (20:35 +0000)]
when 64 bit macro is set in conv-mach, but auto config does not agree with it print an error message

12 years agoParFUM: Simplify and shave 10% from build time
Phil Miller [Thu, 8 Oct 2009 20:15:26 +0000 (20:15 +0000)]
ParFUM: Simplify and shave 10% from build time

Include <iosfwd> instead of <iostream> in ParFUM_internals.h, cutting
a little from the otherwise huge amount of work the compiler has to do
there.

12 years agominor change
Gengbin Zheng [Thu, 8 Oct 2009 03:00:24 +0000 (03:00 +0000)]
minor change

12 years agoinstead of using hardcoded 512M max malloc request size, use a dynamic high watermark...
Gengbin Zheng [Thu, 8 Oct 2009 02:28:50 +0000 (02:28 +0000)]
instead of using hardcoded 512M max malloc request size, use a dynamic high watermark to use in the sanity check of slot size.

12 years agominor change in info printing
Gengbin Zheng [Wed, 7 Oct 2009 23:04:54 +0000 (23:04 +0000)]
minor change in info printing

12 years agoFixed a typo of the previous check, which leads to the situation that pcqueue doesn...
Chao Mei [Wed, 7 Oct 2009 22:40:59 +0000 (22:40 +0000)]
Fixed a typo of the previous check, which leads to the situation that pcqueue doesn't use any locks at all for SMP.

12 years agoChanged CMK_USE_TLS_THREAD to CMK_NOT_USE_TLS_THREAD, made testing macros consistent...
Chao Mei [Wed, 7 Oct 2009 22:27:02 +0000 (22:27 +0000)]
Changed CMK_USE_TLS_THREAD to CMK_NOT_USE_TLS_THREAD, made testing macros consistent in pcqueue.h, and added some extra macros in net/machine.c. All is to make compiling different versions (or different optimization levels) of charm++ easily through defining different macros.

12 years agoBetter style formatting for the part where _immedaiteReady is set
Chao Mei [Wed, 7 Oct 2009 22:01:36 +0000 (22:01 +0000)]
Better style formatting for the part where _immedaiteReady is set

12 years agoFixed a bug for some case (only for NAMD so far) that immedaite messages will never...
Chao Mei [Wed, 7 Oct 2009 21:24:38 +0000 (21:24 +0000)]
Fixed a bug for some case (only for NAMD so far) that immedaite messages will never get ready.

12 years agoEmergencyExit() can not be called in bigsim because Ckpv can not be used from Convers...
Gengbin Zheng [Wed, 7 Oct 2009 17:22:18 +0000 (17:22 +0000)]
EmergencyExit() can not be called in bigsim because Ckpv can not be used from Converse layer

12 years agoin the topology information screen output, change cores to processors to avoid confus...
Gengbin Zheng [Wed, 7 Oct 2009 14:59:04 +0000 (14:59 +0000)]
in the topology information screen output, change cores to processors to avoid confusion with SMT.

12 years agodoes not work when num of pe is high, because assuming ppn of 1 as default, it requir...
Gengbin Zheng [Wed, 7 Oct 2009 04:33:03 +0000 (04:33 +0000)]
does not work when num of pe is high, because assuming ppn of 1 as default, it requires large number of nodes. Change to auto detect number of cores, and maximize the utilization of each node for running a job. Alternatively, one can use +n to choose how many nodes.

12 years agouse command to parse number of cores on each node for charmrun to submit job.
Gengbin Zheng [Wed, 7 Oct 2009 02:01:03 +0000 (02:01 +0000)]
use command to parse number of cores on each node for charmrun to submit job.

12 years agoDisabling comlib by putting ifdefs around the old comlib API calls. To fix this,...
Isaac Dooley [Tue, 6 Oct 2009 21:41:34 +0000 (21:41 +0000)]
Disabling comlib by putting ifdefs around the old comlib API calls. To fix this, the code needs to be converted to the new API which should be easy, and the necessary comlib strategies must be implemented.

12 years agock-libs Makefile: Massive de-duplication
Phil Miller [Tue, 6 Oct 2009 20:04:16 +0000 (20:04 +0000)]
ck-libs Makefile: Massive de-duplication

12 years agosome clean up
Gengbin Zheng [Tue, 6 Oct 2009 19:50:19 +0000 (19:50 +0000)]
some clean up

12 years agoupdated charm++ envelope
Gengbin Zheng [Tue, 6 Oct 2009 13:22:14 +0000 (13:22 +0000)]
updated charm++ envelope

12 years agocompress pathHistoryEnv so that it is less intrusive
Gengbin Zheng [Tue, 6 Oct 2009 05:26:45 +0000 (05:26 +0000)]
compress pathHistoryEnv so that it is less intrusive

12 years agodoxygen comments
Gengbin Zheng [Tue, 6 Oct 2009 05:12:52 +0000 (05:12 +0000)]
doxygen comments

12 years agofixed permission
Gengbin Zheng [Tue, 6 Oct 2009 05:12:33 +0000 (05:12 +0000)]
fixed permission

12 years agofixed a bug in if statement that prevent the function to read x-y format string right.
Gengbin Zheng [Tue, 6 Oct 2009 02:07:53 +0000 (02:07 +0000)]
fixed a bug in if statement that prevent the function to read x-y format string right.

12 years agodelete watcher object to force recorder to fclose file.
Gengbin Zheng [Tue, 6 Oct 2009 02:05:03 +0000 (02:05 +0000)]
delete watcher object to force recorder to fclose file.

12 years agowhen no +bgrecordprocessors option, default all processors are in record mode.
Gengbin Zheng [Tue, 6 Oct 2009 02:04:11 +0000 (02:04 +0000)]
when no +bgrecordprocessors option, default all processors are in record mode.

12 years agoBASE is set but not used in End(), removed it
Gengbin Zheng [Mon, 5 Oct 2009 17:11:11 +0000 (17:11 +0000)]
BASE is set but not used in End(), removed it

12 years agoadded prototype for CmiCpuTopologyEnabled()
Gengbin Zheng [Mon, 5 Oct 2009 16:56:25 +0000 (16:56 +0000)]
added prototype for CmiCpuTopologyEnabled()

12 years agodisable immediate msg for windows
Gengbin Zheng [Mon, 5 Oct 2009 02:34:26 +0000 (02:34 +0000)]
disable immediate msg for windows

12 years agooptimize some shell functions to speed it up under Cygwin
Gengbin Zheng [Sun, 4 Oct 2009 19:06:49 +0000 (19:06 +0000)]
optimize some shell functions to speed it up under Cygwin

12 years agotwo important changes:
Gengbin Zheng [Sun, 4 Oct 2009 19:04:32 +0000 (19:04 +0000)]
two important changes:
1. when cputopology somehow is not supported, make sure all functions still return meaningful answers as if all nodes are unique.
2. enable this feature on ms windows

12 years agocopy to legacy libmodulecommlib.a instead of linking again
Gengbin Zheng [Sun, 4 Oct 2009 18:53:30 +0000 (18:53 +0000)]
copy to legacy libmodulecommlib.a instead of linking again

12 years agoremoved un-referenced vars
Gengbin Zheng [Sun, 4 Oct 2009 14:30:12 +0000 (14:30 +0000)]
removed un-referenced vars

12 years agofixed a VC++ compiler warning
Gengbin Zheng [Sun, 4 Oct 2009 14:28:12 +0000 (14:28 +0000)]
fixed a VC++ compiler warning

12 years agofixed a bug in previous checkin that may let script go to infinite loop
Gengbin Zheng [Fri, 2 Oct 2009 15:37:16 +0000 (15:37 +0000)]
fixed a bug in previous checkin that may let script go to infinite loop

12 years agoit is important for autobuild to carry OPTS and TESTOPTS
Gengbin Zheng [Fri, 2 Oct 2009 13:33:04 +0000 (13:33 +0000)]
it is important for autobuild to carry OPTS and TESTOPTS

12 years ago- fixed problem in memory protection with mprotect
Filippo Gioachin [Fri, 2 Oct 2009 00:52:04 +0000 (00:52 +0000)]
- fixed problem in memory protection with mprotect
- updating the stack trace when freeing a block, so if we crash in it, we might be lucky and get the stack trace of where it got deallocated first (instead of the less useful allocation point)

12 years agofixed warning on CqsEnqueueGeneral, and added comment
Filippo Gioachin [Thu, 1 Oct 2009 23:28:06 +0000 (23:28 +0000)]
fixed warning on CqsEnqueueGeneral, and added comment

12 years agoBGL: move -Wno-deprecated to g++-only options
Phil Miller [Thu, 1 Oct 2009 18:09:21 +0000 (18:09 +0000)]
BGL: move -Wno-deprecated to g++-only options

12 years agoBGP: move -Wno-deprecated to g++-only options
Phil Miller [Thu, 1 Oct 2009 18:07:37 +0000 (18:07 +0000)]
BGP: move -Wno-deprecated to g++-only options

12 years agowhen occassionally failure of booting partition, keep submitting jobs
Gengbin Zheng [Thu, 1 Oct 2009 15:47:46 +0000 (15:47 +0000)]
when occassionally failure of booting partition, keep submitting jobs

12 years agoChanges for the net-smp machine layer to use mulitiple recv queues.
Chao Mei [Wed, 30 Sep 2009 23:11:24 +0000 (23:11 +0000)]
Changes for the net-smp machine layer to use mulitiple recv queues.

12 years agoAn alternative implementation of pcqueue which drops the function of auto expansion...
Chao Mei [Wed, 30 Sep 2009 23:10:19 +0000 (23:10 +0000)]
An alternative implementation of pcqueue which drops the function of auto expansion when the queue if full, thus simplifying operations and having fewer memory
accesses. The implementation is supposed to be used with CMK_SMP_MULTIQ enabled.
To use this pcqueue, compile with -DUSE_SIMPLE_PCQUEUE=1

12 years agoThe implementation for using multiple recv queues in smp layer. To enable this, compi...
Chao Mei [Wed, 30 Sep 2009 23:08:19 +0000 (23:08 +0000)]
The implementation for using multiple recv queues in smp layer. To enable this, compile with -DCMK_SMP_MULTIQ=1

12 years agoTests: fix pingpong's makefile for parallel make
Phil Miller [Wed, 30 Sep 2009 21:16:05 +0000 (21:16 +0000)]
Tests: fix pingpong's makefile for parallel make

12 years agotreate bluegene as mpi in ampiCC
Gengbin Zheng [Wed, 30 Sep 2009 16:38:15 +0000 (16:38 +0000)]
treate bluegene as mpi in ampiCC

12 years agoupdated
Gengbin Zheng [Wed, 30 Sep 2009 15:56:24 +0000 (15:56 +0000)]
updated

12 years agoadded psapi.lib to link line
Gengbin Zheng [Wed, 30 Sep 2009 15:51:19 +0000 (15:51 +0000)]
added psapi.lib to link line

12 years agoadvance version number to 6.2, leaving 6.1.* to the branch.
Gengbin Zheng [Wed, 30 Sep 2009 15:28:08 +0000 (15:28 +0000)]
advance version number to 6.2, leaving 6.1.* to the branch.

12 years agoaccounting for memory_allocated (may not be accurate)
Gengbin Zheng [Wed, 30 Sep 2009 02:21:11 +0000 (02:21 +0000)]
accounting for memory_allocated (may not be accurate)

12 years agominor changes of the previous checkin
Gengbin Zheng [Wed, 30 Sep 2009 01:56:55 +0000 (01:56 +0000)]
minor changes of the previous checkin

12 years agoadvanced charm version to 6.1.4
Gengbin Zheng [Wed, 30 Sep 2009 00:42:33 +0000 (00:42 +0000)]
advanced charm version to 6.1.4