charm.git
12 years agoExamles: Include some of ParFUM in 'make test'
Phil Miller [Sun, 29 Nov 2009 19:04:06 +0000 (13:04 -0600)]
Examles: Include some of ParFUM in 'make test'

12 years agoTests: Remove some warnings and junk output
Phil Miller [Fri, 27 Nov 2009 21:15:32 +0000 (15:15 -0600)]
Tests: Remove some warnings and junk output

12 years agoAdded a comment.
Sameer Kumar [Thu, 26 Nov 2009 20:36:49 +0000 (14:36 -0600)]
Added a comment.

12 years agoCommiting Blue GeneP SMP Fix.
Sameer Kumar [Thu, 26 Nov 2009 20:34:57 +0000 (14:34 -0600)]
Commiting Blue GeneP SMP Fix.

12 years agoAdd rudimentary file ignore patterns
Ramprasad Venkataraman [Wed, 25 Nov 2009 23:10:52 +0000 (17:10 -0600)]
Add rudimentary file ignore patterns

12 years agoTests: Fix SDAG migration test for nonempty TESTOPTS cvs-import
Phil Miller [Wed, 25 Nov 2009 14:23:55 +0000 (14:23 +0000)]
Tests: Fix SDAG migration test for nonempty TESTOPTS

Arguments like +isomalloc_sync and +CmiNoProcForComThread need to come
after the binary name, since charmrun won't relocate them.

12 years agoI believe on MacOS g95 is the only one which gives 64-bit binaries
Abhinav Bhatele [Wed, 25 Nov 2009 04:53:12 +0000 (04:53 +0000)]
I believe on MacOS g95 is the only one which gives 64-bit binaries

12 years agoadding TESTOPTS is important
Gengbin Zheng [Tue, 24 Nov 2009 19:12:37 +0000 (19:12 +0000)]
adding TESTOPTS is important

12 years agoSDAG: Make generated __sdag_pup function work, per test
Phil Miller [Tue, 24 Nov 2009 00:06:18 +0000 (00:06 +0000)]
SDAG: Make generated __sdag_pup function work, per test

12 years agoTests: add a simple SDAG/migration test, written by Jonathan
Phil Miller [Tue, 24 Nov 2009 00:03:56 +0000 (00:03 +0000)]
Tests: add a simple SDAG/migration test, written by Jonathan

12 years agoQueue test: remove charmrun in make clean
Phil Miller [Tue, 24 Nov 2009 00:02:03 +0000 (00:02 +0000)]
Queue test: remove charmrun in make clean

12 years agocharmxi: Support templated arguments to parameter marshalled SDAG
Phil Miller [Tue, 17 Nov 2009 21:30:41 +0000 (21:30 +0000)]
charmxi: Support templated arguments to parameter marshalled SDAG

The parser properly understands templated arguments everywhere they're
useful, but SDAG didn't translate the types of these arguments
correctly when declaring state variables for use in generated
code. Instead, it ended up with just the base type, such as CkVec
instead of CkVec<int>, causing errors when compiling the generated
code. By passing the whole type through, we can now use template
arguments everywhere arguments are mentioned in .ci files.

12 years agocharmc: Fix a typo in help text - langage -> language
Phil Miller [Mon, 16 Nov 2009 22:31:42 +0000 (22:31 +0000)]
charmc: Fix a typo in help text - langage -> language

12 years agogidarray needs new alloc
Eric Bohm [Mon, 16 Nov 2009 17:58:07 +0000 (17:58 +0000)]
gidarray needs new alloc

12 years agoSwapglobals: Finish cleanup of sorting experiment in ELF/GOT
Phil Miller [Mon, 16 Nov 2009 03:06:20 +0000 (03:06 +0000)]
Swapglobals: Finish cleanup of sorting experiment in ELF/GOT

12 years agoSwapglobals: Clean up sorting experiment in ELF/GOT
Phil Miller [Mon, 16 Nov 2009 03:03:49 +0000 (03:03 +0000)]
Swapglobals: Clean up sorting experiment in ELF/GOT

12 years agoFixed memory leak inside ComlibStrategy/OneTimeMulticastStrategy. The message would
Edgar Solomonik [Sat, 14 Nov 2009 00:17:15 +0000 (00:17 +0000)]
Fixed memory leak inside ComlibStrategy/OneTimeMulticastStrategy. The message would
not get deleted in the case when it had no local nodes to deliver to.

12 years agoFinicky compilers want the arrays allocated via new.
Eric Bohm [Fri, 13 Nov 2009 18:55:01 +0000 (18:55 +0000)]
Finicky compilers want the arrays allocated via new.

12 years agoTest the new cross group section feature by creating sections which span groups and...
Eric Bohm [Fri, 13 Nov 2009 00:21:42 +0000 (00:21 +0000)]
Test the new cross group section feature by creating sections which span groups and use them for section multicasts.
Test the new cross array section feature by creating sections which span arrays and use them for section multicasts.

12 years agoFor the default non-delegated listsend approach, multi sections need to copy
Eric Bohm [Fri, 13 Nov 2009 00:18:14 +0000 (00:18 +0000)]
For the default non-delegated listsend approach, multi sections need to copy
the message for each section.
Array multisections must use the individual array id for each section,
not the default array id for the entire section.

12 years agoCalls to cpvs which are only declared inside ifdef protection must
Eric Bohm [Thu, 12 Nov 2009 22:06:54 +0000 (22:06 +0000)]
Calls to cpvs which are only declared inside ifdef protection must
also have that same protection.  #if CMK_CCS_AVAILABLE is necessary
for cmiDebugFlag

12 years agoUpdating the OneTimeMulticastStrategy classes to use the modified physical node API.
Isaac Dooley [Thu, 12 Nov 2009 21:50:21 +0000 (21:50 +0000)]
Updating the OneTimeMulticastStrategy classes to use the modified physical node API.

12 years agoin malloc, if result pointer is NULL, don't account for memory usage.
Gengbin Zheng [Thu, 12 Nov 2009 03:30:51 +0000 (03:30 +0000)]
in malloc, if result pointer is NULL, don't account for memory usage.

12 years agoChanging CkMessageWatcher. Moving the file descriptor to the parent class and adding...
Filippo Gioachin [Tue, 10 Nov 2009 23:51:25 +0000 (23:51 +0000)]
Changing CkMessageWatcher. Moving the file descriptor to the parent class and adding a new watcher that outputs the whole content of the messages processed.

12 years agoZeroing out the content of the envelope for debugging purposes (unless we are using...
Filippo Gioachin [Tue, 10 Nov 2009 23:49:52 +0000 (23:49 +0000)]
Zeroing out the content of the envelope for debugging purposes (unless we are using CMK_OPTIMIZE)

12 years agoFix broken build. bzero aliases memset on systems where its not available
Ramprasad Venkataraman [Tue, 10 Nov 2009 23:29:01 +0000 (23:29 +0000)]
Fix broken build. bzero aliases memset on systems where its not available

12 years agoFixed broken build with control points on bluegenep.
Jonathan Lifflander [Tue, 10 Nov 2009 23:08:07 +0000 (23:08 +0000)]
Fixed broken build with control points on bluegenep.

12 years agoModified...
Jonathan Lifflander [Tue, 10 Nov 2009 22:11:13 +0000 (22:11 +0000)]
Modified...

12 years agoDocumentation: Some comments for our converse callbacks implementation
Ramprasad Venkataraman [Mon, 9 Nov 2009 20:17:58 +0000 (20:17 +0000)]
Documentation: Some comments for our converse callbacks implementation

12 years agoUpdate examples to show how custom array indices should use placement new to construc...
Ramprasad Venkataraman [Mon, 9 Nov 2009 19:31:42 +0000 (19:31 +0000)]
Update examples to show how custom array indices should use placement new to construct their indices in memory already allocated by the CkArrayIndex base class.

12 years agoIntermediate fix for the recurring issues with the funky data layout assumptions...
Ramprasad Venkataraman [Mon, 9 Nov 2009 19:17:26 +0000 (19:17 +0000)]
Intermediate fix for the recurring issues with the funky data layout assumptions inside the CkArrayIndex class hierarchy.

- Actual index data is now stored as a union within the base class (CkArrayIndex)
- Base class constructor zeroes the index bits
- ArrayIndices 4D-6D now use base-class union member indexShorts to access the data as shorts

Repurcussions:
- No effect on CkArrayIndex Max, 1D, 2D and 3D
- Any user or mapping code that directly uses data members of 4D-6D indices (eg. CkArrayIndex4D.index), instead of the member functions, needs to be fixed
- Custom array indices defined by user code have to use placement-new to construct their custom index

12 years agoupdated from kranken
Gengbin Zheng [Sun, 8 Nov 2009 06:13:06 +0000 (06:13 +0000)]
updated from kranken

12 years agoc++ style comments in c
Gengbin Zheng [Sat, 7 Nov 2009 20:00:36 +0000 (20:00 +0000)]
c++ style comments in c

12 years agoadded -qcpluscmt
Gengbin Zheng [Sat, 7 Nov 2009 19:57:52 +0000 (19:57 +0000)]
added -qcpluscmt

12 years agowhen mmap for a slot failed (which should not), try 5 times with random delay.
Gengbin Zheng [Fri, 6 Nov 2009 18:16:20 +0000 (18:16 +0000)]
when mmap for a slot failed (which should not), try 5 times with random delay.
I have observed some contention behavior when multiple processors on a same node
 compete for calling mmap for very large trunks.

12 years agotested for usleep
Gengbin Zheng [Fri, 6 Nov 2009 18:13:42 +0000 (18:13 +0000)]
tested for usleep

12 years agominor change in info output
Gengbin Zheng [Fri, 6 Nov 2009 17:11:34 +0000 (17:11 +0000)]
minor change in info output

12 years agowhen mmap fails, print errno
Gengbin Zheng [Fri, 6 Nov 2009 17:08:24 +0000 (17:08 +0000)]
when mmap fails, print errno

12 years agoJust turn off a debug flag.
Esteban Meneses [Fri, 6 Nov 2009 14:15:42 +0000 (14:15 +0000)]
Just turn off a debug flag.

12 years agoDocumentation: Describe CmiAlloc's limited purpose
Phil Miller [Fri, 6 Nov 2009 01:36:50 +0000 (01:36 +0000)]
Documentation: Describe CmiAlloc's limited purpose

12 years agoThe meaning of +p in the smp version has now changed and is similar to
Abhinav Bhatele [Thu, 5 Nov 2009 23:05:40 +0000 (23:05 +0000)]
The meaning of +p in the smp version has now changed and is similar to
other charm builds.

12 years agofor mmap probe scheme, if multiple processes on a same physical node trying to probe...
Gengbin Zheng [Thu, 5 Nov 2009 20:12:26 +0000 (20:12 +0000)]
for mmap probe scheme, if multiple processes on a same physical node trying to probe mmap region simultaneously for very large region, mmap may fail. Partially remedied this by retrying for a feel times with some random delay.

12 years agoCleaning up headers so that cp_effects.h is included in user program indirectly when...
Isaac Dooley [Thu, 5 Nov 2009 16:43:06 +0000 (16:43 +0000)]
Cleaning up headers so that cp_effects.h is included in user program indirectly when controlPoints.h is included in the user program.

12 years agoFixing the control point optimization schemes so they can be used without requiring...
Isaac Dooley [Thu, 5 Nov 2009 16:00:31 +0000 (16:00 +0000)]
Fixing the control point optimization schemes so they can be used without requiring previous data to be recorded.

12 years agoqueue not long from CmiAlloc
Gengbin Zheng [Thu, 5 Nov 2009 15:47:09 +0000 (15:47 +0000)]
queue not long from CmiAlloc

12 years agonot just doing the previous fix for ibverbs, but for all
Gengbin Zheng [Thu, 5 Nov 2009 15:46:13 +0000 (15:46 +0000)]
not just doing the previous fix for ibverbs, but for all

12 years agoIn BigSim, the incoming message holds an event corresponding to its receipt. The...
Gengbin Zheng [Thu, 5 Nov 2009 02:23:45 +0000 (02:23 +0000)]
In BigSim, the incoming message holds an event corresponding to its receipt. The event log become invalid after migrates. Store its original PE number to identify the migration.

12 years agoin TCHARM_Api_trace which use constructor/destructor to mark an entry into a tcharm...
Gengbin Zheng [Thu, 5 Nov 2009 02:20:39 +0000 (02:20 +0000)]
in TCHARM_Api_trace which use constructor/destructor to mark an entry into a tcharm/ampi function, the bglog saved at the entry can become valid after migrating to a new processor.
Store a processor number, so that it can easily identify this scenario when migration occur

12 years agoFixing some bugs with how phase data is accessed in controlPoint().
Isaac Dooley [Wed, 4 Nov 2009 21:43:22 +0000 (21:43 +0000)]
Fixing some bugs with how phase data is accessed in controlPoint().

12 years agoAdded new constructors for multi-sections
Filippo Gioachin [Wed, 4 Nov 2009 20:41:28 +0000 (20:41 +0000)]
Added new constructors for multi-sections

12 years agoExposing a function that flushes logs. This will allow for logs to be dumped together...
Isaac Dooley [Wed, 4 Nov 2009 20:14:15 +0000 (20:14 +0000)]
Exposing a function that flushes logs. This will allow for logs to be dumped together on all processors, minimizing the performance impact in the program.

12 years agoI don't any point using CmiAlloc for malloc queue structure. In fact, allocating...
Gengbin Zheng [Wed, 4 Nov 2009 16:11:49 +0000 (16:11 +0000)]
I don't any point using CmiAlloc for malloc queue structure. In fact, allocating from pinned memory can be expensive, and limited in the total amount allowed.
Using malloc for now at least for ibverbs.

12 years agofree message after doing broadcast.
Gengbin Zheng [Wed, 4 Nov 2009 02:28:25 +0000 (02:28 +0000)]
free message after doing broadcast.

12 years agoAdding a controlPointTimingStamp() function in the control point framework.
Isaac Dooley [Tue, 3 Nov 2009 21:55:37 +0000 (21:55 +0000)]
Adding a controlPointTimingStamp() function in the control point framework.

12 years agoBigsim loadlog utility: Minor cleanup
Phil Miller [Tue, 3 Nov 2009 20:29:01 +0000 (20:29 +0000)]
Bigsim loadlog utility: Minor cleanup

12 years agoFixing bug that occurs if an empty control point log is loaded at startup.
Isaac Dooley [Tue, 3 Nov 2009 20:14:44 +0000 (20:14 +0000)]
Fixing bug that occurs if an empty control point log is loaded at startup.

12 years agoModifying the control point command line arguments.
Isaac Dooley [Tue, 3 Nov 2009 19:32:27 +0000 (19:32 +0000)]
Modifying the control point command line arguments.

12 years agoformatting of printed data and cleanup
Abhinav Bhatele [Tue, 3 Nov 2009 18:11:12 +0000 (18:11 +0000)]
formatting of printed data and cleanup

12 years agoAdding command line arguments to enable loading/saving of control point data.
Isaac Dooley [Tue, 3 Nov 2009 16:33:26 +0000 (16:33 +0000)]
Adding command line arguments to enable loading/saving of control point data.

12 years agoAdding command line arguments that control which control point tuning scheme is used.
Isaac Dooley [Tue, 3 Nov 2009 15:43:51 +0000 (15:43 +0000)]
Adding command line arguments that control which control point tuning scheme is used.

12 years agoConverting some comments to doxygen comments.
Isaac Dooley [Tue, 3 Nov 2009 15:42:13 +0000 (15:42 +0000)]
Converting some comments to doxygen comments.

12 years agoadded TESTOPTS
Gengbin Zheng [Sun, 1 Nov 2009 15:13:46 +0000 (15:13 +0000)]
added TESTOPTS

12 years agohdlList[i]->op & BLOCKING_MASK == 1 is dangerous with -O, removed the comprison to 1
Gengbin Zheng [Sat, 31 Oct 2009 02:33:57 +0000 (02:33 +0000)]
hdlList[i]->op & BLOCKING_MASK == 1 is dangerous with -O, removed the comprison to 1

12 years agoAdded missing <string> header for std::string usage.
Orion Lawlor [Fri, 30 Oct 2009 19:41:30 +0000 (19:41 +0000)]
Added missing <string> header for std::string usage.
Curious this worked at all on normal linux gcc machines...

12 years agotypo
Gengbin Zheng [Fri, 30 Oct 2009 17:31:40 +0000 (17:31 +0000)]
typo

12 years agoAMPI, BigSim: Let AMPI events record a size in the BigSim timeline
Phil Miller [Fri, 30 Oct 2009 16:59:38 +0000 (16:59 +0000)]
AMPI, BigSim: Let AMPI events record a size in the BigSim timeline

Modeling MPI collectives explicitly in the simulator requires
knowledge of how much data the collective is moving around. There was
previously no way to record this information explicitly.

- Add an interface in trace-bluegene to set the 'size' field of the
  current timeline entry.
- Add a call to this interface in AMPI_Allreduce.
- Refactor some duplication in AMPI_Allreduce.
- Fix a typo in AMPI_Iallreduce that would record it as
  AMPI_Allreduce.

12 years agoBigsim: groundwork for size recording of MPI collective operations
Phil Miller [Fri, 30 Oct 2009 14:56:41 +0000 (14:56 +0000)]
Bigsim: groundwork for size recording of MPI collective operations

12 years agoSwapglobals: print out how much padding there actually is
Phil Miller [Fri, 30 Oct 2009 05:07:26 +0000 (05:07 +0000)]
Swapglobals: print out how much padding there actually is

12 years agofix another bug in previous fix.
Gengbin Zheng [Fri, 30 Oct 2009 01:17:31 +0000 (01:17 +0000)]
fix another bug in previous fix.

12 years agoadded armci
Gengbin Zheng [Fri, 30 Oct 2009 00:16:55 +0000 (00:16 +0000)]
added armci

12 years agoadded bgtest
Gengbin Zheng [Fri, 30 Oct 2009 00:16:33 +0000 (00:16 +0000)]
added bgtest

12 years agoCore: don't put extra ';' where they aren't needed
Phil Miller [Thu, 29 Oct 2009 23:51:53 +0000 (23:51 +0000)]
Core: don't put extra ';' where they aren't needed

12 years agotweaked a little on finding a buddy processor
Gengbin Zheng [Thu, 29 Oct 2009 22:15:49 +0000 (22:15 +0000)]
tweaked a little on finding a buddy processor

12 years agoAdded image resize to work around JPEG 64K image height limit,
Orion Lawlor [Thu, 29 Oct 2009 21:56:19 +0000 (21:56 +0000)]
Added image resize to work around JPEG 64K image height limit,
and added runlength encoding for new client.

12 years agominor changes to previous fix
Gengbin Zheng [Thu, 29 Oct 2009 19:13:42 +0000 (19:13 +0000)]
minor changes to previous fix

12 years agofixed a divide by 0 bug in case the object size is 0 in the recent changes.
Gengbin Zheng [Thu, 29 Oct 2009 18:39:25 +0000 (18:39 +0000)]
fixed a divide by 0 bug in case the object size is 0 in the recent changes.

12 years agoremoved a debug print
Gengbin Zheng [Thu, 29 Oct 2009 16:48:32 +0000 (16:48 +0000)]
removed a debug print

12 years agoMoving a function to the ControlPoint namespace.
Isaac Dooley [Thu, 29 Oct 2009 16:09:46 +0000 (16:09 +0000)]
Moving a function to the ControlPoint namespace.

12 years agoreduced iteration number
Gengbin Zheng [Thu, 29 Oct 2009 15:54:50 +0000 (15:54 +0000)]
reduced iteration number

12 years agoChanges due to the new type for ChareType struct.
Esteban Meneses [Thu, 29 Oct 2009 14:56:45 +0000 (14:56 +0000)]
Changes due to the new type for ChareType struct.

12 years agoAdded support for team-based message logging.
Esteban Meneses [Thu, 29 Oct 2009 14:42:31 +0000 (14:42 +0000)]
Added support for team-based message logging.

12 years agoAdded some support for team-based message logging.
Esteban Meneses [Thu, 29 Oct 2009 14:42:11 +0000 (14:42 +0000)]
Added some support for team-based message logging.

12 years agoAdded a new flag for message logging and team-based support.
Esteban Meneses [Thu, 29 Oct 2009 14:41:41 +0000 (14:41 +0000)]
Added a new flag for message logging and team-based support.

12 years agoadded armci test
Gengbin Zheng [Thu, 29 Oct 2009 07:19:04 +0000 (07:19 +0000)]
added armci test

12 years agoadded
Gengbin Zheng [Thu, 29 Oct 2009 07:18:09 +0000 (07:18 +0000)]
added

12 years agofixed makefiles.
Gengbin Zheng [Thu, 29 Oct 2009 06:57:44 +0000 (06:57 +0000)]
fixed makefiles.

12 years agogeneralzie the previous fix: make sure only those pthreads that spawned by charm...
Gengbin Zheng [Thu, 29 Oct 2009 03:48:28 +0000 (03:48 +0000)]
generalzie the previous fix: make sure only those pthreads that spawned by charm can call isomalloc, other system spawned pthreads should not call isomalloc.

12 years agoperftest
Gengbin Zheng [Thu, 29 Oct 2009 03:19:30 +0000 (03:19 +0000)]
perftest

12 years agowhen not enabled, it treats cpu topology just the same as the charm/SMP node (CmiNumN...
Gengbin Zheng [Wed, 28 Oct 2009 21:23:14 +0000 (21:23 +0000)]
when not enabled, it treats cpu topology just the same as the charm/SMP node (CmiNumNodes(), CmiRankOf(pe), etc)

12 years agolog changes
Gengbin Zheng [Wed, 28 Oct 2009 21:04:02 +0000 (21:04 +0000)]
log changes

12 years agoupdated due to change in cputopology
Gengbin Zheng [Wed, 28 Oct 2009 20:45:27 +0000 (20:45 +0000)]
updated due to change in cputopology

12 years agochanged cputopology function API (some parameter from pe to node id)
Gengbin Zheng [Wed, 28 Oct 2009 20:44:54 +0000 (20:44 +0000)]
changed cputopology function API (some parameter from pe to node id)
added two more functions

12 years agowhen picking buddy processors, always find a processor on next *physical* processors...
Gengbin Zheng [Wed, 28 Oct 2009 20:43:31 +0000 (20:43 +0000)]
when picking buddy processors, always find a processor on next *physical* processors. Implemented using cpu topology API

12 years agofixed syntax error in IA64's atomic operations
Gengbin Zheng [Wed, 28 Oct 2009 03:31:49 +0000 (03:31 +0000)]
fixed syntax error in IA64's atomic operations

12 years agoswitch to memory fence for IA64
Gengbin Zheng [Wed, 28 Oct 2009 03:30:56 +0000 (03:30 +0000)]
switch to memory fence for IA64

12 years agocharmxi: Work around failings of ancient Sun compilers
Phil Miller [Tue, 27 Oct 2009 21:54:45 +0000 (21:54 +0000)]
charmxi: Work around failings of ancient Sun compilers

Sun C++ 5.4, included with Sun Studio 7, can't handle default
arguments to template functions correctly. Overload the templates in
question to have versions with and without the argument, and work the
argument into the body of the overload.

12 years agoAdded control point stuff to the Makefile...
Jonathan Lifflander [Tue, 27 Oct 2009 20:41:26 +0000 (20:41 +0000)]
Added control point stuff to the Makefile...

12 years agoAdded the generated file for control points.
Jonathan Lifflander [Tue, 27 Oct 2009 19:50:29 +0000 (19:50 +0000)]
Added the generated file for control points.

12 years agofixed a compiler error
Gengbin Zheng [Tue, 27 Oct 2009 13:55:07 +0000 (13:55 +0000)]
fixed a compiler error

12 years agocall CmiMachineExit() in machine_exit()
Gengbin Zheng [Tue, 27 Oct 2009 06:32:26 +0000 (06:32 +0000)]
call CmiMachineExit() in machine_exit()