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

15 years agocreateComm uses lookup instead of getMesh to get the correct mesh
Sayantan Chakravorty [Thu, 3 Aug 2006 21:36:46 +0000 (21:36 +0000)]
createComm uses lookup instead of getMesh to get the correct mesh

15 years agosome debug statements put in
Sayantan Chakravorty [Thu, 3 Aug 2006 21:29:58 +0000 (21:29 +0000)]
some debug statements put in

15 years agoFixed a problem in double comparison with endiannes.
Sayantan Chakravorty [Thu, 3 Aug 2006 20:57:56 +0000 (20:57 +0000)]
Fixed a problem in double comparison with endiannes.
now works with big and little

15 years agoexposed getFloatFormat to the global scope
Sayantan Chakravorty [Thu, 3 Aug 2006 20:56:45 +0000 (20:56 +0000)]
exposed getFloatFormat to the global scope

15 years agoAdded a wrapper fn.
Terry L. Wilmarth [Thu, 3 Aug 2006 18:23:21 +0000 (18:23 +0000)]
Added a wrapper fn.

15 years agoRemoved some now-meaningless comments.
Terry L. Wilmarth [Thu, 3 Aug 2006 17:57:50 +0000 (17:57 +0000)]
Removed some now-meaningless comments.

15 years agominor compilation problems in import.C fixed
Sayantan Chakravorty [Thu, 3 Aug 2006 17:56:21 +0000 (17:56 +0000)]
minor compilation problems in import.C fixed

15 years agodebugging recreateSharedNodes
Terry L. Wilmarth [Thu, 3 Aug 2006 17:43:34 +0000 (17:43 +0000)]
debugging recreateSharedNodes

15 years agoAdded recreateSharedNodes and coordinate comparison functions.
Terry L. Wilmarth [Thu, 3 Aug 2006 17:38:04 +0000 (17:38 +0000)]
Added recreateSharedNodes and coordinate comparison functions.

15 years agoadded import.C and .h to the makefile
Sayantan Chakravorty [Thu, 3 Aug 2006 17:36:14 +0000 (17:36 +0000)]
added import.C and .h to the makefile

15 years agoAdded ParFUM_desharing and ParFUM_deghosting methods to import.h and .C
Sayantan Chakravorty [Thu, 3 Aug 2006 17:18:18 +0000 (17:18 +0000)]
Added ParFUM_desharing and ParFUM_deghosting methods to import.h and .C

15 years agoAdding skeletal import facility.
Terry L. Wilmarth [Thu, 3 Aug 2006 17:10:53 +0000 (17:10 +0000)]
Adding skeletal import facility.

15 years agoAdded code to FEM_Mesh to remove the shared nodes
Sayantan Chakravorty [Thu, 3 Aug 2006 00:03:49 +0000 (00:03 +0000)]
Added code to FEM_Mesh to remove the shared nodes
and ghost nodes and elements in a mesh.
It also empties the corresponding idxl lists

15 years agoAdded a method clear to remove all the entries in a idxl_side
Sayantan Chakravorty [Wed, 2 Aug 2006 22:19:30 +0000 (22:19 +0000)]
Added a method clear to remove all the entries in a idxl_side

15 years agoadded a printf before the call to parmetis.
Sayantan Chakravorty [Wed, 2 Aug 2006 20:29:26 +0000 (20:29 +0000)]
added a printf before the call to parmetis.
will help in detecting some reported rare hangs in that
portion of the code

15 years agoblue_init.C => bigsim_init.C
Gengbin Zheng [Wed, 2 Aug 2006 16:46:49 +0000 (16:46 +0000)]
blue_init.C => bigsim_init.C

15 years agoadded prototype for CkRemoveArrayElements
Gengbin Zheng [Wed, 2 Aug 2006 16:40:34 +0000 (16:40 +0000)]
added prototype for CkRemoveArrayElements

15 years agomake sure in teh function that checkpointing the processor's whole data, only rank...
Gengbin Zheng [Wed, 2 Aug 2006 16:40:15 +0000 (16:40 +0000)]
make sure in teh function that checkpointing the processor's whole data, only rank 0 processor on a node checkpoints the readonly data and nodegroup data.
Also added another function CkRemoveArrayElements to remove all array elements and call destructor to free up memory.

15 years agomore name change blue => bigsim
Gengbin Zheng [Wed, 2 Aug 2006 05:19:23 +0000 (05:19 +0000)]
more name change blue => bigsim

15 years agoFixed indexing bug when executing work requests.
David Kunzman [Tue, 1 Aug 2006 22:36:14 +0000 (22:36 +0000)]
Fixed indexing bug when executing work requests.

15 years agoThis is some uncompiled, untested, unintegrated code for deriving the shared nodes...
Terry L. Wilmarth [Tue, 1 Aug 2006 21:30:31 +0000 (21:30 +0000)]
This is some uncompiled, untested, unintegrated code for deriving the shared nodes of a partitioned mesh for which no IDXL data exists.

15 years agoAdded a new gcc4 configuration for the XT3 machine option only.
Chee Wai Lee [Tue, 1 Aug 2006 20:07:43 +0000 (20:07 +0000)]
Added a new gcc4 configuration for the XT3 machine option only.

The XT3 pcqueue hack is apparently no longer required. calloc fails to do
the right job on the XT3 and is currently changed to malloc/memset on the
platform. All other platforms will continue to use calloc.

A decision to use malloc/memset is prefered over the original hack because
it is unclear how the original even helped in the first place, raising
concerns that some bug remains unexercised on the system. malloc/memset
on the other hand behaves semantically the same as calloc though performance
is expected to suffer due to the result of making 2 system calls as opposed
to 1.

15 years agocomments
Gengbin Zheng [Tue, 1 Aug 2006 18:43:43 +0000 (18:43 +0000)]
comments

15 years agoadded file for globally renumbering nodes
Sayantan Chakravorty [Wed, 26 Jul 2006 21:19:53 +0000 (21:19 +0000)]
added file for globally renumbering nodes

15 years agosmarter constructor
Eric Bohm [Wed, 26 Jul 2006 15:11:42 +0000 (15:11 +0000)]
smarter constructor

15 years agoadded function to destroy all allocated data
Filippo Gioachin [Fri, 21 Jul 2006 23:06:55 +0000 (23:06 +0000)]
added function to destroy all allocated data

15 years agoThese modifications allow for compatibility with the VMI 2.2 patch for
Greg Koenig [Mon, 17 Jul 2006 21:02:17 +0000 (21:02 +0000)]
These modifications allow for compatibility with the VMI 2.2 patch for
VMI_RDMA_Publish_Buffer_With_Callback() which allows better overlapping of
computation with communication, especially for high-latency environments
like Grids.

15 years agoAdded alignment attribute to the dmalist stack variable.
David Kunzman [Mon, 17 Jul 2006 19:41:36 +0000 (19:41 +0000)]
Added alignment attribute to the dmalist stack variable.