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

12 years agoUnified the file to support four different builds, with all the combinations of on...
Filippo Gioachin [Thu, 20 Aug 2009 01:52:42 +0000 (01:52 +0000)]
Unified the file to support four different builds, with all the combinations of on/off of the two compile time flags CMK_SEPARATE_SLOT and CPD_USE_MMAP.

12 years agoChanged CCS to support Converse-level broadcasts and multicasts (i.e same handler...
Filippo Gioachin [Thu, 20 Aug 2009 01:51:29 +0000 (01:51 +0000)]
Changed CCS to support Converse-level broadcasts and multicasts (i.e same handler executed on multiple processors). A function can be set by the application to decide how the replies from the various processors ought to be merged. The reduction to merge all the replies is performed by the system, and the user only has to CcsReply in every processor. As a consequence, the CcsDelayedReply data structure has also changed.
CpdDebug now uses the new CCS broadcast to reply to queries.
Changed how notifications are sent to CharmDebug: a new generic function "CpdNotify" is introduced.
Enabled "EmergencyExit" on net and mpi layers. This function is called whenever CmiAbort or a signal is received. In the MPI layer, signals are now registered, and the shutdown process has a barrier to ensure all processors have a chance of calling EmergencyExit.

12 years agoAdded function to kill a processor with signal 9, signature: "ccs_killpe"
Filippo Gioachin [Thu, 20 Aug 2009 01:43:43 +0000 (01:43 +0000)]
Added function to kill a processor with signal 9, signature: "ccs_killpe"

12 years agoNew implementation of CmiReduce routine (and the like).
Filippo Gioachin [Thu, 20 Aug 2009 01:41:04 +0000 (01:41 +0000)]
New implementation of CmiReduce routine (and the like).
Now they support multiple simultaneous reductions. They also have forms form subsets of processors involved in the reduction process.

12 years agobuilding a couple more versions of memory-charmdebug
Filippo Gioachin [Thu, 20 Aug 2009 01:37:59 +0000 (01:37 +0000)]
building a couple more versions of memory-charmdebug

12 years agoDeleted signal handler: this functionality is now part of EmergencyExit
Filippo Gioachin [Thu, 20 Aug 2009 01:37:28 +0000 (01:37 +0000)]
Deleted signal handler: this functionality is now part of EmergencyExit

12 years agoMore information pupped for messages to the debugger
Filippo Gioachin [Thu, 20 Aug 2009 01:36:59 +0000 (01:36 +0000)]
More information pupped for messages to the debugger

12 years agoAdded EmergencyExit function, to be called upon CmiAbort or signal received
Filippo Gioachin [Thu, 20 Aug 2009 01:35:31 +0000 (01:35 +0000)]
Added EmergencyExit function, to be called upon CmiAbort or signal received

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

12 years agoenable the tracing of nested begin/end of entry methods.
Filippo Gioachin [Thu, 20 Aug 2009 01:09:41 +0000 (01:09 +0000)]
enable the tracing of nested begin/end of entry methods.
This solution does not take care of message dependencies: if B is executed inside A, it records
begA, endA, begB, endB, begA, endA
(the second and fifth log entries are the addition)

12 years agoadded more comments
Gengbin Zheng [Wed, 19 Aug 2009 16:59:08 +0000 (16:59 +0000)]
added more comments

12 years agoa simple change to make it SMP node aware
Gengbin Zheng [Wed, 19 Aug 2009 16:52:53 +0000 (16:52 +0000)]
a simple change to make it SMP node aware

12 years agounistd.h does not exist on windows
Gengbin Zheng [Wed, 19 Aug 2009 13:18:09 +0000 (13:18 +0000)]
unistd.h does not exist on windows

12 years agotest sleep call
Gengbin Zheng [Wed, 19 Aug 2009 13:16:41 +0000 (13:16 +0000)]
test sleep call

12 years agorecognize some error from qsub to avoid qsub infinitely
Gengbin Zheng [Wed, 19 Aug 2009 02:32:05 +0000 (02:32 +0000)]
recognize some error from qsub to avoid qsub infinitely

12 years agominor
Gengbin Zheng [Tue, 18 Aug 2009 21:10:54 +0000 (21:10 +0000)]
minor

12 years ago#include <unistd.h> for sleep
Gengbin Zheng [Tue, 18 Aug 2009 21:06:47 +0000 (21:06 +0000)]
#include <unistd.h> for sleep

12 years agominor change
Gengbin Zheng [Tue, 18 Aug 2009 21:03:52 +0000 (21:03 +0000)]
minor change

12 years agouse ampicxx
Gengbin Zheng [Tue, 18 Aug 2009 20:59:29 +0000 (20:59 +0000)]
use ampicxx