charm.git
12 years agoTest: Move to a name that won't cause problems
Phil Miller [Tue, 29 Sep 2009 15:13:36 +0000 (15:13 +0000)]
Test: Move to a name that won't cause problems

12 years agoTest: Queue CqsMaxLength and CqsEnqueueFifo
Phil Miller [Tue, 29 Sep 2009 15:12:11 +0000 (15:12 +0000)]
Test: Queue CqsMaxLength and CqsEnqueueFifo

12 years agochange CMK_SHARED_VARS_NT_THREADS to CMK_SHARED_VARS_UNAVAILABLE to avoid a separate...
Gengbin Zheng [Tue, 29 Sep 2009 05:53:05 +0000 (05:53 +0000)]
change CMK_SHARED_VARS_NT_THREADS to CMK_SHARED_VARS_UNAVAILABLE to avoid a separate comm thread for non-smp.

12 years agochange from CMK_SHARED_VARS_NT_THREADS variables CMK_SHARED_VARS_UNAVAILABLE.
Gengbin Zheng [Tue, 29 Sep 2009 05:47:59 +0000 (05:47 +0000)]
change from CMK_SHARED_VARS_NT_THREADS variables CMK_SHARED_VARS_UNAVAILABLE.
Using CMK_SHARED_VARS_NT_THREADS actually creates comm thread, which is unnecessary.

12 years agoavoid using "max" as variable name since it may be defined by compiler as macro and...
Gengbin Zheng [Tue, 29 Sep 2009 04:13:17 +0000 (04:13 +0000)]
avoid using "max" as variable name since it may be defined by compiler as macro and cause compilation errors (on VC++)

12 years agoavoid use "max" as a variable name because it may be defined by compiler already.
Gengbin Zheng [Tue, 29 Sep 2009 04:08:56 +0000 (04:08 +0000)]
avoid use "max" as a variable name because it may be defined by compiler already.

12 years agodisable immediate msg since it is not working right now, will fix later.
Gengbin Zheng [Tue, 29 Sep 2009 02:39:11 +0000 (02:39 +0000)]
disable immediate msg since it is not working right now, will fix later.

12 years agosupport calling mpiexec when mpirun is not found (which is the case for MS MPI)
Gengbin Zheng [Tue, 29 Sep 2009 01:14:43 +0000 (01:14 +0000)]
support calling mpiexec when mpirun is not found (which is the case for MS MPI)

12 years agodealing with SUA (windows services for UNIX) where '.exe' needs to be appended like...
Gengbin Zheng [Mon, 28 Sep 2009 03:20:30 +0000 (03:20 +0000)]
dealing with SUA (windows services for UNIX) where '.exe' needs to be appended like cygwin

12 years agomake "make" happy by replacing $^ by $(LIBTRACE_CONTROLPOINTS)
Gengbin Zheng [Mon, 28 Sep 2009 03:13:42 +0000 (03:13 +0000)]
make "make" happy by replacing $^ by $(LIBTRACE_CONTROLPOINTS)

12 years agoreduce warning level
Gengbin Zheng [Sun, 27 Sep 2009 19:51:11 +0000 (19:51 +0000)]
reduce warning level

12 years agoa few changes so that it behaves more like a normal compiler, and can be used in...
Gengbin Zheng [Sun, 27 Sep 2009 19:33:07 +0000 (19:33 +0000)]
a few changes so that it behaves more like a normal compiler, and can be used in fftw's configure.

12 years agoallow unix2nt_ar <*.a> with only one argument (null operation)
Gengbin Zheng [Sun, 27 Sep 2009 15:39:27 +0000 (15:39 +0000)]
allow unix2nt_ar <*.a> with only one argument (null operation)

12 years agoMS MPI with VC++ 64 bit
Gengbin Zheng [Sun, 27 Sep 2009 03:17:55 +0000 (03:17 +0000)]
MS MPI with VC++ 64 bit

12 years agoInitialize isMemCritical to be CmiFalse if the entry method is not specified to be...
Chao Mei [Sat, 26 Sep 2009 04:28:02 +0000 (04:28 +0000)]
Initialize isMemCritical to be CmiFalse if the entry method is not specified to be memcritical because isMemCritical will not be set to CmiFalse by default if not initialized.

12 years agofixed for VC++
Gengbin Zheng [Sat, 26 Sep 2009 02:15:29 +0000 (02:15 +0000)]
fixed for VC++

12 years agoto build MS MPI with VC++
Gengbin Zheng [Sat, 26 Sep 2009 02:14:10 +0000 (02:14 +0000)]
to build MS MPI with VC++

12 years agofixes to compile MPI with VC++
Gengbin Zheng [Sat, 26 Sep 2009 02:13:13 +0000 (02:13 +0000)]
fixes to compile MPI with VC++

12 years agogetpid is compiled as c, not c++
Filippo Gioachin [Sat, 26 Sep 2009 00:15:06 +0000 (00:15 +0000)]
getpid is compiled as c, not c++

12 years agohow has this worked ever?
Filippo Gioachin [Sat, 26 Sep 2009 00:03:12 +0000 (00:03 +0000)]
how has this worked ever?

12 years agoprocess main chare message is now changed to ignore the objPtr in message evenlope...
Gengbin Zheng [Fri, 25 Sep 2009 23:49:15 +0000 (23:49 +0000)]
process main chare message is now changed to ignore the objPtr in message evenlope. It always looks up chare table, and mainchare table to get the update-to-date obj.

12 years agoreplace isomalloc_push and pop by new function CmiDisableIsomalloc()
Gengbin Zheng [Fri, 25 Sep 2009 13:03:30 +0000 (13:03 +0000)]
replace isomalloc_push and pop by new function CmiDisableIsomalloc()

12 years agofortran interface for cmienableisomalloc and cmidisableisomalloc
Gengbin Zheng [Fri, 25 Sep 2009 06:02:59 +0000 (06:02 +0000)]
fortran interface for cmienableisomalloc and cmidisableisomalloc

12 years agomake two function CmiEnableIsomalloc and CmiDisableIsomalloc available to users.Note...
Gengbin Zheng [Fri, 25 Sep 2009 05:56:41 +0000 (05:56 +0000)]
make two function CmiEnableIsomalloc and CmiDisableIsomalloc available to users.Note that these two functions must be used in immeidate pair (no nesting, break point) with disable first, and enable.

12 years agoisomalloc: delete some unused variables
Phil Miller [Thu, 24 Sep 2009 20:12:50 +0000 (20:12 +0000)]
isomalloc: delete some unused variables

12 years agochanged intptr_t to self defined CmiIntPtr in converse.h.
Gengbin Zheng [Thu, 24 Sep 2009 19:23:49 +0000 (19:23 +0000)]
changed intptr_t to self defined CmiIntPtr in converse.h.
changed the way "reserved" and "bytes" in isomallocAlign() call are specified.

12 years agoa new type CmiIntPtr that is of equal length to a pointer.
Gengbin Zheng [Thu, 24 Sep 2009 19:22:26 +0000 (19:22 +0000)]
a new type CmiIntPtr that is of equal length to a pointer.

12 years agoisomalloc: cleanup aligned allocation function
Phil Miller [Thu, 24 Sep 2009 17:21:16 +0000 (17:21 +0000)]
isomalloc: cleanup aligned allocation function

- Use an intptr_t in place of char*, eliminating the need for casts to
  do arithmetic. Compile tested intptr_t on gcc, xlc 9, pgcc 9, icc
  10, and Solaris cc.
- Eliminate the unused void* mem.
- Mark potential issue with handling of non-zero `reserved' argument.

12 years agoin memalign, call fallback memalign instead of malloc when isomalloc is not activated.
Gengbin Zheng [Thu, 24 Sep 2009 17:08:35 +0000 (17:08 +0000)]
in memalign, call fallback memalign instead of malloc when isomalloc is not activated.

12 years agoimplemented new CmiIsomallocBlockListMallocAlign that used by memory isomalloc to...
Gengbin Zheng [Thu, 24 Sep 2009 16:54:20 +0000 (16:54 +0000)]
implemented new CmiIsomallocBlockListMallocAlign that used by memory isomalloc to allocate a block from a blockList with alighment enforced.

implemented a real memalign that respects alignment argument.

12 years agoibverbs: remove stray line in comment
Phil Miller [Thu, 24 Sep 2009 16:53:57 +0000 (16:53 +0000)]
ibverbs: remove stray line in comment

12 years agoa bug fix to isomallocAlign, which did not restore the block header after alignment.
Gengbin Zheng [Thu, 24 Sep 2009 16:39:49 +0000 (16:39 +0000)]
a bug fix to isomallocAlign, which did not restore the block header after alignment.

12 years agovoid * to char * to allow proper pointer operation
Gengbin Zheng [Thu, 24 Sep 2009 13:04:10 +0000 (13:04 +0000)]
void * to char * to allow proper pointer operation

12 years agoAdded accessors for modifying the fields of BgMsgID for log transformation
Chee Wai Lee [Thu, 24 Sep 2009 07:45:04 +0000 (07:45 +0000)]
Added accessors for modifying the fields of BgMsgID for log transformation
purposes.

12 years agoa new function CmiIsomallocAlign(align, size)
Gengbin Zheng [Thu, 24 Sep 2009 02:56:48 +0000 (02:56 +0000)]
a new function CmiIsomallocAlign(align, size)

12 years agoadding a new variable that records the length of traceRoot
Filippo Gioachin [Wed, 23 Sep 2009 23:13:45 +0000 (23:13 +0000)]
adding a new variable that records the length of traceRoot

12 years agoadded locMgrWB to pup routine
Filippo Gioachin [Wed, 23 Sep 2009 22:31:53 +0000 (22:31 +0000)]
added locMgrWB to pup routine

12 years agounregistering signal handler for SIGINT before MPI_Finalize (apparently MPI/VMI sends...
Filippo Gioachin [Wed, 23 Sep 2009 02:21:12 +0000 (02:21 +0000)]
unregistering signal handler for SIGINT before MPI_Finalize (apparently MPI/VMI sends itself a signal...)

12 years agoSeparated crc32 into a new object file during compilation
Filippo Gioachin [Tue, 22 Sep 2009 23:41:36 +0000 (23:41 +0000)]
Separated crc32 into a new object file during compilation

12 years agonew functions available to CCS clients for broadcasting and multicasting requests
Filippo Gioachin [Tue, 22 Sep 2009 23:30:45 +0000 (23:30 +0000)]
new functions available to CCS clients for broadcasting and multicasting requests

12 years agoinitializing function pointers to NULL and checking them before use
Filippo Gioachin [Tue, 22 Sep 2009 23:29:42 +0000 (23:29 +0000)]
initializing function pointers to NULL and checking them before use

12 years agoCore: Add mechanisms to test for address space randomization
Phil Miller [Tue, 22 Sep 2009 20:11:08 +0000 (20:11 +0000)]
Core: Add mechanisms to test for address space randomization

Take advantage of Linux's personality() syscall facility to see if
address space randomization was disabled before the parallel program
was launched. If it was, then Isomalloc doesn't need to act like it is
enabled.

12 years agoTests: Refine queue test
Phil Miller [Tue, 22 Sep 2009 17:33:58 +0000 (17:33 +0000)]
Tests: Refine queue test

12 years agoTests: Add simple tests for converse message queue
Phil Miller [Tue, 22 Sep 2009 16:18:02 +0000 (16:18 +0000)]
Tests: Add simple tests for converse message queue

12 years agofixed a bug in BgSetEntryName that could write a NULL pointer when genTimeLog is...
Gengbin Zheng [Tue, 22 Sep 2009 14:55:36 +0000 (14:55 +0000)]
fixed a bug in BgSetEntryName that could write a NULL pointer when genTimeLog is off.

12 years agomoved classes in the translator into namespace "xi"
Filippo Gioachin [Tue, 22 Sep 2009 02:01:18 +0000 (02:01 +0000)]
moved classes in the translator into namespace "xi"

12 years agoMade use of new ability in the bigsim emulator to tag a broadcast event with
Chee Wai Lee [Tue, 22 Sep 2009 01:16:39 +0000 (01:16 +0000)]
Made use of new ability in the bigsim emulator to tag a broadcast event with
the label "start-broadcast".

12 years agoAdded ability to set a BG log event's name.
Chee Wai Lee [Tue, 22 Sep 2009 01:15:44 +0000 (01:15 +0000)]
Added ability to set a BG log event's name.

12 years ago new option ++no-va-randomization to call setarch to disable randomization of address...
Gengbin Zheng [Mon, 21 Sep 2009 18:51:22 +0000 (18:51 +0000)]
 new option ++no-va-randomization to call setarch to disable randomization of address space when firing node program.

12 years agoAdded a new attribute for the entry method. The entry method with such attribute...
Chao Mei [Fri, 18 Sep 2009 22:42:42 +0000 (22:42 +0000)]
Added a new attribute for the entry method. The entry method with such attribute could be rescheduled when memory usage needs to be adjusted

12 years agoChanges for creating a new type of entry method which could be rescheduled when memor...
Chao Mei [Fri, 18 Sep 2009 22:40:04 +0000 (22:40 +0000)]
Changes for creating a new type of entry method which could be rescheduled when memory usage needs to be adjusted

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