charm.git
12 years agoImproving documentation for scheduling routines.
Isaac Dooley [Fri, 18 Sep 2009 22:33:29 +0000 (22:33 +0000)]
Improving documentation for scheduling routines.

12 years agoFEM, ParFUM: Account for removed `byte' typedef from IDXL
Phil Miller [Fri, 18 Sep 2009 14:14:47 +0000 (14:14 +0000)]
FEM, ParFUM: Account for removed `byte' typedef from IDXL

IDXL provided a "typedef unsigned char byte" up until yesterday. This
was breaking application code, so I removed it. I failed to test that
this wasn't used by things depending on IDXL, but autobuild helpfully
reminded me. Substitute `unsigned char' for `byte' in the handful of
places it appeared. Bemoan the duplication of code from FEM to ParFUM.

12 years agoIDXL: Remove noxious typedef of `byte' from public header
Phil Miller [Thu, 17 Sep 2009 23:56:24 +0000 (23:56 +0000)]
IDXL: Remove noxious typedef of `byte' from public header

A public header, idxl_layout.h, defined a type `byte'. This conflicted
with a definition in application code. Since exporting typedefs like
this into user code is bad, don't.

12 years agoidepth can't be 0
Pritish Jetley [Thu, 17 Sep 2009 22:28:55 +0000 (22:28 +0000)]
idepth can't be 0

12 years agofixed bugs in cleanup, topleveltree construction and idepth parameter acceptance...
Pritish Jetley [Thu, 17 Sep 2009 22:18:25 +0000 (22:18 +0000)]
fixed bugs in cleanup, topleveltree construction and idepth parameter acceptance. new code works for idepth > 1 as well

12 years agoStoring memory threshold for adaptive scheduling in a global variable. Added a
Isaac Dooley [Thu, 17 Sep 2009 19:30:13 +0000 (19:30 +0000)]
Storing memory threshold for adaptive scheduling in a global variable. Added a
preprocessor ifdef to determine whether to compile in the adaptive scheduling call.

12 years agoRemoving some superfluous print statments.
Isaac Dooley [Thu, 17 Sep 2009 19:28:48 +0000 (19:28 +0000)]
Removing some superfluous print statments.

12 years agocharmxi: Inclusion cleanup
Phil Miller [Thu, 17 Sep 2009 17:18:34 +0000 (17:18 +0000)]
charmxi: Inclusion cleanup

12 years agoManually adding dependencies that would have been created by autoconf, except
Isaac Dooley [Wed, 16 Sep 2009 21:01:53 +0000 (21:01 +0000)]
Manually adding dependencies that would have been created by autoconf, except
we use a version of Make.depends checked into CVS by someone else. That other
version probably doesn't handle anything in the BG/P specific Makefile.machine.

12 years agoOptimizing the code that adapts the scheduling of messages under constrained
Isaac Dooley [Wed, 16 Sep 2009 20:26:32 +0000 (20:26 +0000)]
Optimizing the code that adapts the scheduling of messages under constrained
memory scenarios.

12 years agoImproving perf counter measurements.
Isaac Dooley [Wed, 16 Sep 2009 20:15:16 +0000 (20:15 +0000)]
Improving perf counter measurements.

12 years agoScheduler: Fix build breakage from missing return
Phil Miller [Wed, 16 Sep 2009 16:16:32 +0000 (16:16 +0000)]
Scheduler: Fix build breakage from missing return

12 years agoparams
Pritish Jetley [Tue, 15 Sep 2009 22:51:36 +0000 (22:51 +0000)]
params

12 years agoFixing Make.depends for previous checkins.
Isaac Dooley [Tue, 15 Sep 2009 19:46:52 +0000 (19:46 +0000)]
Fixing Make.depends for previous checkins.

12 years agoAdding support for modifying entries in the Charm++ message queues.
Isaac Dooley [Mon, 14 Sep 2009 18:22:49 +0000 (18:22 +0000)]
Adding support for modifying entries in the Charm++ message queues.

12 years agoAdded check to make sure message is not NULL before processing it.
Isaac Dooley [Mon, 14 Sep 2009 18:20:35 +0000 (18:20 +0000)]
Added check to make sure message is not NULL before processing it.

12 years agoComparison with 0 is now comparison with NULL.
Isaac Dooley [Mon, 14 Sep 2009 18:19:37 +0000 (18:19 +0000)]
Comparison with 0 is now comparison with NULL.

12 years agoCommenting out the unused and incorrectly implemented function CqsGetSecondPriority().
Isaac Dooley [Sat, 12 Sep 2009 20:18:34 +0000 (20:18 +0000)]
Commenting out the unused and incorrectly implemented function CqsGetSecondPriority().

12 years agoImproving doxygen comments.
Isaac Dooley [Sat, 12 Sep 2009 20:04:58 +0000 (20:04 +0000)]
Improving doxygen comments.

12 years agoCleaning up references to the converse and charm++ schedulers from the main doxygen...
Isaac Dooley [Sat, 12 Sep 2009 20:03:30 +0000 (20:03 +0000)]
Cleaning up references to the converse and charm++ schedulers from the main doxygen page.

12 years agoAdding doxygen comments for Charm Scheduler routines.
Isaac Dooley [Sat, 12 Sep 2009 19:49:46 +0000 (19:49 +0000)]
Adding doxygen comments for Charm Scheduler routines.

12 years agoAdding a Doxygen Converse->Scheduler group.
Isaac Dooley [Fri, 11 Sep 2009 20:41:50 +0000 (20:41 +0000)]
Adding a Doxygen Converse->Scheduler group.

12 years agoImproving the main Doxygen Page.
Isaac Dooley [Fri, 11 Sep 2009 20:37:45 +0000 (20:37 +0000)]
Improving the main Doxygen Page.

12 years agoadded fpup_logical and fpup_logicals for boolean type
Gengbin Zheng [Mon, 7 Sep 2009 22:19:40 +0000 (22:19 +0000)]
added fpup_logical and fpup_logicals for boolean type

12 years agoCleanup in AMR CFD example
Phil Miller [Sun, 6 Sep 2009 19:55:41 +0000 (19:55 +0000)]
Cleanup in AMR CFD example

12 years agoCmiReductionsInit: Fix some warning fodder
Phil Miller [Sun, 6 Sep 2009 19:32:47 +0000 (19:32 +0000)]
CmiReductionsInit: Fix some warning fodder

Silence one current warning, and one potential warning
- Initialize _reduce_info with the right type, to quiet a mismatch warning.
- Don't cast the return type of malloc()

12 years agoRemoving assert statement that caused strategies only to work with 1d chare arrays.
Isaac Dooley [Sat, 5 Sep 2009 18:22:59 +0000 (18:22 +0000)]
Removing assert statement that caused strategies only to work with 1d chare arrays.

12 years agofix a minor bug that cause it abort when it is not mpi or net version
Gengbin Zheng [Sat, 5 Sep 2009 12:45:03 +0000 (12:45 +0000)]
fix a minor bug that cause it abort when it is not mpi or net version

12 years agoactually use the default parameter in buildSpanningTree()
Gengbin Zheng [Fri, 4 Sep 2009 22:50:14 +0000 (22:50 +0000)]
actually use the default parameter in buildSpanningTree()
omit the last optional parameter broke SUN CC

12 years agoupdated
Gengbin Zheng [Fri, 4 Sep 2009 22:42:59 +0000 (22:42 +0000)]
updated

12 years agomake it portable when iterator_traits and std::distance is not defined
Gengbin Zheng [Fri, 4 Sep 2009 22:36:21 +0000 (22:36 +0000)]
make it portable when iterator_traits and std::distance is not defined

12 years agotest std::distance()
Gengbin Zheng [Fri, 4 Sep 2009 22:30:24 +0000 (22:30 +0000)]
test std::distance()

12 years agomore change to iterator_traits test
Gengbin Zheng [Fri, 4 Sep 2009 22:14:28 +0000 (22:14 +0000)]
more change to iterator_traits test

12 years agomake test iterator_traits works
Gengbin Zheng [Fri, 4 Sep 2009 21:50:08 +0000 (21:50 +0000)]
make test iterator_traits works

12 years agoadded a test for iterator_traits,
Gengbin Zheng [Fri, 4 Sep 2009 21:26:23 +0000 (21:26 +0000)]
added a test for iterator_traits,
also ask configure to generate ampiCC from ampiCC.in, and chmod

12 years agoampiCC is now generated by ampiCC.in by configure
Gengbin Zheng [Fri, 4 Sep 2009 21:24:57 +0000 (21:24 +0000)]
ampiCC is now generated by ampiCC.in by configure

12 years agoadd using namespace topo fix the gnu 3.2 on sun machine
Gengbin Zheng [Fri, 4 Sep 2009 21:08:35 +0000 (21:08 +0000)]
add using namespace topo fix the gnu 3.2 on sun machine

12 years agoAdded new topology-aware scheme for multicasts.
Jonathan Lifflander [Thu, 3 Sep 2009 19:09:30 +0000 (19:09 +0000)]
Added new topology-aware scheme for multicasts.

12 years agoCleaning up the CMK_BLUEGENEP usages in the new conditionally compiled file.
Isaac Dooley [Thu, 3 Sep 2009 17:32:12 +0000 (17:32 +0000)]
Cleaning up the CMK_BLUEGENEP usages in the new conditionally compiled file.

12 years agoFixing makefiles to deal with Bluegene/P specific file (accesses UPC
Isaac Dooley [Thu, 3 Sep 2009 16:42:29 +0000 (16:42 +0000)]
Fixing makefiles to deal with Bluegene/P specific file (accesses UPC
performance counters) that must be compiled with g++.

12 years agoadded broadcast/multicast to the CCS section
Filippo Gioachin [Thu, 3 Sep 2009 01:08:13 +0000 (01:08 +0000)]
added broadcast/multicast to the CCS section

12 years agoAdding a new comlib strategy: OneTimeTopoTreeMulticastStrategy
Ramprasad Venkataraman [Thu, 3 Sep 2009 00:36:33 +0000 (00:36 +0000)]
Adding a new comlib strategy: OneTimeTopoTreeMulticastStrategy

Topo-aware multicast spanning trees are constructed using the spanning tree builder. The process currently does a good bit of avoidable work at each generation of the multicast, but is a quick implementation to enable other experiments.

12 years agoRemoving unnecessary #warning line.
Isaac Dooley [Wed, 2 Sep 2009 23:55:10 +0000 (23:55 +0000)]
Removing unnecessary #warning line.

12 years agoMaking preprocessor defines work correctly. Including conv-mach.h to this
Isaac Dooley [Wed, 2 Sep 2009 23:54:08 +0000 (23:54 +0000)]
Making preprocessor defines work correctly. Including conv-mach.h to this
independent C file that must be compiled with g++.

12 years agoAdding some BGP UPC preliminary performance counter support for use in
Isaac Dooley [Wed, 2 Sep 2009 22:57:20 +0000 (22:57 +0000)]
Adding some BGP UPC preliminary performance counter support for use in
autotuning.

12 years agoAdding spanning tree construction strategies. These use network topology information...
Ramprasad Venkataraman [Wed, 2 Sep 2009 21:57:48 +0000 (21:57 +0000)]
Adding spanning tree construction strategies. These use network topology information when available to build topo-aware spanning trees.

12 years agoadd option to allow c++ style comments for xlc
Gengbin Zheng [Wed, 2 Sep 2009 14:59:59 +0000 (14:59 +0000)]
add option to allow c++ style comments for xlc

12 years agoremove c++ style comments
Gengbin Zheng [Wed, 2 Sep 2009 14:55:44 +0000 (14:55 +0000)]
remove c++ style comments

12 years agotypedef CmiReductionID
Filippo Gioachin [Tue, 1 Sep 2009 19:23:17 +0000 (19:23 +0000)]
typedef CmiReductionID

12 years agonew description of CmiReduce functions
Filippo Gioachin [Tue, 1 Sep 2009 19:21:36 +0000 (19:21 +0000)]
new description of CmiReduce functions

12 years agoSwitching to use SYNCLISTSENDANDFREE.
Isaac Dooley [Tue, 1 Sep 2009 18:51:16 +0000 (18:51 +0000)]
Switching to use  SYNCLISTSENDANDFREE.

12 years agoReverting change that causes crashes for one time strategies on net version. CmiListS...
Isaac Dooley [Tue, 1 Sep 2009 18:25:02 +0000 (18:25 +0000)]
Reverting change that causes crashes for one time strategies on net version. CmiListSyncSend is now used instead of CmiListSyncSendAndFree.

12 years agoDon't use C++ style comments in C code
Phil Miller [Tue, 1 Sep 2009 18:00:24 +0000 (18:00 +0000)]
Don't use C++ style comments in C code

12 years agofixed for VC++
Gengbin Zheng [Tue, 1 Sep 2009 15:22:09 +0000 (15:22 +0000)]
fixed for VC++

12 years agoFixed a few bugs on CmiReduce functions. Added new basic reduction routines based...
Filippo Gioachin [Tue, 1 Sep 2009 00:17:29 +0000 (00:17 +0000)]
Fixed a few bugs on CmiReduce functions. Added new basic reduction routines based on CCS multicast messages.

12 years agoBigsim emulator: benchmark timer at startup
Phil Miller [Fri, 28 Aug 2009 22:29:49 +0000 (22:29 +0000)]
Bigsim emulator: benchmark timer at startup

Replace the timercost config option and +bgtimercost command line
arguments with a microbenchmark of the BG_TIMER() function call that
those arguments are meant to provide compensation for.

12 years agoneed unistd.h
Gengbin Zheng [Fri, 28 Aug 2009 17:02:34 +0000 (17:02 +0000)]
need unistd.h

12 years agocan not use ChMessageInt_new if sock is not supported
Gengbin Zheng [Fri, 28 Aug 2009 15:48:48 +0000 (15:48 +0000)]
can not use ChMessageInt_new if sock is not supported

12 years agomake memory usage portable without popen
Gengbin Zheng [Fri, 28 Aug 2009 13:20:03 +0000 (13:20 +0000)]
make memory usage portable without popen

12 years agotest for popen
Gengbin Zheng [Fri, 28 Aug 2009 13:17:43 +0000 (13:17 +0000)]
test for popen

12 years agoone more fix for VC++
Gengbin Zheng [Fri, 28 Aug 2009 02:25:43 +0000 (02:25 +0000)]
one more fix for VC++

12 years agouse autoconf's test result for mallinfo.
Gengbin Zheng [Fri, 28 Aug 2009 02:04:23 +0000 (02:04 +0000)]
use autoconf's test result for mallinfo.
fixed for VC++

12 years agotest mallinfo()
Gengbin Zheng [Fri, 28 Aug 2009 02:03:51 +0000 (02:03 +0000)]
test mallinfo()

12 years agouse the result of autoconf for getting memory usage
Gengbin Zheng [Fri, 28 Aug 2009 01:21:23 +0000 (01:21 +0000)]
use the result of autoconf for getting memory usage

12 years agoDon't check pointers for NULL before deleting them
Phil Miller [Thu, 27 Aug 2009 23:23:21 +0000 (23:23 +0000)]
Don't check pointers for NULL before deleting them

Per the C++ FAQ-Lite, this is pointless and potentially harmful:
http://www.parashift.com/c++-faq-lite/freestore-mgmt.html

12 years agoDon't condition `delete p' on `p != NULL'; it doesn't care
Phil Miller [Thu, 27 Aug 2009 22:41:29 +0000 (22:41 +0000)]
Don't condition `delete p' on `p != NULL'; it doesn't care

Per the C++ FAQ-Lite:
http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.8

Checking pointers for NULL before deleting them adds distraction,
overhead, and opportunity for errors. Thus, avoid this construct.

12 years agotest for existence of sbrk and mstats
Gengbin Zheng [Thu, 27 Aug 2009 20:58:52 +0000 (20:58 +0000)]
test for existence of sbrk and mstats

12 years agoPort the general way of getting memory usage information from NAMD into Charm++ when...
Chao Mei [Thu, 27 Aug 2009 20:09:39 +0000 (20:09 +0000)]
Port the general way of getting memory usage information from NAMD into Charm++ when GNU_MEMORY is not used.

12 years agoInserted few comments in the code.
Esteban Meneses [Thu, 27 Aug 2009 15:56:24 +0000 (15:56 +0000)]
Inserted few comments in the code.

12 years agofixed a silly bug (compiler bug?) that treated a commented line as if's else branch.
Gengbin Zheng [Thu, 27 Aug 2009 13:51:45 +0000 (13:51 +0000)]
fixed a silly bug (compiler bug?) that treated a commented line as if's else branch.
also has a lot of cleanup.

12 years agominor cleanup
Gengbin Zheng [Thu, 27 Aug 2009 13:50:10 +0000 (13:50 +0000)]
minor cleanup

12 years agoFixing performance problems with OneTimeMulticast algorithms.
Isaac Dooley [Wed, 26 Aug 2009 22:30:20 +0000 (22:30 +0000)]
Fixing performance problems with OneTimeMulticast algorithms.

12 years agouse slightly better version of quickthreads on bgp (generic-light)
Gengbin Zheng [Wed, 26 Aug 2009 20:28:01 +0000 (20:28 +0000)]
use slightly better version of quickthreads on bgp (generic-light)

12 years agoIncluded basic support for group message logging.
Esteban Meneses [Wed, 26 Aug 2009 20:20:12 +0000 (20:20 +0000)]
Included basic support for group message logging.

12 years agocomm stats collection in array location manager calls idx2LDObjid in its argument...
Gengbin Zheng [Wed, 26 Aug 2009 18:55:26 +0000 (18:55 +0000)]
comm stats collection in array location manager calls idx2LDObjid in its argument (which is expensive, e.g. about 2us on BG/P). Even if comm stats is actually not on for example when lb module is not even linked in, one has to pay the overhead of calling idx2LDObjid().
eliminated this by moving the guard (that comm stats collection is on) up to location manager.

12 years agoadded a new function CollectingCommStats() which returns true when comm stats collect...
Gengbin Zheng [Wed, 26 Aug 2009 18:52:05 +0000 (18:52 +0000)]
added a new function CollectingCommStats() which returns true when comm stats collection is actually happening.

12 years agotstop param
Pritish Jetley [Wed, 26 Aug 2009 18:11:41 +0000 (18:11 +0000)]
tstop param

12 years agofinal version
Pritish Jetley [Wed, 26 Aug 2009 16:50:21 +0000 (16:50 +0000)]
final version

12 years agocharmrun now can be called from job script for multiple runs
Gengbin Zheng [Wed, 26 Aug 2009 15:54:59 +0000 (15:54 +0000)]
charmrun now can be called from job script for multiple runs

12 years agokill charmrun if jacobi.iso hangs. (this does not necessarily have to work on all...
Gengbin Zheng [Mon, 24 Aug 2009 19:20:55 +0000 (19:20 +0000)]
kill charmrun if jacobi.iso hangs. (this does not necessarily have to work on all platforms)

12 years agofixed for uth when ccs is not supported
Gengbin Zheng [Mon, 24 Aug 2009 15:41:43 +0000 (15:41 +0000)]
fixed for uth when ccs is not supported

12 years agofixed for VC++
Gengbin Zheng [Mon, 24 Aug 2009 15:21:33 +0000 (15:21 +0000)]
fixed for VC++

12 years agoa dummy CmiPushPE to fix the link error. It looks like CmiPushPE was missing on vmi...
Gengbin Zheng [Mon, 24 Aug 2009 15:19:01 +0000 (15:19 +0000)]
a dummy CmiPushPE to fix the link error. It looks like CmiPushPE was missing on vmi layer, and now is required by recent changes to exist on every machine layer

12 years agofixed VC++ errors
Gengbin Zheng [Sun, 23 Aug 2009 03:36:02 +0000 (03:36 +0000)]
fixed VC++ errors

12 years agomake killpe portable to machines when kill and getpid are missing on a platform
Gengbin Zheng [Sun, 23 Aug 2009 03:34:03 +0000 (03:34 +0000)]
make killpe portable to machines when kill and getpid are missing on a platform

12 years agofix for VC++
Gengbin Zheng [Sun, 23 Aug 2009 03:28:13 +0000 (03:28 +0000)]
fix for VC++

12 years agofixed VC++ errors
Gengbin Zheng [Sun, 23 Aug 2009 03:24:59 +0000 (03:24 +0000)]
fixed VC++ errors

12 years agofixed syntax errors for VC++
Gengbin Zheng [Sun, 23 Aug 2009 03:23:19 +0000 (03:23 +0000)]
fixed syntax errors for VC++

12 years agofix for machines without CCS
Filippo Gioachin [Fri, 21 Aug 2009 23:03:10 +0000 (23:03 +0000)]
fix for machines without CCS

12 years agocomment style
Filippo Gioachin [Fri, 21 Aug 2009 23:02:56 +0000 (23:02 +0000)]
comment style

12 years agomaking CmiPushPE globally available
Filippo Gioachin [Fri, 21 Aug 2009 23:01:14 +0000 (23:01 +0000)]
making CmiPushPE globally available

12 years agoFixed a bug with a comment and a macro.
Esteban Meneses [Fri, 21 Aug 2009 19:41:35 +0000 (19:41 +0000)]
Fixed a bug with a comment and a macro.

12 years agousing extended header
Filippo Gioachin [Fri, 21 Aug 2009 00:52:57 +0000 (00:52 +0000)]
using extended header

12 years agoChanging CMK_MSG_HEADER_BASIC to be identical to CMK_MSG_HEADER_EXT.
Filippo Gioachin [Fri, 21 Aug 2009 00:47:32 +0000 (00:47 +0000)]
Changing CMK_MSG_HEADER_BASIC to be identical to CMK_MSG_HEADER_EXT.
The reasons behind this change:
- net is the only machine layer which does not define them identically
- we are saving 4 bytes on headers in pure converse programs
- it is an unnecessary complication
- it is not even 16 bytes aligned

12 years agoupdate signature of merge functions
Filippo Gioachin [Thu, 20 Aug 2009 23:56:45 +0000 (23:56 +0000)]
update signature of merge functions

12 years agoAdded a new field to the converse header. This is used for Converse reductions. ...
Filippo Gioachin [Thu, 20 Aug 2009 23:55:41 +0000 (23:55 +0000)]
Added a new field to the converse header. This is used for Converse reductions. (before I tried to use the "root" field, but apparently this is not possible at least in MPI)

12 years agoprint stack trace in MPI layer when a signal kills the program
Filippo Gioachin [Thu, 20 Aug 2009 23:52:01 +0000 (23:52 +0000)]
print stack trace in MPI layer when a signal kills the program

12 years agomissing include
Filippo Gioachin [Thu, 20 Aug 2009 23:49:32 +0000 (23:49 +0000)]
missing include

12 years agoFixed wrong call
Filippo Gioachin [Thu, 20 Aug 2009 22:46:04 +0000 (22:46 +0000)]
Fixed wrong call

12 years ago*** empty log message ***
Filippo Gioachin [Thu, 20 Aug 2009 01:54:05 +0000 (01:54 +0000)]
*** empty log message ***