charm.git
13 years agochanged name to CmiLog2
Gengbin Zheng [Mon, 17 Nov 2008 20:20:28 +0000 (20:20 +0000)]
changed name to CmiLog2

13 years agoadded ilog2() implementation in case log2 is not available.
Gengbin Zheng [Mon, 17 Nov 2008 18:20:33 +0000 (18:20 +0000)]
added ilog2() implementation in case log2 is not available.

13 years agoadded test for log2()
Gengbin Zheng [Mon, 17 Nov 2008 18:01:50 +0000 (18:01 +0000)]
added test for log2()

13 years agofixed a compiler error on turing
Gengbin Zheng [Mon, 17 Nov 2008 17:37:05 +0000 (17:37 +0000)]
fixed a compiler error on turing

13 years agoFixing build problem for uth and other platforms where LBDB doesn't exist.
Isaac Dooley [Thu, 13 Nov 2008 20:24:43 +0000 (20:24 +0000)]
Fixing build problem for uth and other platforms where LBDB doesn't exist.

13 years agochanged the version for the NAMD release
Abhinav Bhatele [Thu, 13 Nov 2008 18:26:12 +0000 (18:26 +0000)]
changed the version for the NAMD release

13 years agoSwitching from log2l() to log2(). Apparently log2l doesn't exist on some platforms...
Isaac Dooley [Thu, 13 Nov 2008 18:08:32 +0000 (18:08 +0000)]
Switching from log2l() to log2(). Apparently log2l doesn't exist on some platforms, but log2 does.

13 years agoAdding a missing include file.
Isaac Dooley [Thu, 13 Nov 2008 17:58:32 +0000 (17:58 +0000)]
Adding a missing include file.

13 years agoAdding a control point framework. It is a module created by Isaac.
Isaac Dooley [Thu, 13 Nov 2008 04:42:37 +0000 (04:42 +0000)]
Adding a control point framework. It is a module created by Isaac.

13 years agoProviding simple accessor functions to be used by the control point framework.
Isaac Dooley [Thu, 13 Nov 2008 04:20:16 +0000 (04:20 +0000)]
Providing simple accessor functions to be used by the control point framework.

13 years agoFix dependencies of test object MsaHashtable.o in ParFUM's Makefile
Phil Miller [Wed, 12 Nov 2008 23:48:04 +0000 (23:48 +0000)]
Fix dependencies of test object MsaHashtable.o in ParFUM's Makefile

13 years agoRevise the multicast Makefile to better support parallel make
Phil Miller [Wed, 12 Nov 2008 23:46:57 +0000 (23:46 +0000)]
Revise the multicast Makefile to better support parallel make

13 years agoThe beginnings of the new control point framework's tracing module.
Isaac Dooley [Wed, 12 Nov 2008 19:29:40 +0000 (19:29 +0000)]
The beginnings of the new control point framework's tracing module.

13 years agoAdding the initial control point framework
Isaac Dooley [Wed, 12 Nov 2008 19:25:17 +0000 (19:25 +0000)]
Adding the initial control point framework

13 years agoadded const to suppress gcc4 warnings.
Gengbin Zheng [Wed, 12 Nov 2008 19:22:04 +0000 (19:22 +0000)]
added const to suppress gcc4 warnings.

13 years agoconverse/h is needed to get the different flags from conv-mach.h
Abhinav Bhatele [Wed, 12 Nov 2008 14:50:13 +0000 (14:50 +0000)]
converse/h is needed to get the different flags from conv-mach.h

13 years agolibrca is needed for the topology functions
Abhinav Bhatele [Wed, 12 Nov 2008 14:49:23 +0000 (14:49 +0000)]
librca is needed for the topology functions

13 years agoold file not valid any more
Abhinav Bhatele [Wed, 12 Nov 2008 08:26:53 +0000 (08:26 +0000)]
old file not valid any more

13 years agocorrection for XT3 topology
Abhinav Bhatele [Wed, 12 Nov 2008 08:25:33 +0000 (08:25 +0000)]
correction for XT3 topology

13 years agofixed compilation error on very old mpi
Gengbin Zheng [Tue, 11 Nov 2008 21:51:51 +0000 (21:51 +0000)]
fixed compilation error on very old mpi

13 years agoadded an option to use cpu timer instead of wall timer to trace time.
Gengbin Zheng [Mon, 10 Nov 2008 22:14:48 +0000 (22:14 +0000)]
added an option to use cpu timer instead of wall timer to trace time.

13 years agoUser's copy of the Work request is no longer freed after it is enqueued - it can...
Lukasz Wesolowski [Mon, 10 Nov 2008 20:26:49 +0000 (20:26 +0000)]
User's copy of the Work request is no longer freed after it is enqueued - it can now be declared on the stack.

13 years agoprinted detailed message on which thread level supported by mpi runtime
Gengbin Zheng [Mon, 10 Nov 2008 18:13:11 +0000 (18:13 +0000)]
printed detailed message on which thread level supported by mpi runtime

13 years agoshifted to examples/charm++/ckdirect
Abhinav Bhatele [Mon, 10 Nov 2008 02:10:35 +0000 (02:10 +0000)]
shifted to examples/charm++/ckdirect

13 years agomoved here from tests/charm++/ckdirect-stencil
Abhinav Bhatele [Mon, 10 Nov 2008 02:07:12 +0000 (02:07 +0000)]
moved here from tests/charm++/ckdirect-stencil

13 years agosupport for SMP
Abhinav Bhatele [Mon, 10 Nov 2008 01:00:29 +0000 (01:00 +0000)]
support for SMP

13 years agofixed linking error on XT4
Abhinav Bhatele [Sun, 9 Nov 2008 22:12:22 +0000 (22:12 +0000)]
fixed linking error on XT4

13 years agofixed a bug that msg send time can be greater than the predicted receive time. This...
Gengbin Zheng [Thu, 6 Nov 2008 19:54:32 +0000 (19:54 +0000)]
fixed a bug that msg send time can be greater than the predicted receive time. This bug however won't show in bignetsim, since redicted recv time is recalculated anyway at simulation time.

13 years agofixed mesh acquisition and partition map for manual partitioning
Aaron Becker [Wed, 5 Nov 2008 21:55:17 +0000 (21:55 +0000)]
fixed mesh acquisition and partition map for manual partitioning

13 years agoAdded attribute allocation for FEM_PARTITION
Aaron Becker [Wed, 5 Nov 2008 21:55:07 +0000 (21:55 +0000)]
Added attribute allocation for FEM_PARTITION

13 years agofixed problem of setMemoryOwnedBy not passing the correct pointer
Filippo Gioachin [Wed, 5 Nov 2008 01:07:00 +0000 (01:07 +0000)]
fixed problem of setMemoryOwnedBy not passing the correct pointer

13 years agodefines CMK_PIC
Gengbin Zheng [Tue, 4 Nov 2008 21:19:52 +0000 (21:19 +0000)]
defines CMK_PIC

13 years agodeleting leaking messages in mainchare CkArgMsg methods
Filippo Gioachin [Tue, 4 Nov 2008 01:02:33 +0000 (01:02 +0000)]
deleting leaking messages in mainchare CkArgMsg methods

13 years agoAdded function definitions for winPup for the BgTimeLog class and the BgTimeLineRec...
Ryan Mokos [Mon, 3 Nov 2008 22:48:03 +0000 (22:48 +0000)]
Added function definitions for winPup for the BgTimeLog class and the BgTimeLineRec class.  This was done to support BigSim incremental log reading functionality.

13 years agoAdded prototypes for bgReadProcWindow and both winPup functions (in BgTimeLog and...
Ryan Mokos [Mon, 3 Nov 2008 22:46:15 +0000 (22:46 +0000)]
Added prototypes for bgReadProcWindow and both winPup functions (in BgTimeLog and BgTimeLineRec) for BigSim incremental log reading functionality.

13 years agoAdded bgReadProcWindow for BigSim incremental log reading functionality.
Ryan Mokos [Mon, 3 Nov 2008 22:43:44 +0000 (22:43 +0000)]
Added bgReadProcWindow for BigSim incremental log reading functionality.

13 years agoMPProcessorsScheduled only avaialble on Mac version 10 and later
Gengbin Zheng [Fri, 31 Oct 2008 16:42:27 +0000 (16:42 +0000)]
MPProcessorsScheduled only avaialble on Mac version 10 and later

13 years agotest if apple multiprocessing.h exists
Gengbin Zheng [Fri, 31 Oct 2008 16:12:17 +0000 (16:12 +0000)]
test if apple multiprocessing.h exists

13 years agochanged CPSD_HACKS macro to pretend it's less hack-ish
Aaron Becker [Thu, 30 Oct 2008 21:28:21 +0000 (21:28 +0000)]
changed CPSD_HACKS macro to pretend it's less hack-ish

13 years agocleanup
Aaron Becker [Thu, 30 Oct 2008 21:28:07 +0000 (21:28 +0000)]
cleanup

13 years agofixed extraneous else clause in partitioner, did some reformatting
Aaron Becker [Thu, 30 Oct 2008 21:27:34 +0000 (21:27 +0000)]
fixed extraneous else clause in partitioner, did some reformatting

13 years agoadd in log summary the meaning of the thread_resume_ep, so that loadlog can tell...
Gengbin Zheng [Thu, 30 Oct 2008 21:10:18 +0000 (21:10 +0000)]
add in log summary the meaning of the thread_resume_ep, so that loadlog can tell it is a thread resume event.

13 years agoskip cpu topology for bigsim
Gengbin Zheng [Thu, 30 Oct 2008 20:05:51 +0000 (20:05 +0000)]
skip cpu topology for bigsim

13 years agoadded manual partitioning framework via FEM_PARTITION attribute
Aaron Becker [Thu, 30 Oct 2008 17:37:34 +0000 (17:37 +0000)]
added manual partitioning framework via FEM_PARTITION attribute

13 years agoFixed error of mispositioned #endif
Filippo Gioachin [Tue, 28 Oct 2008 18:34:04 +0000 (18:34 +0000)]
Fixed error of mispositioned #endif

13 years agoa bug fix for LFIFO long priority queue. For little endian machines such as intel...
Gengbin Zheng [Tue, 28 Oct 2008 16:01:29 +0000 (16:01 +0000)]
a bug fix for LFIFO long priority queue. For little endian machines such as intel linux machines, least significant bits are compared first which resulted in out of order dequeue behavior.

13 years agofixed a comment format warning
Gengbin Zheng [Tue, 28 Oct 2008 15:37:44 +0000 (15:37 +0000)]
fixed a comment format warning

13 years agofixed a compiler error on solaris
Gengbin Zheng [Tue, 28 Oct 2008 15:36:40 +0000 (15:36 +0000)]
fixed a compiler error on solaris

13 years agoThis file is old, and it is now in tests/util
Filippo Gioachin [Mon, 27 Oct 2008 23:21:17 +0000 (23:21 +0000)]
This file is old, and it is now in tests/util

13 years agoadded CmiEndianness() which returns the endianness of the machine.
Gengbin Zheng [Mon, 27 Oct 2008 20:27:59 +0000 (20:27 +0000)]
added CmiEndianness() which returns the endianness of the machine.

13 years agoGeneralized method for choosing partitioning strategy and added hooks for
Aaron Becker [Mon, 27 Oct 2008 16:09:54 +0000 (16:09 +0000)]
Generalized method for choosing partitioning strategy and added hooks for
manual partitioning strategy.

13 years agoadded local entry methods to enable access to ckcache's map
Pritish Jetley [Fri, 24 Oct 2008 23:38:37 +0000 (23:38 +0000)]
added local entry methods to enable access to ckcache's map

13 years agofixed charmep
Gengbin Zheng [Thu, 23 Oct 2008 19:37:47 +0000 (19:37 +0000)]
fixed charmep

13 years agoCkCacheUserData
Pritish Jetley [Thu, 23 Oct 2008 18:54:41 +0000 (18:54 +0000)]
CkCacheUserData

13 years agoRevise typesafe MSA implementation to hopefully compile under Sun's
Phil Miller [Thu, 23 Oct 2008 18:14:08 +0000 (18:14 +0000)]
Revise typesafe MSA implementation to hopefully compile under Sun's
even more broken C++ compiler.

Task: Typesafe MSA
Hours: 1
Summary: make the revised version (hopefully) build on net-sol-cc

13 years agoAdding -j option to smartbuild
Isaac Dooley [Tue, 21 Oct 2008 17:05:42 +0000 (17:05 +0000)]
Adding -j option to smartbuild

13 years agofixed make rules that broke autobuild by recent changes.
Gengbin Zheng [Mon, 20 Oct 2008 15:59:29 +0000 (15:59 +0000)]
fixed make rules that broke autobuild by recent changes.

13 years agoremoved deprecated -cxx-libcxx option.
Gengbin Zheng [Mon, 20 Oct 2008 15:42:22 +0000 (15:42 +0000)]
removed deprecated -cxx-libcxx option.

13 years agoUpdated "Combining Frameworks" section to reflect removal of attach functions other...
Aaron Becker [Thu, 16 Oct 2008 22:20:18 +0000 (22:20 +0000)]
Updated "Combining Frameworks" section to reflect removal of attach functions other than TCHARM_Attach_start

13 years agoAdded a screenshot.
Isaac Dooley [Thu, 16 Oct 2008 21:18:08 +0000 (21:18 +0000)]
Added a screenshot.

13 years agoAdded an explanation of the wave speed.
Isaac Dooley [Thu, 16 Oct 2008 21:07:01 +0000 (21:07 +0000)]
Added an explanation of the wave speed.

13 years agoAdding description of 2d wave equation discretization, and simplifying example code.
Isaac Dooley [Thu, 16 Oct 2008 21:02:23 +0000 (21:02 +0000)]
Adding description of 2d wave equation discretization, and simplifying example code.

13 years agoEnabling parallel builds for LIBS.
Isaac Dooley [Thu, 16 Oct 2008 19:36:53 +0000 (19:36 +0000)]
Enabling parallel builds for LIBS.

13 years agoPlaced all kernel invocations into a separate kernel, fixed a bug when
Lukasz Wesolowski [Thu, 16 Oct 2008 16:16:33 +0000 (16:16 +0000)]
Placed all kernel invocations into a separate kernel, fixed a bug when
expanding the queue, and cleaned up the code/comments

13 years agoinitialized initHandleGiven in the default constructor
Aaron Becker [Wed, 15 Oct 2008 22:14:16 +0000 (22:14 +0000)]
initialized initHandleGiven in the default constructor

13 years agoLoosen C++ visibility restrictions to require less forward declaration, to accomodate...
Phil Miller [Tue, 14 Oct 2008 20:47:34 +0000 (20:47 +0000)]
Loosen C++ visibility restrictions to require less forward declaration, to accomodate the weakness of xlc (and maybe Intel's C++ as well)

13 years agoallow charmxi to parse from stdin
Gengbin Zheng [Tue, 14 Oct 2008 20:19:42 +0000 (20:19 +0000)]
allow charmxi to parse from stdin

13 years agoshift ep by 6
Gengbin Zheng [Tue, 14 Oct 2008 19:18:32 +0000 (19:18 +0000)]
shift ep by 6

13 years agoan example program like tproj to convert bglog to projections
Gengbin Zheng [Tue, 14 Oct 2008 17:52:07 +0000 (17:52 +0000)]
an example program like tproj to convert bglog to projections

13 years agoRemove default arguments from friend declarations in MSA, because they make xlc unhappy
Phil Miller [Tue, 14 Oct 2008 16:52:03 +0000 (16:52 +0000)]
Remove default arguments from friend declarations in MSA, because they make xlc unhappy

13 years agoRevise ParFUM and MSA to match new interface. Everything builds again.
Phil Miller [Mon, 13 Oct 2008 22:20:27 +0000 (22:20 +0000)]
Revise ParFUM and MSA to match new interface. Everything builds again.

13 years agoMove revised MSA-based hashtable into its own files
Phil Miller [Mon, 13 Oct 2008 22:16:42 +0000 (22:16 +0000)]
Move revised MSA-based hashtable into its own files

13 years agoCorrected some of the debugging messages to display actual buffer indices in the...
Lukasz Wesolowski [Mon, 13 Oct 2008 20:14:20 +0000 (20:14 +0000)]
Corrected some of the debugging messages to display actual buffer indices in the system array.

13 years agoGive MSAs handle objects that enforce phase, and adapt ParFUM to use them. FEM_call_p...
Phil Miller [Mon, 13 Oct 2008 14:49:02 +0000 (14:49 +0000)]
Give MSAs handle objects that enforce phase, and adapt ParFUM to use them. FEM_call_parmetis is still broken.

13 years agoforgot to change definition of CpdBeforeEp when CCS not available
Filippo Gioachin [Fri, 10 Oct 2008 04:40:11 +0000 (04:40 +0000)]
forgot to change definition of CpdBeforeEp when CCS not available

13 years agosetting charm ep in another beginExecute event, which was missed in previous change...
Gengbin Zheng [Thu, 9 Oct 2008 19:24:57 +0000 (19:24 +0000)]
setting charm ep in another beginExecute event, which was missed in previous change. This should allow namd2 to dump charm ep.

13 years agoturned off debug print. make cpu topo info collection default, instead of having...
Gengbin Zheng [Thu, 9 Oct 2008 14:47:20 +0000 (14:47 +0000)]
turned off debug print. make cpu topo info collection default, instead of having to specify +obtain_cpu_topology at runtime.

13 years agofixed mistake: that stupid if without braces refered to CpdFinishInitialization!
Filippo Gioachin [Thu, 9 Oct 2008 08:17:02 +0000 (08:17 +0000)]
fixed mistake: that stupid if without braces refered to CpdFinishInitialization!

13 years ago*** empty log message ***
Filippo Gioachin [Thu, 9 Oct 2008 07:03:33 +0000 (07:03 +0000)]
*** empty log message ***

13 years agoMoved call to CpdFinishInitialization a little bit later, after initnode functions...
Filippo Gioachin [Thu, 9 Oct 2008 07:00:48 +0000 (07:00 +0000)]
Moved call to CpdFinishInitialization a little bit later, after initnode functions have been called (megatest registers entry methods in those)
Disabling CpdBeforeEp and CpdAfterEp if we are not debugging, and eliminating all the code with CMK_OPTIMIZE

13 years ago- Made CpdPythonGroup inherit from CpdPersistentChecker. This allows it to install...
Filippo Gioachin [Thu, 9 Oct 2008 06:32:48 +0000 (06:32 +0000)]
- Made CpdPythonGroup inherit from CpdPersistentChecker. This allows it to install checking routines to specific entry methods. These routines run a python script when invoked.
- Implemented iterator for arrays in CpdPythonGroup so a script can be applied to all the element of a chare array.
- Split initialization of an interpreter from execution of the script, and made replyIntFn overriddable. Enables repetitive calling of the same script on the same interpreter automatically from charm without a CCS request.

13 years ago- Added runtime +memory_verbose flag to print all allocations and free, similar to...
Filippo Gioachin [Thu, 9 Oct 2008 06:20:24 +0000 (06:20 +0000)]
- Added runtime +memory_verbose flag to print all allocations and free, similar to how memory-verbose performs.
- Added new "NEW" and "MODIFIED" tags for memory blocks. They indicate that the blocks has been allocated or modified, respectively, since the last marking point. Also, a list of the newly allocated blocks sincle last marking point is maintained.
- Added alternative scheme to CRC to check memory for cross-chare corruption: a full memory backup is made at the beginning of an entry method, and then at the end a comparison is performed. New and deleted blocks are taken into account.
- Added runtime flags to enable memory check by means of memory backup (+memory_backup), and to print the results of the check (+memory_report). For real usage, both should be provided.
- Preliminary implementation of check using mmap/mprotect, currently under #ifdef CPD_USE_MMAP. Each malloc is performed by means of mmap, and at runtime, when a message is delivered, mprotect is used to make memory not belonging to the chare read-only. A violation triggers a SIGSEGV which is trapped and, for now, makes the violating memory writable after printing a warning.

13 years ago- Changed definition of CpdBeforeEp and CpdAfterEp: now they perform more operations...
Filippo Gioachin [Thu, 9 Oct 2008 05:52:23 +0000 (05:52 +0000)]
- Changed definition of CpdBeforeEp and CpdAfterEp: now they perform more operations, hiding complexity from the calling functions.
- Added CpdPersistentChecker to allow the debugger to attach operations to be performed every time an entry method is executed.
- Added code to change ownership of messages when these are sent

13 years agoAdded a couple of functions for debugging.
Filippo Gioachin [Thu, 9 Oct 2008 05:46:19 +0000 (05:46 +0000)]
Added a couple of functions for debugging.

13 years agoadded functionality to charmrun to redirect STDOUT of the application to CCS. It...
Filippo Gioachin [Thu, 9 Oct 2008 05:41:28 +0000 (05:41 +0000)]
added functionality to charmrun to redirect STDOUT of the application to CCS. It is enabled by a CCS request to "redirect stdio", and program prints can be retrieved with CCS requests "fetch stdio"

13 years agofixed problem with -debug flag
Filippo Gioachin [Thu, 9 Oct 2008 05:36:21 +0000 (05:36 +0000)]
fixed problem with -debug flag
moved python modules load to before modules are parsed

13 years agonew function to peek the top of the stack without touching it
Filippo Gioachin [Thu, 9 Oct 2008 05:33:43 +0000 (05:33 +0000)]
new function to peek the top of the stack without touching it

13 years agochanges to Phil's change:
Gengbin Zheng [Wed, 8 Oct 2008 21:18:17 +0000 (21:18 +0000)]
changes to Phil's change:
1. make charm++ always compile charmd no matter what after Phil's change
2. charmrun-silent never gets compiled as it used to be

13 years agoa minor check for default value of +cth and +wth
Gengbin Zheng [Wed, 8 Oct 2008 21:07:25 +0000 (21:07 +0000)]
a minor check for default value of +cth and +wth

13 years agofixed broken dependencies and bugs in QT caused by Phil's previous change.
Gengbin Zheng [Wed, 8 Oct 2008 20:40:54 +0000 (20:40 +0000)]
fixed broken dependencies and bugs in QT caused by Phil's previous change.
so that parallel make -j4 works again.

13 years agoModified PupableClass to accept templated types
Aaron Becker [Wed, 8 Oct 2008 20:37:18 +0000 (20:37 +0000)]
Modified PupableClass to accept templated types

13 years agotake care of the case when api calls are made without +obtain_cpu_topology
Gengbin Zheng [Wed, 8 Oct 2008 17:19:47 +0000 (17:19 +0000)]
take care of the case when api calls are made without +obtain_cpu_topology

13 years agochanged names of the cpu topology API.
Gengbin Zheng [Wed, 8 Oct 2008 15:38:25 +0000 (15:38 +0000)]
changed names of the cpu topology API.

13 years agoadd proper include for multithreading support for apple.
Gengbin Zheng [Wed, 8 Oct 2008 05:22:25 +0000 (05:22 +0000)]
add proper include for multithreading support for apple.

13 years agoupdated
Gengbin Zheng [Tue, 7 Oct 2008 18:41:41 +0000 (18:41 +0000)]
updated

13 years agoadded cputopology
Gengbin Zheng [Tue, 7 Oct 2008 18:41:05 +0000 (18:41 +0000)]
added cputopology

13 years agoimplemented 4 API functions.
Gengbin Zheng [Tue, 7 Oct 2008 18:26:24 +0000 (18:26 +0000)]
implemented 4 API functions.

13 years agoRemove nonce INTERFACE files in clean target, so that later build attempts work.
Phil Miller [Tue, 7 Oct 2008 17:22:49 +0000 (17:22 +0000)]
Remove nonce INTERFACE files in clean target, so that later build attempts work.

13 years agoadding generation of html in single page format
Filippo Gioachin [Tue, 7 Oct 2008 05:00:44 +0000 (05:00 +0000)]
adding generation of html in single page format

13 years agofixing html generation problem
Filippo Gioachin [Tue, 7 Oct 2008 05:00:12 +0000 (05:00 +0000)]
fixing html generation problem