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

12 years agomodified type lookup in symbol table
Aaron Becker [Tue, 16 Jun 2009 01:59:21 +0000 (01:59 +0000)]
modified type lookup in symbol table

12 years agoChanged package lookup mechanism to be more class oriented
Aaron Becker [Tue, 16 Jun 2009 01:59:17 +0000 (01:59 +0000)]
Changed package lookup mechanism to be more class oriented

12 years agominor cleanup
Aaron Becker [Tue, 16 Jun 2009 01:59:08 +0000 (01:59 +0000)]
minor cleanup

12 years agofixed accidental paste
Aaron Becker [Tue, 16 Jun 2009 01:59:06 +0000 (01:59 +0000)]
fixed accidental paste

12 years agogot rid of error message cruft, improved importing
Aaron Becker [Tue, 16 Jun 2009 01:59:03 +0000 (01:59 +0000)]
got rid of error message cruft, improved importing

12 years agostarted introducing namespaces in generated code
Aaron Becker [Tue, 16 Jun 2009 01:58:57 +0000 (01:58 +0000)]
started introducing namespaces in generated code

12 years agoAdded a new target "dependsCaseSensitive" which will work on Macs and possibly other...
Aaron Becker [Tue, 16 Jun 2009 01:58:21 +0000 (01:58 +0000)]
Added a new target "dependsCaseSensitive" which will work on Macs and possibly other systems that have case insensitive filesystems.

12 years agointraNodeLat and intraNodeBW moved to BigNetSim
Abhinav Bhatele [Mon, 15 Jun 2009 22:08:13 +0000 (22:08 +0000)]
intraNodeLat and intraNodeBW moved to BigNetSim
and BlueGeneL changed to BlueGeneP

12 years agoadded an "log" field into ampiMsg for bigsim only
Gengbin Zheng [Mon, 15 Jun 2009 17:20:51 +0000 (17:20 +0000)]
added an "log" field into ampiMsg for bigsim only

12 years agomake sure the bigsim event dependencies in MPI_Waitall are generated correctly in...
Gengbin Zheng [Mon, 15 Jun 2009 16:49:35 +0000 (16:49 +0000)]
make sure the bigsim event dependencies in MPI_Waitall are generated correctly in all cases ( msg received before or after mpi-Irecv posted)

12 years agoreduce projections call interferes log generation timing.
Gengbin Zheng [Mon, 15 Jun 2009 16:47:32 +0000 (16:47 +0000)]
reduce projections call interferes log generation timing.

12 years agoprevent some of the log generation cost being count as user entry time
Gengbin Zheng [Mon, 15 Jun 2009 16:46:20 +0000 (16:46 +0000)]
prevent some of the log generation cost being count as user entry time

12 years agoDeleted a few CkPrintfs.
Esteban Meneses [Fri, 12 Jun 2009 22:44:59 +0000 (22:44 +0000)]
Deleted a few CkPrintfs.

12 years agoCommented out some CkPrintf instructions.
Esteban Meneses [Fri, 12 Jun 2009 19:33:09 +0000 (19:33 +0000)]
Commented out some CkPrintf instructions.

12 years agoavoid a "compiler bug" with optimization that does not like copy from CkArrayIndex...
Gengbin Zheng [Fri, 12 Jun 2009 19:25:38 +0000 (19:25 +0000)]
avoid a "compiler bug" with optimization that does not like copy from CkArrayIndex to CkArrayIndexMax. Cast CkArrayIndex to ArrayIndexMax to workaround.

12 years agoFixed a bug in the message logging protocol.
Esteban Meneses [Fri, 12 Jun 2009 19:04:03 +0000 (19:04 +0000)]
Fixed a bug in the message logging protocol.

12 years agoEnable rank2network.
Sameer Kumar [Thu, 11 Jun 2009 18:36:58 +0000 (18:36 +0000)]
Enable rank2network.

12 years agoEnabling V1R4 driver which will be released soon.
Sameer Kumar [Thu, 11 Jun 2009 18:34:09 +0000 (18:34 +0000)]
Enabling V1R4 driver which will be released soon.

12 years agocall PAPI_library_init so that PAPI_query_event behaves correctly.
Gengbin Zheng [Thu, 11 Jun 2009 05:23:13 +0000 (05:23 +0000)]
call PAPI_library_init so that PAPI_query_event behaves correctly.

12 years agovoid double "64" in QT when CMK_CC64 is set.
Gengbin Zheng [Thu, 11 Jun 2009 01:27:00 +0000 (01:27 +0000)]
void double "64" in QT when CMK_CC64 is set.

12 years agoprint total number of FP instructions, L1 cache misses on each emulating processors
Gengbin Zheng [Wed, 10 Jun 2009 21:06:03 +0000 (21:06 +0000)]
print total number of FP instructions, L1 cache misses on each emulating processors

12 years agocmiArgDebugFlag may not be initialized when CmiPrintf is called, so a SEGFAULT is...
Chao Mei [Wed, 10 Jun 2009 21:05:00 +0000 (21:05 +0000)]
cmiArgDebugFlag may not be initialized when CmiPrintf is called, so a SEGFAULT is caused.

This problem is observed in MPI-SMP layer when running an app with projections and specifying the value of "+traceroot". (the value of traceroot is printed out through CmiPrintf)