charm.git
14 years agoadded TESTOPTS
Gengbin Zheng [Tue, 16 Oct 2007 20:21:42 +0000 (20:21 +0000)]
added TESTOPTS

14 years agoa minor fix for charmrun script change I checked in last time.
Gengbin Zheng [Tue, 16 Oct 2007 16:49:39 +0000 (16:49 +0000)]
a minor fix for charmrun script change I checked in last time.

14 years agoadded dimX, Y, Z code
Abhinav Bhatele [Mon, 15 Oct 2007 22:28:07 +0000 (22:28 +0000)]
added dimX, Y, Z code

14 years agocharmrun takes MPI_MACHINEFILE environment variable to allow users to choose machinefile.
Gengbin Zheng [Mon, 15 Oct 2007 22:22:11 +0000 (22:22 +0000)]
charmrun takes MPI_MACHINEFILE environment variable to allow users to choose machinefile.

14 years agoadded memory fence call (this may not be a bug free version), so pcqueue_lock is...
Gengbin Zheng [Mon, 15 Oct 2007 22:06:55 +0000 (22:06 +0000)]
added memory fence call (this may not be a bug free version), so pcqueue_lock is still kept in case it is needed.

14 years agoa minir change . turn CMK_MEMORY_PROTECTABLE to 1 .
Gengbin Zheng [Mon, 15 Oct 2007 22:06:10 +0000 (22:06 +0000)]
a minir change . turn CMK_MEMORY_PROTECTABLE to 1 .

14 years agouse gnu malloc, and context thread for mpi-smp.
Gengbin Zheng [Mon, 15 Oct 2007 22:05:42 +0000 (22:05 +0000)]
use gnu malloc, and context thread for mpi-smp.

14 years agofixed a thing for immediate msg in smp.
Gengbin Zheng [Mon, 15 Oct 2007 22:03:42 +0000 (22:03 +0000)]
fixed a thing for immediate msg in smp.

14 years agoAdded support for ghosts to most functions
Aaron Becker [Mon, 15 Oct 2007 19:39:11 +0000 (19:39 +0000)]
Added support for ghosts to most functions

14 years agofixed smp version and VMI exit problem.
Gengbin Zheng [Mon, 15 Oct 2007 02:20:44 +0000 (02:20 +0000)]
fixed smp version and VMI exit problem.

14 years agochanged CMK_VMI
Gengbin Zheng [Mon, 15 Oct 2007 02:20:20 +0000 (02:20 +0000)]
changed CMK_VMI

14 years agodefine CMK_USE_MFENCE to turn on memory fence.
Gengbin Zheng [Mon, 15 Oct 2007 02:04:05 +0000 (02:04 +0000)]
define CMK_USE_MFENCE to turn on memory fence.

14 years agodefine memory fence asm code.
Gengbin Zheng [Sun, 14 Oct 2007 06:49:31 +0000 (06:49 +0000)]
define memory fence asm code.

14 years agoavoid calling PCQueueEmpty() since the value can be off.
Gengbin Zheng [Sun, 14 Oct 2007 06:48:51 +0000 (06:48 +0000)]
avoid calling PCQueueEmpty() since the value can be off.

14 years agoadded initialization of smp_mutex .
Gengbin Zheng [Sun, 14 Oct 2007 06:30:12 +0000 (06:30 +0000)]
added initialization of smp_mutex .

14 years agomake the /proc/sys/kernel/randomize_va_space check as a warning, instead of disabling...
Gengbin Zheng [Sat, 13 Oct 2007 00:32:19 +0000 (00:32 +0000)]
make the /proc/sys/kernel/randomize_va_space check as a warning, instead of disabling isomalloc.

14 years agocheck /proc/sys/kernel/randomize_va_space under linux to make sure stack pointer...
Gengbin Zheng [Fri, 12 Oct 2007 22:11:34 +0000 (22:11 +0000)]
check /proc/sys/kernel/randomize_va_space under linux to make sure stack pointer is not randomized.

14 years agomore comments on disabling randomization of stack pointer for thread migration.
Gengbin Zheng [Fri, 12 Oct 2007 21:47:39 +0000 (21:47 +0000)]
more comments on disabling randomization of stack pointer for thread migration.

14 years agotests for the topology interface in src/util
Abhinav Bhatele [Fri, 12 Oct 2007 07:06:49 +0000 (07:06 +0000)]
tests for the topology interface in src/util

14 years agocorrected indentation
Abhinav Bhatele [Fri, 12 Oct 2007 07:04:05 +0000 (07:04 +0000)]
corrected indentation

14 years agothe function in this file cannot be called from a C++ file (leads to
Abhinav Bhatele [Fri, 12 Oct 2007 07:02:51 +0000 (07:02 +0000)]
the function in this file cannot be called from a C++ file (leads to
compiler errors). Hence this wrapper file/function which can be
called from any C++ file.

14 years agoadded cray support to TopoManager
Abhinav Bhatele [Fri, 12 Oct 2007 06:59:45 +0000 (06:59 +0000)]
added cray support to TopoManager

14 years agogot the cray torus stuff working
Abhinav Bhatele [Fri, 12 Oct 2007 06:58:52 +0000 (06:58 +0000)]
got the cray torus stuff working

14 years agoadded a target for CrayNid.c
Abhinav Bhatele [Fri, 12 Oct 2007 06:57:09 +0000 (06:57 +0000)]
added a target for CrayNid.c

14 years ago*** empty log message ***
Chao Huang [Fri, 12 Oct 2007 02:19:13 +0000 (02:19 +0000)]
*** empty log message ***

14 years agoDebugged the sortedNode search. It is much faster, but there are many other optimiza...
Terry L. Wilmarth [Thu, 11 Oct 2007 19:57:30 +0000 (19:57 +0000)]
Debugged the sortedNode search.  It is much faster, but there are many other optimizations that could be performed still...

14 years agounify some adjacent ifndef CMK_OPTIMIZEs for readability.
Eric Bohm [Wed, 10 Oct 2007 22:28:59 +0000 (22:28 +0000)]
unify some adjacent ifndef CMK_OPTIMIZEs for readability.
strip out entirely unused member local localPVT in event commit
because this is called millions of times, each bit of waste really adds up

14 years agocomment out redundant and surprisingly expensive CkLocalBranch calls
Eric Bohm [Wed, 10 Oct 2007 21:46:37 +0000 (21:46 +0000)]
comment out redundant and surprisingly expensive CkLocalBranch calls
for localPVT in sim::Commit and sim::Cancel.

14 years agofixed MAXLOC and MINLOC. Added a MIN macro
Pritish Jetley [Tue, 9 Oct 2007 23:48:40 +0000 (23:48 +0000)]
fixed MAXLOC and MINLOC. Added a MIN macro

14 years agoAdded primMesh.
Terry L. Wilmarth [Tue, 9 Oct 2007 21:07:06 +0000 (21:07 +0000)]
Added primMesh.

14 years agoStart on import improvement code. Currently commented out as it needs testing.
Terry L. Wilmarth [Tue, 9 Oct 2007 19:26:06 +0000 (19:26 +0000)]
Start on import improvement code.  Currently commented out as it needs testing.

14 years ago1. fixed a bug in reassigning "messages_due" variable
Chao Mei [Tue, 9 Oct 2007 07:52:38 +0000 (07:52 +0000)]
1. fixed a bug in reassigning "messages_due" variable
2. change "recieve" to "receive" (a typo :-))

14 years agotry fix the previous fix.
Gengbin Zheng [Sun, 7 Oct 2007 08:52:56 +0000 (08:52 +0000)]
try fix the previous fix.

14 years agowhen user specified charmrun IP, does not have verify the hostname lookup.
Gengbin Zheng [Sat, 6 Oct 2007 08:12:30 +0000 (08:12 +0000)]
when user specified charmrun IP, does not have verify the hostname lookup.

14 years agosome platform may not have stdint.h
Gengbin Zheng [Sat, 6 Oct 2007 07:52:18 +0000 (07:52 +0000)]
some platform may not have stdint.h

14 years agoinclude readme instructions and svn pointer
Eric Bohm [Fri, 5 Oct 2007 18:49:17 +0000 (18:49 +0000)]
include readme instructions and svn pointer

14 years agorefixed the previous fix.
Gengbin Zheng [Fri, 5 Oct 2007 08:07:26 +0000 (08:07 +0000)]
refixed the previous fix.

14 years agofixed a bug where we used lesser no. of processors than we actually allocated
Abhinav Bhatele [Fri, 5 Oct 2007 05:33:41 +0000 (05:33 +0000)]
fixed a bug where we used lesser no. of processors than we actually allocated

14 years agocomment out stdlib.h which somehow the intel compiler does not like the sequence...
Gengbin Zheng [Fri, 5 Oct 2007 03:14:48 +0000 (03:14 +0000)]
comment out stdlib.h which somehow the intel compiler does not like the sequence of the header files

14 years agoadded getProcsPerNode
Abhinav Bhatele [Fri, 5 Oct 2007 00:49:54 +0000 (00:49 +0000)]
added getProcsPerNode

14 years agoChanged group/nodegroup broadcast tracing to be more scalable. Projections
Chee Wai Lee [Thu, 4 Oct 2007 23:31:22 +0000 (23:31 +0000)]
Changed group/nodegroup broadcast tracing to be more scalable. Projections
has been correspondingly updated to handle the new CREATION_BCAST event
type.

14 years agoupdated
Gengbin Zheng [Thu, 4 Oct 2007 18:38:37 +0000 (18:38 +0000)]
updated

14 years agouse context by default now, qt thread does not migrate
Gengbin Zheng [Thu, 4 Oct 2007 18:21:13 +0000 (18:21 +0000)]
use context by default now, qt thread does not migrate

14 years agoa special version of packing code for net-linux-ppc's ucontext threads.
Gengbin Zheng [Thu, 4 Oct 2007 18:20:23 +0000 (18:20 +0000)]
a special version of packing code for net-linux-ppc's ucontext threads.

14 years agoupdated
Gengbin Zheng [Thu, 4 Oct 2007 18:19:32 +0000 (18:19 +0000)]
updated

14 years agoadded test for ucontext_t structure for net-linux-ppc.
Gengbin Zheng [Thu, 4 Oct 2007 18:18:06 +0000 (18:18 +0000)]
added test for ucontext_t structure for net-linux-ppc.

14 years agofixed a compilation error of the previous checkin
Gengbin Zheng [Thu, 4 Oct 2007 04:53:34 +0000 (04:53 +0000)]
fixed a compilation error of the previous checkin

14 years agosome tweaks for threads.
Gengbin Zheng [Thu, 4 Oct 2007 04:32:07 +0000 (04:32 +0000)]
some tweaks for threads.

14 years agoincreased the stack size a little bit so that it won't crash net-linux-ppc 64bit.
Gengbin Zheng [Thu, 4 Oct 2007 04:09:40 +0000 (04:09 +0000)]
increased the stack size a little bit so that it won't crash net-linux-ppc 64bit.

14 years agoadd "CHARMRUN_IP" env variable to specify charmrun IP
Gengbin Zheng [Thu, 4 Oct 2007 00:22:17 +0000 (00:22 +0000)]
add "CHARMRUN_IP" env variable to specify charmrun IP

14 years agominor change
Gengbin Zheng [Wed, 3 Oct 2007 22:35:53 +0000 (22:35 +0000)]
minor change

14 years agoMX (both 32, 64 bit) ports on net-linux-ppc
Gengbin Zheng [Wed, 3 Oct 2007 22:34:35 +0000 (22:34 +0000)]
MX (both 32, 64 bit) ports on net-linux-ppc

14 years agoadded two c wrapper for isomalloc_push and pop.
Gengbin Zheng [Wed, 3 Oct 2007 22:27:36 +0000 (22:27 +0000)]
added two c wrapper for isomalloc_push and pop.

14 years agoa fix for minloc and maxloc
Gengbin Zheng [Wed, 3 Oct 2007 20:47:37 +0000 (20:47 +0000)]
a fix for minloc and maxloc

14 years agofor mvapich2, starts mpd in script.
Gengbin Zheng [Wed, 3 Oct 2007 07:49:39 +0000 (07:49 +0000)]
for mvapich2, starts mpd in script.

14 years agofixed mpi.h confliction with ampi and mpi build.
Gengbin Zheng [Wed, 3 Oct 2007 06:44:20 +0000 (06:44 +0000)]
fixed mpi.h confliction with ampi and mpi build.

14 years agoln mpi.h mpif.h before invoking charmc to make sure our mpi.h is used.
Gengbin Zheng [Tue, 2 Oct 2007 22:03:27 +0000 (22:03 +0000)]
ln mpi.h mpif.h before invoking charmc to make sure our mpi.h is used.

14 years agodefine a macro to disable CMK_DISABLE_SYNC for VMI
Gengbin Zheng [Tue, 2 Oct 2007 21:06:07 +0000 (21:06 +0000)]
define a macro to disable CMK_DISABLE_SYNC for VMI

14 years agofor unknown reason, calling "sync" under mpi/vmi just crash, disable it for VMI.
Gengbin Zheng [Tue, 2 Oct 2007 21:05:08 +0000 (21:05 +0000)]
for unknown reason, calling "sync" under mpi/vmi just crash, disable it for VMI.

14 years agoto be safe, remove log before test
Gengbin Zheng [Tue, 2 Oct 2007 19:17:39 +0000 (19:17 +0000)]
to be safe, remove log before test

14 years agofix all-test
Gengbin Zheng [Tue, 2 Oct 2007 16:17:04 +0000 (16:17 +0000)]
fix all-test

14 years agofix makefile
Gengbin Zheng [Tue, 2 Oct 2007 15:39:01 +0000 (15:39 +0000)]
fix makefile

14 years agouse context thread for vmi
Gengbin Zheng [Tue, 2 Oct 2007 08:06:13 +0000 (08:06 +0000)]
use context thread for vmi

14 years agofixed a compialtion error with icc.
Gengbin Zheng [Tue, 2 Oct 2007 08:02:43 +0000 (08:02 +0000)]
fixed a compialtion error with icc.

14 years agofixed "all"
Gengbin Zheng [Tue, 2 Oct 2007 06:46:24 +0000 (06:46 +0000)]
fixed "all"

14 years agofixed target 'all'.
Gengbin Zheng [Tue, 2 Oct 2007 06:42:50 +0000 (06:42 +0000)]
fixed target 'all'.

14 years agodon't force link
Gengbin Zheng [Tue, 2 Oct 2007 06:41:52 +0000 (06:41 +0000)]
don't force link

14 years agouse exit() instead of preferred MPI_FInalize for VMI.
Gengbin Zheng [Tue, 2 Oct 2007 05:46:13 +0000 (05:46 +0000)]
use exit() instead of preferred MPI_FInalize for VMI.
VMI mpi always returns 255 exit status, which does not work with make.

14 years agodefine CMK_VMI for vmi
Gengbin Zheng [Tue, 2 Oct 2007 05:44:49 +0000 (05:44 +0000)]
define CMK_VMI for vmi

14 years agofixed problem with newest gcc compiler, where when using high optimization
Filippo Gioachin [Mon, 1 Oct 2007 21:32:06 +0000 (21:32 +0000)]
fixed problem with newest gcc compiler, where when using high optimization
the compiler assumes no aliasing between different types, therefore failing
to cast floating point number into integer numbers. Using a union solves
the problem.

14 years agoDisable expedited for startPhaseExp entry because it is not SMP safe.
Eric Bohm [Sat, 29 Sep 2007 06:36:41 +0000 (06:36 +0000)]
Disable expedited for startPhaseExp entry because it is not SMP safe.
Also adds #VERBOSE_DEBUG flag with commensurate output

14 years agouse gnu compilers for QuickThread
Abhinav Bhatele [Fri, 28 Sep 2007 22:32:20 +0000 (22:32 +0000)]
use gnu compilers for QuickThread

14 years agofixed the all target
Abhinav Bhatele [Fri, 28 Sep 2007 22:28:32 +0000 (22:28 +0000)]
fixed the all target

14 years agotest-all target changed to all-test
Abhinav Bhatele [Fri, 28 Sep 2007 22:27:38 +0000 (22:27 +0000)]
test-all target changed to all-test

14 years agoforce pcqueue for smp
Gengbin Zheng [Fri, 28 Sep 2007 21:46:34 +0000 (21:46 +0000)]
force pcqueue for smp

14 years agochanged macro name CMK_PCQUEUE_LOCK
Gengbin Zheng [Fri, 28 Sep 2007 21:45:50 +0000 (21:45 +0000)]
changed macro name CMK_PCQUEUE_LOCK

14 years agoa missing checkin
Gengbin Zheng [Fri, 28 Sep 2007 16:12:17 +0000 (16:12 +0000)]
a missing checkin

14 years agofix node group messages ordering in record/replay
Gengbin Zheng [Fri, 28 Sep 2007 06:49:53 +0000 (06:49 +0000)]
fix node group messages ordering in record/replay

14 years agohandle possible out of order execution of node message in record/replay.
Gengbin Zheng [Thu, 27 Sep 2007 23:22:38 +0000 (23:22 +0000)]
handle possible out of order execution of node message in record/replay.

14 years agoenhanced debugging output for replay.
Eric Bohm [Thu, 27 Sep 2007 22:48:01 +0000 (22:48 +0000)]
enhanced debugging output for replay.
No functional change since debugging is off by default.

14 years agofixed a compilation warning for icc
Gengbin Zheng [Thu, 27 Sep 2007 21:43:54 +0000 (21:43 +0000)]
fixed a compilation warning for icc

14 years agocorrected the mpi path for pgcc build and changed ftn to f77
Abhinav Bhatele [Wed, 26 Sep 2007 23:22:37 +0000 (23:22 +0000)]
corrected the mpi path for pgcc build and changed ftn to f77

14 years agoInitial checkin.
David Kunzman [Wed, 26 Sep 2007 20:29:58 +0000 (20:29 +0000)]
Initial checkin.

14 years agoAdded rules for making rawToProj.
David Kunzman [Wed, 26 Sep 2007 20:29:38 +0000 (20:29 +0000)]
Added rules for making rawToProj.

14 years agoremove member static variables. ++p 2 ++ppn 2 case now works.
Eric Bohm [Tue, 25 Sep 2007 21:13:54 +0000 (21:13 +0000)]
remove member static variables.  ++p 2 ++ppn 2 case now works.

14 years agoFor race condition and SMP safety we make theEventID a Cpv and initialize it
Eric Bohm [Tue, 25 Sep 2007 20:23:55 +0000 (20:23 +0000)]
For race condition and SMP safety we make theEventID a Cpv and initialize it
in the PVT group.

There is still a theoretical race condition in that the constructors of GVT and PVT (and probably others) depend on the theStats group being constructed first.

14 years agofix placement bug which allowed for attempt to place objects on impossible
Eric Bohm [Tue, 25 Sep 2007 20:11:41 +0000 (20:11 +0000)]
fix placement bug which allowed for attempt to place objects on impossible
processor IDs

14 years agoAdd second dimension on command line
Eric Bohm [Tue, 25 Sep 2007 19:27:18 +0000 (19:27 +0000)]
Add second dimension on command line

14 years agoA simple chare initialization test program.
Eric Bohm [Mon, 24 Sep 2007 21:41:22 +0000 (21:41 +0000)]
A simple chare initialization test program.

14 years agocorrected comments
Abhinav Bhatele [Fri, 21 Sep 2007 21:24:37 +0000 (21:24 +0000)]
corrected comments

14 years agoInitialize istorus booleans in fake torus
Eric Bohm [Thu, 20 Sep 2007 21:58:03 +0000 (21:58 +0000)]
Initialize istorus booleans in fake torus

14 years ago"all" target added
Abhinav Bhatele [Thu, 20 Sep 2007 20:38:47 +0000 (20:38 +0000)]
"all" target added

14 years ago"all" target added
Abhinav Bhatele [Thu, 20 Sep 2007 20:25:00 +0000 (20:25 +0000)]
"all" target added

14 years agoput all in the beginning
Abhinav Bhatele [Thu, 20 Sep 2007 19:07:30 +0000 (19:07 +0000)]
put all in the beginning

14 years agoadded the "all" target
Abhinav Bhatele [Thu, 20 Sep 2007 18:49:42 +0000 (18:49 +0000)]
added the "all" target

14 years agoadded.
Gengbin Zheng [Wed, 19 Sep 2007 18:08:37 +0000 (18:08 +0000)]
added.

14 years agoAdd doneInserting() and a functional make test target.
Eric Bohm [Wed, 19 Sep 2007 03:29:39 +0000 (03:29 +0000)]
Add doneInserting() and a functional make test target.

14 years agoAdd reduction during exit to force execution of terminus on all posers.
Eric Bohm [Wed, 19 Sep 2007 03:28:49 +0000 (03:28 +0000)]
Add reduction during exit to force execution of terminus on all posers.
Previously they raced with the scythe of CkExit.

This does require that POSE_Objects.doneInserting() be called.  This
change has been made to all the pose example programs.  BigNetSim has
already had this feature.

Also a few paranoiac redundant initializations to satisfy valgrind.

14 years agoadded make test line with usable command line so users aren't completely
Eric Bohm [Tue, 18 Sep 2007 23:36:14 +0000 (23:36 +0000)]
added make test line with usable command line so users aren't completely
in the dark

14 years agoFixed problem when memory charmdebug is not linked in
Filippo Gioachin [Tue, 18 Sep 2007 17:28:10 +0000 (17:28 +0000)]
Fixed problem when memory charmdebug is not linked in