charm.git
12 years agoatof seems to be not thread-safe on darwin (hope.cs). make sure only rank 0 calls it.
Gengbin Zheng [Sun, 1 Mar 2009 18:43:26 +0000 (18:43 +0000)]
atof seems to be not thread-safe on darwin (hope.cs). make sure only rank 0 calls it.

12 years agoturned on pcqueue lock
Gengbin Zheng [Sat, 28 Feb 2009 02:40:11 +0000 (02:40 +0000)]
turned on pcqueue lock

12 years agoupdated
Gengbin Zheng [Sat, 28 Feb 2009 01:45:49 +0000 (01:45 +0000)]
updated

12 years agoabort and report error when configure can not determine the bproc version
Gengbin Zheng [Sat, 28 Feb 2009 01:44:48 +0000 (01:44 +0000)]
abort and report error when configure can not determine the bproc version

12 years agofixed 2 things:
Gengbin Zheng [Sat, 28 Feb 2009 01:44:14 +0000 (01:44 +0000)]
fixed 2 things:
1. put correct call to get Bproc's Ip address
2. handle correctly when an IP can not be obtained

12 years agowhen atomic increment does not working, use pcqueue lock
Gengbin Zheng [Fri, 27 Feb 2009 22:07:37 +0000 (22:07 +0000)]
when atomic increment does not working, use pcqueue lock

12 years agotested x86 asm for atomic increment
Gengbin Zheng [Fri, 27 Feb 2009 22:05:39 +0000 (22:05 +0000)]
tested x86 asm for atomic increment

12 years agoturn CMK_PCQUEUE_LOCK on
Gengbin Zheng [Fri, 27 Feb 2009 20:43:31 +0000 (20:43 +0000)]
turn CMK_PCQUEUE_LOCK on

12 years agowe should not be doing this check in registerArray
Abhinav Bhatele [Fri, 27 Feb 2009 19:04:18 +0000 (19:04 +0000)]
we should not be doing this check in registerArray

12 years agochanges to handle dynamic insertion of arrays
Abhinav Bhatele [Fri, 27 Feb 2009 17:43:20 +0000 (17:43 +0000)]
changes to handle dynamic insertion of arrays
we will use RRMap::procNum for dynamic insertions and the default (blocked
map) otherwise

12 years agoadded a sanity check when a log has both incoming message as trigger, and backward...
Gengbin Zheng [Fri, 27 Feb 2009 07:35:30 +0000 (07:35 +0000)]
added a sanity check when a log has both incoming message as trigger, and backward deps

12 years agoclean up varaible names and rename to its real meaning (pe, or node)
Gengbin Zheng [Fri, 27 Feb 2009 06:50:57 +0000 (06:50 +0000)]
clean up varaible names and rename to its real meaning (pe, or node)

12 years agominor fix which could have become a bug
Abhinav Bhatele [Fri, 27 Feb 2009 06:45:33 +0000 (06:45 +0000)]
minor fix which could have become a bug

12 years agocorrect the dependence if ampi_barrier_end to the beginning of ampi_barrier.
Gengbin Zheng [Fri, 27 Feb 2009 06:12:07 +0000 (06:12 +0000)]
correct the dependence if ampi_barrier_end to the beginning of ampi_barrier.

12 years agomapping for Charm++ arrays being changed from round robin for 1d and has
Abhinav Bhatele [Fri, 27 Feb 2009 03:41:33 +0000 (03:41 +0000)]
mapping for Charm++ arrays being changed from round robin for 1d and has
for 2d, 3d to blocked for all kinds

12 years agoAdded a function call for allocating page-locked memory buffers. The GPU manager...
Lukasz Wesolowski [Fri, 27 Feb 2009 00:53:23 +0000 (00:53 +0000)]
Added a function call for allocating page-locked memory buffers. The GPU manager will schedule
the allocations such that they do not impede concurrent asynchronous execution.

12 years agoChanged check from 'if Solaris' to check the generated macro 'CMK_HAS_SQRTF' generate...
David Kunzman [Thu, 26 Feb 2009 20:20:11 +0000 (20:20 +0000)]
Changed check from 'if Solaris' to check the generated macro 'CMK_HAS_SQRTF' generated from configuration.

12 years agoadded a test for sqrtf
Gengbin Zheng [Thu, 26 Feb 2009 20:14:27 +0000 (20:14 +0000)]
added a test for sqrtf

12 years agoAdded sqrtf for Solaris based on sqrt.
David Kunzman [Thu, 26 Feb 2009 20:06:51 +0000 (20:06 +0000)]
Added sqrtf for Solaris based on sqrt.

12 years agorelaxing the lock in pcqueue for SMP. The lock is still enabled for now for multi...
Filippo Gioachin [Thu, 26 Feb 2009 08:15:54 +0000 (08:15 +0000)]
relaxing the lock in pcqueue for SMP. The lock is still enabled for now for multi-producer, but Push and Pop now work on fences.

12 years agoforcing CMK_PCQUEUE_PUSH_LOCK active on SMP when CMK_PCQUEUE_LOCK is disabled
Filippo Gioachin [Thu, 26 Feb 2009 08:03:20 +0000 (08:03 +0000)]
forcing CMK_PCQUEUE_PUSH_LOCK active on SMP when CMK_PCQUEUE_LOCK is disabled

12 years agodisplay summary of execution data at end of the run.
Gengbin Zheng [Thu, 26 Feb 2009 05:03:07 +0000 (05:03 +0000)]
display summary of execution data at end of the run.

12 years agochanged to updated ckliststring
Gengbin Zheng [Wed, 25 Feb 2009 22:02:35 +0000 (22:02 +0000)]
changed to updated ckliststring

12 years agochanged to the updated ckliststring
Gengbin Zheng [Wed, 25 Feb 2009 22:01:56 +0000 (22:01 +0000)]
changed to the updated ckliststring

12 years agochange it to allow ":" and stride, such as 0-32768:1024
Gengbin Zheng [Wed, 25 Feb 2009 22:01:19 +0000 (22:01 +0000)]
change it to allow ":" and stride, such as  0-32768:1024

12 years agoFixed link line for md_proj to include math library for SPE code.
David Kunzman [Wed, 25 Feb 2009 21:31:17 +0000 (21:31 +0000)]
Fixed link line for md_proj to include math library for SPE code.

12 years agoAdded some C++ operator overloads.
David Kunzman [Wed, 25 Feb 2009 21:06:30 +0000 (21:06 +0000)]
Added some C++ operator overloads.

12 years agoinmem ckpt mainchare takes command line argument, which causes problem becase non...
Gengbin Zheng [Wed, 25 Feb 2009 19:21:44 +0000 (19:21 +0000)]
inmem ckpt mainchare takes command line argument, which causes problem becase non-zero PEs does not consume the argv. Fixed it by writing another init function that is called by every pe.

12 years agoAn index file that can be used without having to browse through the 11000 files gener...
Isaac Dooley [Wed, 25 Feb 2009 17:40:31 +0000 (17:40 +0000)]
An index file that can be used without having to browse through the 11000 files generated by doxygen in the html directory. The page simply links to the main index file.

12 years agoskip blocking init cpu affinity calls when it is a restart
Gengbin Zheng [Tue, 24 Feb 2009 19:10:47 +0000 (19:10 +0000)]
skip blocking init cpu affinity calls when it is a restart

12 years agomove the code that calculates the mapping of pe => fileoffset into the mapping function.
Gengbin Zheng [Tue, 24 Feb 2009 16:48:56 +0000 (16:48 +0000)]
move the code that calculates the mapping of pe => fileoffset into the mapping function.

12 years agosupport for running over BigSim added
Abhinav Bhatele [Tue, 24 Feb 2009 14:23:48 +0000 (14:23 +0000)]
support for running over BigSim added

12 years agoadded const to equals charm_6_0_1
Gengbin Zheng [Tue, 24 Feb 2009 01:07:09 +0000 (01:07 +0000)]
added const to equals

12 years agofixed for VC++ compilation.
Gengbin Zheng [Tue, 24 Feb 2009 00:51:39 +0000 (00:51 +0000)]
fixed for VC++ compilation.

12 years agosome compilers don't like empty structures
Filippo Gioachin [Mon, 23 Feb 2009 22:54:34 +0000 (22:54 +0000)]
some compilers don't like empty structures

12 years agofixes to ddt struct and vector types
Aaron Becker [Mon, 23 Feb 2009 22:44:19 +0000 (22:44 +0000)]
fixes to ddt struct and vector types

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