charm.git
12 years agomajor restructuring
Abhinav Bhatele [Mon, 23 Feb 2009 22:14:13 +0000 (22:14 +0000)]
major restructuring

12 years agothisIndex is const now
Gengbin Zheng [Mon, 23 Feb 2009 21:48:42 +0000 (21:48 +0000)]
thisIndex is const now

12 years agovarious things updated
Abhinav Bhatele [Mon, 23 Feb 2009 21:40:53 +0000 (21:40 +0000)]
various things updated

12 years ago*** empty log message ***
Abhinav Bhatele [Mon, 23 Feb 2009 21:04:50 +0000 (21:04 +0000)]
*** empty log message ***

12 years agofixed errors
Abhinav Bhatele [Mon, 23 Feb 2009 20:14:52 +0000 (20:14 +0000)]
fixed errors

12 years ago*** empty log message ***
Abhinav Bhatele [Mon, 23 Feb 2009 20:14:13 +0000 (20:14 +0000)]
*** empty log message ***

12 years agocleaning up of the manual
Abhinav Bhatele [Mon, 23 Feb 2009 19:19:46 +0000 (19:19 +0000)]
cleaning up of the manual

12 years agobignetsim added
Abhinav Bhatele [Mon, 23 Feb 2009 19:19:23 +0000 (19:19 +0000)]
bignetsim added

12 years agomoved to its own manual
Abhinav Bhatele [Mon, 23 Feb 2009 19:16:43 +0000 (19:16 +0000)]
moved to its own manual

12 years agobignetsim manual separated from bigsim manual
Abhinav Bhatele [Mon, 23 Feb 2009 19:15:50 +0000 (19:15 +0000)]
bignetsim manual separated from bigsim manual

12 years agoempty file
Abhinav Bhatele [Mon, 23 Feb 2009 19:12:14 +0000 (19:12 +0000)]
empty file

12 years agosome changes to fix errors and avoid confusions
Abhinav Bhatele [Mon, 23 Feb 2009 18:56:30 +0000 (18:56 +0000)]
some changes to fix errors and avoid confusions

12 years agoInitial checkin.
David Kunzman [Mon, 23 Feb 2009 18:22:49 +0000 (18:22 +0000)]
Initial checkin.

12 years agofix for ibverbs leak and startup issues on some platforms
Eric Bohm [Mon, 23 Feb 2009 06:11:04 +0000 (06:11 +0000)]
fix for ibverbs leak and startup issues on some platforms

12 years ago*** empty log message ***
Abhinav Bhatele [Sun, 22 Feb 2009 23:25:22 +0000 (23:25 +0000)]
*** empty log message ***

12 years agoForgot to define a macro in the else part of CMK_SMP
Filippo Gioachin [Sun, 22 Feb 2009 22:01:48 +0000 (22:01 +0000)]
Forgot to define a macro in the else part of CMK_SMP

12 years agofixed lots of bugs
Abhinav Bhatele [Sun, 22 Feb 2009 18:56:28 +0000 (18:56 +0000)]
fixed lots of bugs

12 years agoadded a few optimizations for SMP.
Filippo Gioachin [Sun, 22 Feb 2009 10:48:10 +0000 (10:48 +0000)]
added a few optimizations for SMP.
Also added relaxed versions without locks. These use fences, and are active when CMK_PCQUEUE_LOCK is not enabled in conv-mach. Since the queue is incorrectly used as multiple-producers-single-consumer, to solve the problem of multiple-producers there are two options:
CMK_PCQUEUE_PUSH_LOCK uses a lock (stable)
PCQUEUE_MULTIQUEUE adds code to make the queue support multiple producers with fences only (unstable/devel)

12 years agoadded a new atomic operation
Filippo Gioachin [Sun, 22 Feb 2009 10:24:57 +0000 (10:24 +0000)]
added a new atomic operation

12 years agoreverted the previous change of moving len==0 checking out of PCQUEUE_LOCK guard
Gengbin Zheng [Sun, 22 Feb 2009 04:16:52 +0000 (04:16 +0000)]
reverted the previous change of moving len==0 checking out of  PCQUEUE_LOCK guard

12 years agoswitch back to memory gnu
Gengbin Zheng [Sun, 22 Feb 2009 04:14:44 +0000 (04:14 +0000)]
switch back to memory gnu

12 years agoswitch back to gnu
Gengbin Zheng [Sun, 22 Feb 2009 04:13:39 +0000 (04:13 +0000)]
switch back to gnu

12 years agoFixed addition of libraries to SPU_EXTRA_LIBS to automatically include "-l" before...
David Kunzman [Fri, 20 Feb 2009 21:39:33 +0000 (21:39 +0000)]
Fixed addition of libraries to SPU_EXTRA_LIBS to automatically include "-l" before library name.

12 years agoremoved c++ style comment.
Gengbin Zheng [Fri, 20 Feb 2009 21:17:58 +0000 (21:17 +0000)]
removed c++ style comment.

12 years agoAdded #ifndef CK_TEMPLATES_ONLY checks around generated code for accelblocks and...
David Kunzman [Fri, 20 Feb 2009 21:01:51 +0000 (21:01 +0000)]
Added #ifndef CK_TEMPLATES_ONLY checks around generated code for accelblocks and spe register functions.

12 years ago1. added more debug message
Chao Mei [Fri, 20 Feb 2009 19:04:52 +0000 (19:04 +0000)]
1. added more debug message
2. added a macro that enables reusing the message of iteration without recreating a new
message.

12 years agoMinor refactoring changes.
Lukasz Wesolowski [Fri, 20 Feb 2009 18:50:40 +0000 (18:50 +0000)]
Minor refactoring changes.

12 years agouse memery os by default now
Gengbin Zheng [Fri, 20 Feb 2009 18:47:00 +0000 (18:47 +0000)]
use memery os by default now

12 years agoswitch to memory os by default
Gengbin Zheng [Fri, 20 Feb 2009 18:44:39 +0000 (18:44 +0000)]
switch to memory os by default

12 years agocomment out a unnecesary timer call
Gengbin Zheng [Fri, 20 Feb 2009 18:39:54 +0000 (18:39 +0000)]
comment out a unnecesary timer call

12 years agomove cpu init affinity to later into charm because machine layer may not be read
Gengbin Zheng [Fri, 20 Feb 2009 18:38:02 +0000 (18:38 +0000)]
move cpu init affinity to later into charm because machine layer may not be read
y yet e.g. in pxshm (affinity code is now blocking inside)

12 years agomove cpu init affinity to later into charm because machine layer may not be ready...
Gengbin Zheng [Fri, 20 Feb 2009 18:37:21 +0000 (18:37 +0000)]
move cpu init affinity to later into charm because machine layer may not be ready yet (affinity code is now blocking inside)

12 years agochange to force cpuaffinity to reture only after affinity has been set on current...
Gengbin Zheng [Fri, 20 Feb 2009 18:15:48 +0000 (18:15 +0000)]
change to force cpuaffinity to reture only after affinity has been set on current processor.

12 years agoarch files which should work for both XT4 and XT5.
Abhinav Bhatele [Fri, 20 Feb 2009 17:38:20 +0000 (17:38 +0000)]
arch files which should work for both XT4 and XT5.
compiles on both but not tested extensively on XT5

12 years agobeing moved to mpi-crayxt
Abhinav Bhatele [Fri, 20 Feb 2009 17:35:49 +0000 (17:35 +0000)]
being moved to mpi-crayxt

12 years agoMove CthThdPrintStack to an appropriate place to fix compiling errors in other
Chao Mei [Fri, 20 Feb 2009 15:10:40 +0000 (15:10 +0000)]
Move CthThdPrintStack to an appropriate place to fix compiling errors in other
threads building mode (i.e. on platforms that QuickThreads is not supported,
e.g. the net-win32)

12 years agoChanges for out-of-core emulation in BigSim
Chao Mei [Fri, 20 Feb 2009 07:18:43 +0000 (07:18 +0000)]
Changes for out-of-core emulation in BigSim

12 years agoChanges for out-of-core emulation in BigSim. One change is worth mentioning that
Chao Mei [Fri, 20 Feb 2009 07:17:40 +0000 (07:17 +0000)]
Changes for out-of-core emulation in BigSim. One change is worth mentioning that
there's a barrier after MPI_Init call. And only after this barrier, the out-of-core emulation for AMPI programs in BigSim is enabled. The reason for this could be referred to the entries in TMS

12 years agoChanges for out-of-core emulation in BigSim.
Chao Mei [Fri, 20 Feb 2009 07:13:41 +0000 (07:13 +0000)]
Changes for out-of-core emulation in BigSim.

12 years agoChange CMK_OUT_OF_CORE to BIGSIM_OUT_OF_CORE as the former one is for the out-of...
Chao Mei [Fri, 20 Feb 2009 07:07:35 +0000 (07:07 +0000)]
Change CMK_OUT_OF_CORE to BIGSIM_OUT_OF_CORE as the former one is for the out-of-core execution in Charm runtime.

12 years agoAdapt the BgProcessMessage inside the very basic out-of-core emulation to the new...
Chao Mei [Fri, 20 Feb 2009 07:06:00 +0000 (07:06 +0000)]
Adapt the BgProcessMessage inside the very basic out-of-core emulation to the new interface

12 years agomodified
Gengbin Zheng [Fri, 20 Feb 2009 06:54:39 +0000 (06:54 +0000)]
modified

12 years agooptimization for multicore - skip ccd callbacks in idling
Gengbin Zheng [Fri, 20 Feb 2009 04:03:29 +0000 (04:03 +0000)]
optimization for multicore - skip ccd callbacks in idling

12 years agoturned off CMK_NODE_QUEUE_AVAILABLE since single node does not make sense to have it.
Gengbin Zheng [Fri, 20 Feb 2009 04:02:11 +0000 (04:02 +0000)]
turned off CMK_NODE_QUEUE_AVAILABLE since single node does not make sense to have it.

12 years agoadded flag for PPC assembly detection
Filippo Gioachin [Thu, 19 Feb 2009 21:57:50 +0000 (21:57 +0000)]
added flag for PPC assembly detection

12 years agofixes for windows build: added forgotten #ifdef around a variable; removed #warning...
Filippo Gioachin [Thu, 19 Feb 2009 21:47:27 +0000 (21:47 +0000)]
fixes for windows build: added forgotten #ifdef around a variable; removed #warning statements not available in windows and substituted with runtime printfs

12 years agoMade the generated accel entry method callback a member of CkIndex_xxx class. This...
David Kunzman [Thu, 19 Feb 2009 19:26:25 +0000 (19:26 +0000)]
Made the generated accel entry method callback a member of CkIndex_xxx class.  This allows
the chare class to declare CkIndex_xxx as a friend instead of just making its member
variables public.

12 years agoMade member variables private. Added CkIndex_Hello as a friend class to Hello.
David Kunzman [Thu, 19 Feb 2009 19:23:23 +0000 (19:23 +0000)]
Made member variables private.  Added CkIndex_Hello as a friend class to Hello.

12 years agoMake member variables private again. Added CkIndex_Jacobi as a friend class to Jacobi.
David Kunzman [Thu, 19 Feb 2009 19:22:38 +0000 (19:22 +0000)]
Make member variables private again.  Added CkIndex_Jacobi as a friend class to Jacobi.

12 years agofixes for performance
Abhinav Bhatele [Thu, 19 Feb 2009 17:42:48 +0000 (17:42 +0000)]
fixes for performance

12 years agoadding definition of CmiMemory operations (ReadFence, WriteFence, AtomicIncrement...
Filippo Gioachin [Thu, 19 Feb 2009 02:32:01 +0000 (02:32 +0000)]
adding definition of CmiMemory operations (ReadFence, WriteFence, AtomicIncrement, AtomicDecrement) for various architectures. Also changed pcqueue to make use of them in a more consistent way.
Made defaults for architectures where specific ASM isn't available.
The next step will be to delete the definition of CMK_PCQUEUE_LOCK from the specific machine files

12 years agoChanged assignment for CMK_CELL to 1 from "1". Removed "-Wno-main" from SPE C++...
David Kunzman [Wed, 18 Feb 2009 22:21:16 +0000 (22:21 +0000)]
Changed assignment for CMK_CELL to 1 from "1".  Removed "-Wno-main" from SPE C++ compiler options.

12 years agoAdded default value for CMK_CELL.
David Kunzman [Wed, 18 Feb 2009 22:19:22 +0000 (22:19 +0000)]
Added default value for CMK_CELL.

12 years agoversion 9 is now treated same as 10.
Gengbin Zheng [Wed, 18 Feb 2009 21:18:49 +0000 (21:18 +0000)]
version 9 is now treated same as 10.

12 years agoMade the liveVizGroup migratable, with a pup function,
Orion Lawlor [Wed, 18 Feb 2009 21:05:48 +0000 (21:05 +0000)]
Made the liveVizGroup migratable, with a pup function,
so Tom Quinn's checkpointing will actually work.

12 years agoAdded C++ and user specified library support for SPEs.
David Kunzman [Wed, 18 Feb 2009 20:28:29 +0000 (20:28 +0000)]
Added C++ and user specified library support for SPEs.

12 years agofixed smp configurations
Gengbin Zheng [Wed, 18 Feb 2009 20:26:16 +0000 (20:26 +0000)]
fixed smp configurations

12 years agoAdded 'extern "C"' to funcLookup() declaration for SPE C++ support.
David Kunzman [Wed, 18 Feb 2009 20:23:43 +0000 (20:23 +0000)]
Added 'extern "C"' to funcLookup() declaration for SPE C++ support.

12 years agotest ia-64
Gengbin Zheng [Wed, 18 Feb 2009 16:06:12 +0000 (16:06 +0000)]
test ia-64

12 years agominor change to exit gracefully when icc does not exist
Gengbin Zheng [Wed, 18 Feb 2009 06:16:57 +0000 (06:16 +0000)]
minor change to exit gracefully when icc does not exist

12 years agofor older version
Gengbin Zheng [Wed, 18 Feb 2009 03:42:07 +0000 (03:42 +0000)]
for older version

12 years agomerge amd into cc-icc.sh
Gengbin Zheng [Wed, 18 Feb 2009 03:34:46 +0000 (03:34 +0000)]
merge amd into cc-icc.sh

12 years agomove old cc file to cc8, and make cc10 default
Gengbin Zheng [Wed, 18 Feb 2009 03:14:27 +0000 (03:14 +0000)]
move old cc file to cc8, and make cc10 default

12 years agoadded suite of mpich tests tweaked for ampi
Aaron Becker [Tue, 17 Feb 2009 21:23:05 +0000 (21:23 +0000)]
added suite of mpich tests tweaked for ampi

12 years agoThe kNeighbor microbenchmark which enhances the pingpong test by considering the...
Chao Mei [Tue, 17 Feb 2009 21:08:53 +0000 (21:08 +0000)]
The kNeighbor microbenchmark which enhances the pingpong test by considering the message contention. In each iteration, each element (usually one element per core) will send and receive a message from its K neighbor cores on both sides (in wraparound mode). The output tells how long each iteration takes.

12 years agoremoved pointless comparison pf unsigned integer with zero
Gengbin Zheng [Tue, 17 Feb 2009 16:30:29 +0000 (16:30 +0000)]
removed pointless comparison pf unsigned integer with zero

12 years agoadded const for char * to suppress compiler warnings.
Gengbin Zheng [Tue, 17 Feb 2009 04:29:01 +0000 (04:29 +0000)]
added const for char * to suppress compiler warnings.
add missing TRACE_BG_AMPI_BREAK for CMK_OPTIMIZE

12 years agoupdated
Gengbin Zheng [Tue, 17 Feb 2009 03:54:58 +0000 (03:54 +0000)]
updated

12 years agonodeID in taskID is changed to PE number (worker thread global number)
Gengbin Zheng [Tue, 17 Feb 2009 03:54:27 +0000 (03:54 +0000)]
nodeID in taskID is changed to PE number (worker thread global number)
changed to use more intuitive name of parameters (such numEmulatingPes to replace numPes)

12 years agoin taskID, the srcNode is now changed to srcPE
Gengbin Zheng [Tue, 17 Feb 2009 03:52:47 +0000 (03:52 +0000)]
in taskID, the srcNode is now changed to srcPE

12 years agoonly advance virtual timer when in timestamp correction mode.
Gengbin Zheng [Mon, 16 Feb 2009 21:00:53 +0000 (21:00 +0000)]
only advance virtual timer when in timestamp correction mode.

12 years agoadded AMPI readme with compile/link/run and porting info
Aaron Becker [Mon, 16 Feb 2009 17:58:23 +0000 (17:58 +0000)]
added AMPI readme with compile/link/run and porting info

12 years agowhen same PE, latency returns 0
Gengbin Zheng [Mon, 16 Feb 2009 16:55:16 +0000 (16:55 +0000)]
when same PE, latency returns 0

12 years agoa warning for the arch name change: net-rs6k => net-aix-ppc
Gengbin Zheng [Sat, 14 Feb 2009 14:43:44 +0000 (14:43 +0000)]
a warning for the arch name change: net-rs6k => net-aix-ppc

12 years agochanged in bgconfig file from bgelaps to elapse
Gengbin Zheng [Fri, 13 Feb 2009 06:40:38 +0000 (06:40 +0000)]
changed in bgconfig file from bgelaps to elapse

12 years agouse memory os and pcqueue lock
Gengbin Zheng [Fri, 13 Feb 2009 06:06:32 +0000 (06:06 +0000)]
use memory os and pcqueue lock

12 years agofixed trace-projections under bigsim and AMPI
Gengbin Zheng [Fri, 13 Feb 2009 03:17:02 +0000 (03:17 +0000)]
fixed trace-projections under bigsim and AMPI

12 years agoAdded divide functions.
David Kunzman [Thu, 12 Feb 2009 19:55:16 +0000 (19:55 +0000)]
Added divide functions.

12 years agoUpdated for new grammar ("in" now "readonly" and "out" now "writeonly").
David Kunzman [Thu, 12 Feb 2009 18:09:55 +0000 (18:09 +0000)]
Updated for new grammar ("in" now "readonly" and "out" now "writeonly").

12 years agoUpdated for new grammar ("inout" now "readwrite").
David Kunzman [Thu, 12 Feb 2009 18:07:51 +0000 (18:07 +0000)]
Updated for new grammar ("inout" now "readwrite").

12 years agowhen string is empty, includes will return TRUE (assuming no list is specified EQ...
Gengbin Zheng [Thu, 12 Feb 2009 05:23:02 +0000 (05:23 +0000)]
when string is empty, includes will return TRUE (assuming no list is specified EQ to full set)

12 years agotwo functions BgIsRecord and BgIsReplay to tell the mode bigsim is running in record...
Gengbin Zheng [Thu, 12 Feb 2009 05:21:21 +0000 (05:21 +0000)]
two functions BgIsRecord and BgIsReplay to tell the mode bigsim is running in record/replay mode

12 years agocomment out a debug print in openBinaryReplayFile
Gengbin Zheng [Thu, 12 Feb 2009 05:20:07 +0000 (05:20 +0000)]
comment out a debug print in openBinaryReplayFile

12 years agowhen set event name, make sure it does not go out of allowed string length.
Gengbin Zheng [Thu, 12 Feb 2009 05:19:27 +0000 (05:19 +0000)]
when set event name, make sure it does not go out of allowed string length.

12 years agoadded CmiBarrier before init topo. This fixed a problem on net-gm layeri when gm...
Gengbin Zheng [Thu, 12 Feb 2009 00:51:34 +0000 (00:51 +0000)]
added CmiBarrier before init topo. This fixed a problem on net-gm layeri when gm randomly received a corrupted msg.

12 years agoupdated test for python paper
Filippo Gioachin [Wed, 11 Feb 2009 23:29:40 +0000 (23:29 +0000)]
updated test for python paper

12 years agoinitialize hostTable and topomsg more carefully to avoid rare race condition. charm6_0_1
Gengbin Zheng [Wed, 11 Feb 2009 15:55:29 +0000 (15:55 +0000)]
initialize hostTable and topomsg more carefully to avoid rare race condition.
When the function to get host IP is missing, modify it to not abort now. A warning msg is given, the program will continue.

12 years agoChanged "in", "inout", and "out" keywords to "readonly", "readwrite", and "writeonly...
David Kunzman [Wed, 11 Feb 2009 03:49:30 +0000 (03:49 +0000)]
Changed "in", "inout", and "out" keywords to "readonly", "readwrite", and "writeonly", respectively, for accel entry methods.  Did this to avoid "in" and "out" as keywords.

12 years agofix the previous checkin about tau makefile
Gengbin Zheng [Tue, 10 Feb 2009 16:25:30 +0000 (16:25 +0000)]
fix the previous checkin about tau makefile

12 years agoadded +bgrecordprocessors which takes a list of processors to turn on record mode.
Gengbin Zheng [Tue, 10 Feb 2009 05:43:38 +0000 (05:43 +0000)]
added +bgrecordprocessors which takes a list of processors to turn on record mode.
also added corresponding config file keyword: record and recordprocessors

12 years agofixed the missing -seq which was left out in Phil's parallel make changes.
Gengbin Zheng [Tue, 10 Feb 2009 02:40:36 +0000 (02:40 +0000)]
fixed the missing -seq which was left out in Phil's parallel make changes.

12 years agoadded check to make sure executable exists before trying to run the program
Filippo Gioachin [Mon, 9 Feb 2009 21:58:13 +0000 (21:58 +0000)]
added check to make sure executable exists before trying to run the program

12 years agoidefine CMK_AIX
Gengbin Zheng [Mon, 9 Feb 2009 17:16:08 +0000 (17:16 +0000)]
idefine CMK_AIX

12 years agoremoved gmake syntax in defining LIBTHREADSDEPS
Gengbin Zheng [Mon, 9 Feb 2009 17:09:33 +0000 (17:09 +0000)]
removed gmake syntax in defining LIBTHREADSDEPS

12 years agoremoved gmake features so that normal make can build
Gengbin Zheng [Mon, 9 Feb 2009 16:59:17 +0000 (16:59 +0000)]
removed gmake features so that normal make can build

12 years agoavoid empty TAU_MAKEFILE
Gengbin Zheng [Mon, 9 Feb 2009 16:47:23 +0000 (16:47 +0000)]
avoid empty TAU_MAKEFILE

12 years agoinclude an empty Makefile for tau when tau is not compiled is not acceptable for...
Gengbin Zheng [Mon, 9 Feb 2009 16:43:45 +0000 (16:43 +0000)]
include an empty Makefile for tau when tau is not compiled is not acceptable for standard make. fixed by having a dummy empty tau makefile.

12 years ago+ll never worked because of incorrect shell syntax
Gengbin Zheng [Mon, 9 Feb 2009 16:26:37 +0000 (16:26 +0000)]
+ll never worked because of incorrect shell syntax

12 years agoremoved duplicated of definition of CMK_MACHINE_PROGRESS_DEFINED in previous checkin
Gengbin Zheng [Mon, 9 Feb 2009 16:26:04 +0000 (16:26 +0000)]
removed duplicated of definition of CMK_MACHINE_PROGRESS_DEFINED in previous checkin

12 years agoDefine CMK_64BIT when compiling with mpcc64
Filippo Gioachin [Mon, 9 Feb 2009 08:14:52 +0000 (08:14 +0000)]
Define CMK_64BIT when compiling with mpcc64