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

12 years agoadd ./ to invoke check
Gengbin Zheng [Sat, 31 Jan 2009 06:29:23 +0000 (06:29 +0000)]
add ./ to invoke check

12 years agoadd return statement for functions that has return value.
Gengbin Zheng [Sat, 31 Jan 2009 06:28:26 +0000 (06:28 +0000)]
add return statement for functions that has return value.

12 years agocheck return status of make basics
Gengbin Zheng [Sat, 31 Jan 2009 05:46:59 +0000 (05:46 +0000)]
check return status of make basics

12 years agochanged int8 to long long
Gengbin Zheng [Sat, 31 Jan 2009 05:39:05 +0000 (05:39 +0000)]
changed int8 to long long

12 years agodefine CMK_PCQUEUE_LOCK to 1 for SMP
Gengbin Zheng [Sat, 31 Jan 2009 05:32:37 +0000 (05:32 +0000)]
define CMK_PCQUEUE_LOCK to 1 for SMP

12 years agomake at least an empty function.
Gengbin Zheng [Sat, 31 Jan 2009 03:13:11 +0000 (03:13 +0000)]
make at least an empty function.
Empty file does not compile into shared lib for power 5 xlc compiler.

12 years agofixed previous checkin
Gengbin Zheng [Sat, 31 Jan 2009 02:18:18 +0000 (02:18 +0000)]
fixed previous checkin

12 years ago-Changed all // commenting to /* */ commenting
Ryan Mokos [Fri, 30 Jan 2009 23:39:34 +0000 (23:39 +0000)]
-Changed all // commenting to /* */ commenting

12 years agoadd -qcpluscmt to c++ compiler
Gengbin Zheng [Fri, 30 Jan 2009 22:26:29 +0000 (22:26 +0000)]
add -qcpluscmt to c++ compiler

12 years agoremoved c++ style comments.
Gengbin Zheng [Fri, 30 Jan 2009 20:58:05 +0000 (20:58 +0000)]
removed c++ style comments.

12 years agoinitialize record/replay object to NULL in constructor.
Gengbin Zheng [Fri, 30 Jan 2009 20:37:28 +0000 (20:37 +0000)]
initialize record/replay object to NULL in constructor.

12 years agofixed the previous checkin. Considering the case when CmiBgMsgSrcPe can be set in...
Gengbin Zheng [Fri, 30 Jan 2009 20:36:53 +0000 (20:36 +0000)]
fixed the previous checkin. Considering the case when CmiBgMsgSrcPe can be set in a comm_thread for small work.

12 years agofixed a compilation error for multicore-win32 with _Cmi_noprocforcommthread
Gengbin Zheng [Fri, 30 Jan 2009 18:17:40 +0000 (18:17 +0000)]
fixed a compilation error for multicore-win32 with _Cmi_noprocforcommthread

12 years agofixed a compilation error for multicore-win32
Gengbin Zheng [Fri, 30 Jan 2009 18:17:07 +0000 (18:17 +0000)]
fixed a compilation error for multicore-win32

12 years agowhen copying charmrun to source dir under windows, charmrun can be a script for multi...
Gengbin Zheng [Fri, 30 Jan 2009 17:50:58 +0000 (17:50 +0000)]
when copying charmrun to source dir under windows, charmrun can be a script for multicore-win32. Make sure both charmrun.exe and charmrun are tried.

12 years agoadded bigsim_record.C and bigsim_record.h into makefile
Gengbin Zheng [Fri, 30 Jan 2009 17:40:16 +0000 (17:40 +0000)]
added bigsim_record.C and bigsim_record.h into makefile

12 years agobigsim record and replay mode.
Gengbin Zheng [Fri, 30 Jan 2009 17:29:10 +0000 (17:29 +0000)]
bigsim record and replay mode.
Two runtime parameters:  +bgrecord and +bgreplay <pe#>

12 years agochanged src node PE to its global work thread ID instead of the node ID. This helps...
Gengbin Zheng [Fri, 30 Jan 2009 17:28:15 +0000 (17:28 +0000)]
changed src node PE to its global work thread ID instead of the node ID. This helps he situation when there are multiple worker threads on one node.

12 years agofixed an out-of-boundary acess of CkVec when its size is 0.
Gengbin Zheng [Fri, 30 Jan 2009 16:33:37 +0000 (16:33 +0000)]
fixed an out-of-boundary acess of CkVec when its size is 0.

12 years agoPatched Scott's overhead optimizations for TAU performance module.
Chee Wai Lee [Fri, 30 Jan 2009 02:37:57 +0000 (02:37 +0000)]
Patched Scott's overhead optimizations for TAU performance module.

12 years agoAdding an object file to "clean" rule.
Isaac Dooley [Fri, 30 Jan 2009 00:09:06 +0000 (00:09 +0000)]
Adding an object file to "clean" rule.

12 years agoBug Fixes in that allow groups to be created from communicators.
Isaac Dooley [Fri, 30 Jan 2009 00:02:43 +0000 (00:02 +0000)]
Bug Fixes in that allow groups to be created from communicators.

12 years agoDisabled profiling by default.
Lukasz Wesolowski [Thu, 29 Jan 2009 23:35:30 +0000 (23:35 +0000)]
Disabled profiling by default.

12 years agominor changes in screen output
Gengbin Zheng [Thu, 29 Jan 2009 22:28:08 +0000 (22:28 +0000)]
minor changes in screen output

12 years agoforce boundary checking (when cmk-optimize is not on) when reference CkVec using []
Gengbin Zheng [Thu, 29 Jan 2009 21:51:57 +0000 (21:51 +0000)]
force boundary checking (when cmk-optimize is not on) when reference CkVec using []

12 years agomostly Gregory Crosswhite's charmc patch, adding -preprocess argument for charmxi.
Gengbin Zheng [Thu, 29 Jan 2009 18:05:07 +0000 (18:05 +0000)]
mostly Gregory Crosswhite's charmc patch, adding -preprocess argument for charmxi.

12 years agoopen binary files using "rb" flags (instead of just "r"), this makes great difference...
Gengbin Zheng [Thu, 29 Jan 2009 01:12:23 +0000 (01:12 +0000)]
open binary files using "rb" flags (instead of just "r"), this makes great difference on windows machine.

12 years agoFixing what I believe was a bug. Creation of a group from a communicator would always...
Isaac Dooley [Wed, 28 Jan 2009 23:16:38 +0000 (23:16 +0000)]
Fixing what I believe was a bug. Creation of a group from a communicator would always fail.

12 years agoAdding a new test case. This case broke the existing AMPI, but should pass with the...
Isaac Dooley [Wed, 28 Jan 2009 23:12:04 +0000 (23:12 +0000)]
Adding a new test case. This case broke the existing AMPI, but should pass with the new updated version. This test case occurs in SuperLU.

12 years agoChecking in the new computation/communication overlap mechanism.
Lukasz Wesolowski [Mon, 26 Jan 2009 19:46:42 +0000 (19:46 +0000)]
Checking in the new computation/communication overlap mechanism.

12 years agoremoved unistd.h
Gengbin Zheng [Sat, 24 Jan 2009 15:35:58 +0000 (15:35 +0000)]
removed unistd.h

12 years agoreplace erand48 to CrnDrand() for VC++
Gengbin Zheng [Sat, 24 Jan 2009 04:49:50 +0000 (04:49 +0000)]
replace erand48 to CrnDrand() for VC++

12 years agofixed non-portable fstream.h
Gengbin Zheng [Sat, 24 Jan 2009 04:36:22 +0000 (04:36 +0000)]
fixed non-portable fstream.h

12 years agoremoved unistd.h
Gengbin Zheng [Sat, 24 Jan 2009 04:30:37 +0000 (04:30 +0000)]
removed unistd.h

12 years agoadded TESTOPTS
Gengbin Zheng [Sat, 24 Jan 2009 04:08:49 +0000 (04:08 +0000)]
added TESTOPTS

12 years agoin function CthPointer() that calculates the user data offset in tcharm (ptr - stackp...
Gengbin Zheng [Sat, 24 Jan 2009 03:56:27 +0000 (03:56 +0000)]
in function CthPointer() that calculates the user data offset in tcharm (ptr - stackptr), considering the situation when like fiber or pthreads, there is no control of stack pointer, hence NULL. The function crashes in that situation. Workaround that by using CthThread t itself to calculate the offset.

12 years agofixed a bug in fiber threads where there is fixed size table for exited threads....
Gengbin Zheng [Sat, 24 Jan 2009 02:18:09 +0000 (02:18 +0000)]
fixed a bug in fiber threads where there is fixed size table for exited threads. It gets overflowed silently and leads to coredump

12 years agomodified CmiImmIsRunning to exclude net-win32 (which is claimed to non-smp, but...
Gengbin Zheng [Fri, 23 Jan 2009 20:38:59 +0000 (20:38 +0000)]
modified CmiImmIsRunning  to exclude net-win32 (which is claimed to non-smp, but actually has comm thread)

12 years agoswitch back to Fiber thread
Gengbin Zheng [Fri, 23 Jan 2009 20:33:02 +0000 (20:33 +0000)]
switch back to Fiber thread

12 years agodirect compiler output correctly into charmconfig.out in test_link()
Gengbin Zheng [Fri, 23 Jan 2009 17:43:51 +0000 (17:43 +0000)]
direct compiler output correctly into charmconfig.out in test_link()

12 years agofixed test_link for the non-0 status
Gengbin Zheng [Fri, 23 Jan 2009 14:20:53 +0000 (14:20 +0000)]
fixed test_link for the non-0 status

12 years agotest jpeg in c++ setting
Gengbin Zheng [Fri, 23 Jan 2009 14:09:28 +0000 (14:09 +0000)]
test jpeg in c++ setting

12 years agomake sure fibers is used for win32 smp
Gengbin Zheng [Fri, 23 Jan 2009 05:28:27 +0000 (05:28 +0000)]
make sure fibers is used for win32 smp

12 years agoswitch to fiber
Gengbin Zheng [Fri, 23 Jan 2009 02:42:14 +0000 (02:42 +0000)]
switch to fiber

12 years agomake only pe 0 run the test
Gengbin Zheng [Fri, 23 Jan 2009 02:41:08 +0000 (02:41 +0000)]
make only pe 0 run the test

12 years agorename max class function as it conflicts with gnu's macro
Gengbin Zheng [Thu, 22 Jan 2009 21:55:05 +0000 (21:55 +0000)]
rename max class function as it conflicts with gnu's macro

12 years agouse uJcontext instead of fiber since fiber threads crashes megacon thread test. Will...
Gengbin Zheng [Thu, 22 Jan 2009 21:45:54 +0000 (21:45 +0000)]
use uJcontext instead of fiber since fiber threads crashes megacon thread test. Will have to debug fiber later.

12 years agoTcharm_register (register user data) does not fail when isomalloc is simply disabled...
Gengbin Zheng [Thu, 22 Jan 2009 21:23:50 +0000 (21:23 +0000)]
Tcharm_register (register user data) does not fail when isomalloc is simply disabled, in which case, thread migration is not supported but won't fail.

12 years agoModified 64-bit types to actual 64-bit types (from 'long' to 'long long').
David Kunzman [Thu, 22 Jan 2009 21:14:09 +0000 (21:14 +0000)]
Modified 64-bit types to actual 64-bit types (from 'long' to 'long long').

12 years agowhen thread migration is not supported, disable TCHARM_Migrate() call by giving a...
Gengbin Zheng [Thu, 22 Jan 2009 20:36:29 +0000 (20:36 +0000)]
when thread migration is not supported, disable TCHARM_Migrate() call by giving a warning.

12 years agoadded two prototypes: CmiIsomallocEnabled() and CthMigratable()
Gengbin Zheng [Thu, 22 Jan 2009 20:35:32 +0000 (20:35 +0000)]
added two prototypes: CmiIsomallocEnabled() and CthMigratable()

12 years agoa new function CthMigratable() to tell if thread migration is supported or not.
Gengbin Zheng [Thu, 22 Jan 2009 20:32:29 +0000 (20:32 +0000)]
a new function CthMigratable() to tell if thread migration is supported or not.

12 years agoa new function to tell if isomalloc is working or not.
Gengbin Zheng [Thu, 22 Jan 2009 20:31:38 +0000 (20:31 +0000)]
a new function to tell if isomalloc is working or not.

12 years agoadded more strict test for libjpeg.h
Gengbin Zheng [Thu, 22 Jan 2009 17:09:08 +0000 (17:09 +0000)]
added more strict test for libjpeg.h

12 years agouse cp -f when copying unix2nt_*
Gengbin Zheng [Thu, 22 Jan 2009 16:08:04 +0000 (16:08 +0000)]
use cp -f when copying unix2nt_*

12 years agoaddition by Gregory Crosswhite
Abhinav Bhatele [Thu, 22 Jan 2009 14:40:18 +0000 (14:40 +0000)]
addition by Gregory Crosswhite

12 years agopatch sent by Gregory Crosswhite
Abhinav Bhatele [Thu, 22 Jan 2009 14:38:04 +0000 (14:38 +0000)]
patch sent by Gregory Crosswhite

12 years agofixed for VC++
Gengbin Zheng [Thu, 22 Jan 2009 06:32:05 +0000 (06:32 +0000)]
fixed for VC++