charm.git
12 years agouse -fpic instead of -fPIC to be consistent with icc options
Gengbin Zheng [Thu, 2 Jul 2009 19:45:16 +0000 (19:45 +0000)]
use -fpic instead of -fPIC to be consistent with icc options

12 years agodeclare MPI_Register as fortran subroutine instead of function to make it consistent.
Gengbin Zheng [Thu, 2 Jul 2009 19:44:32 +0000 (19:44 +0000)]
declare MPI_Register as fortran subroutine instead of function to make it consistent.

12 years agoAdding better debug printouts.
Isaac Dooley [Thu, 2 Jul 2009 18:18:16 +0000 (18:18 +0000)]
Adding better debug printouts.

12 years agoUsing QD for startup to ensure that comlib has been initialized before we use it.
Isaac Dooley [Thu, 2 Jul 2009 18:16:44 +0000 (18:16 +0000)]
Using QD for startup to ensure that comlib has been initialized before we use it.

12 years agoMinor changes to Node aware multicast strategy.
Isaac Dooley [Thu, 2 Jul 2009 16:55:32 +0000 (16:55 +0000)]
Minor changes to Node aware multicast strategy.

12 years agoonly skip libso when CMK_NO_BUILD_SHARED is true.
Gengbin Zheng [Thu, 2 Jul 2009 04:40:04 +0000 (04:40 +0000)]
only skip libso when CMK_NO_BUILD_SHARED is true.

12 years agoFixing some bugs in the new node aware multicast strategy.
Isaac Dooley [Wed, 1 Jul 2009 21:46:03 +0000 (21:46 +0000)]
Fixing some bugs in the new node aware multicast strategy.

12 years agoreenforce the check to make sure number of target nodes are greater than no of physic...
Gengbin Zheng [Wed, 1 Jul 2009 18:53:41 +0000 (18:53 +0000)]
reenforce the check to make sure number of target nodes are greater than no of physical nodes

12 years agoAdding a new node aware one time multicast strategy.
Isaac Dooley [Wed, 1 Jul 2009 16:49:41 +0000 (16:49 +0000)]
Adding a new node aware one time multicast strategy.

12 years agoAdding another cpu topology accessor method that returns the first PE for a specified...
Isaac Dooley [Wed, 1 Jul 2009 16:45:35 +0000 (16:45 +0000)]
Adding another cpu topology accessor method that returns the first PE for a specified node.

12 years agoAMPI: Quiet some warnings about silly return types
Phil Miller [Wed, 1 Jul 2009 00:02:14 +0000 (00:02 +0000)]
AMPI: Quiet some warnings about silly return types

Returning 'const int' is the same as returning 'int', and ICC likes to
tell us so.

12 years agoin checkpointing functions, call AMPIAPI after AMPI_Barrier(). which will also call...
Gengbin Zheng [Tue, 30 Jun 2009 20:00:09 +0000 (20:00 +0000)]
in checkpointing functions, call AMPIAPI after AMPI_Barrier(). which will also call AMPIAPI to swap global data and causes confusions.

12 years agominor change in debug prints
Gengbin Zheng [Tue, 30 Jun 2009 19:58:04 +0000 (19:58 +0000)]
minor change in debug prints

12 years agoin case of using isomalloc, global data segment is malloc'ed from isomalloc heap.
Gengbin Zheng [Tue, 30 Jun 2009 19:56:29 +0000 (19:56 +0000)]
in case of using isomalloc, global data segment is malloc'ed from isomalloc heap.
Call CmiIsomallocFree in destructor instead of free(). This seems to fix a crash in in-memory checkpoint

12 years agoClean up some compiler warnings
Phil Miller [Tue, 30 Jun 2009 16:11:39 +0000 (16:11 +0000)]
Clean up some compiler warnings

Const-ify some more string literals, to quiet warnings.

12 years agothe warnings need to be printed from pe 0 only
Abhinav Bhatele [Mon, 29 Jun 2009 22:39:54 +0000 (22:39 +0000)]
the warnings need to be printed from pe 0 only

12 years agothe warning needs to printed from pe 0 only
Abhinav Bhatele [Mon, 29 Jun 2009 22:39:12 +0000 (22:39 +0000)]
the warning needs to printed from pe 0 only

12 years agoFix comlib-related build failure under bgxlC
Phil Miller [Mon, 29 Jun 2009 19:53:01 +0000 (19:53 +0000)]
Fix comlib-related build failure under bgxlC

The grand comlib checkin exposed an ICE in the BlueGene version of
xlC. I narrowed the cause in convcomlibstrategy.C to the line in
Strategy::Strategy() that called insertStrategy() to register with the
manager. This commit modifies the manager to 'friend' the entire
Strategy class, rather than just the constructor.

Checked compilation with GCC and xlC on BlueGene, and GCC and ICC on
64-bit lab machines. Things may yet break under the abominable Solaris cc.

12 years agofix the BG/P latency formula
Abhinav Bhatele [Fri, 26 Jun 2009 21:28:51 +0000 (21:28 +0000)]
fix the BG/P latency formula

12 years agosilent errors when gfortran lib path can not be automatically located
Gengbin Zheng [Fri, 26 Jun 2009 17:00:40 +0000 (17:00 +0000)]
silent errors when gfortran lib path can not be automatically located

12 years agoFixing return type incompatibilities.
Isaac Dooley [Thu, 25 Jun 2009 19:00:00 +0000 (19:00 +0000)]
Fixing return type incompatibilities.

12 years agoFixing delivery bug in CharmStrategy::deliverToIndices. Adding some documentation...
Isaac Dooley [Thu, 25 Jun 2009 18:50:55 +0000 (18:50 +0000)]
Fixing delivery bug in CharmStrategy::deliverToIndices. Adding some documentation notes.

12 years agoAdding some user events to trace the multicasts.
Isaac Dooley [Thu, 25 Jun 2009 17:55:48 +0000 (17:55 +0000)]
Adding some user events to trace the multicasts.

12 years agofixed the previous change for non-bigsim
Gengbin Zheng [Thu, 25 Jun 2009 12:36:16 +0000 (12:36 +0000)]
fixed the previous change for non-bigsim

12 years agomake sure recv event depends on the right "ampi::generic" event, and does not depend...
Gengbin Zheng [Thu, 25 Jun 2009 06:32:39 +0000 (06:32 +0000)]
make sure recv event depends on the right "ampi::generic" event, and does not depend on directly on the event that wakes up the thread
CVS ----------------------------------------------------------------------

12 years agoFixed a typo in prev commit introduced after testing :)
Ramprasad Venkataraman [Wed, 24 Jun 2009 22:25:22 +0000 (22:25 +0000)]
Fixed a typo in prev commit introduced after testing :)

12 years agoExposed a per-entry-method memleak when testing with valgrind. Committing Chee Wai...
Ramprasad Venkataraman [Wed, 24 Jun 2009 22:11:13 +0000 (22:11 +0000)]
Exposed a per-entry-method memleak when testing with valgrind. Committing Chee Wai's fix that should restore projections' dont use, dont pay guarantee

12 years agoSimplify set of parameters to determineNextHopPEs(). Add more documentation.
Isaac Dooley [Wed, 24 Jun 2009 20:38:25 +0000 (20:38 +0000)]
Simplify set of parameters to determineNextHopPEs(). Add more documentation.

12 years agoAdding some new multicast strategies.
Isaac Dooley [Wed, 24 Jun 2009 19:55:46 +0000 (19:55 +0000)]
Adding some new multicast strategies.

12 years agoFixing bug where messages are sent if list of negative length is specified.
Isaac Dooley [Wed, 24 Jun 2009 19:40:29 +0000 (19:40 +0000)]
Fixing bug where messages are sent if list of negative length is specified.

12 years agoIf fault tolerance flag is set, the assignment of array elements is round robin.
Esteban Meneses [Wed, 24 Jun 2009 16:57:16 +0000 (16:57 +0000)]
If fault tolerance flag is set, the assignment of array elements is round robin.

12 years agocomment out some CkPrintfs which are believed to be used for debugging purpose.
Chao Mei [Wed, 24 Jun 2009 04:04:45 +0000 (04:04 +0000)]
comment out some CkPrintfs which are believed to be used for debugging purpose.

12 years agoSet to round robin the default assignment of array elements to processors when __FAUL...
Esteban Meneses [Tue, 23 Jun 2009 20:48:33 +0000 (20:48 +0000)]
Set to round robin the default assignment of array elements to processors when __FAULT__ flag is turned on.

12 years agoIncluded an extra parameter in the pup function.
Esteban Meneses [Tue, 23 Jun 2009 20:47:31 +0000 (20:47 +0000)]
Included an extra parameter in the pup function.

12 years agoAdding documentation for new user event types.
Isaac Dooley [Tue, 23 Jun 2009 16:13:16 +0000 (16:13 +0000)]
Adding documentation for new user event types.

12 years agoAdding a new type of user event tracing for projections. The events can be bracketed...
Isaac Dooley [Tue, 23 Jun 2009 15:39:53 +0000 (15:39 +0000)]
Adding a new type of user event tracing for projections. The events can be bracketed, contain a user supplied string, and are associated with a user event id (so they are colored like standard user events).

12 years agoAdding a new simple Comlib Multicast strategy that does not cache array section infor...
Isaac Dooley [Mon, 22 Jun 2009 17:44:57 +0000 (17:44 +0000)]
Adding a new simple Comlib Multicast strategy that does not cache array section information on destination processors.

12 years agoset to use netpoll
Gengbin Zheng [Mon, 22 Jun 2009 17:22:35 +0000 (17:22 +0000)]
set to use netpoll

12 years agoa new example of how to change bgtrace logs/
Gengbin Zheng [Fri, 19 Jun 2009 17:38:18 +0000 (17:38 +0000)]
a new example of how to change bgtrace logs/

12 years agoReversing order of libraries to suit V1R4.
Sameer Kumar [Fri, 19 Jun 2009 14:08:48 +0000 (14:08 +0000)]
Reversing order of libraries to suit V1R4.

12 years agomark MPI_Send into a separate event
Gengbin Zheng [Fri, 19 Jun 2009 04:02:40 +0000 (04:02 +0000)]
mark MPI_Send into a separate event

12 years agoadded const to strings to silent compiler warnings.
Gengbin Zheng [Fri, 19 Jun 2009 03:57:05 +0000 (03:57 +0000)]
added const to strings to silent compiler warnings.

12 years agominor change to ascii format of bgTrace
Gengbin Zheng [Fri, 19 Jun 2009 03:55:11 +0000 (03:55 +0000)]
minor change to ascii format of bgTrace

12 years agoRemoving CCS tracing code from trace-summary. The working, good version is in trace...
Isaac Dooley [Thu, 18 Jun 2009 20:28:17 +0000 (20:28 +0000)]
Removing CCS tracing code from trace-summary. The working, good version is in trace-utilization.

12 years agoA small bug fix for the previous check in where the non-out-of-core emulation case...
Chao Mei [Thu, 18 Jun 2009 20:13:39 +0000 (20:13 +0000)]
A small bug fix for the previous check in where the non-out-of-core emulation case is forgoten to be considered.

12 years agoA small change for defining the out-of-core emulation macro
Chao Mei [Thu, 18 Jun 2009 19:50:47 +0000 (19:50 +0000)]
A small change for defining the out-of-core emulation macro

12 years agoFixed the bug of generating projection logs when out-of-core emulation and isomalloc...
Chao Mei [Thu, 18 Jun 2009 19:47:42 +0000 (19:47 +0000)]
Fixed the bug of generating projection logs when out-of-core emulation and isomalloc are used together.

12 years agoupdate due to change in TRACE_BG_AMPI_BREAK macro for bigsim
Gengbin Zheng [Thu, 18 Jun 2009 16:46:28 +0000 (16:46 +0000)]
update due to change in TRACE_BG_AMPI_BREAK macro for bigsim

12 years agoremove redundant dependCaseSensitive rule
Aaron Becker [Thu, 18 Jun 2009 03:47:11 +0000 (03:47 +0000)]
remove redundant dependCaseSensitive rule

12 years agobreak MPI_Waitall event so that it does not directly depend on the previous event...
Gengbin Zheng [Thu, 18 Jun 2009 03:26:50 +0000 (03:26 +0000)]
break MPI_Waitall event so that it does not directly depend on the previous event (i.e. the thread wakeup event, which may be part of the Ireq->wait block). Waitall build up its own event dependencies based on recv'ed messages.

12 years agobetter tracing for recv a message and the thread wakeup event.
Gengbin Zheng [Thu, 18 Jun 2009 03:24:56 +0000 (03:24 +0000)]
better tracing for recv a message and the thread wakeup event.

12 years agoSome macros' definition are missing when CMK_OPTIMIZED is turned on.
Chao Mei [Wed, 17 Jun 2009 22:36:38 +0000 (22:36 +0000)]
Some macros' definition are missing when CMK_OPTIMIZED is turned on.

12 years agoFixing bug where stuff was executed after migrateMe was called.
Isaac Dooley [Wed, 17 Jun 2009 21:53:18 +0000 (21:53 +0000)]
Fixing bug where stuff was executed after migrateMe was called.

12 years agoFixing a race condition that occurs when redistributing the data. A new assertion...
Isaac Dooley [Wed, 17 Jun 2009 16:29:20 +0000 (16:29 +0000)]
Fixing a race condition that occurs when redistributing the data. A new assertion was added to identify a further potential race
condition that is not yet handled correctly.

12 years agonetwork dimensions will be now set both in the emulator and the simulator
Abhinav Bhatele [Tue, 16 Jun 2009 21:38:20 +0000 (21:38 +0000)]
network dimensions will be now set both in the emulator and the simulator

12 years agoSwitching default behaviors of control points.
Isaac Dooley [Tue, 16 Jun 2009 19:10:19 +0000 (19:10 +0000)]
Switching default behaviors of control points.

12 years agoget rid of unneeded driver file
Aaron Becker [Tue, 16 Jun 2009 17:01:18 +0000 (17:01 +0000)]
get rid of unneeded driver file

12 years agochange back to node neighbors by default
Aaron Becker [Tue, 16 Jun 2009 16:59:42 +0000 (16:59 +0000)]
change back to node neighbors by default

Now node neighbors are once again used as the default for ParFUM
partitioning; this will always give correct results. Face neighbors can
be selected using +Parfum_face_neighbor_graph, and will give better
quality partitions with less memory and computation, but will fail for
some classes of input meshes.

12 years agoreverted accidental cvs changes from incorrect synchronization
Aaron Becker [Tue, 16 Jun 2009 02:49:58 +0000 (02:49 +0000)]
reverted accidental cvs changes from incorrect synchronization

12 years agopartition based on face neighbors rather than node
Aaron Becker [Tue, 16 Jun 2009 02:06:14 +0000 (02:06 +0000)]
partition based on face neighbors rather than node

The graph we were passing to metis was constructed using the rule "any
elements which share a node are neighbors", which produces an
unnecessarily large and low-quality graph. The new default rule is "any
elements which share a face are neighbors". This requires correctly
oriented elements, and does not correctly detect the difference between
quad meshes and tet meshes (we assume tet). To restore the old behavior,
use the flag +Parfum_node_neighbor_graph.

12 years agofixed output for 'boolean' and 'byte'
Aaron Becker [Tue, 16 Jun 2009 02:05:36 +0000 (02:05 +0000)]
fixed output for 'boolean' and 'byte'

12 years agoadded tree traversal framework and HTML AST output
Aaron Becker [Tue, 16 Jun 2009 02:05:33 +0000 (02:05 +0000)]
added tree traversal framework and HTML AST output

12 years agofixed codegen for dotted primary expressions
Aaron Becker [Tue, 16 Jun 2009 02:05:24 +0000 (02:05 +0000)]
fixed codegen for dotted primary expressions

12 years agonicer syntax for declaring chare,group,etc subtypes
Aaron Becker [Tue, 16 Jun 2009 02:05:18 +0000 (02:05 +0000)]
nicer syntax for declaring chare,group,etc subtypes

12 years agolocal var decls don't have colon-suffix modifiers
Aaron Becker [Tue, 16 Jun 2009 02:05:09 +0000 (02:05 +0000)]
local var decls don't have colon-suffix modifiers

12 years agoimproved handling of declaration modifiers
Aaron Becker [Tue, 16 Jun 2009 02:05:06 +0000 (02:05 +0000)]
improved handling of declaration modifiers

Made lists of modifiers optional instead of mandatory but possibly
empty, which simplifies code generation. Differentiated between
declarations of class fields and local variables. Added default access
specifier to fields that don't have one, to prevent them from picking up
the access modifier of previously specified variables in the C++ code.

12 years agochange back so the BgStartLogByName when creating a dummy event does not automaticall...
Aaron Becker [Tue, 16 Jun 2009 02:05:04 +0000 (02:05 +0000)]
change back so the BgStartLogByName when creating a dummy event does not automatically assign objID. It is done selectively in trace-bluegene now

12 years agoadded --translate-only flag, to skip C++ compilation step
Aaron Becker [Tue, 16 Jun 2009 02:04:56 +0000 (02:04 +0000)]
added --translate-only flag, to skip C++ compilation step

12 years agomade embed block rule a fragment to prevent unwanted matches
Aaron Becker [Tue, 16 Jun 2009 02:04:53 +0000 (02:04 +0000)]
made embed block rule a fragment to prevent unwanted matches

delimiting blocks with single braces instead of double necessitates
tweaks to the EMBED_BLOCK rule to prevent it from pre-empting brace
matching in other production rules.

12 years agofixed output templates to match grammar updates
Aaron Becker [Tue, 16 Jun 2009 02:04:50 +0000 (02:04 +0000)]
fixed output templates to match grammar updates

12 years agofixed tree rules to match update grammar structure and token defs
Aaron Becker [Tue, 16 Jun 2009 02:04:49 +0000 (02:04 +0000)]
fixed tree rules to match update grammar structure and token defs

12 years agoremoved new operator for anonymous classes
Aaron Becker [Tue, 16 Jun 2009 02:04:46 +0000 (02:04 +0000)]
removed new operator for anonymous classes

12 years agofixed embed block and for loop update rule
Aaron Becker [Tue, 16 Jun 2009 02:04:44 +0000 (02:04 +0000)]
fixed embed block and for loop update rule

12 years agofixed enum production rules
Aaron Becker [Tue, 16 Jun 2009 02:04:42 +0000 (02:04 +0000)]
fixed enum production rules

12 years agogreatly simplified the grammar rules
Aaron Becker [Tue, 16 Jun 2009 02:04:39 +0000 (02:04 +0000)]
greatly simplified the grammar rules

Eliminated a lot of redundant rules that are necessary for LL(1) parsing
but aren't needed in antlr. This simplifies the grammar quite a bit and
enhances readability. Also removed some java-isms that we won't be
supporting (at least not yet), like reflection and wildcard bound types.

12 years agoassign objID from parent log
Aaron Becker [Tue, 16 Jun 2009 02:04:38 +0000 (02:04 +0000)]
assign objID from parent log

12 years agoadded another test case for field modifiers
Aaron Becker [Tue, 16 Jun 2009 02:04:34 +0000 (02:04 +0000)]
added another test case for field modifiers

12 years agosimplified handling of generic type argument lists
Aaron Becker [Tue, 16 Jun 2009 02:04:32 +0000 (02:04 +0000)]
simplified handling of generic type argument lists

12 years agoFixed bracket escaping in <expr> templates
Aaron Becker [Tue, 16 Jun 2009 02:04:30 +0000 (02:04 +0000)]
Fixed bracket escaping in <expr> templates

12 years agoreformatting
Aaron Becker [Tue, 16 Jun 2009 02:04:24 +0000 (02:04 +0000)]
reformatting

12 years agoadded templated for array construction codegen
Aaron Becker [Tue, 16 Jun 2009 02:04:22 +0000 (02:04 +0000)]
added templated for array construction codegen

12 years agosplit field modifiers into their own unit test
Aaron Becker [Tue, 16 Jun 2009 02:04:16 +0000 (02:04 +0000)]
split field modifiers into their own unit test

12 years agoadded expression generation, fixed for loop init codegen
Aaron Becker [Tue, 16 Jun 2009 02:04:13 +0000 (02:04 +0000)]
added expression generation, fixed for loop init codegen

12 years agoadded labeled statements and fixed switch body code-gen
Aaron Becker [Tue, 16 Jun 2009 02:04:10 +0000 (02:04 +0000)]
added labeled statements and fixed switch body code-gen

12 years agofixed token name
Aaron Becker [Tue, 16 Jun 2009 02:04:07 +0000 (02:04 +0000)]
fixed token name

12 years agofixed case conflict
Aaron Becker [Tue, 16 Jun 2009 02:04:05 +0000 (02:04 +0000)]
fixed case conflict

12 years agooverhaul of statement codegen
Aaron Becker [Tue, 16 Jun 2009 02:04:03 +0000 (02:04 +0000)]
overhaul of statement codegen

12 years agoadded lots of undelegated templates
Aaron Becker [Tue, 16 Jun 2009 02:03:59 +0000 (02:03 +0000)]
added lots of undelegated templates

12 years agoadded success assertions
Aaron Becker [Tue, 16 Jun 2009 02:03:44 +0000 (02:03 +0000)]
added success assertions

12 years agothis count should be declared independently
Aaron Becker [Tue, 16 Jun 2009 02:02:52 +0000 (02:02 +0000)]
this count should be declared independently

12 years agoadded cudaFree for two arrays that weren't freed before
Aaron Becker [Tue, 16 Jun 2009 02:02:48 +0000 (02:02 +0000)]
added cudaFree for two arrays that weren't freed before

12 years agoCorrecting accidental commit of experimental example-base in the public
Aaron Becker [Tue, 16 Jun 2009 02:02:22 +0000 (02:02 +0000)]
Correcting accidental commit of experimental example-base in the public
examples directory.

12 years agoCCS-based server application that will handshake with the CCS client and
Aaron Becker [Tue, 16 Jun 2009 02:02:07 +0000 (02:02 +0000)]
CCS-based server application that will handshake with the CCS client and
wait before registering Tracing CCS capabilities and turning tracing on
at the same time.

12 years agoconflict with system float and double
Aaron Becker [Tue, 16 Jun 2009 02:01:29 +0000 (02:01 +0000)]
conflict with system float and double

12 years agoclass for single precision used to implement higher level API for SSE2 instructions
Aaron Becker [Tue, 16 Jun 2009 02:01:24 +0000 (02:01 +0000)]
class for single precision used to implement higher level API for SSE2 instructions

12 years agoclass for double precision used to implement higher level API for SSE2 instructions
Aaron Becker [Tue, 16 Jun 2009 02:01:21 +0000 (02:01 +0000)]
class for double precision used to  implement higher level API for SSE2 instructions

12 years agoFixed size=0 bug; added Test_cancelled and Rbsend
Aaron Becker [Tue, 16 Jun 2009 02:00:13 +0000 (02:00 +0000)]
Fixed size=0 bug; added Test_cancelled and Rbsend

12 years agoadded driver
Aaron Becker [Tue, 16 Jun 2009 01:59:55 +0000 (01:59 +0000)]
added driver

12 years agorestrucured tests, tweaked fib
Aaron Becker [Tue, 16 Jun 2009 01:59:51 +0000 (01:59 +0000)]
restrucured tests, tweaked fib

12 years agoformatting
Aaron Becker [Tue, 16 Jun 2009 01:59:30 +0000 (01:59 +0000)]
formatting