charm.git
15 years agochanged spaces into tab
Filippo Gioachin [Fri, 22 Sep 2006 21:11:08 +0000 (21:11 +0000)]
changed spaces into tab

15 years agoThis is the last change today for modifications to object prioritization.
Greg Koenig [Fri, 22 Sep 2006 00:40:29 +0000 (00:40 +0000)]
This is the last change today for modifications to object prioritization.
Changes here are simple, and allow extern references to come from
converse.h instead of locally.

15 years agoThis update implements Grid queue interval/threshold support.
Greg Koenig [Thu, 21 Sep 2006 23:23:59 +0000 (23:23 +0000)]
This update implements Grid queue interval/threshold support.
It also implements suggestions by Sanjay for moving Grid queue into Charm handler.

15 years agoUpdated to implement Grid interval/threshold.
Greg Koenig [Thu, 21 Sep 2006 23:02:58 +0000 (23:02 +0000)]
Updated to implement Grid interval/threshold.
Also moved Grid queue into Charm handler and dequeue into convcore.c.

15 years agoUpdate for Grid threshold/interval.
Greg Koenig [Thu, 21 Sep 2006 22:53:29 +0000 (22:53 +0000)]
Update for Grid threshold/interval.
Also update for suggestions from Sanjay.

15 years agoUpdate for Grid queue interval/threshold.
Greg Koenig [Thu, 21 Sep 2006 22:52:21 +0000 (22:52 +0000)]
Update for Grid queue interval/threshold.
Also update for suggestions from Sanjay.

15 years agoChanged the final maxError printf.
David Kunzman [Thu, 21 Sep 2006 20:28:19 +0000 (20:28 +0000)]
Changed the final maxError printf.

15 years agoAdded code to either use an Offload API callback or suspend the entry
David Kunzman [Thu, 21 Sep 2006 20:27:01 +0000 (20:27 +0000)]
Added code to either use an Offload API callback or suspend the entry
method depending on the value of the USE_CALLBACK define in
jacobi_shared.h.  Changed data points from 'float*' to 'volatile float*'.

15 years agoAdded define to control if Offload API callbacks should be used or if
David Kunzman [Thu, 21 Sep 2006 20:24:51 +0000 (20:24 +0000)]
Added define to control if Offload API callbacks should be used or if
the entry method should suspend.
`

15 years agoAdded post calculation member function and changed data points from
David Kunzman [Thu, 21 Sep 2006 20:22:18 +0000 (20:22 +0000)]
Added post calculation member function and changed data points from
'float*' to 'volatile float*'.

15 years agoRemoved startX variable.
David Kunzman [Thu, 21 Sep 2006 20:11:38 +0000 (20:11 +0000)]
Removed startX variable.

15 years agoAdded a comment pointing out a potential problem. Our CoordCompare function can...
Robert Blake [Thu, 21 Sep 2006 18:57:31 +0000 (18:57 +0000)]
Added a comment pointing out a potential problem.  Our CoordCompare function can only really distinguish coordinates that differ by 0.0002 in relative value.  This epsilon is huge and should be decreased.

15 years agobetter workaround
Gengbin Zheng [Thu, 21 Sep 2006 17:32:04 +0000 (17:32 +0000)]
better workaround

15 years agofixed
Gengbin Zheng [Thu, 21 Sep 2006 17:15:34 +0000 (17:15 +0000)]
fixed

15 years agosmarter tracing
Gengbin Zheng [Thu, 21 Sep 2006 15:53:28 +0000 (15:53 +0000)]
smarter tracing

15 years agoadded permission modification to web files
Filippo Gioachin [Wed, 20 Sep 2006 08:20:24 +0000 (08:20 +0000)]
added permission modification to web files

15 years agoMy last check in broke the nightly compile. Added an include that should
Robert Blake [Tue, 19 Sep 2006 21:13:40 +0000 (21:13 +0000)]
My last check in broke the nightly compile.  Added an include that should
allow the code to compile on IBM machines.

15 years agoChanged the mesh-import code to run in nlogn time instead of n^2 time. Code is unit...
Robert Blake [Mon, 18 Sep 2006 21:59:33 +0000 (21:59 +0000)]
Changed the mesh-import code to run in nlogn time instead of n^2 time.  Code is unit tested.

15 years agoadded trace on/off
Gengbin Zheng [Mon, 18 Sep 2006 07:52:11 +0000 (07:52 +0000)]
added trace on/off

15 years agoan empty setObjTiming for the case when LBDB is off.
Gengbin Zheng [Fri, 15 Sep 2006 19:26:40 +0000 (19:26 +0000)]
an empty setObjTiming for the case when LBDB is off.

15 years agoChanging real in vector2d to Real so that this class doesn't cause conflicts
Robert Blake [Fri, 15 Sep 2006 18:52:57 +0000 (18:52 +0000)]
Changing real in vector2d to Real so that this class doesn't cause conflicts
with complex.  real() is a top level function in <complex>.  Since we use
"using namespace std;" in our header file, the presence of "real" causes problems.

15 years agoreduce the threshold of switching into shrink mode for speed.
Gengbin Zheng [Fri, 15 Sep 2006 18:47:00 +0000 (18:47 +0000)]
reduce the threshold of switching into shrink mode for speed.

15 years agoanother fix for uth-linux when LBDB is off.
Gengbin Zheng [Thu, 14 Sep 2006 16:49:37 +0000 (16:49 +0000)]
another fix for uth-linux when LBDB is off.

15 years agofixed for bgtest
Gengbin Zheng [Thu, 14 Sep 2006 16:06:53 +0000 (16:06 +0000)]
fixed for bgtest

15 years agomoved defgroup to ParfUM_internals.h
Sayantan Chakravorty [Wed, 13 Sep 2006 18:55:02 +0000 (18:55 +0000)]
moved defgroup to ParfUM_internals.h

15 years agoconverted to model-based load balancing
Gengbin Zheng [Wed, 13 Sep 2006 18:31:27 +0000 (18:31 +0000)]
converted to model-based load balancing

15 years agoaddded addgroup for doxygen
Sayantan Chakravorty [Wed, 13 Sep 2006 18:29:03 +0000 (18:29 +0000)]
addded addgroup for doxygen

15 years agosupport for model-based load balancing:
Gengbin Zheng [Wed, 13 Sep 2006 18:29:02 +0000 (18:29 +0000)]
support for model-based load balancing:
set setLBLoad = true in constructor
write function for UserSetLBLoad() to set load.
A helper function setObjTiming(cputime) is provided.

15 years agoadded ParFUM
Sayantan Chakravorty [Wed, 13 Sep 2006 18:21:33 +0000 (18:21 +0000)]
added ParFUM

15 years agofix for uth-linux
Gengbin Zheng [Wed, 13 Sep 2006 17:25:12 +0000 (17:25 +0000)]
fix for uth-linux

15 years agoimplemented EstObjLoad() to allow user specify the cpu load.
Gengbin Zheng [Wed, 13 Sep 2006 08:01:55 +0000 (08:01 +0000)]
implemented EstObjLoad() to allow user specify the cpu load.

15 years agojacobi program with load balancing
Gengbin Zheng [Wed, 13 Sep 2006 06:42:26 +0000 (06:42 +0000)]
jacobi program with load balancing

15 years agoupdated
Gengbin Zheng [Wed, 13 Sep 2006 06:33:32 +0000 (06:33 +0000)]
updated

15 years agofixed Makefile
Gengbin Zheng [Wed, 13 Sep 2006 06:33:00 +0000 (06:33 +0000)]
fixed Makefile

15 years agoAdded ability to trace work requests and getSPEID(). Fixed race condition
David Kunzman [Tue, 12 Sep 2006 23:01:00 +0000 (23:01 +0000)]
Added ability to trace work requests and getSPEID().  Fixed race condition
with message queue.

15 years agofixed ambiguity of pow()
Gengbin Zheng [Tue, 12 Sep 2006 18:22:47 +0000 (18:22 +0000)]
fixed ambiguity of pow()

15 years agoAdding prism mesh data structure to be used for surface transfer.
Terry L. Wilmarth [Mon, 11 Sep 2006 21:22:55 +0000 (21:22 +0000)]
Adding prism mesh data structure to be used for surface transfer.

15 years agoprint memory usage in MB
Gengbin Zheng [Mon, 11 Sep 2006 19:28:43 +0000 (19:28 +0000)]
print memory usage in MB

15 years agoThis change fixes a bug that was preventing the vmi-linux autobuild from
Greg Koenig [Sat, 9 Sep 2006 22:02:36 +0000 (22:02 +0000)]
This change fixes a bug that was preventing the vmi-linux autobuild from
working.

It also removes the Grid queue at the machine layer so it can be implemented
at the Converse/Charm layer as per discussion with Sanjay.

15 years agocreate smp_mutex
Gengbin Zheng [Thu, 7 Sep 2006 19:14:10 +0000 (19:14 +0000)]
create smp_mutex

15 years agomove around the definition of smp_mutex
Gengbin Zheng [Wed, 6 Sep 2006 21:46:16 +0000 (21:46 +0000)]
move around the definition of smp_mutex

15 years agointroduce a new smp lock for protecting critical regions during smp startup
Gengbin Zheng [Wed, 6 Sep 2006 21:40:27 +0000 (21:40 +0000)]
introduce a new smp lock for protecting critical regions during smp startup

15 years agoCmiOutOfMemoryInit should only called once in smp
Gengbin Zheng [Wed, 6 Sep 2006 21:16:43 +0000 (21:16 +0000)]
CmiOutOfMemoryInit should only called once in smp

15 years agofixed a race condtion in comlib initialization when registering pupables.
Gengbin Zheng [Wed, 6 Sep 2006 18:41:21 +0000 (18:41 +0000)]
fixed a race condtion in comlib initialization when registering pupables.

15 years agorevert the last change about intel compiler.
Gengbin Zheng [Thu, 31 Aug 2006 21:37:16 +0000 (21:37 +0000)]
revert the last change about intel compiler.

15 years agoThese modifications are used by the implementation of "grid object
Greg Koenig [Tue, 29 Aug 2006 21:35:36 +0000 (21:35 +0000)]
These modifications are used by the implementation of "grid object
prioritization" as described in the previous check-in for arch/vmi/machine.c.

These modifications are completely invisible unless
CMK_GRID_OBJECT_PRIORITIZATION is defined to 1 during compilation.

15 years agoThis modification is used to implement "grid object prioritization" as
Greg Koenig [Tue, 29 Aug 2006 21:30:16 +0000 (21:30 +0000)]
This modification is used to implement "grid object prioritization" as
described in the previous check-in for arch/vmi/machine.c.

This code is entirely invisible unless CMK_GRID_OBJECT_PRIORITIZATION is
defined to 1.

15 years agoThese changes are necessary to implement "grid object prioritization" as
Greg Koenig [Tue, 29 Aug 2006 21:01:51 +0000 (21:01 +0000)]
These changes are necessary to implement "grid object prioritization" as
described in the previous check-in for arch/vmi/machine.c.

These changes are entirely invisible unless CMK_GRID_OBJECT_PRIORITIZATION
is defined to 1.

15 years agoThis modification implements "border object prioritization" for Grid
Greg Koenig [Tue, 29 Aug 2006 20:38:39 +0000 (20:38 +0000)]
This modification implements "border object prioritization" for Grid
computations.  In this scheme, objects that send messages across a
cross-cluster boundary are designated "border objects".  Messages sent
TO these objects are delivered with higher priority in order to try to
drive the execution of these objects early so that their overhead can
be masked more effectively with execution time of other objects.

This feature is entirely disabled unless CMK_GRID_OBJECT_PRIORITIZATION
is defined with a True value.

15 years agoModified code to remove barrier between iterations. Added a timer.
David Kunzman [Sun, 27 Aug 2006 15:30:26 +0000 (15:30 +0000)]
Modified code to remove barrier between iterations.  Added a timer.

15 years agoModified commands to use mailboxes instead of the message queue.
David Kunzman [Sun, 27 Aug 2006 15:27:39 +0000 (15:27 +0000)]
Modified commands to use mailboxes instead of the message queue.

15 years agoChanged commands so they use the mailboxs instead of the message queue.
David Kunzman [Sun, 27 Aug 2006 15:19:32 +0000 (15:19 +0000)]
Changed commands so they use the mailboxs instead of the message queue.

15 years agochanges to the communication interface with charmdebug
Filippo Gioachin [Sun, 27 Aug 2006 07:51:29 +0000 (07:51 +0000)]
changes to the communication interface with charmdebug

15 years agoignore floating point errors when comparing to 0.0
Gengbin Zheng [Sun, 27 Aug 2006 06:47:52 +0000 (06:47 +0000)]
ignore floating point errors when comparing to 0.0

15 years agoin BgTimeLog::addMsgBackwardDep, when the log entry associated with a message can...
Gengbin Zheng [Fri, 25 Aug 2006 20:03:56 +0000 (20:03 +0000)]
in BgTimeLog::addMsgBackwardDep, when the log entry associated with a message can not be found (which is likely to happen after migration), ignore it.

15 years agopass TESTOPTS
Gengbin Zheng [Fri, 25 Aug 2006 19:08:36 +0000 (19:08 +0000)]
pass TESTOPTS

15 years agopassing TESTOPTS to make test
Gengbin Zheng [Fri, 25 Aug 2006 19:06:54 +0000 (19:06 +0000)]
passing TESTOPTS to make test

15 years agopassing TESTOPTS to charmrun
Gengbin Zheng [Fri, 25 Aug 2006 19:06:27 +0000 (19:06 +0000)]
passing TESTOPTS to charmrun

15 years agofixed bigsim traces for waitall, checkpoint, iprobe and comm_split.
Gengbin Zheng [Fri, 25 Aug 2006 19:04:34 +0000 (19:04 +0000)]
fixed bigsim traces for waitall, checkpoint, iprobe and comm_split.

15 years agoFEM_Migrate calls AMPI_Migrate instead of TCHARM_Migrate to make sure proper tracing...
Gengbin Zheng [Fri, 25 Aug 2006 19:02:28 +0000 (19:02 +0000)]
FEM_Migrate calls AMPI_Migrate instead of TCHARM_Migrate to make sure proper tracing stuff and avoid code duplication.

15 years agobigsim traces barrier call
Gengbin Zheng [Fri, 25 Aug 2006 19:01:44 +0000 (19:01 +0000)]
bigsim traces barrier call

15 years agoa better tracing scheme that starts/stops timer uniformly and skips time spent in...
Gengbin Zheng [Fri, 25 Aug 2006 18:57:25 +0000 (18:57 +0000)]
a better tracing scheme that starts/stops timer uniformly and skips time spent in logging.

15 years agoAdded include for stdlib header.
David Kunzman [Fri, 25 Aug 2006 18:53:11 +0000 (18:53 +0000)]
Added include for stdlib header.

15 years ago*** empty log message ***
Chao Huang [Fri, 25 Aug 2006 16:23:02 +0000 (16:23 +0000)]
*** empty log message ***

15 years agoAdded MPICH's Alltoall algorithm for short msg (<=64B for AMPI)
Chao Huang [Fri, 25 Aug 2006 06:41:12 +0000 (06:41 +0000)]
Added MPICH's Alltoall algorithm for short msg (<=64B for AMPI)

15 years agoRemoved exit function.
David Kunzman [Fri, 25 Aug 2006 05:00:51 +0000 (05:00 +0000)]
Removed exit function.

15 years agoModified the rule to build the SPE code.
David Kunzman [Fri, 25 Aug 2006 04:58:20 +0000 (04:58 +0000)]
Modified the rule to build the SPE code.

15 years agoModified file to execute conv-config.sh instead of conv-mach.sh. Added and
David Kunzman [Fri, 25 Aug 2006 04:39:32 +0000 (04:39 +0000)]
Modified file to execute conv-config.sh instead of conv-mach.sh.  Added and
modified the contents of Makefile.cell for xlc support (compilers are no
longer hard-coded).

15 years agoModified and added some settings.
David Kunzman [Fri, 25 Aug 2006 04:36:19 +0000 (04:36 +0000)]
Modified and added some settings.

15 years agoAdded code to gather some simple stats on mailbox usage when the PPE makes
David Kunzman [Fri, 25 Aug 2006 04:31:21 +0000 (04:31 +0000)]
Added code to gather some simple stats on mailbox usage when the PPE makes
a call to OffloadAPIProgress.

15 years agoAdded support for work requet specific callback functions and SPE affinity.
David Kunzman [Thu, 24 Aug 2006 19:19:24 +0000 (19:19 +0000)]
Added support for work requet specific callback functions and SPE affinity.

15 years agoAdded support for virtual SPE ID, work request specific callback
David Kunzman [Thu, 24 Aug 2006 18:46:59 +0000 (18:46 +0000)]
Added support for virtual SPE ID, work request specific callback
functions, SPE affinity for work requests, and other additional
additions/modifications.

15 years agoAdded support for virtual SPE ID. Other misc modifications.
David Kunzman [Thu, 24 Aug 2006 18:43:21 +0000 (18:43 +0000)]
Added support for virtual SPE ID.  Other misc modifications.

15 years agoAdded support for virtual SPE ID.
David Kunzman [Thu, 24 Aug 2006 18:42:01 +0000 (18:42 +0000)]
Added support for virtual SPE ID.

15 years agoModified the SIZEOF_16 and ROUNDUP_16 macros.
David Kunzman [Thu, 24 Aug 2006 18:41:06 +0000 (18:41 +0000)]
Modified the SIZEOF_16 and ROUNDUP_16 macros.

15 years agoRemoved some directories from the include path (that were already being
David Kunzman [Thu, 24 Aug 2006 18:37:39 +0000 (18:37 +0000)]
Removed some directories from the include path (that were already being
added).  Made use of SPU_CC compiler "define" instead of using the
compiler directly (for xlc support).

15 years agoAdded the Offload API directory to the list of directories searched.
David Kunzman [Thu, 24 Aug 2006 18:30:35 +0000 (18:30 +0000)]
Added the Offload API directory to the list of directories searched.

15 years agodefines a maro CK_RUNTIME_API to be used to make a calling function out of the load...
Gengbin Zheng [Wed, 23 Aug 2006 21:11:35 +0000 (21:11 +0000)]
defines a maro CK_RUNTIME_API to be used to make a calling function out of the load balancing instrumentation.

15 years agobug fixes for several functions.
Eric Bohm [Mon, 21 Aug 2006 18:12:27 +0000 (18:12 +0000)]
bug fixes for several functions.
quicksort for sortIndex
change assumption for VN mode to support TXYZ

15 years agoFixed a bug in MPI_Scan. the loop incrementor should be outside
Sayantan Chakravorty [Mon, 21 Aug 2006 07:02:54 +0000 (07:02 +0000)]
Fixed a bug in MPI_Scan. the loop incrementor should be outside
the if statement within the loop

15 years agohack for the new glibc backtrace routine. It allocates some memory at first call.
Filippo Gioachin [Sun, 20 Aug 2006 06:08:40 +0000 (06:08 +0000)]
hack for the new glibc backtrace routine. It allocates some memory at first call.
Disable the memory stack tracing when finding the stack trace itself.

15 years ago*** empty log message ***
Sameer Kumar [Fri, 18 Aug 2006 22:11:02 +0000 (22:11 +0000)]
*** empty log message ***

15 years agoFixed silly bug, CMK_XT3 instead of !CMK_XT3
Chee Wai Lee [Thu, 17 Aug 2006 21:49:19 +0000 (21:49 +0000)]
Fixed silly bug, CMK_XT3 instead of !CMK_XT3

15 years agoreuse first message after reducer is called
Gengbin Zheng [Fri, 11 Aug 2006 21:45:52 +0000 (21:45 +0000)]
reuse first message after reducer is called

15 years agoan optimization to avoid malloc in building new reduction message after calling reduc...
Gengbin Zheng [Fri, 11 Aug 2006 21:45:09 +0000 (21:45 +0000)]
an optimization to avoid malloc in building new reduction message after calling reduceri by reusing the first msg. This only works for simple reduction types.

15 years agoturned off debug prints
Sayantan Chakravorty [Wed, 9 Aug 2006 19:55:02 +0000 (19:55 +0000)]
turned off debug prints

15 years agoAdded mesh import functions for nodes and elements of any type.
Terry L. Wilmarth [Tue, 8 Aug 2006 18:37:47 +0000 (18:37 +0000)]
Added mesh import functions for nodes and elements of any type.

15 years agoImport functions now take a "dim" parameter. 2 for 2D, 3 for 3D... should work for...
Terry L. Wilmarth [Tue, 8 Aug 2006 17:53:09 +0000 (17:53 +0000)]
Import functions now take a "dim" parameter.  2 for 2D, 3 for 3D... should work for an dim>0.

15 years agoquicksort patch
Eric Bohm [Tue, 8 Aug 2006 14:40:25 +0000 (14:40 +0000)]
quicksort patch

15 years agoadded two new built-in reductions
Filippo Gioachin [Mon, 7 Aug 2006 23:06:59 +0000 (23:06 +0000)]
added two new built-in reductions

15 years agoadding basic reductions for bitvector operations
Filippo Gioachin [Mon, 7 Aug 2006 22:47:03 +0000 (22:47 +0000)]
adding basic reductions for bitvector operations

15 years agoa bug in intel compiler which can not identify global data if the common (fortran...
Gengbin Zheng [Mon, 7 Aug 2006 21:56:12 +0000 (21:56 +0000)]
a bug in intel compiler which can not identify global data if the common (fortran) name conflicts with intrinsinc function names. Put a intel compiler specific hack for it.

15 years ago*** empty log message ***
Sameer Kumar [Sat, 5 Aug 2006 19:51:40 +0000 (19:51 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Sameer Kumar [Fri, 4 Aug 2006 23:43:43 +0000 (23:43 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Sameer Kumar [Fri, 4 Aug 2006 22:33:24 +0000 (22:33 +0000)]
*** empty log message ***

15 years agoRemoved some unused local variables.
David Kunzman [Fri, 4 Aug 2006 19:59:54 +0000 (19:59 +0000)]
Removed some unused local variables.

15 years agoFixed bug in calloc_aligned (zeroFlag should be set when calling malloc_aligned_helpe...
David Kunzman [Fri, 4 Aug 2006 19:29:24 +0000 (19:29 +0000)]
Fixed bug in calloc_aligned (zeroFlag should be set when calling malloc_aligned_helper()).

15 years agoRemoved signed vs. unsigned comparison warning. Fixed bug where an
David Kunzman [Fri, 4 Aug 2006 19:23:59 +0000 (19:23 +0000)]
Removed signed vs. unsigned comparison warning.  Fixed bug where an
equality comparison ("==") was being used instead of an assignment ("=").

15 years agoRemoved the defines for the SPE offsets.
David Kunzman [Fri, 4 Aug 2006 19:21:36 +0000 (19:21 +0000)]
Removed the defines for the SPE offsets.

15 years agoswitch default timing method from ELAPSE to Walltime
Gengbin Zheng [Fri, 4 Aug 2006 14:48:47 +0000 (14:48 +0000)]
switch default timing method from ELAPSE to Walltime