charm.git
9 years agominor clean up
Gengbin Zheng [Thu, 8 Mar 2012 06:59:05 +0000 (00:59 -0600)]
minor clean up

9 years agofix an old typo
Gengbin Zheng [Thu, 8 Mar 2012 06:28:32 +0000 (00:28 -0600)]
fix an old typo

9 years agoclean up shm and sem more cleanly.
Gengbin Zheng [Thu, 8 Mar 2012 06:04:49 +0000 (00:04 -0600)]
clean up shm and sem more cleanly.

9 years agounlink shm file once it is opened.
Gengbin Zheng [Thu, 8 Mar 2012 04:31:05 +0000 (22:31 -0600)]
unlink shm file once it is opened.

9 years agoin alloc_mempool_block, size must be hugetlb pagesize aligned
Gengbin Zheng [Thu, 8 Mar 2012 03:57:59 +0000 (21:57 -0600)]
in alloc_mempool_block, size must be hugetlb pagesize aligned

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Wed, 7 Mar 2012 23:28:35 +0000 (17:28 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agotwo features:
Gengbin Zheng [Wed, 7 Mar 2012 23:27:48 +0000 (17:27 -0600)]
two features:
1. use LARGEPAGE with mmap from hugetlbfs
2. piggyback ACK msg with small data
both turn off now

9 years agoNDMeshStreamer: implemented caching scheme for chare array metadata
Lukasz Wesolowski [Wed, 7 Mar 2012 19:56:55 +0000 (13:56 -0600)]
NDMeshStreamer: implemented caching scheme for chare array metadata

9 years agoNDMeshStreamer: when delivering an item locally, don't return a reference into
Lukasz Wesolowski [Wed, 7 Mar 2012 04:47:00 +0000 (22:47 -0600)]
NDMeshStreamer: when delivering an item locally, don't return a reference into
user data

9 years agominor change
Gengbin Zheng [Wed, 7 Mar 2012 03:20:35 +0000 (21:20 -0600)]
minor change

9 years agoNDMeshStreamer: bug fix for ArrayMeshStreamer - items received
Lukasz Wesolowski [Tue, 6 Mar 2012 22:25:33 +0000 (16:25 -0600)]
NDMeshStreamer: bug fix for ArrayMeshStreamer - items received
along the route to the destination were being treated as handles
instead of actual data

9 years agoMerge branch 'charm' of charmgit:charm into charm
Abhishek Gupta [Tue, 6 Mar 2012 03:40:26 +0000 (21:40 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoFirst example for inter node messaging
Abhishek Gupta [Tue, 6 Mar 2012 03:37:33 +0000 (21:37 -0600)]
First example for inter node messaging

9 years agoclean up some use of int (where should be CmiUInt8)
Gengbin Zheng [Tue, 6 Mar 2012 03:32:38 +0000 (19:32 -0800)]
clean up some use of int (where should be CmiUInt8)

9 years agoadded one mode to use large page size
Yanhua Sun [Tue, 6 Mar 2012 02:16:32 +0000 (18:16 -0800)]
added one mode to use large page size

9 years agoMinor change in mempool
Nikhil Jain [Tue, 6 Mar 2012 00:58:08 +0000 (18:58 -0600)]
Minor change in mempool

9 years agoRemove archaic CVS keyword header comment blocks
Phil Miller [Mon, 5 Mar 2012 23:46:01 +0000 (17:46 -0600)]
Remove archaic CVS keyword header comment blocks

Exact removals as follows:
$ git diff --cached -U | grep -v '^---' | grep -v '^\+\+\+' | grep '^[+-]' | sort | uniq -c
    222 -
    227 - *****************************************************************************/
    227 -/*****************************************************************************
    226 - * $Author$
      2 - * $Author$
      1 - * $Author: Isaac Dooley
    229 - * $Date$
    229 - * $Revision$
    229 - * $Source$

9 years agoChangelog: add some of the 6.4 release notes
Phil Miller [Mon, 5 Mar 2012 23:16:50 +0000 (17:16 -0600)]
Changelog: add some of the 6.4 release notes

9 years agompi-darwin-ppc: Switch malloc() back to GNU to address reported megatest failure
Phil Miller [Mon, 5 Mar 2012 22:39:18 +0000 (16:39 -0600)]
mpi-darwin-ppc: Switch malloc() back to GNU to address reported megatest failure

Revert "switch to os malloc instead of gnu malloc which seemed to fix a crash bug with fem."

This reverts commit da82da2de4bcb679758e8361c87cef578f87d21d.

9 years agoconfigure: tweak so that older Mac OS X picks up that ntohl() is provided
Phil Miller [Mon, 5 Mar 2012 22:28:41 +0000 (16:28 -0600)]
configure: tweak so that older Mac OS X picks up that ntohl() is provided

Also tested as not breaking net-linux, net-linux-x86_64, or
net-darwin-x86_64 on modern Mac OS X. Windows builds are unaffected,
as they take the other branch of the #if.

9 years agoFixed bugs in comm thread tracing
Chao Mei [Mon, 5 Mar 2012 21:05:49 +0000 (15:05 -0600)]
Fixed bugs in comm thread tracing

9 years agoFixed bugs in comm thread tracing
Chao Mei [Mon, 5 Mar 2012 20:55:47 +0000 (14:55 -0600)]
Fixed bugs in comm thread tracing

9 years agotypo fixed
Yanhua Sun [Mon, 5 Mar 2012 20:37:35 +0000 (12:37 -0800)]
typo fixed

9 years agominor fix about link option
Yanhua Sun [Mon, 5 Mar 2012 20:17:21 +0000 (12:17 -0800)]
minor fix about link option

9 years agoa fix for when loading other hugepage modules
Yanhua Sun [Mon, 5 Mar 2012 19:48:19 +0000 (11:48 -0800)]
a fix for when loading other hugepage modules

9 years agominor fix
Yanhua Sun [Mon, 5 Mar 2012 19:27:46 +0000 (13:27 -0600)]
minor fix

9 years agofix compiler warning
Yanhua Sun [Mon, 5 Mar 2012 19:03:25 +0000 (13:03 -0600)]
fix compiler warning

9 years agolinklist for nonempty pcqueue in smp
Yanhua Sun [Mon, 5 Mar 2012 18:51:09 +0000 (12:51 -0600)]
linklist for nonempty pcqueue in smp

9 years agoFEM: Silence warnings arising from int/ptr ambiguity in CmiNodeLock's definition
Phil Miller [Sat, 3 Mar 2012 21:06:46 +0000 (15:06 -0600)]
FEM: Silence warnings arising from int/ptr ambiguity in CmiNodeLock's definition

9 years agouse gethugepagesize to determine the page size.
Gengbin Zheng [Mon, 5 Mar 2012 07:34:06 +0000 (23:34 -0800)]
use gethugepagesize to determine the page size.
If hugepagesize module not loaded, use a in-house implementation in cray_tlbhack.c.

9 years agofix macro MallocAckMsg, FreeAckMsg, etc so that they can be safely used in simple...
Gengbin Zheng [Sun, 4 Mar 2012 17:35:29 +0000 (09:35 -0800)]
fix macro MallocAckMsg, FreeAckMsg, etc so that they can be safely used in simple if statement.

9 years agominor clean up
Gengbin Zheng [Sun, 4 Mar 2012 08:50:38 +0000 (02:50 -0600)]
minor clean up

9 years agofix about smsg queue status check
Yanhua Sun [Sun, 4 Mar 2012 08:34:34 +0000 (02:34 -0600)]
fix about smsg queue status check

9 years agofix a potential race condition in previous checkin
Gengbin Zheng [Sun, 4 Mar 2012 08:03:42 +0000 (02:03 -0600)]
fix a potential race condition in previous checkin

9 years agoa minor optimization to the previous commit, maintan a status of destpe, if it can...
Gengbin Zheng [Sun, 4 Mar 2012 07:59:47 +0000 (01:59 -0600)]
a minor optimization to the previous commit, maintan a status of destpe, if it can not send, skip pending messages to that destpe.

9 years agofor SMP, implement a single queue scheme for buffered send queue.
Gengbin Zheng [Sun, 4 Mar 2012 07:09:19 +0000 (01:09 -0600)]
for SMP, implement a single queue scheme for buffered send queue.
by default it is off right now.

9 years agoconsider multicore version when non comm thread in traceEnd()
Gengbin Zheng [Sun, 4 Mar 2012 00:46:35 +0000 (18:46 -0600)]
consider multicore version when non comm thread in traceEnd()

9 years agowhen tracing disabled, disable tracing-commthread too
Gengbin Zheng [Sun, 4 Mar 2012 00:45:59 +0000 (18:45 -0600)]
when tracing disabled, disable tracing-commthread too

9 years agomake it 6.4.0
Gengbin Zheng [Sun, 4 Mar 2012 00:35:16 +0000 (18:35 -0600)]
make it 6.4.0

9 years agoset charm version to 6.4 to avoid confusion with NAMD
Gengbin Zheng [Sat, 3 Mar 2012 19:43:24 +0000 (13:43 -0600)]
set charm version to 6.4 to avoid confusion with NAMD

9 years agochange CREDIT value back
Gengbin Zheng [Sat, 3 Mar 2012 16:14:02 +0000 (10:14 -0600)]
change CREDIT value back

9 years agomake ack_msg for medium size message smaller
Gengbin Zheng [Sat, 3 Mar 2012 07:13:11 +0000 (01:13 -0600)]
make ack_msg for medium size message smaller

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Fri, 2 Mar 2012 20:23:05 +0000 (12:23 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agominor fix in compiling error
Yanhua Sun [Fri, 2 Mar 2012 20:22:54 +0000 (12:22 -0800)]
minor fix in compiling error

9 years agoNDMeshStreamer: fixing a bug in the array interface due to improper casting
Lukasz Wesolowski [Fri, 2 Mar 2012 20:06:54 +0000 (14:06 -0600)]
NDMeshStreamer: fixing a bug in the array interface due to improper casting

9 years agoadded cmidirect smp support
Yanhua Sun [Fri, 2 Mar 2012 07:27:31 +0000 (23:27 -0800)]
added cmidirect smp support

9 years agofixed a crash on cray compiler in SMP.
Gengbin Zheng [Thu, 1 Mar 2012 22:11:21 +0000 (14:11 -0800)]
fixed a crash on cray compiler in SMP.

9 years agobetter dependence
Gengbin Zheng [Thu, 1 Mar 2012 22:11:13 +0000 (14:11 -0800)]
better dependence

9 years agofix assumption of in-order delivery when doing packetization.
Gengbin Zheng [Thu, 1 Mar 2012 22:06:28 +0000 (16:06 -0600)]
fix assumption of in-order delivery when doing packetization.
(fix not tested yet)

9 years agoREADME: Update to reflect present-day architectures
Phil Miller [Thu, 1 Mar 2012 20:37:17 +0000 (14:37 -0600)]
README: Update to reflect present-day architectures

9 years agoRename CMK_TLS_THREAD to the more descriptive CMK_HAS_TLS_VARIABLES
Phil Miller [Fri, 3 Feb 2012 21:31:05 +0000 (15:31 -0600)]
Rename CMK_TLS_THREAD to the more descriptive CMK_HAS_TLS_VARIABLES

9 years agoCharj: Fix primitive type resolution, broken in a couple places.
Jonathan Lifflander [Thu, 1 Mar 2012 01:56:27 +0000 (19:56 -0600)]
Charj: Fix primitive type resolution, broken in a couple places.

9 years agoFinalize example program and write corresponding text for it in the tutorial.
Jonathan Lifflander [Wed, 29 Feb 2012 21:21:36 +0000 (15:21 -0600)]
Finalize example program and write corresponding text for it in the tutorial.

9 years agoAdding example code in converse tutorial for threads
Nikhil Jain [Wed, 29 Feb 2012 20:54:48 +0000 (14:54 -0600)]
Adding example code in converse tutorial for threads

9 years agoMinor change to pingpong example
Xiang Ni [Wed, 29 Feb 2012 17:30:29 +0000 (11:30 -0600)]
Minor change to pingpong example

9 years agoadd pingpong example
Xiang Ni [Wed, 29 Feb 2012 17:22:33 +0000 (11:22 -0600)]
add pingpong example

9 years agoNDMeshStreamer: modified the array interface to avoid making a local copy
Lukasz Wesolowski [Wed, 29 Feb 2012 03:43:03 +0000 (21:43 -0600)]
NDMeshStreamer: modified the array interface to avoid making a local copy
of dataItem before packing it in the message

9 years agoconverse tutorial stub
Ehsan [Tue, 28 Feb 2012 22:05:18 +0000 (16:05 -0600)]
converse tutorial stub

9 years agoremoving memblocks quits when usage below the limit
Gengbin Zheng [Tue, 28 Feb 2012 05:38:42 +0000 (21:38 -0800)]
removing memblocks quits when usage below the limit

9 years agofree_mempool_blocka call the correct memory-deregistration, this is for the new featu...
Gengbin Zheng [Tue, 28 Feb 2012 05:37:11 +0000 (21:37 -0800)]
free_mempool_blocka call the correct memory-deregistration, this is for the new feature that de-allocate mem block when exceed limit.
add env variable "CHARM_UGNI_MEMPOOL_SIZE_LIMIT" to set mempool limit.

9 years agoAdding limit to mempool expansion
Nikhil Jain [Mon, 27 Feb 2012 22:17:14 +0000 (14:17 -0800)]
Adding limit to mempool expansion

9 years agoRemoving memory leak in kNeighbor benchmark
Harshitha [Mon, 27 Feb 2012 18:02:37 +0000 (12:02 -0600)]
Removing memory leak in kNeighbor benchmark

9 years agoRemove memory leak in Scotch related lbs.
Harshitha [Mon, 27 Feb 2012 17:53:31 +0000 (11:53 -0600)]
Remove memory leak in Scotch related lbs.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Mon, 27 Feb 2012 02:36:49 +0000 (18:36 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agofix debug print error in cmidirect
Yanhua Sun [Mon, 27 Feb 2012 02:36:38 +0000 (18:36 -0800)]
fix debug print error in cmidirect

9 years agoNDMeshStreamer: checking in a working version of the array interface
Lukasz Wesolowski [Mon, 27 Feb 2012 01:18:56 +0000 (19:18 -0600)]
NDMeshStreamer: checking in a working version of the array interface

9 years agofor smp in function SendBufferMsg, avoid looping from PE 0 first all the time.
Gengbin Zheng [Sat, 25 Feb 2012 23:36:11 +0000 (15:36 -0800)]
for smp in function SendBufferMsg, avoid looping from PE 0 first all the time.

9 years agominor clean up
Gengbin Zheng [Sat, 25 Feb 2012 22:09:54 +0000 (14:09 -0800)]
minor clean up

9 years agomake clean remove debugLog
Gengbin Zheng [Sat, 25 Feb 2012 17:46:12 +0000 (11:46 -0600)]
make clean remove debugLog

9 years agoincrease timeout
Gengbin Zheng [Sat, 25 Feb 2012 17:45:49 +0000 (11:45 -0600)]
increase timeout

9 years agofriendly warning message for completion queue full
Yanhua Sun [Fri, 24 Feb 2012 23:16:07 +0000 (17:16 -0600)]
friendly warning message for completion queue full

9 years agofix for cray compiler
Gengbin Zheng [Fri, 24 Feb 2012 22:47:24 +0000 (16:47 -0600)]
fix for cray compiler

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 24 Feb 2012 22:41:32 +0000 (16:41 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agotrace a bug in traceBegin when tracing comm thread, it mistakenly assumes there is...
Gengbin Zheng [Fri, 24 Feb 2012 22:16:04 +0000 (16:16 -0600)]
trace a bug in traceBegin when tracing comm thread, it mistakenly assumes there is always a comm thread (multicore may not)

9 years agominor code clean up
Gengbin Zheng [Fri, 24 Feb 2012 03:30:35 +0000 (21:30 -0600)]
minor code clean up

9 years agoa new env var CHARM_UGNI_MEMPOOL_INIT_SIZE to set max memory per node for registered...
Gengbin Zheng [Thu, 23 Feb 2012 23:04:14 +0000 (17:04 -0600)]
a new env var CHARM_UGNI_MEMPOOL_INIT_SIZE to set max memory per node for registered memory

9 years agoCmiReadSize now returns value in double type
Gengbin Zheng [Thu, 23 Feb 2012 23:03:24 +0000 (17:03 -0600)]
CmiReadSize now returns value in double type

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 23 Feb 2012 21:55:03 +0000 (15:55 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agochange MACHINE_DEBUG_PRIO back to 3
Gengbin Zheng [Thu, 23 Feb 2012 21:54:37 +0000 (15:54 -0600)]
change MACHINE_DEBUG_PRIO back to 3

9 years agoclean up the pointers in mempool data structures, and updated machine.c
Gengbin Zheng [Thu, 23 Feb 2012 21:31:52 +0000 (13:31 -0800)]
clean up the pointers in mempool data structures, and updated machine.c

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 23 Feb 2012 18:18:56 +0000 (10:18 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agomerged a case with SMP and non-SMP
Gengbin Zheng [Thu, 23 Feb 2012 18:18:26 +0000 (10:18 -0800)]
merged a case with SMP and non-SMP

9 years agouse CkArrayptions::setBroadcastViaScheduler(bool) to control whether to use array...
Gengbin Zheng [Thu, 23 Feb 2012 08:14:27 +0000 (02:14 -0600)]
use CkArrayptions::setBroadcastViaScheduler(bool) to control whether to use array broadcast through scheudler.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 23 Feb 2012 08:08:42 +0000 (02:08 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoadded new env variable to set max pxshm message size
Gengbin Zheng [Thu, 23 Feb 2012 08:08:15 +0000 (02:08 -0600)]
added new env variable to set max pxshm message size

9 years agoreduce total memory available down a little in set_limit;
Gengbin Zheng [Thu, 23 Feb 2012 08:06:34 +0000 (00:06 -0800)]
reduce total memory available down a little in set_limit;
if user sets env variables, skip default calculation.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Thu, 23 Feb 2012 07:31:02 +0000 (01:31 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoset Max_mem max_send
Yanhua Sun [Thu, 23 Feb 2012 07:30:29 +0000 (01:30 -0600)]
set Max_mem max_send

9 years agominor change
Gengbin Zheng [Thu, 23 Feb 2012 07:17:03 +0000 (23:17 -0800)]
minor change
add a stronger flow control which block the sender is running out of registered memory. default commented out

9 years agoautomatically set MEM_MAX MAX_SEND
Yanhua Sun [Thu, 23 Feb 2012 07:03:24 +0000 (01:03 -0600)]
automatically set MEM_MAX MAX_SEND

9 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Thu, 23 Feb 2012 05:42:32 +0000 (23:42 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoupdate leanmd array dims
Aaron Becker [Thu, 23 Feb 2012 05:42:22 +0000 (23:42 -0600)]
update leanmd array dims

9 years agofix brace issue with when triggers
Aaron Becker [Thu, 23 Feb 2012 05:42:03 +0000 (23:42 -0600)]
fix brace issue with when triggers

9 years agoadd a callback to be called after cputopology is available.
Gengbin Zheng [Thu, 23 Feb 2012 05:38:33 +0000 (23:38 -0600)]
add a callback to be called after cputopology is available.
We can set mempool limits here

9 years agoREADME: Mention modern native machine layers in place of ancient ones
Phil Miller [Wed, 22 Feb 2012 23:34:11 +0000 (17:34 -0600)]
README: Mention modern native machine layers in place of ancient ones

9 years agoDelete archaic HP Exemplar bits
Phil Miller [Wed, 22 Feb 2012 23:33:33 +0000 (17:33 -0600)]
Delete archaic HP Exemplar bits

9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Wed, 22 Feb 2012 23:24:31 +0000 (17:24 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agofixed in gemini cmidirect
Yanhua Sun [Wed, 22 Feb 2012 23:24:23 +0000 (17:24 -0600)]
fixed in gemini cmidirect

9 years agominor fix
Yanhua Sun [Wed, 22 Feb 2012 23:19:00 +0000 (17:19 -0600)]
minor fix

9 years agotwo more env variables for BIG_MSG
Gengbin Zheng [Wed, 22 Feb 2012 23:16:56 +0000 (17:16 -0600)]
two more env variables for BIG_MSG
CHARM_UGNI_BIG_MSG_SIZE and CHARM_UGNI_BIG_MSG_PIPELINE_LEN