charm.git
9 years agoMerge branch 'charm' of charmgit:charm into charm
Yanhua Sun [Wed, 25 Jan 2012 03:28:40 +0000 (21:28 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoGemini uses its own timer instead of general one
Yanhua Sun [Wed, 25 Jan 2012 03:28:33 +0000 (21:28 -0600)]
Gemini uses its own timer instead of general one

9 years agoMeshStreamer: added support for incomplete meshes.
Lukasz Wesolowski [Tue, 24 Jan 2012 05:04:14 +0000 (23:04 -0600)]
MeshStreamer: added support for incomplete meshes.

9 years agomake ibverb work in standalone mode
Gengbin Zheng [Mon, 23 Jan 2012 19:22:47 +0000 (11:22 -0800)]
make ibverb work in standalone mode

9 years agonew histogram example for MSA
Aaron Becker [Fri, 20 Jan 2012 05:17:51 +0000 (23:17 -0600)]
new histogram example for MSA

9 years agofix CmiBarrier newly added to charmInit for bigsim
Gengbin Zheng [Thu, 19 Jan 2012 16:39:18 +0000 (10:39 -0600)]
fix CmiBarrier newly added to charmInit for bigsim

9 years agofixed a bug in ugni barrier
Yanhua Sun [Wed, 18 Jan 2012 21:07:28 +0000 (15:07 -0600)]
fixed a bug in ugni barrier

9 years agopup CkArray::stableLocations
Gengbin Zheng [Wed, 18 Jan 2012 19:24:15 +0000 (13:24 -0600)]
pup CkArray::stableLocations

9 years agodisable CMK_BROADCAST_USE_CMIREFERENCE when with SMP
Gengbin Zheng [Wed, 18 Jan 2012 05:43:53 +0000 (23:43 -0600)]
disable CMK_BROADCAST_USE_CMIREFERENCE when with SMP

9 years agowhen pxshm is enaled print some info to confirm
Gengbin Zheng [Wed, 18 Jan 2012 05:43:03 +0000 (23:43 -0600)]
when pxshm is enaled print some info to confirm

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Wed, 18 Jan 2012 04:03:30 +0000 (20:03 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agouse CmiSyncBroadcastAllAndFree
Gengbin Zheng [Wed, 18 Jan 2012 04:03:10 +0000 (20:03 -0800)]
use CmiSyncBroadcastAllAndFree

9 years agofix timer synchronized problem in ugni
Yanhua Sun [Tue, 17 Jan 2012 21:56:09 +0000 (13:56 -0800)]
fix timer synchronized problem in ugni

9 years agofix for compilation errors
Gengbin Zheng [Mon, 16 Jan 2012 23:24:32 +0000 (15:24 -0800)]
fix for compilation errors

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Mon, 16 Jan 2012 23:22:13 +0000 (15:22 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agowhen can use CMK_BROADCAST_USE_CMIREFERENCE, optimize ListSend functions to avoid...
Gengbin Zheng [Mon, 16 Jan 2012 23:21:39 +0000 (15:21 -0800)]
when can use CMK_BROADCAST_USE_CMIREFERENCE, optimize ListSend functions to avoid copying.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Xiang Ni [Mon, 16 Jan 2012 18:01:15 +0000 (12:01 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agosupport CsdScheduleNodePoll
Xiang Ni [Mon, 16 Jan 2012 18:00:56 +0000 (12:00 -0600)]
support CsdScheduleNodePoll

9 years agooptimize the previous change, only need to make a copy, when refcount > 1, i.e. some...
Gengbin Zheng [Mon, 16 Jan 2012 17:51:10 +0000 (09:51 -0800)]
optimize the previous change, only need to make a copy, when refcount > 1, i.e. some outgoing messages are buffered.

9 years agoa function to get memory refcount.
Gengbin Zheng [Mon, 16 Jan 2012 17:50:19 +0000 (09:50 -0800)]
a function to get memory refcount.

9 years agosame fix for processProcBcastMsg
Gengbin Zheng [Mon, 16 Jan 2012 17:09:13 +0000 (09:09 -0800)]
same fix for processProcBcastMsg

9 years agowhen use refcounter in broadcast, it may create a subtle situation that a message...
Gengbin Zheng [Mon, 16 Jan 2012 17:02:19 +0000 (09:02 -0800)]
when use refcounter in broadcast, it may create a subtle situation that a message which is being sent, is executed by a local entry function and gets changed, therefore the message sent out later from the same buffer is incorrect.
When doing such broadcast, always make a copy of message when deliver to the processor itself.

9 years agowhen using CMK_BROADCAST_USE_CMIREFERENCE, make sure msg is copied once in case msg...
Gengbin Zheng [Mon, 16 Jan 2012 06:07:47 +0000 (22:07 -0800)]
when using CMK_BROADCAST_USE_CMIREFERENCE, make sure msg is copied once in case msg is on stack.

9 years agoindentation
Gengbin Zheng [Sun, 15 Jan 2012 06:50:06 +0000 (22:50 -0800)]
indentation

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 15 Jan 2012 06:18:45 +0000 (00:18 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agosimply and bug fix to comm thread tracing.
Gengbin Zheng [Sun, 15 Jan 2012 06:18:02 +0000 (00:18 -0600)]
simply and bug fix to comm thread tracing.
messages need to be changed (srcpe and eventID) when switching between worker thread and comm threads.

9 years agofix trace commthrad bug of receiving comm thread wrong
Yanhua Sun [Sun, 15 Jan 2012 06:12:11 +0000 (22:12 -0800)]
fix trace commthrad bug of receiving comm thread wrong

9 years agoclean up tracing comm thread
Gengbin Zheng [Sun, 15 Jan 2012 04:30:17 +0000 (20:30 -0800)]
clean up tracing comm thread
1. make TRACE_COMM)* macros to simplify code
2. fix tracing when converse messages are encountered
3. fix srcpe on comm thread to pretend that the msg is sent now from comm thread (need to be tested abd verify in Projections)

9 years agosanity check, disable CMK_SMP_TRACE_COMMTHREAD if not SMP.
Gengbin Zheng [Sat, 14 Jan 2012 23:16:10 +0000 (17:16 -0600)]
sanity check, disable CMK_SMP_TRACE_COMMTHREAD if not SMP.

9 years agoinitialize epIdx in envelope so that trace comm threads can work properly.
Gengbin Zheng [Sat, 14 Jan 2012 08:38:26 +0000 (00:38 -0800)]
initialize epIdx in envelope so that trace comm threads can work properly.

9 years agotwo more comm thread tracing functions need to be sure the msg is charm message
Gengbin Zheng [Sat, 14 Jan 2012 06:01:09 +0000 (00:01 -0600)]
two more comm thread tracing functions need to be sure the msg is charm message

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 14 Jan 2012 05:34:29 +0000 (23:34 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agofix a bug in traceSendMsgComm() which should only trace charm messages (no Converse...
Gengbin Zheng [Sat, 14 Jan 2012 05:33:49 +0000 (23:33 -0600)]
fix a bug in traceSendMsgComm() which should only trace charm messages (no Converse messages)

9 years agoadded gemini trace comm thread
Yanhua Sun [Sat, 14 Jan 2012 04:21:50 +0000 (20:21 -0800)]
added gemini trace comm thread

9 years agofix minor things for VC++
Gengbin Zheng [Fri, 13 Jan 2012 15:04:58 +0000 (09:04 -0600)]
fix minor things for VC++

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 13 Jan 2012 07:32:17 +0000 (23:32 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoreduced numIter a bit and some other minor changes
Gengbin Zheng [Fri, 13 Jan 2012 07:29:05 +0000 (23:29 -0800)]
reduced numIter a bit and some other minor changes

9 years agominor change for using +comm_thread_only_recv
Gengbin Zheng [Fri, 13 Jan 2012 07:19:50 +0000 (23:19 -0800)]
minor change for using +comm_thread_only_recv

9 years agochange the implementation of ARMCI_Malloc_local to also support migration. (using...
Gengbin Zheng [Fri, 13 Jan 2012 05:28:42 +0000 (23:28 -0600)]
change the implementation of ARMCI_Malloc_local to also support migration. (using isomalloc)

9 years agoAllocating a new lock whenever a pool moves
Nikhil Jain [Fri, 13 Jan 2012 03:58:08 +0000 (21:58 -0600)]
Allocating a new lock whenever a pool moves

9 years agoJim's poolfix patch plus some indent fixes. Passes make test.
Eric Bohm [Thu, 12 Jan 2012 23:17:51 +0000 (17:17 -0600)]
Jim's poolfix patch plus some indent fixes.  Passes make test.

9 years agoenable immediate message in gemini
Yanhua Sun [Thu, 12 Jan 2012 18:23:46 +0000 (10:23 -0800)]
enable immediate message in gemini

9 years agoChanges to maintain the older scheme for isomalloc
Nikhil Jain [Wed, 11 Jan 2012 22:48:45 +0000 (16:48 -0600)]
Changes to maintain the older scheme for isomalloc

10 years agofix a compilation error
Gengbin Zheng [Wed, 7 Dec 2011 05:44:28 +0000 (23:44 -0600)]
fix a compilation error

9 years agoFixing the cause for armci crash - nothing wrong with implementation,
Nikhil Jain [Wed, 11 Jan 2012 16:49:22 +0000 (10:49 -0600)]
Fixing the cause for armci crash - nothing wrong with implementation,
the example tried to free a local memory allocation after migration
which should result in error

9 years agohandle nested events
Gengbin Zheng [Wed, 11 Jan 2012 15:43:31 +0000 (09:43 -0600)]
handle nested events

9 years agoadd missing END_EXECUTION trace in the beginning of a SDAG entry
Gengbin Zheng [Wed, 11 Jan 2012 15:41:04 +0000 (09:41 -0600)]
add missing END_EXECUTION trace in the beginning of a SDAG entry
which leads to wrong trace-projections/summary logs with mismatched begin/end execution.

9 years agoremove one line of print
Yanhua Sun [Wed, 11 Jan 2012 03:10:41 +0000 (21:10 -0600)]
remove one line of print

9 years agoBug fix for armci with mempool based isomalloc, as modifying
Nikhil Jain [Tue, 10 Jan 2012 09:32:09 +0000 (03:32 -0600)]
Bug fix for armci with mempool based isomalloc, as modifying
the example code to test migration

9 years agoBug fix for globals enabling the use of mempool based isomalloc
Nikhil Jain [Tue, 10 Jan 2012 07:23:52 +0000 (01:23 -0600)]
Bug fix for globals enabling the use of mempool based isomalloc

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Mon, 9 Jan 2012 22:31:23 +0000 (14:31 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agodisable RDMA test when SMP (since there seems to be bug for ibverbs layer with SMP...
Gengbin Zheng [Mon, 9 Jan 2012 22:28:56 +0000 (14:28 -0800)]
disable RDMA test when SMP (since there seems to be bug for ibverbs layer with SMP to fix)
Also change the originally rather bizarre use of node group element proxies.

9 years agominor change to suppress compiler warnings
Gengbin Zheng [Mon, 9 Jan 2012 22:27:16 +0000 (14:27 -0800)]
minor change to suppress compiler warnings

9 years agocharmxi: mark commit ID string as coming from C
Phil Miller [Mon, 9 Jan 2012 16:55:01 +0000 (10:55 -0600)]
charmxi: mark commit ID string as coming from C

9 years agorollback the changes to make mpi ft_restart work
Xiang Ni [Mon, 9 Jan 2012 02:07:59 +0000 (20:07 -0600)]
rollback the changes to make mpi ft_restart work

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 8 Jan 2012 21:25:20 +0000 (15:25 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agocharmxi: Use host compiler to embed commit ID
Phil Miller [Sun, 8 Jan 2012 17:25:05 +0000 (11:25 -0600)]
charmxi: Use host compiler to embed commit ID

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sun, 8 Jan 2012 06:04:50 +0000 (00:04 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoa CkCompactVec, which grows at front, and remove at the end linearly
Gengbin Zheng [Sun, 8 Jan 2012 05:52:39 +0000 (23:52 -0600)]
a CkCompactVec, which grows at front, and remove at the end linearly
the vector keeps an offset, which represents all elements before offset
are T(0)

9 years agochange insideTraceBracket to static
Gengbin Zheng [Sun, 8 Jan 2012 05:50:40 +0000 (23:50 -0600)]
change insideTraceBracket to static

9 years agofix a memory leak
Gengbin Zheng [Sun, 8 Jan 2012 05:16:06 +0000 (23:16 -0600)]
fix a memory leak

9 years agocharmxi: print commit ID when erroring out
Phil Miller [Sat, 7 Jan 2012 23:25:14 +0000 (17:25 -0600)]
charmxi: print commit ID when erroring out

9 years agoRevert "Drop requirement for user code to call CBase_foo::pup(p)"
Phil Miller [Sat, 7 Jan 2012 08:04:59 +0000 (02:04 -0600)]
Revert "Drop requirement for user code to call CBase_foo::pup(p)"

This reverts commit 0bd6105523351c97b7d6424c3b0227d6e5326498.

Conflicts:

doc/charm++/pup.tex
src/ck-core/cklocation.C

9 years agoRevert "TCharm & AMPI: Adapt to automatic pup of base class"
Phil Miller [Sat, 7 Jan 2012 07:53:06 +0000 (01:53 -0600)]
Revert "TCharm &  AMPI: Adapt to automatic pup of base class"

This reverts commit b9446be574ca6dce6048e5796ebdabb5a52787ca.

9 years agoRevert "Adapt checkpointing code to call base_pup methods"
Phil Miller [Sat, 7 Jan 2012 07:51:24 +0000 (01:51 -0600)]
Revert "Adapt checkpointing code to call base_pup methods"

This reverts commit 60eaf3ad33cf4d6777d6dcb5f54509afb612f571.

9 years agoReinsert call to CBase::pup in place of deleted ArrayElement1D::pup
Phil Miller [Sat, 7 Jan 2012 07:50:37 +0000 (01:50 -0600)]
Reinsert call to CBase::pup in place of deleted ArrayElement1D::pup

9 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Fri, 6 Jan 2012 23:17:53 +0000 (17:17 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoImplemented an alternative to use MPI_Irecv for msgs that use rzv protocol.
Chao Mei [Fri, 6 Jan 2012 23:15:43 +0000 (17:15 -0600)]
Implemented an alternative to use MPI_Irecv for msgs that use rzv protocol.

9 years agoGPUManager: minor changes to prevent most warnings.
Lukasz Wesolowski [Fri, 6 Jan 2012 04:30:41 +0000 (22:30 -0600)]
GPUManager: minor changes to prevent most warnings.

9 years agoCleaning up charm++ CUDA examples.
Lukasz Wesolowski [Fri, 6 Jan 2012 04:29:12 +0000 (22:29 -0600)]
Cleaning up charm++ CUDA examples.

9 years agomanual fix of priority and mapping
Ehsan [Fri, 6 Jan 2012 03:01:58 +0000 (21:01 -0600)]
manual fix of priority and mapping

9 years agoGPU Manager: remove assumed location of CUDA toolkit
Lukasz Wesolowski [Fri, 6 Jan 2012 00:53:22 +0000 (18:53 -0600)]
GPU Manager: remove assumed location of CUDA toolkit

9 years agoadd magic number to chare base class.
Gengbin Zheng [Thu, 5 Jan 2012 23:03:47 +0000 (17:03 -0600)]
add magic number to chare base class.
sanity check after pup to make sure super class is passed.
fixed  migration constructor calling chain.

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Thu, 5 Jan 2012 23:02:20 +0000 (17:02 -0600)]
Merge branch 'charm' of charmgit:charm into charm

9 years agoadd test for GreedyLB
Gengbin Zheng [Thu, 5 Jan 2012 23:01:34 +0000 (17:01 -0600)]
add test for GreedyLB

9 years agocharmxi: factor out CK_TEMPLATES_ONLY guard generation
Phil Miller [Wed, 4 Jan 2012 20:28:34 +0000 (14:28 -0600)]
charmxi: factor out CK_TEMPLATES_ONLY guard generation

9 years agoMerge commit '30f31a362b23bc054c1e3244d8c6c98758dcfe57' into charm
Phil Miller [Thu, 5 Jan 2012 01:05:58 +0000 (19:05 -0600)]
Merge commit '30f31a362b23bc054c1e3244d8c6c98758dcfe57' into charm

9 years agoAdding GPU Manager support for cray-xe build of charm.
Lukasz Wesolowski [Wed, 4 Jan 2012 23:20:29 +0000 (17:20 -0600)]
Adding GPU Manager support for cray-xe build of charm.

9 years agominor change about indentation
Gengbin Zheng [Wed, 4 Jan 2012 21:30:53 +0000 (15:30 -0600)]
minor change about indentation

9 years agominor change
Gengbin Zheng [Wed, 4 Jan 2012 21:29:31 +0000 (15:29 -0600)]
minor change

9 years agoadd a flag CMK_MALLINFO_IS_BROKEN to allow disabling using of mallinfo if it is broken.
Gengbin Zheng [Wed, 4 Jan 2012 21:12:12 +0000 (13:12 -0800)]
add a flag CMK_MALLINFO_IS_BROKEN to allow disabling using of mallinfo if it is broken.

9 years agohandle pgcc properly
Gengbin Zheng [Wed, 4 Jan 2012 21:10:20 +0000 (13:10 -0800)]
handle pgcc properly

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Wed, 4 Jan 2012 21:09:55 +0000 (13:09 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agominor clean up of flags
Gengbin Zheng [Wed, 4 Jan 2012 21:09:29 +0000 (13:09 -0800)]
minor clean up of flags

9 years agoComlib: Manager should inherit from some Chare-ish base class
Phil Miller [Wed, 4 Jan 2012 07:32:04 +0000 (01:32 -0600)]
Comlib: Manager should inherit from some Chare-ish base class

9 years agoA fresh implementation of post-recv scheme for MPI machine layer, including a dynamic...
Chao Mei [Wed, 4 Jan 2012 05:42:05 +0000 (23:42 -0600)]
A fresh implementation of post-recv scheme for MPI machine layer, including a dynamic post-recv scheme.

9 years agoMeshStreamer: removed one '%' operation, leading to a slight performance
Lukasz Wesolowski [Wed, 4 Jan 2012 00:28:21 +0000 (18:28 -0600)]
MeshStreamer: removed one '%' operation, leading to a slight performance
improvement.

9 years agoshould not even ask for thread level of support of MULTIPLE if the smp mode is comm_s...
Gengbin Zheng [Tue, 3 Jan 2012 21:25:50 +0000 (15:25 -0600)]
should not even ask for thread level of support of MULTIPLE if the smp mode is comm_send_recv.

9 years agoMake the case that work threads send msgs optional if MPI_THREAD_MULTIPLE is provided...
Chao Mei [Tue, 3 Jan 2012 06:36:29 +0000 (00:36 -0600)]
Make the case that work threads send msgs optional if MPI_THREAD_MULTIPLE is provided. The default option is still to let comm. thread send and recv.

9 years agoMinor changes for code format and naming convention
Chao Mei [Tue, 3 Jan 2012 05:45:06 +0000 (23:45 -0600)]
Minor changes for code format and naming convention

9 years agoSimplified broadcast root setting with a minor bug fix when spanning tree is not...
Chao Mei [Tue, 3 Jan 2012 04:08:25 +0000 (22:08 -0600)]
Simplified broadcast root setting with a minor bug fix when spanning tree is not used in SMP case.

9 years agoMeshStreamer: rewrote location caching scheme using arrays instead of a map
Lukasz Wesolowski [Mon, 2 Jan 2012 07:21:11 +0000 (01:21 -0600)]
MeshStreamer: rewrote location caching scheme using arrays instead of a map
to reduce overhead. With the optimization RandomAccess still runs a little
slower than without it so I am leaving it off by default.

9 years agoFix for static use in inline - getting rid of static usage
Nikhil Jain [Sun, 1 Jan 2012 21:08:00 +0000 (15:08 -0600)]
Fix for static use in inline - getting rid of static usage

9 years agoMinor change in mempool - saving size as power of two in slots
Nikhil Jain [Sun, 1 Jan 2012 08:19:14 +0000 (02:19 -0600)]
Minor change in mempool - saving size as power of two in slots
rather in terms of absolute number, corresponding changes
done in isomalloc

9 years agoAPI change to AdvanceCommunication
Gengbin Zheng [Sun, 1 Jan 2012 04:10:48 +0000 (22:10 -0600)]
API change to AdvanceCommunication

9 years agominor change
Gengbin Zheng [Sat, 31 Dec 2011 23:50:52 +0000 (15:50 -0800)]
minor change

9 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 31 Dec 2011 17:50:03 +0000 (09:50 -0800)]
Merge branch 'charm' of charmgit:charm into charm

9 years agocall PumpDatagramConnection every few millisecond (not just when idling) to make...
Gengbin Zheng [Sat, 31 Dec 2011 17:49:18 +0000 (09:49 -0800)]
call PumpDatagramConnection every few millisecond (not just when idling) to make sure connections are established.

9 years agochange due to API change of AdvanceCommunication()
Gengbin Zheng [Sat, 31 Dec 2011 17:44:13 +0000 (17:44 +0000)]
change due to API change of AdvanceCommunication()

9 years agoAPI change, LrtsAdvanceCommunication() now takes an extra parameter "whenidle"
Gengbin Zheng [Sat, 31 Dec 2011 17:34:19 +0000 (09:34 -0800)]
API change, LrtsAdvanceCommunication() now takes an extra parameter "whenidle"