charm.git
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

12 years agofix for Power5 compiler
Filippo Gioachin [Mon, 9 Feb 2009 08:14:05 +0000 (08:14 +0000)]
fix for Power5 compiler

12 years agofixes for lapi build
Filippo Gioachin [Mon, 9 Feb 2009 06:46:05 +0000 (06:46 +0000)]
fixes for lapi build

12 years agochanged c++ style comments by bigsim ooc
Gengbin Zheng [Mon, 9 Feb 2009 05:56:30 +0000 (05:56 +0000)]
changed c++ style comments by bigsim ooc

12 years agoupdated to new function interfaces (compiles fine on blueprint)
Gengbin Zheng [Mon, 9 Feb 2009 05:55:45 +0000 (05:55 +0000)]
updated to new function interfaces (compiles fine on blueprint)

12 years agoreduced thread stack size cause otherwise it hang on blueprint (power 5 mpi-sp-mpcc32)
Gengbin Zheng [Mon, 9 Feb 2009 03:52:57 +0000 (03:52 +0000)]
reduced thread stack size cause otherwise it hang on blueprint (power 5  mpi-sp-mpcc32)

12 years agousing different search indices (i and j) for bufferInfo and devBuffers in allocateBuf...
Pritish Jetley [Sun, 8 Feb 2009 00:12:36 +0000 (00:12 +0000)]
using different search indices (i and j) for bufferInfo and devBuffers in allocateBuffers.

12 years agousing CreateFiberEx instead of CreateFiber allows a user to set Fiber stack size...
Gengbin Zheng [Sat, 7 Feb 2009 08:14:57 +0000 (08:14 +0000)]
using CreateFiberEx instead of CreateFiber allows a user to set Fiber stack size, which allows larger number of fiber threads.

12 years agogenerate compilation error under cygwin + mingw.
Gengbin Zheng [Sat, 7 Feb 2009 04:52:11 +0000 (04:52 +0000)]
generate compilation error under cygwin + mingw.

12 years agoname rule QUICKTHREADS to QUICK_THREADS. Under windows or other case-insensitive...
Gengbin Zheng [Sat, 7 Feb 2009 04:41:13 +0000 (04:41 +0000)]
name rule QUICKTHREADS to QUICK_THREADS. Under windows or other case-insensitive machines, it has the same name as QuickThreads source directory.

12 years agoset CMK_QT to none since it does not work
Gengbin Zheng [Sat, 7 Feb 2009 04:40:05 +0000 (04:40 +0000)]
set CMK_QT to none since it does not work

12 years agonative windows binary compiled with mingw under cygwin. updated to use NT variable...
Gengbin Zheng [Sat, 7 Feb 2009 04:27:30 +0000 (04:27 +0000)]
native windows binary compiled with mingw under cygwin. updated to use NT variable scheme.

12 years agoregenerated
Gengbin Zheng [Sat, 7 Feb 2009 04:22:48 +0000 (04:22 +0000)]
regenerated

12 years agoin test_link, add CMK_SYSLIBS into the link command which is necessary for syslibs...
Gengbin Zheng [Sat, 7 Feb 2009 04:21:50 +0000 (04:21 +0000)]
in test_link, add CMK_SYSLIBS into the link command which is necessary for syslibs such as winsock32.

12 years agoAdded call to register spe accel entry methods at startup for Cell architectures.
David Kunzman [Fri, 6 Feb 2009 22:51:00 +0000 (22:51 +0000)]
Added call to register spe accel entry methods at startup for Cell architectures.

12 years ago1) Made register_accel_spe_funcs() call 'extern "C"'
David Kunzman [Fri, 6 Feb 2009 22:48:39 +0000 (22:48 +0000)]
1) Made register_accel_spe_funcs() call 'extern "C"'
2) Added a flag to spe registration functions to avoid a possible infinite loop.

12 years agoVarious updates for (1) accel entry method support and (2) to clean up the code.
David Kunzman [Fri, 6 Feb 2009 22:10:51 +0000 (22:10 +0000)]
Various updates for (1) accel entry method support and (2) to clean up the code.

12 years agoFixed a bug in the automatic buffer allocation/transfer.
Lukasz Wesolowski [Fri, 6 Feb 2009 19:15:03 +0000 (19:15 +0000)]
Fixed a bug in the automatic buffer allocation/transfer.

12 years agofor AIX, avoid new. Looks like new does not go to malloc, and so isomalloc may not...
Gengbin Zheng [Fri, 6 Feb 2009 18:22:59 +0000 (18:22 +0000)]
for AIX, avoid new. Looks like new does not go to malloc, and so isomalloc may not work

12 years agopup worldNo in ampiParent. No idea why it was missing.
Gengbin Zheng [Fri, 6 Feb 2009 08:43:31 +0000 (08:43 +0000)]
pup worldNo in ampiParent. No idea why it was missing.
Adding this seems to fix the bug in MPI_Group_create.

12 years agompi-linux-ppc port. This works on BigRed (NAMD runs)
Abhinav Bhatele [Fri, 6 Feb 2009 08:05:26 +0000 (08:05 +0000)]
mpi-linux-ppc port. This works on BigRed (NAMD runs)

12 years agomake sure CMK_CELL is set to 0 as default. This simplifies charmc test
Gengbin Zheng [Fri, 6 Feb 2009 07:52:43 +0000 (07:52 +0000)]
make sure CMK_CELL is set to 0 as default. This simplifies charmc test

12 years agoadded -I. for broken make depenencies. Header files may not be linked into include...
Gengbin Zheng [Fri, 6 Feb 2009 07:52:05 +0000 (07:52 +0000)]
added -I. for broken make depenencies. Header files may not be linked into include/ before the file is compiled.

12 years agouse TCHARM_Register_thread_function to register trhead start function
Gengbin Zheng [Fri, 6 Feb 2009 07:44:51 +0000 (07:44 +0000)]
use TCHARM_Register_thread_function to register trhead start function

12 years agouse TCHARM_Register_thread_function to register thread start function
Gengbin Zheng [Fri, 6 Feb 2009 07:44:18 +0000 (07:44 +0000)]
use TCHARM_Register_thread_function to register thread start function

12 years agoregister AMPI_threadstart function to tcharm using the new interface (TCHARM_Register...
Gengbin Zheng [Fri, 6 Feb 2009 06:52:10 +0000 (06:52 +0000)]
register AMPI_threadstart function to tcharm using the new interface (TCHARM_Register_thread_function)

12 years agotcharm initization sends a function pointer in the tcharmInitMsg to broadcast to...
Gengbin Zheng [Fri, 6 Feb 2009 06:51:29 +0000 (06:51 +0000)]
tcharm initization sends a function pointer in the tcharmInitMsg to broadcast to every processor. This has problems with stack randomization and hetergrnous staff.
Change it to a function registration scheme by introducing a function TCHARM_Register_thread_function() to register a tcharm thread start function to an integer handler.

12 years agomake a special case for net-cygwin, disable jpeg feature when CYGWIN is defined....
Gengbin Zheng [Fri, 6 Feb 2009 02:17:13 +0000 (02:17 +0000)]
make a special case for net-cygwin, disable jpeg feature when CYGWIN is defined. jpeg does not work under cygwin yet.

12 years agoformatted debug print
Gengbin Zheng [Fri, 6 Feb 2009 00:43:48 +0000 (00:43 +0000)]
formatted debug print

12 years agouserData belongs in workRequest
Pritish Jetley [Thu, 5 Feb 2009 23:39:42 +0000 (23:39 +0000)]
userData belongs in workRequest

12 years agoremoved inclusion of converse.h
Pritish Jetley [Thu, 5 Feb 2009 23:13:07 +0000 (23:13 +0000)]
removed inclusion of converse.h

12 years agoAdded a new member to the workRequest struct - userData; it can be used to
Lukasz Wesolowski [Thu, 5 Feb 2009 22:39:59 +0000 (22:39 +0000)]
Added a new member to the workRequest struct - userData; it can be used to
pass scalar values as arguments to kernel calls

12 years agontohl for windows is defined in winsock.h
Gengbin Zheng [Thu, 5 Feb 2009 22:17:48 +0000 (22:17 +0000)]
ntohl for windows is defined in winsock.h

12 years agorefix the previous checkin
Gengbin Zheng [Thu, 5 Feb 2009 22:17:15 +0000 (22:17 +0000)]
refix the previous checkin

12 years agochanged CMK_CELL comparison from int to string
Aaron Becker [Thu, 5 Feb 2009 21:28:52 +0000 (21:28 +0000)]
changed CMK_CELL comparison from int to string

12 years agocall sync after checkpoint
Gengbin Zheng [Thu, 5 Feb 2009 20:51:29 +0000 (20:51 +0000)]
call sync after checkpoint

12 years agoenable "sync" when possible
Gengbin Zheng [Thu, 5 Feb 2009 20:50:41 +0000 (20:50 +0000)]
enable "sync" when possible

12 years agoset CMK_DISABLE_SYNC to 1 because sync may hang on cobalt.ncsa in checkpointing
Gengbin Zheng [Thu, 5 Feb 2009 20:49:40 +0000 (20:49 +0000)]
set CMK_DISABLE_SYNC to 1 because sync may hang on cobalt.ncsa in checkpointing

12 years agoAdded a new check to see if ntohl is implemented on the platform (on XT3 it is not...
Filippo Gioachin [Thu, 5 Feb 2009 18:29:03 +0000 (18:29 +0000)]
Added a new check to see if ntohl is implemented on the platform (on XT3 it is not). If it is not a replacement implementation is provided

12 years agolength from int to size_t
Gengbin Zheng [Thu, 5 Feb 2009 18:18:35 +0000 (18:18 +0000)]
length from int to size_t

12 years agomore length from int to size_t
Gengbin Zheng [Thu, 5 Feb 2009 18:08:18 +0000 (18:08 +0000)]
more length from int to size_t

12 years agolength from int to size_t
Gengbin Zheng [Thu, 5 Feb 2009 18:00:00 +0000 (18:00 +0000)]
length from int to size_t

12 years agochanged length from int to size_t
Gengbin Zheng [Thu, 5 Feb 2009 17:58:58 +0000 (17:58 +0000)]
changed length from int to size_t

12 years agoreduce problem size due to fiber thread creation limit.
Gengbin Zheng [Thu, 5 Feb 2009 16:38:09 +0000 (16:38 +0000)]
reduce problem size due to fiber thread creation limit.

12 years agofixed previous checkin in CMK_CELL test
Gengbin Zheng [Thu, 5 Feb 2009 14:16:29 +0000 (14:16 +0000)]
fixed previous checkin in  CMK_CELL test

12 years agoswitch to normal Cpv instead of CMK_SHARED_VARS_NT_THREADS
Gengbin Zheng [Thu, 5 Feb 2009 02:09:16 +0000 (02:09 +0000)]
switch to normal Cpv instead of CMK_SHARED_VARS_NT_THREADS
set NETPOLL as default.

12 years agoModified for addition of accel entry method support.
David Kunzman [Wed, 4 Feb 2009 23:09:27 +0000 (23:09 +0000)]
Modified for addition of accel entry method support.

12 years agoInitial checkin. Added for accel entry support changes.
David Kunzman [Wed, 4 Feb 2009 23:07:09 +0000 (23:07 +0000)]
Initial checkin.  Added for accel entry support changes.

12 years agoFile no longer needed for this example program.
David Kunzman [Wed, 4 Feb 2009 23:06:14 +0000 (23:06 +0000)]
File no longer needed for this example program.

12 years agoUpdated for accel entry method support.
David Kunzman [Wed, 4 Feb 2009 23:02:31 +0000 (23:02 +0000)]
Updated for accel entry method support.

12 years agoNo longer needed in this example program.
David Kunzman [Wed, 4 Feb 2009 23:00:52 +0000 (23:00 +0000)]
No longer needed in this example program.

12 years agoAdded support for accel entry methods.
David Kunzman [Wed, 4 Feb 2009 22:57:11 +0000 (22:57 +0000)]
Added support for accel entry methods.

12 years agoAdded commands to build SPE code from generated charmxi code.
David Kunzman [Wed, 4 Feb 2009 22:47:22 +0000 (22:47 +0000)]
Added commands to build SPE code from generated charmxi code.

12 years agoAdded simd.h to the list of UTILHEADERS.
David Kunzman [Wed, 4 Feb 2009 22:46:02 +0000 (22:46 +0000)]
Added simd.h to the list of UTILHEADERS.

12 years agoInitial check in. For accel entry support.
David Kunzman [Wed, 4 Feb 2009 22:44:37 +0000 (22:44 +0000)]
Initial check in.  For accel entry support.

12 years agoAdded simd.h include.
David Kunzman [Wed, 4 Feb 2009 22:44:00 +0000 (22:44 +0000)]
Added simd.h include.

12 years agoAdded variables for accel entry addition.
David Kunzman [Wed, 4 Feb 2009 22:43:18 +0000 (22:43 +0000)]
Added variables for accel entry addition.

12 years agoECONNRESET socket error means the peer is crashed, it should not be treated as transi...
Gengbin Zheng [Wed, 4 Feb 2009 21:58:39 +0000 (21:58 +0000)]
ECONNRESET socket error means the peer is crashed, it should not be treated as transient socket error. Program may hang (leave stray processes) when this happens, at least for net-cygwin

12 years agofixed lack of break on long long
Aaron Becker [Wed, 4 Feb 2009 17:29:04 +0000 (17:29 +0000)]
fixed lack of break on long long

12 years agoadded ./
Gengbin Zheng [Wed, 4 Feb 2009 17:26:44 +0000 (17:26 +0000)]
added ./

12 years agobug fixes to ckddt_struct
Aaron Becker [Wed, 4 Feb 2009 17:24:58 +0000 (17:24 +0000)]
bug fixes to ckddt_struct

12 years agoadded ./
Gengbin Zheng [Tue, 3 Feb 2009 17:43:13 +0000 (17:43 +0000)]
added ./

12 years agodummy implementations (basically just MPI_Send) of MPI_Rsend, Ssend and Bsend.
Gengbin Zheng [Tue, 3 Feb 2009 16:46:11 +0000 (16:46 +0000)]
dummy implementations (basically just MPI_Send) of MPI_Rsend, Ssend and Bsend.
Rsend and Ssend should be re-implemented.

12 years agoadded ./
Gengbin Zheng [Mon, 2 Feb 2009 23:59:17 +0000 (23:59 +0000)]
added ./

12 years agoadded path
Gengbin Zheng [Mon, 2 Feb 2009 23:58:45 +0000 (23:58 +0000)]
added path

12 years agoAdded automatic system-addressed buffers.
Lukasz Wesolowski [Mon, 2 Feb 2009 23:33:39 +0000 (23:33 +0000)]
Added automatic system-addressed buffers.

12 years agoadded ./ to each binary in test
Gengbin Zheng [Mon, 2 Feb 2009 21:09:47 +0000 (21:09 +0000)]
added ./ to each binary in test

12 years agodefine CMK_ISATTY_DECL to 1
Gengbin Zheng [Mon, 2 Feb 2009 18:49:00 +0000 (18:49 +0000)]
define CMK_ISATTY_DECL to 1

12 years agoonly declare isatty when CMK_ISATTY_DECL is set.
Gengbin Zheng [Mon, 2 Feb 2009 18:48:15 +0000 (18:48 +0000)]
only declare  isatty when CMK_ISATTY_DECL is set.

12 years agoadded empty functions when bluegene is not defined. Some compiler (power5 xlc) does...
Gengbin Zheng [Mon, 2 Feb 2009 18:15:53 +0000 (18:15 +0000)]
added empty functions when bluegene is not defined. Some compiler (power5 xlc) does not like empty files when making shared lib

12 years agoadded prototype for isatty (for xlc compiler on power5)
Gengbin Zheng [Mon, 2 Feb 2009 08:10:52 +0000 (08:10 +0000)]
added prototype for isatty (for xlc compiler on power5)

12 years agoadded path to executable
Gengbin Zheng [Sat, 31 Jan 2009 16:31:30 +0000 (16:31 +0000)]
added path to executable