charm.git
7 years agoMerge branch 'charm' of charmgit:charm into charm
YanhuaSun [Mon, 28 Oct 2013 21:46:52 +0000 (16:46 -0500)]
Merge branch 'charm' of charmgit:charm into charm

7 years agominor fix for log ambiguous call
YanhuaSun [Mon, 28 Oct 2013 21:46:43 +0000 (16:46 -0500)]
minor fix for log ambiguous call

7 years agoverbs: cleanup, remove unnecessary checks
Bilge Acun [Mon, 28 Oct 2013 19:34:31 +0000 (14:34 -0500)]
verbs: cleanup, remove unnecessary checks

7 years agoverbs: porting netlrts bug fixes to verbs and handling of the messages
Bilge Acun [Mon, 28 Oct 2013 18:57:38 +0000 (13:57 -0500)]
verbs: porting netlrts bug fixes to verbs and handling of the messages
are now done by the common code.

7 years agominor
YanhuaSun [Mon, 28 Oct 2013 17:30:41 +0000 (12:30 -0500)]
minor

7 years agorerun make depends to fix hilbert
YanhuaSun [Mon, 28 Oct 2013 17:28:39 +0000 (12:28 -0500)]
rerun make depends to fix hilbert

7 years agobuild: fix make depends for NDMeshstreamer
Nikhil Jain [Mon, 28 Oct 2013 17:14:19 +0000 (12:14 -0500)]
build: fix make depends for NDMeshstreamer

7 years agofix g++ compiling hilbert.C
YanhuaSun [Mon, 28 Oct 2013 17:09:46 +0000 (12:09 -0500)]
fix g++ compiling hilbert.C

7 years agoadd Hilbert filling curve blocked map
YanhuaSun [Mon, 28 Oct 2013 05:25:50 +0000 (00:25 -0500)]
add Hilbert filling curve blocked map

7 years agoadd Hilbert_to_int function; separate hilbert related from partition
YanhuaSun [Mon, 28 Oct 2013 03:28:36 +0000 (22:28 -0500)]
add Hilbert_to_int function; separate hilbert related from partition

7 years agofix pack_index for hilbert filling curve
YanhuaSun [Mon, 28 Oct 2013 03:11:31 +0000 (22:11 -0500)]
fix pack_index for hilbert filling curve

7 years agoAdding Nikhil as an author for the partition code and adding link to the appropriate...
Harshitha [Sun, 27 Oct 2013 21:14:42 +0000 (16:14 -0500)]
Adding Nikhil as an author for the partition code and adding link to the appropriate source.

7 years agoBug 249: prevent charmxi from crashing when there is an unnamed parameter
Bilge Acun [Sun, 27 Oct 2013 20:40:56 +0000 (15:40 -0500)]
Bug 249: prevent charmxi from crashing when there is an unnamed parameter
in the when construct. Create a dummy parameter name for the unnamed parameter
and don't propagate the parameter to the child constructs because it will not be
used

7 years agoBug 249: prevent charmxi from crashing when there is an unnamed parameter
Bilge Acun [Sun, 27 Oct 2013 20:40:56 +0000 (15:40 -0500)]
Bug 249: prevent charmxi from crashing when there is an unnamed parameter
in the when construct. Create a dummy parameter name for the unnamed parameter
and don't propagate the parameter to the child constructs because it will not be
used

7 years agoRevert "Bug #249: ignore the parameter if it's not named in when sturucture"
Bilge Acun [Sun, 27 Oct 2013 20:38:41 +0000 (15:38 -0500)]
Revert "Bug #249: ignore the parameter if it's not named in when sturucture"

This reverts commit d4c0bdb35a23a98bd75ab81298a696efe6dcdeb0.

7 years agonetlrts: bug fixes
Nikhil Jain [Fri, 25 Oct 2013 18:25:10 +0000 (13:25 -0500)]
netlrts: bug fixes

netlrts: bug fix that caused hang due to double locking request

partition: bug fix in inter partition communication

7 years agoampi: Add MPI_Get_version
Michael Robson [Fri, 25 Oct 2013 17:25:38 +0000 (12:25 -0500)]
ampi: Add MPI_Get_version

7 years agoMakefile: update Make.depends for NDMesh Streamer -TODO: connect it to global make...
Nikhil Jain [Fri, 25 Oct 2013 19:37:12 +0000 (14:37 -0500)]
Makefile: update Make.depends for NDMesh Streamer -TODO: connect it to global make depends

7 years agoDelete disused previous Charisma implementation
Phil Miller [Fri, 25 Oct 2013 18:10:04 +0000 (11:10 -0700)]
Delete disused previous Charisma implementation

7 years ago#135: Eliminate pointless #define CMK_OPTIMIZE
Phil Miller [Fri, 25 Oct 2013 04:37:21 +0000 (21:37 -0700)]
#135: Eliminate pointless #define CMK_OPTIMIZE

7 years agochange to CMK_ERROR_CHECKING
Jonathan Lifflander [Fri, 25 Oct 2013 03:45:48 +0000 (22:45 -0500)]
change to CMK_ERROR_CHECKING

7 years agoverbs: get rid of ibvers flag when building charm because it's the default mode
Bilge Acun [Thu, 24 Oct 2013 19:43:40 +0000 (14:43 -0500)]
verbs: get rid of ibvers flag when building charm because it's the default mode
    previously it needs to built with "build charm++ verbs-linux-x86_64 ibverbs" command
    now it only builds with "build charm++ verbs-linux-x86_64"

7 years agonetlrts: bug fixes to make the layer lrts and partition compliant
Nikhil Jain [Wed, 23 Oct 2013 19:31:05 +0000 (14:31 -0500)]
netlrts: bug fixes to make the layer lrts and partition compliant
netlrts: bug fixes to handle multiple partitions correctly

verbs: replicate the changes to netlrts machine.c

netlrts: further replacements of local with global variables

netlrts: bug fix - use global node number

netlrts: C99 declaration limit

7 years agouse #if instead of #ifdef
Jonathan Lifflander [Fri, 25 Oct 2013 02:29:23 +0000 (21:29 -0500)]
use #if instead of #ifdef

7 years agofix conditions
Jonathan Lifflander [Fri, 25 Oct 2013 01:19:00 +0000 (20:19 -0500)]
fix conditions

7 years agoremove CMK_OPTIMIZE, use more specific flag instead
Jonathan Lifflander [Fri, 25 Oct 2013 00:23:40 +0000 (19:23 -0500)]
remove CMK_OPTIMIZE, use more specific flag instead

7 years agoExamples makefiles: delete junk OPTS assignments
Phil Miller [Fri, 25 Oct 2013 00:15:55 +0000 (17:15 -0700)]
Examples makefiles: delete junk OPTS assignments

7 years agoexample makefile: Drop random options from commented OPTS assignment
Phil Miller [Fri, 25 Oct 2013 00:10:54 +0000 (17:10 -0700)]
example makefile: Drop random options from commented OPTS assignment

7 years agoRPM spec: update default architecture and build options
Phil Miller [Fri, 25 Oct 2013 00:09:07 +0000 (17:09 -0700)]
RPM spec: update default architecture and build options

7 years agoRPM spec: correct egregious mis-statement of copyright license
Phil Miller [Fri, 25 Oct 2013 00:08:44 +0000 (17:08 -0700)]
RPM spec: correct egregious mis-statement of copyright license

7 years agoREADME: Replace #define options with --enable-FOO options
Phil Miller [Fri, 25 Oct 2013 00:06:13 +0000 (17:06 -0700)]
README: Replace #define options with --enable-FOO options

7 years agoREADME: Modernize some machine examples
Phil Miller [Fri, 25 Oct 2013 00:05:58 +0000 (17:05 -0700)]
README: Modernize some machine examples

7 years agoREADME: Update copyright date
Phil Miller [Fri, 25 Oct 2013 00:05:34 +0000 (17:05 -0700)]
README: Update copyright date

7 years ago#314 - ampi: Don't disable isomalloc in AMPI_{Alloc,Free}_mem
Phil Miller [Thu, 24 Oct 2013 23:11:57 +0000 (16:11 -0700)]
#314 - ampi: Don't disable isomalloc in AMPI_{Alloc,Free}_mem

7 years agobuild: change build option to be plural to be consistent with hugepages
Nikhil Jain [Thu, 24 Oct 2013 21:45:43 +0000 (16:45 -0500)]
build: change build option to be plural to be consistent with hugepages

7 years agocleanup: drop unnecessary echo in the script
Nikhil Jain [Thu, 24 Oct 2013 21:43:45 +0000 (16:43 -0500)]
cleanup: drop unnecessary echo in the script

7 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Thu, 24 Oct 2013 21:39:40 +0000 (14:39 -0700)]
Merge branch 'charm' of charmgit:charm into charm

7 years agofix hugepage default bug
Yanhua Sun [Thu, 24 Oct 2013 21:39:30 +0000 (14:39 -0700)]
fix hugepage default bug

7 years agoBug #249: ignore the parameter if it's not named in when sturucture
Bilge Acun [Thu, 24 Oct 2013 21:26:47 +0000 (16:26 -0500)]
Bug #249: ignore the parameter if it's not named in when sturucture
previously it was crashing as it was trying to deference a NULL pointer
where the parameter does not have a name. A simple test case is also added.

7 years agomulticore-darwin-x86: specify 32-bit compilation
Phil Miller [Thu, 24 Oct 2013 20:42:32 +0000 (13:42 -0700)]
multicore-darwin-x86: specify 32-bit compilation

7 years agomake hugepage as default for uGNI
Yanhua Sun [Thu, 24 Oct 2013 01:49:36 +0000 (18:49 -0700)]
make hugepage as default for uGNI

7 years agoCharmrun: Fix autobuild failure on multicore-win32 related to cleanup
Abhishek Gupta [Wed, 23 Oct 2013 22:23:02 +0000 (17:23 -0500)]
Charmrun: Fix autobuild failure on multicore-win32 related to cleanup

7 years agoCharmrun: req_handle_abort does not retuen anything, so make it void
Abhishek Gupta [Wed, 23 Oct 2013 20:57:10 +0000 (15:57 -0500)]
Charmrun: req_handle_abort does not retuen anything, so make it void

7 years agoRemove commented out code from cklocation to cleanup.
Harshitha [Wed, 23 Oct 2013 20:26:39 +0000 (15:26 -0500)]
Remove commented out code from cklocation to cleanup.

7 years agoSuppressing two false positive cppcheck errors in tm_tree.c
Harshitha [Wed, 23 Oct 2013 20:23:21 +0000 (15:23 -0500)]
Suppressing two false positive cppcheck errors in tm_tree.c

7 years agoconvert !CMK_OPTIMIZE to CMK_ERROR_CHECKING
Eric Bohm [Wed, 23 Oct 2013 16:54:11 +0000 (11:54 -0500)]
convert !CMK_OPTIMIZE to CMK_ERROR_CHECKING

7 years agoconvert !CMK_OPTIMIZE to CMK_ERROR_CHECKING
Eric Bohm [Wed, 23 Oct 2013 16:44:03 +0000 (11:44 -0500)]
convert !CMK_OPTIMIZE to CMK_ERROR_CHECKING

7 years agoswitch !CMK_OPTIMIZE to CMK_ERROR_CHECKING
Eric Bohm [Wed, 23 Oct 2013 16:40:39 +0000 (11:40 -0500)]
switch !CMK_OPTIMIZE to CMK_ERROR_CHECKING

7 years agoconvert to use of CMK_ERROR_CHECKING
Eric Bohm [Wed, 23 Oct 2013 16:21:23 +0000 (11:21 -0500)]
convert to use of CMK_ERROR_CHECKING

7 years agotopomanager: add int specified for init_done
Nikhil Jain [Wed, 23 Oct 2013 15:25:37 +0000 (15:25 +0000)]
topomanager: add int specified for init_done

7 years agonetlrts: fix a bug in converse header, which may be the cause for all
Nikhil Jain [Wed, 23 Oct 2013 07:23:10 +0000 (02:23 -0500)]
netlrts: fix a bug in converse header, which may be the cause for all
the hangs noticed in SMP mode

7 years agonetlrts: bug fixes related to handleOneReceive function
Bilge Acun [Tue, 22 Oct 2013 23:11:26 +0000 (18:11 -0500)]
netlrts: bug fixes related to handleOneReceive function

7 years agotopomanager: give correct coordinate on BGQ when using partitions
Nikhil Jain [Mon, 14 Oct 2013 07:11:44 +0000 (07:11 +0000)]
topomanager: give correct coordinate on BGQ when using partitions

TopoManager: Makefile updates

7 years ago#7 charmxi: Suppress cppcheck memory leak warning, since NamedType keeps parentClassName
Phil Miller [Wed, 23 Oct 2013 04:02:36 +0000 (21:02 -0700)]
#7 charmxi: Suppress cppcheck memory leak warning, since NamedType keeps parentClassName

7 years agoIssue #7: Suppress cppcheck warning about leaking memory
Phil Miller [Wed, 23 Oct 2013 03:54:51 +0000 (20:54 -0700)]
Issue #7: Suppress cppcheck warning about leaking memory

We're returning an offset from the allocated memory, and can recover
the original address at deallocation. Cppcheck is just confused.

7 years agoIssue #7: Suppress cppcheck warning about uninitialized variables
Phil Miller [Wed, 23 Oct 2013 03:52:55 +0000 (20:52 -0700)]
Issue #7: Suppress cppcheck warning about uninitialized variables

By inspection, all allowed paths to the affected code actually do
initialize these fields. Some combination of two different functions
and various conditionals leading to them seems to have misled it.

7 years ago#135: Delete old (and done) TODO comment that referenced CMK_OPTIMIZE
Phil Miller [Wed, 23 Oct 2013 02:58:47 +0000 (19:58 -0700)]
#135: Delete old (and done) TODO comment that referenced CMK_OPTIMIZE

7 years ago#135: Drop really old dead error check, that may not have been applicable for a decade
Phil Miller [Wed, 23 Oct 2013 02:54:08 +0000 (19:54 -0700)]
#135: Drop really old dead error check, that may not have been applicable for a decade

7 years agopartition: handle cpu affinity with partitions
Nikhil Jain [Tue, 22 Oct 2013 21:16:00 +0000 (16:16 -0500)]
partition: handle cpu affinity with partitions

7 years agoDelete archaic 'CMK_USE_HP_MAIN_FIX' code from non-defunct builds
Phil Miller [Wed, 23 Oct 2013 02:21:18 +0000 (19:21 -0700)]
Delete archaic 'CMK_USE_HP_MAIN_FIX' code from non-defunct builds

7 years ago#135: Drop defunct CMK_OPTIMIZE-derived configuration
Phil Miller [Wed, 23 Oct 2013 02:09:40 +0000 (19:09 -0700)]
#135: Drop defunct CMK_OPTIMIZE-derived configuration

7 years agono need to make ephemeral NormalSlabArray given that it no
Eric Bohm [Tue, 22 Oct 2013 23:39:14 +0000 (18:39 -0500)]
no need to make ephemeral NormalSlabArray given that it no
longer has the side effect of making a comlib instance

7 years agocppcheck cleanup
Eric Bohm [Tue, 22 Oct 2013 23:38:27 +0000 (18:38 -0500)]
cppcheck cleanup

7 years agocppcheck cleanup, ignoring the false positives from UNPACK operations.
Eric Bohm [Tue, 22 Oct 2013 23:11:55 +0000 (18:11 -0500)]
cppcheck cleanup, ignoring the false positives from UNPACK operations.

7 years agoMerge branch 'charm' of charmgit:charm into charm
YanhuaSun [Tue, 22 Oct 2013 20:32:32 +0000 (15:32 -0500)]
Merge branch 'charm' of charmgit:charm into charm

7 years agominor
YanhuaSun [Tue, 22 Oct 2013 20:32:26 +0000 (15:32 -0500)]
minor

7 years agocell/cell_lib/rawToProl.cpp: Fix resource leak of fopen'd file by closing before...
Michael Robson [Tue, 22 Oct 2013 20:28:33 +0000 (15:28 -0500)]
cell/cell_lib/rawToProl.cpp: Fix resource leak of fopen'd file by closing before error return

7 years agoFix cppcheck errors in seed load balancer conv-ldb folder
Harshitha [Tue, 22 Oct 2013 19:59:57 +0000 (14:59 -0500)]
Fix cppcheck errors in seed load balancer conv-ldb folder

7 years agocppcheck fix in tracing
YanhuaSun [Tue, 22 Oct 2013 19:57:43 +0000 (14:57 -0500)]
cppcheck fix in tracing

7 years agoMerge branch 'charm' of charmgit:charm into charm
YanhuaSun [Tue, 22 Oct 2013 19:40:32 +0000 (14:40 -0500)]
Merge branch 'charm' of charmgit:charm into charm

7 years agocomment out unused function in gni
YanhuaSun [Tue, 22 Oct 2013 19:40:22 +0000 (14:40 -0500)]
comment out unused function in gni

7 years agocppcheck cleanup
Eric Bohm [Tue, 22 Oct 2013 19:26:20 +0000 (14:26 -0500)]
cppcheck cleanup

7 years agoRemoving a memory leak from tm_tree.c
Harshitha [Tue, 22 Oct 2013 17:13:26 +0000 (12:13 -0500)]
Removing a memory leak from tm_tree.c

7 years agopartition: bug fix to allow progress if there is one one PE in a partition, but
Nikhil Jain [Tue, 22 Oct 2013 15:59:52 +0000 (10:59 -0500)]
partition: bug fix to allow progress if there is one one PE in a partition, but
there are multiple partitions in the job

7 years agoPOSE: Include a human-authored header with proper include guards
Phil Miller [Tue, 22 Oct 2013 00:59:49 +0000 (17:59 -0700)]
POSE: Include a human-authored header with proper include guards

7 years agoIssue #7 - msa: Initialize variable to quiet a cppcheck warning
Phil Miller [Tue, 22 Oct 2013 00:05:28 +0000 (17:05 -0700)]
Issue #7 - msa: Initialize variable to quiet a cppcheck warning

7 years agocharmxi: Add a virtual destructor for SdagConstruct, since it has virtual methods
Phil Miller [Mon, 21 Oct 2013 22:27:10 +0000 (15:27 -0700)]
charmxi: Add a virtual destructor for SdagConstruct, since it has virtual methods

8 years agoIssue #293 - charmrun win32: const correctness in platform-specific code
Phil Miller [Mon, 21 Oct 2013 16:34:12 +0000 (09:34 -0700)]
Issue #293 - charmrun win32: const correctness in platform-specific code

8 years agoIssue #293 - charmrun: const-correctness on syncft and causalft builds
Phil Miller [Sun, 20 Oct 2013 18:21:22 +0000 (13:21 -0500)]
Issue #293 - charmrun: const-correctness on syncft and causalft builds

8 years agocharmrun daemon: const-correctness to quiet warnings
Phil Miller [Fri, 18 Oct 2013 20:56:19 +0000 (13:56 -0700)]
charmrun daemon: const-correctness to quiet warnings

8 years agoIssue #293 - charmrun: Improve const-correctness to only cast it away at exec* calls
Phil Miller [Fri, 18 Oct 2013 20:48:39 +0000 (13:48 -0700)]
Issue #293 - charmrun: Improve const-correctness to only cast it away at exec* calls

8 years agoMore const-correctness fixes for charmrun.
Nicolas Bock [Fri, 18 Oct 2013 16:34:00 +0000 (10:34 -0600)]
More const-correctness fixes for charmrun.

8 years ago Issue 135: CMK_OPTIMIZE cleanup in net, netlrts. verbs
Abhishek Gupta [Fri, 18 Oct 2013 16:25:33 +0000 (11:25 -0500)]
 Issue 135: CMK_OPTIMIZE cleanup in net, netlrts. verbs

8 years agos/#ifndef CMK_TRACE_DISABLED/#if !CMK_TRACE_DISABLED/
Eric Bohm [Fri, 18 Oct 2013 00:22:38 +0000 (19:22 -0500)]
s/#ifndef CMK_TRACE_DISABLED/#if !CMK_TRACE_DISABLED/
to protect the tracing code blocks

8 years agofix poor usage of CMK_ERROR_CHECKING
Eric Bohm [Thu, 17 Oct 2013 23:30:25 +0000 (18:30 -0500)]
fix poor usage of CMK_ERROR_CHECKING

8 years agoswap the comments so they match the code again
Eric Bohm [Thu, 17 Oct 2013 23:17:53 +0000 (18:17 -0500)]
swap the comments so they match the code again

8 years agofix reversal of meaning for CMK_ERROR_CHECKING
Eric Bohm [Thu, 17 Oct 2013 23:14:31 +0000 (18:14 -0500)]
fix reversal of meaning for CMK_ERROR_CHECKING

8 years agosweep of libs/ck-libs for CMK_OPTIMIZE issues
Eric Bohm [Thu, 17 Oct 2013 22:53:58 +0000 (17:53 -0500)]
sweep of libs/ck-libs for CMK_OPTIMIZE issues

8 years agocharmrun #293: improve const-correctness
Phil Miller [Thu, 17 Oct 2013 21:25:05 +0000 (14:25 -0700)]
charmrun #293: improve const-correctness

8 years agoFT: fix the delete issues in the previous commit
xiangni [Thu, 17 Oct 2013 21:00:11 +0000 (16:00 -0500)]
FT: fix the delete issues in the previous commit

8 years agoFT: fix cppcheck issues
xiangni [Thu, 17 Oct 2013 20:56:46 +0000 (15:56 -0500)]
FT: fix cppcheck issues

8 years agoCharmrun: Improved const-correctness at some places
Abhishek Gupta [Thu, 17 Oct 2013 19:49:45 +0000 (14:49 -0500)]
Charmrun: Improved const-correctness at some places

8 years agoCharmrun: fixed cppchek issues
Abhishek Gupta [Thu, 17 Oct 2013 19:11:34 +0000 (14:11 -0500)]
Charmrun: fixed cppchek issues

8 years agocppcheck cleanup sweep for unowned modules
Eric Bohm [Thu, 17 Oct 2013 18:31:42 +0000 (13:31 -0500)]
cppcheck cleanup sweep for unowned modules

8 years agoCharmrun-cleanup: bug fix - rectify makefile dependencies
Abhishek Gupta [Mon, 14 Oct 2013 18:28:27 +0000 (13:28 -0500)]
Charmrun-cleanup: bug fix - rectify makefile dependencies

8 years agoRemove duplicated charmrun copies across net, netlrts, verbs lrts to src/util/charmru...
Abhishek [Sat, 5 Oct 2013 05:32:52 +0000 (00:32 -0500)]
Remove duplicated charmrun copies across net, netlrts, verbs lrts to src/util/charmrun-src. Modified Makefile appropiately

8 years agochanges to provide clean cppcheck and quell compiler complaints
Eric Bohm [Wed, 16 Oct 2013 23:22:01 +0000 (18:22 -0500)]
changes to provide clean cppcheck and quell compiler complaints

8 years agotiming trial and parameter settings to examine runtime of synctest
Eric Bohm [Wed, 16 Oct 2013 20:37:33 +0000 (15:37 -0500)]
timing trial and parameter settings to examine runtime of synctest

8 years agoFixed bug in CkReductionMgr::reduceMessages().
Nicolas Bock [Thu, 5 Sep 2013 10:04:06 +0000 (04:04 -0600)]
Fixed bug in CkReductionMgr::reduceMessages().

The first contribution of a child node is a single message. In this case
CkReductionMgr::reduceMessages() simply returns the message without calling
the reducer. However, when using the CkReduction::set reducer this behavior is
incorrect, and instead the reducer should be called even for one single
message so that the message is wrapped into a setElement struct. In the
current implementation, the reduction becomes corrupted because the
CkReduction::set() method one tier up in the reduction sizes the remote
contribution incorrectly assuming a setElement struct and not a simple
message.

8 years agoFix the log2 not found errors in machines which does not have log2. Use CmiLog2.
Harshitha [Wed, 16 Oct 2013 17:47:14 +0000 (12:47 -0500)]
Fix the log2 not found errors in machines which does not have log2. Use CmiLog2.