charm.git
15 years agoAdded another all to all test.
Isaac Dooley [Wed, 29 Mar 2006 22:49:16 +0000 (22:49 +0000)]
Added another all to all test.

15 years agoAdded a High-Watermark Memory Usage function: CmiMaxMemoryUsage();
Isaac Dooley [Wed, 29 Mar 2006 22:11:17 +0000 (22:11 +0000)]
Added a High-Watermark Memory Usage function: CmiMaxMemoryUsage();

15 years agoRemoved windows line feeds.
Isaac Dooley [Wed, 29 Mar 2006 19:04:22 +0000 (19:04 +0000)]
Removed windows line feeds.

15 years agoAdded some additional printouts for debugging.
David Kunzman [Wed, 29 Mar 2006 16:52:55 +0000 (16:52 +0000)]
Added some additional printouts for debugging.

15 years agoUpdated SPE Runtime to be able to handle buffers of size greater than 16k. Made
David Kunzman [Wed, 29 Mar 2006 16:51:07 +0000 (16:51 +0000)]
Updated SPE Runtime to be able to handle buffers of size greater than 16k.  Made
some additional small modifications (updated comments, zero writeOnly memory, etc.)

15 years agoremove_node_local might not be totally disconnected
Nilesh Choudhury [Wed, 29 Mar 2006 00:09:36 +0000 (00:09 +0000)]
remove_node_local might not be totally disconnected

15 years agoensure that is_valid is only called on the correct entity, it cannot be
Nilesh Choudhury [Tue, 28 Mar 2006 23:39:27 +0000 (23:39 +0000)]
ensure that is_valid is only called on the correct entity, it cannot be
called with a negative index

15 years agofixed a bunch of bugs including some race conditions, some cases of using stale
Nilesh Choudhury [Tue, 28 Mar 2006 22:20:02 +0000 (22:20 +0000)]
fixed a bunch of bugs including some race conditions, some cases of using stale
data, i.e. having a remote call between when some data has been acquired and used.
This remote call could effectively change this data.

15 years agoFixed small typo.
Esteban Pauli [Tue, 28 Mar 2006 21:24:25 +0000 (21:24 +0000)]
Fixed small typo.

15 years agoSome changes by Aaron. Should be close to working!
Isaac Dooley [Tue, 28 Mar 2006 21:20:28 +0000 (21:20 +0000)]
Some changes by Aaron. Should be close to working!

15 years agoBug in a modified variable name.
Greg Koenig [Tue, 28 Mar 2006 21:06:10 +0000 (21:06 +0000)]
Bug in a modified variable name.

15 years agoAdded GridCommRefineLB to the default build process.
Greg Koenig [Sat, 25 Mar 2006 03:57:41 +0000 (03:57 +0000)]
Added GridCommRefineLB to the default build process.

15 years agofix meta_free for memaligned data (allocated with meta_memalign)
Filippo Gioachin [Fri, 24 Mar 2006 23:33:10 +0000 (23:33 +0000)]
fix meta_free for memaligned data (allocated with meta_memalign)

15 years agoThis is a "refinement" load balancer for Grid communication. It tries to
Greg Koenig [Fri, 24 Mar 2006 07:13:35 +0000 (07:13 +0000)]
This is a "refinement" load balancer for Grid communication.  It tries to
hold down the number of object migrations by only migrating objects from
PEs that exceed an average number of objects per PE plus some tolerance
(e.g., only migrate objects away from PEs that exceed the average by 110%).

15 years agoInitial addition of jacobi example using Cell.
David Kunzman [Fri, 24 Mar 2006 00:21:31 +0000 (00:21 +0000)]
Initial addition of jacobi example using Cell.

15 years agoAdded calloc and alloca like functions to the spert_common code. Added a writeOnlyPtr
David Kunzman [Fri, 24 Mar 2006 00:19:40 +0000 (00:19 +0000)]
Added calloc and alloca like functions to the spert_common code.  Added a writeOnlyPtr
pointer to the sendWorkRequest() function (and related functions).  Also changed the
names of the data and msg pointers to readWritePtr and readOnlyPtr, respectively.

15 years agoUpdated hello example to match changes to cell_lib (Offload API for Cell).
David Kunzman [Fri, 24 Mar 2006 00:13:11 +0000 (00:13 +0000)]
Updated hello example to match changes to cell_lib (Offload API for Cell).

15 years agofixed a bug that assign bad magic to allocated slot due to wrong operator precedence
Gengbin Zheng [Thu, 23 Mar 2006 22:13:04 +0000 (22:13 +0000)]
fixed a bug that assign bad magic to allocated slot due to wrong operator precedence

15 years agomake shared lib
Gengbin Zheng [Thu, 23 Mar 2006 21:46:59 +0000 (21:46 +0000)]
make shared lib

15 years agofixed the previous fix - a syntax error
Gengbin Zheng [Thu, 23 Mar 2006 20:52:49 +0000 (20:52 +0000)]
fixed the previous fix - a syntax error

15 years agofor QT, assign base->stack pointer to be same as cth->stack so that threadBaseFree...
Gengbin Zheng [Thu, 23 Mar 2006 20:51:50 +0000 (20:51 +0000)]
for QT, assign base->stack pointer to be same as cth->stack so that threadBaseFree will free the stack properly.

15 years agofor QT, fixed a bug in double freeing stack when thread is non-migratable and stack...
Gengbin Zheng [Thu, 23 Mar 2006 19:00:44 +0000 (19:00 +0000)]
for QT, fixed a bug in double freeing stack when thread is non-migratable and stack is protectable.

15 years agoFixed a memory leak: 16B with every reduction.
Yan Shi [Thu, 23 Mar 2006 01:05:43 +0000 (01:05 +0000)]
Fixed a memory leak: 16B with every reduction.

15 years agoCMK_PIC = -qpic
Gengbin Zheng [Wed, 22 Mar 2006 04:16:55 +0000 (04:16 +0000)]
CMK_PIC = -qpic

15 years agoread CMK_PIC for compiler specific -fpic option
Gengbin Zheng [Wed, 22 Mar 2006 04:16:12 +0000 (04:16 +0000)]
read CMK_PIC for compiler specific -fpic option

15 years agofixed a c++ syntax used in c.
Gengbin Zheng [Wed, 22 Mar 2006 00:48:52 +0000 (00:48 +0000)]
fixed a c++ syntax used in c.

15 years agodisable long double even when warning occurs.
Gengbin Zheng [Tue, 21 Mar 2006 22:23:40 +0000 (22:23 +0000)]
disable long double even when warning occurs.

15 years agoif CtgInstall called with same globals, skip it
Gengbin Zheng [Tue, 21 Mar 2006 07:36:29 +0000 (07:36 +0000)]
if CtgInstall called with same globals, skip it

15 years agoremoved several AMPIAPI (isomalloc and swapglobal) that are unnecessary. For example...
Gengbin Zheng [Tue, 21 Mar 2006 06:31:51 +0000 (06:31 +0000)]
removed several AMPIAPI (isomalloc and swapglobal) that are unnecessary. For example AMPI_Wtime calls TCHARM_Wall_timer which already does the thing

15 years agoAdded a barrier to keep msa in sync
Sayantan Chakravorty [Sun, 19 Mar 2006 21:48:07 +0000 (21:48 +0000)]
Added a barrier to keep msa in sync

15 years agoDelete the msa cache only after all the local msa threads have deregistered (ie
Sayantan Chakravorty [Sun, 19 Mar 2006 21:47:30 +0000 (21:47 +0000)]
Delete the msa cache only after all the local msa threads have deregistered (ie
have been deleted)

15 years agomake CthSuspendNormalThread static, which fix the checkpoint/restart threads. I thoug...
Gengbin Zheng [Sun, 19 Mar 2006 18:00:37 +0000 (18:00 +0000)]
make CthSuspendNormalThread static, which fix the checkpoint/restart threads. I thought I checked in, but actually not.

15 years agoAdded support for vmi-linux-amd64.
Greg Koenig [Sat, 18 Mar 2006 07:25:39 +0000 (07:25 +0000)]
Added support for vmi-linux-amd64.

15 years agoinclude Makefile.cell.
David Kunzman [Fri, 17 Mar 2006 23:55:18 +0000 (23:55 +0000)]
include Makefile.cell.

15 years agodefine SDK path in conv-mach.sh
David Kunzman [Fri, 17 Mar 2006 23:54:43 +0000 (23:54 +0000)]
define SDK path in conv-mach.sh
error checking in special.sh, generates Makefile.cell which can be used for any Makefile.

15 years agoinclude cell-api.c when CMK_CELL is defined.
David Kunzman [Fri, 17 Mar 2006 23:33:04 +0000 (23:33 +0000)]
include cell-api.c when CMK_CELL is defined.

15 years agocell charm example using offloading api
David Kunzman [Fri, 17 Mar 2006 23:22:57 +0000 (23:22 +0000)]
cell charm example using offloading api

15 years agocall special.sh when gathering files if it exists.
David Kunzman [Fri, 17 Mar 2006 23:22:06 +0000 (23:22 +0000)]
call special.sh when gathering files if it exists.
removing cell-api.[ch]

15 years agoa special script used in gathering stage of building charm.
David Kunzman [Fri, 17 Mar 2006 23:21:06 +0000 (23:21 +0000)]
a special script used in gathering stage of building charm.

15 years agoadded cell-api files.
David Kunzman [Fri, 17 Mar 2006 23:11:17 +0000 (23:11 +0000)]
added cell-api files.

15 years agorename files, cleanup.
David Kunzman [Fri, 17 Mar 2006 23:09:57 +0000 (23:09 +0000)]
rename files, cleanup.

15 years agosmall change
Sayantan Chakravorty [Fri, 17 Mar 2006 21:54:48 +0000 (21:54 +0000)]
small change

15 years agoAdded a bubble sort for the last few elements
Sayantan Chakravorty [Fri, 17 Mar 2006 21:52:22 +0000 (21:52 +0000)]
Added a bubble sort for the last few elements

15 years agoadded cell-api.o
David Kunzman [Fri, 17 Mar 2006 21:50:13 +0000 (21:50 +0000)]
added cell-api.o

15 years agointerface with cell offload api
David Kunzman [Fri, 17 Mar 2006 21:48:00 +0000 (21:48 +0000)]
interface with cell offload api

15 years agofilter "cell"
David Kunzman [Fri, 17 Mar 2006 21:42:27 +0000 (21:42 +0000)]
filter "cell"

15 years agocell library for function offloading.
David Kunzman [Fri, 17 Mar 2006 21:41:06 +0000 (21:41 +0000)]
cell library for function offloading.

15 years agoa new implementation of CmiMemoryUsage
Gengbin Zheng [Fri, 17 Mar 2006 19:31:49 +0000 (19:31 +0000)]
a new implementation of CmiMemoryUsage

15 years agoa better hack for intel 9 compiler.
Gengbin Zheng [Thu, 16 Mar 2006 20:52:53 +0000 (20:52 +0000)]
a better hack for intel 9 compiler.

15 years agoa doxygen file and support for make docs.. the cocmments though still have to be...
Nilesh Choudhury [Thu, 16 Mar 2006 19:47:48 +0000 (19:47 +0000)]
a doxygen file and support for make docs.. the cocmments though still have to be converted to
doxygen format.. i'll also be adding much more comments

15 years agoworkaround a stupud icc 9.0 optimization bug for inline function
Gengbin Zheng [Thu, 16 Mar 2006 17:03:53 +0000 (17:03 +0000)]
workaround a stupud icc 9.0 optimization bug for inline function

15 years agomoved from f90main, for charm fortran api
Gengbin Zheng [Thu, 16 Mar 2006 16:32:52 +0000 (16:32 +0000)]
moved from f90main, for charm fortran api

15 years agomoved to ck
Gengbin Zheng [Thu, 16 Mar 2006 16:32:16 +0000 (16:32 +0000)]
moved to ck

15 years agobuild a libckf.a for ck fortan api.
Gengbin Zheng [Thu, 16 Mar 2006 16:31:23 +0000 (16:31 +0000)]
build a libckf.a for ck fortan api.

15 years agochange CthSuspendNormalThread to static to fix a strange bug on teragrid that the...
Gengbin Zheng [Thu, 16 Mar 2006 07:39:04 +0000 (07:39 +0000)]
change CthSuspendNormalThread to static to fix a strange bug on teragrid that the function pointer is not same across processors.

15 years agofem_silent added to get rid of some prints
Nilesh Choudhury [Thu, 16 Mar 2006 01:18:31 +0000 (01:18 +0000)]
fem_silent added to get rid of some prints

15 years agoadded a new mode FEM_SILENT, to cut off most prints, excepts errors
Nilesh Choudhury [Thu, 16 Mar 2006 00:40:24 +0000 (00:40 +0000)]
added a new mode FEM_SILENT, to cut off most prints, excepts errors

15 years agohandle memory size count when MREMAP is called
Gengbin Zheng [Wed, 15 Mar 2006 20:18:15 +0000 (20:18 +0000)]
handle memory size count when MREMAP is called

15 years agoA new refinement test. It will take a mesh and refine it until a specified number...
Isaac Dooley [Wed, 15 Mar 2006 19:42:32 +0000 (19:42 +0000)]
A new refinement test. It will take a mesh and refine it until a specified number of elements exist.

15 years agosmall tweak: forward mesg along spanning tree before push to queue.
Gengbin Zheng [Wed, 15 Mar 2006 16:33:19 +0000 (16:33 +0000)]
small tweak: forward mesg along spanning tree before push to queue.

15 years ago*** empty log message ***
Nilesh Choudhury [Tue, 14 Mar 2006 23:55:56 +0000 (23:55 +0000)]
*** empty log message ***

15 years agoadded support for the situation where even when a chunk loses all nodes and elements...
Nilesh Choudhury [Tue, 14 Mar 2006 00:53:19 +0000 (00:53 +0000)]
added support for the situation where even when a chunk loses all nodes and elements, it still
keeps working, and boundaries are ok. The problem was detected when boundaries started
getting messed up after a chunk lost all its elements

15 years agoadded support for local->ghost transitions from a chunk, happens when a chunk is...
Nilesh Choudhury [Mon, 13 Mar 2006 21:51:23 +0000 (21:51 +0000)]
added support for local->ghost transitions from a chunk, happens when a chunk is eating another one
and one of the nodes which is local becomes a ghost... it appears to me that it can only
happen if the node is a corner, so we need to also fix the fixed node set on both chunks
also added a bunch of comments, still working on more comments

15 years agoReduced leak not entirely fixed
Sayantan Chakravorty [Sat, 11 Mar 2006 06:52:40 +0000 (06:52 +0000)]
Reduced leak not entirely fixed

15 years agoReduced the memory leak in parallel partition. There are more which need
Sayantan Chakravorty [Sat, 11 Mar 2006 06:52:15 +0000 (06:52 +0000)]
Reduced the memory leak in parallel partition. There are more which need
to be traced down. Also reduced the time significantly by converting bubble sort to
quick sort

15 years agoAdded a quick sort to CkVec. got tired of converting to stl vec to sort
Sayantan Chakravorty [Sat, 11 Mar 2006 06:50:55 +0000 (06:50 +0000)]
Added a quick sort to CkVec. got tired of converting to stl vec to sort

15 years agoFixed bug in boundary element processing for mesh gradation
Aaron Becker [Fri, 10 Mar 2006 20:13:01 +0000 (20:13 +0000)]
Fixed bug in boundary element processing for mesh gradation

15 years agoSplitting out some of the internal headers into separate files.
Isaac Dooley [Thu, 9 Mar 2006 23:27:42 +0000 (23:27 +0000)]
Splitting out some of the internal headers into separate files.

15 years agoimproved configure for testing inline (using c instead c++ suffix)
Gengbin Zheng [Thu, 9 Mar 2006 16:24:26 +0000 (16:24 +0000)]
improved configure for testing inline (using c instead c++ suffix)

15 years agofor 64 bit
Gengbin Zheng [Thu, 9 Mar 2006 07:51:05 +0000 (07:51 +0000)]
for 64 bit

15 years agouse aix-light to test autobuild
Gengbin Zheng [Thu, 9 Mar 2006 06:36:03 +0000 (06:36 +0000)]
use aix-light to test autobuild

15 years agoa light weight verrsion that calling _setjmp
Gengbin Zheng [Thu, 9 Mar 2006 06:35:12 +0000 (06:35 +0000)]
a light weight verrsion that calling _setjmp

15 years agochange to ansi c declaration.
Gengbin Zheng [Wed, 8 Mar 2006 16:09:11 +0000 (16:09 +0000)]
change to ansi c declaration.

15 years agominor change status "ok" => "yes"
Gengbin Zheng [Wed, 8 Mar 2006 05:31:16 +0000 (05:31 +0000)]
minor change status "ok" => "yes"

15 years agoadds a few inline to c
Gengbin Zheng [Wed, 8 Mar 2006 05:24:13 +0000 (05:24 +0000)]
adds a few inline to c

15 years agotest if C program accept "inline"
Gengbin Zheng [Wed, 8 Mar 2006 05:21:29 +0000 (05:21 +0000)]
test if C program accept "inline"

15 years agosorted out the mysterous length match error, due to pretty bad typo.
Gengbin Zheng [Wed, 8 Mar 2006 00:58:13 +0000 (00:58 +0000)]
sorted out the mysterous length match error, due to pretty bad typo.

15 years agoWhile looking for the latency problem I'm trying to track down, I noticed
Greg Koenig [Tue, 7 Mar 2006 07:46:02 +0000 (07:46 +0000)]
While looking for the latency problem I'm trying to track down, I noticed
a small bug in memory allocation/deallocation in the path that I intercept
from CmiAlloc() and CmiFree().  Unfortunately this will not fix the latency
problem.  (The princess is in another castle.)

15 years agoisomalloc and isomallocpup global data segment to make it work with any time migration
Gengbin Zheng [Mon, 6 Mar 2006 21:49:58 +0000 (21:49 +0000)]
isomalloc and isomallocpup global data segment to make it work with any time migration

15 years ago*** empty log message ***
Terry L. Wilmarth [Mon, 6 Mar 2006 17:17:08 +0000 (17:17 +0000)]
*** empty log message ***

15 years agouse faster i386 QT instead of "generic"
Gengbin Zheng [Mon, 6 Mar 2006 03:35:34 +0000 (03:35 +0000)]
use faster i386 QT instead of "generic"

15 years agoModify vmi-linux to use Quickthreads on IA-32.
Greg Koenig [Sun, 5 Mar 2006 20:13:24 +0000 (20:13 +0000)]
Modify vmi-linux to use Quickthreads on IA-32.
conv-mach.h must define Context threads for IA-64 (I think).

15 years agoModify vmi-linux to use Quickthreads on IA-32.
Greg Koenig [Sun, 5 Mar 2006 20:11:39 +0000 (20:11 +0000)]
Modify vmi-linux to use Quickthreads on IA-32.

15 years agoThese modifications to GridCommLB allow the balancer to automatically
Greg Koenig [Sun, 5 Mar 2006 20:04:41 +0000 (20:04 +0000)]
These modifications to GridCommLB allow the balancer to automatically
detect cluster topology as well as balance secondarily on measured CPU
load.  The balancer also works with any number of clusters now.

15 years agoRemoved excessive qualifier MsgPacker::
Chao Huang [Fri, 3 Mar 2006 04:39:15 +0000 (04:39 +0000)]
Removed excessive qualifier MsgPacker::

15 years agoporting to ParFUM introduced a bunch of bugs into parallel partitioning
Sayantan Chakravorty [Thu, 2 Mar 2006 23:10:56 +0000 (23:10 +0000)]
porting to ParFUM introduced a bunch of bugs into parallel partitioning
fixed it

15 years agoA token utility to control the number of outstanding [iget] messages.
Yan Shi [Thu, 2 Mar 2006 21:26:55 +0000 (21:26 +0000)]
A token utility to control the number of outstanding [iget] messages.

15 years agoflag: compile flag "-DMEMORYUSAGE_OUTPUT=0" or 1 turns off/on the memory usage printout.
Yan Shi [Thu, 2 Mar 2006 21:24:40 +0000 (21:24 +0000)]
flag: compile flag "-DMEMORYUSAGE_OUTPUT=0" or 1 turns off/on the memory usage printout.

15 years agoChanges to support the k-token iget.
Yan Shi [Thu, 2 Mar 2006 21:22:42 +0000 (21:22 +0000)]
Changes to support the k-token iget.

15 years agoModified the default small message boundary to 2,048 bytes and the
Greg Koenig [Thu, 2 Mar 2006 19:41:56 +0000 (19:41 +0000)]
Modified the default small message boundary to 2,048 bytes and the
default medium message boundary to 32,768 bytes.  These are much more
reasonable numbers for machines with fast memory bandwidth.

15 years agobusy polling network at idle when +idlepoll
Gengbin Zheng [Tue, 28 Feb 2006 20:11:53 +0000 (20:11 +0000)]
busy polling network at idle when +idlepoll

15 years agobuild will pick gmake first
Gengbin Zheng [Sun, 26 Feb 2006 05:45:44 +0000 (05:45 +0000)]
build will pick gmake first

15 years agoFixed a race condition for ++probe-clusters functionality that appears with
Greg Koenig [Sun, 26 Feb 2006 02:44:32 +0000 (02:44 +0000)]
Fixed a race condition for ++probe-clusters functionality that appears with
large numbers of processes (> 64).  In this race, some processes may send
"latency probe" messages to another process that has not yet completed
connection setup, so its latency data is incomplete.  This causes a
segfault.  Solution is to CmiBarrier() before probing latency data and
computing the cluster mapping.  Tested okay on 128 processors now.

15 years agoThis version does a barrier vs. sleep() immediately inside ConverseExit().
Greg Koenig [Sat, 25 Feb 2006 22:06:30 +0000 (22:06 +0000)]
This version does a barrier vs. sleep() immediately inside ConverseExit().
I incorrectly thought this version was wrong due to running on bad nodes
on Tungsten.

Also, *some* of tunc nodes work (high numbers) and some always fail.

15 years agoOkay, this is really strange...
Greg Koenig [Sat, 25 Feb 2006 04:11:52 +0000 (04:11 +0000)]
Okay, this is really strange...

autobuild runs correctly and to completion on nodes from the Tungsten
partition called "tuna" but fails immediately on nodes from "tunc".
I have no idea why.

15 years agoThis version passed the autobuild that I ran on Tungsten.
Greg Koenig [Fri, 24 Feb 2006 19:58:20 +0000 (19:58 +0000)]
This version passed the autobuild that I ran on Tungsten.

15 years agoModified the shutdown process in ConverseExit() so that it hopefully
Greg Koenig [Fri, 24 Feb 2006 06:13:30 +0000 (06:13 +0000)]
Modified the shutdown process in ConverseExit() so that it hopefully
always works with charmrun and with charmgrid.

15 years agoSilly bug. Used ifdef instead of if, so the definition in conv-mach.h does
Chee Wai Lee [Thu, 23 Feb 2006 20:32:02 +0000 (20:32 +0000)]
Silly bug. Used ifdef instead of if, so the definition in conv-mach.h does
nothing!

15 years agohack to try to pass autobuild tonight
Greg Koenig [Thu, 23 Feb 2006 07:50:52 +0000 (07:50 +0000)]
hack to try to pass autobuild tonight

15 years agoModified the way the machine layer shuts down when started from
Greg Koenig [Thu, 23 Feb 2006 07:27:14 +0000 (07:27 +0000)]
Modified the way the machine layer shuts down when started from
charmrun.  This will hopefully help in passing autobuild.