charm.git
13 years agoBug fixed: the multi pool scheme is only used if CMK_SMP is on.
Esteban Meneses [Wed, 9 Jul 2008 16:52:06 +0000 (16:52 +0000)]
Bug fixed: the multi pool scheme is only used if CMK_SMP is on.

13 years agodefine two new functions (empty) when CCS is not supported.
Gengbin Zheng [Wed, 9 Jul 2008 06:09:32 +0000 (06:09 +0000)]
define two new functions (empty) when CCS is not supported.

13 years agofixed c++ var declaration in C code.
Gengbin Zheng [Wed, 9 Jul 2008 05:58:41 +0000 (05:58 +0000)]
fixed c++ var declaration in C code.

13 years agoremoved. It is now compiled when running build script. This allows better compatibili...
Gengbin Zheng [Wed, 9 Jul 2008 05:10:37 +0000 (05:10 +0000)]
removed. It is now compiled when running build script. This allows better compatibility of various windows flavors.

13 years agofixed a warning
Gengbin Zheng [Wed, 9 Jul 2008 05:09:26 +0000 (05:09 +0000)]
fixed a warning

13 years agocompile createlink.exe on the fly
Gengbin Zheng [Wed, 9 Jul 2008 05:05:57 +0000 (05:05 +0000)]
compile createlink.exe on the fly

13 years agonew simplified CkSelfCallback(ep) for Chare, group, nodegroup and array elements.
Gengbin Zheng [Wed, 9 Jul 2008 04:43:11 +0000 (04:43 +0000)]
new simplified CkSelfCallback(ep) for Chare, group, nodegroup and array elements.

13 years agouncommenting definition of functions pythonAwake and pythonResume, although
Filippo Gioachin [Wed, 9 Jul 2008 02:41:12 +0000 (02:41 +0000)]
uncommenting definition of functions pythonAwake and pythonResume, although
still maintaing them as no-op.

13 years agocreate wrapper for initnode or initproc calls in a poser
Eric Bohm [Tue, 8 Jul 2008 23:58:15 +0000 (23:58 +0000)]
create wrapper for initnode or initproc calls in a poser

13 years agoCompilation error fixed (it appearead when building the non SMP ibverbs version of...
Esteban Meneses [Tue, 8 Jul 2008 20:10:42 +0000 (20:10 +0000)]
Compilation error fixed (it appearead when building the non SMP ibverbs version of Charm).

13 years agoImprovement included to quickly populate the buffer pools during the initialization...
Esteban Meneses [Tue, 8 Jul 2008 19:40:25 +0000 (19:40 +0000)]
Improvement included to quickly populate the buffer pools during the initialization time.

13 years agoallow passthru of non entry methods in ci file for posers.
Eric Bohm [Tue, 8 Jul 2008 17:12:06 +0000 (17:12 +0000)]
allow passthru of non entry methods in ci file for posers.
not etrans business if you enjoy alternative syntax lifestyles

13 years agoCommented out the print lines that say "New Isomalloc" or "Old Isomalloc" is being...
Ryan Mokos [Mon, 7 Jul 2008 21:14:58 +0000 (21:14 +0000)]
Commented out the print lines that say "New Isomalloc" or "Old Isomalloc" is being used during initialization.

13 years agoRewrote to include 4 PEs on 2 physical processors (instead of 2 PEs on 1 physical...
Ryan Mokos [Mon, 7 Jul 2008 21:10:17 +0000 (21:10 +0000)]
Rewrote to include 4 PEs on 2 physical processors (instead of 2 PEs on 1 physical processor).  This example is more complex than the previous version, has more comments, and tries to set more of the log entry values more realisticly.

13 years agoSome fortran wrappers for projections calls.
Isaac Dooley [Mon, 7 Jul 2008 20:43:45 +0000 (20:43 +0000)]
Some fortran wrappers for projections calls.

13 years agoonly PE 0 prints the warning when blacklist file is not present.
Gengbin Zheng [Mon, 7 Jul 2008 19:47:03 +0000 (19:47 +0000)]
only PE 0 prints the warning when blacklist file is not present.

13 years agoa typo
Gengbin Zheng [Mon, 7 Jul 2008 19:31:48 +0000 (19:31 +0000)]
a typo

13 years agoAdded b-tree implementation for storing memory blocks
Ryan Mokos [Mon, 7 Jul 2008 18:46:43 +0000 (18:46 +0000)]
Added b-tree implementation for storing memory blocks

13 years agofixed up some compiler warnings and a bad == vs = bug
Aaron Becker [Mon, 7 Jul 2008 07:11:01 +0000 (07:11 +0000)]
fixed up some compiler warnings and a bad == vs = bug

13 years agoAdding back in the no build shared option for ia64 and bluegene.
Isaac Dooley [Mon, 7 Jul 2008 03:05:26 +0000 (03:05 +0000)]
Adding back in the no build shared option for ia64 and bluegene.

13 years agosimplified
Gengbin Zheng [Mon, 7 Jul 2008 02:00:18 +0000 (02:00 +0000)]
simplified

13 years agoremove existing file before make symbolic linking
Gengbin Zheng [Mon, 7 Jul 2008 01:59:24 +0000 (01:59 +0000)]
remove existing file before make symbolic linking

13 years agofixed various compiler warnings
Gengbin Zheng [Mon, 7 Jul 2008 01:58:29 +0000 (01:58 +0000)]
fixed various compiler warnings

13 years agofixed include path
Gengbin Zheng [Mon, 7 Jul 2008 01:55:47 +0000 (01:55 +0000)]
fixed include path

13 years agofixed a syntax error from last check in.
Gengbin Zheng [Sun, 6 Jul 2008 17:02:24 +0000 (17:02 +0000)]
fixed a syntax error from last check in.

13 years agompicxx for mpiCC.
Gengbin Zheng [Sun, 6 Jul 2008 07:01:48 +0000 (07:01 +0000)]
mpicxx for mpiCC.
windows is case insensitive so mpiCC and mpicc have same name.

13 years agofixed various compilation erros for net-win64
Gengbin Zheng [Sun, 6 Jul 2008 06:50:36 +0000 (06:50 +0000)]
fixed various compilation erros for net-win64

13 years agofixed for win64 build
Gengbin Zheng [Sun, 6 Jul 2008 05:40:18 +0000 (05:40 +0000)]
fixed for win64 build

13 years agoremoved
Gengbin Zheng [Sun, 6 Jul 2008 03:54:18 +0000 (03:54 +0000)]
removed

13 years agoupdated for 64 bit windows
Gengbin Zheng [Sun, 6 Jul 2008 02:32:32 +0000 (02:32 +0000)]
updated for 64 bit windows

13 years agoupdatedCVS: ----------------------------------------------------------------------
Gengbin Zheng [Sun, 6 Jul 2008 02:24:43 +0000 (02:24 +0000)]
updatedCVS: ----------------------------------------------------------------------

13 years agoEnhanced information handled back to charmdebug when a breakpoint is reached.
Filippo Gioachin [Fri, 4 Jul 2008 23:03:44 +0000 (23:03 +0000)]
Enhanced information handled back to charmdebug when a breakpoint is reached.
Notifying charmdebug when a processor freezes.

13 years agohandling CmiAbort and signals if charmdebug is attached
Filippo Gioachin [Fri, 4 Jul 2008 22:59:56 +0000 (22:59 +0000)]
handling CmiAbort and signals if charmdebug is attached

13 years agomodified hoods into CharmDebug. Moved some of them out from charmxi into ck.C. Added...
Filippo Gioachin [Fri, 4 Jul 2008 22:59:29 +0000 (22:59 +0000)]
modified hoods into CharmDebug. Moved some of them out from charmxi into ck.C. Added some into charmxi for LOCAL and INLINE entry methods

13 years agoMore temporal memory management changes. All #ifdef-ed out.
Terry L. Wilmarth [Thu, 3 Jul 2008 20:39:17 +0000 (20:39 +0000)]
More temporal memory management changes.  All #ifdef-ed out.

13 years agoWorking bulk refinement code.
Terry L. Wilmarth [Thu, 3 Jul 2008 20:35:57 +0000 (20:35 +0000)]
Working bulk refinement code.

13 years agoAdd an assertion after the smsg_allocate to check whether memory allocation fails...
Chao Mei [Thu, 3 Jul 2008 19:49:09 +0000 (19:49 +0000)]
Add an assertion after the smsg_allocate to check whether memory allocation fails or not

13 years agojust roll back to the pure node-level spanning tree implementation
Chao Mei [Tue, 1 Jul 2008 21:53:25 +0000 (21:53 +0000)]
just roll back to the pure node-level spanning tree implementation

13 years ago1. added support for communication thread with two modes: comm thd is totally respons...
Chao Mei [Tue, 1 Jul 2008 20:14:26 +0000 (20:14 +0000)]
1. added support for communication thread with two modes: comm thd is totally responsible for sending broadcast message; comm thd helps to pull out the broadcast messages.

2. added a node level implementation of spanning tree.

13 years agoatomic in SDAG can be skipped now.
Gengbin Zheng [Mon, 30 Jun 2008 22:00:59 +0000 (22:00 +0000)]
atomic in SDAG can be skipped now.

13 years agofixed Makefile.
Gengbin Zheng [Mon, 30 Jun 2008 18:14:01 +0000 (18:14 +0000)]
fixed Makefile.

13 years agofixed a warning.
Gengbin Zheng [Mon, 30 Jun 2008 18:13:19 +0000 (18:13 +0000)]
fixed a warning.

13 years agodisable immediate mesage for now since it is seems to be broken for windows with QD.
Gengbin Zheng [Mon, 30 Jun 2008 17:19:21 +0000 (17:19 +0000)]
disable immediate mesage for now since it is seems to be broken for windows with QD.

13 years agocheck if VC and SDK dir exist.
Gengbin Zheng [Fri, 27 Jun 2008 04:45:38 +0000 (04:45 +0000)]
check if VC and SDK dir exist.

13 years agoAdded capability for CkCache to listen and serve more than one array, or, if
Filippo Gioachin [Thu, 26 Jun 2008 06:21:17 +0000 (06:21 +0000)]
Added capability for CkCache to listen and serve more than one array, or, if
the same group ID is provided multiple times, to serve multiple times the same
array simultaneously.

13 years agofixed for mingw compilation.
Gengbin Zheng [Thu, 26 Jun 2008 05:19:38 +0000 (05:19 +0000)]
fixed for mingw compilation.

13 years agofixed to work with mingw compileation
Gengbin Zheng [Thu, 26 Jun 2008 05:18:52 +0000 (05:18 +0000)]
fixed to work with mingw compileation

13 years agomingw support
Gengbin Zheng [Thu, 26 Jun 2008 05:17:59 +0000 (05:17 +0000)]
mingw support

13 years agocomment out a debug print
Gengbin Zheng [Thu, 26 Jun 2008 05:17:13 +0000 (05:17 +0000)]
comment out a debug print

13 years agoadded mingw instruction
Gengbin Zheng [Thu, 26 Jun 2008 05:16:24 +0000 (05:16 +0000)]
added mingw instruction

13 years ago*** empty log message ***
Rahul Jain [Wed, 25 Jun 2008 23:07:50 +0000 (23:07 +0000)]
*** empty log message ***

13 years agoMain.C and sectionReduction.C updated.
Rahul Jain [Wed, 25 Jun 2008 22:54:28 +0000 (22:54 +0000)]
Main.C and sectionReduction.C updated.

13 years agoarray section reduction test for 1D, 2D and 3D chare arrays
Rahul Jain [Wed, 25 Jun 2008 19:40:54 +0000 (19:40 +0000)]
array section reduction test for 1D, 2D and 3D chare arrays

13 years agoinvalid inline in C (for VC++ compiler)
Gengbin Zheng [Wed, 25 Jun 2008 15:24:58 +0000 (15:24 +0000)]
invalid inline in C (for VC++ compiler)

13 years agoinvalid inline in C for VC++.
Gengbin Zheng [Wed, 25 Jun 2008 08:01:11 +0000 (08:01 +0000)]
invalid inline in C for VC++.

13 years agofixed VC++ compilation errors.
Gengbin Zheng [Wed, 25 Jun 2008 07:52:16 +0000 (07:52 +0000)]
fixed VC++ compilation errors.

13 years agoget VC studio and SDK from environment variables instead of hardcoding default paths.
Gengbin Zheng [Wed, 25 Jun 2008 07:45:43 +0000 (07:45 +0000)]
get VC studio and SDK from environment variables instead of hardcoding default paths.

13 years agoan attempt to fix puper of UserData in tcharm. When packing userdata which typically...
Gengbin Zheng [Wed, 25 Jun 2008 05:29:52 +0000 (05:29 +0000)]
an attempt to fix puper of UserData in tcharm. When packing userdata which typically a pointer on stack, in scenarios like stack copy and memory alias thread, when the stack is not active, the pointer to the userdata is just invalid.

13 years agoswitch to uJcontext from QuickThread, it does not seem to work any more in the latest...
Gengbin Zheng [Tue, 24 Jun 2008 19:48:57 +0000 (19:48 +0000)]
switch to uJcontext from QuickThread, it does not seem to work any more in the latest cygwin.

13 years agoFunctionality added into CmiInitiCommunication(...) function.
Esteban Meneses [Tue, 24 Jun 2008 19:46:44 +0000 (19:46 +0000)]
Functionality added into CmiInitiCommunication(...) function.

13 years agosimplified log generation API a little.
Gengbin Zheng [Mon, 23 Jun 2008 21:55:17 +0000 (21:55 +0000)]
simplified log generation API a little.

13 years agoA torus test.
Isaac Dooley [Mon, 23 Jun 2008 21:26:22 +0000 (21:26 +0000)]
A torus test.

13 years agoSome new e2e functionality to handle multiple element types.
Isaac Dooley [Mon, 23 Jun 2008 17:33:30 +0000 (17:33 +0000)]
Some new e2e functionality to handle multiple element types.

13 years agoSerial Cohesive Insertion should now work well.
Isaac Dooley [Mon, 23 Jun 2008 17:32:39 +0000 (17:32 +0000)]
Serial Cohesive Insertion should now work well.

13 years agofixed a compilation error.
Gengbin Zheng [Sun, 22 Jun 2008 16:19:46 +0000 (16:19 +0000)]
fixed a compilation error.

13 years agoadded call CmiCommunicationInit() after node_addresses_obtain(). This function needs...
Gengbin Zheng [Fri, 20 Jun 2008 20:33:02 +0000 (20:33 +0000)]
added call CmiCommunicationInit() after node_addresses_obtain(). This function needs to be implemented in every machine layer to initialize communication after obtaining node information.

13 years agoAdded some changes that fix adaptive ops in CPSD. I'm not sure the effect on
Aaron Becker [Fri, 20 Jun 2008 19:40:07 +0000 (19:40 +0000)]
Added some changes that fix adaptive ops in CPSD. I'm not sure the effect on
other codes, so they're #ifdef'd. These changes prevent removing nodes that are
still needed and enforce correct unlocking of all locked nodes

13 years agoNew code for multi pools in the ibverbs+smp was added. This code can be turned on...
Esteban Meneses [Fri, 20 Jun 2008 15:32:01 +0000 (15:32 +0000)]
New code for multi pools in the ibverbs+smp was added. This code can be turned on using the flag THREAD_MULTI_POOL.

13 years ago*** empty log message ***
Sameer Kumar [Wed, 18 Jun 2008 22:48:47 +0000 (22:48 +0000)]
*** empty log message ***

13 years agoneed to declare count for use in the macro for loop
Eric Bohm [Wed, 18 Jun 2008 21:07:52 +0000 (21:07 +0000)]
need to declare count for use in the macro for loop

13 years agoRemoved fixme.
Eric Shook [Wed, 18 Jun 2008 20:06:18 +0000 (20:06 +0000)]
Removed fixme.

13 years agoUpdated sysv shared memory to reduce number of semaphores.
Eric Shook [Wed, 18 Jun 2008 19:47:04 +0000 (19:47 +0000)]
Updated sysv shared memory to reduce number of semaphores.
From c^2-c to c where c is the number of cores.

13 years agoCorrected a mistake spotted by Sanjay.
Chao Huang [Tue, 17 Jun 2008 23:23:15 +0000 (23:23 +0000)]
Corrected a mistake spotted by Sanjay.

13 years agoimproved test for v_regs in ucontext.
Gengbin Zheng [Tue, 17 Jun 2008 17:02:22 +0000 (17:02 +0000)]
improved test for v_regs in ucontext.

13 years agoStable SMP version. May slow vnmode down a bit.
Sameer Kumar [Tue, 17 Jun 2008 14:57:27 +0000 (14:57 +0000)]
Stable SMP version.  May slow vnmode down a bit.

13 years agoOne more change in the update to Interpolation section
Celso Mendes [Tue, 17 Jun 2008 05:18:15 +0000 (05:18 +0000)]
One more change in the update to Interpolation section

13 years agoneed to pack uc_mcontext.v_regs in ucontext system data structure explicitly. This...
Gengbin Zheng [Tue, 17 Jun 2008 04:57:42 +0000 (04:57 +0000)]
need to pack uc_mcontext.v_regs in ucontext system data structure explicitly. This allows thread migration in turing linux 64 bit.

13 years agocheck if ucontext has a field with the pointer (v_regs) of vector type.
Gengbin Zheng [Tue, 17 Jun 2008 04:56:11 +0000 (04:56 +0000)]
check if ucontext has a field with the pointer (v_regs) of vector type.

13 years agoAdded flags --destination and --suffix to allow the user to choose a destination...
Filippo Gioachin [Tue, 17 Jun 2008 01:09:14 +0000 (01:09 +0000)]
Added flags --destination and --suffix to allow the user to choose a destination directory different from the current default (which is <version>)

13 years agoUpdates to Interpolation section
Celso Mendes [Tue, 17 Jun 2008 00:18:18 +0000 (00:18 +0000)]
Updates to Interpolation section

13 years agoimplemented CmiBarrier for MX
Gengbin Zheng [Mon, 16 Jun 2008 23:35:45 +0000 (23:35 +0000)]
implemented CmiBarrier for MX

13 years agoUndoing previous change that crippled the kqueue version. Now megatest should pass...
Isaac Dooley [Mon, 16 Jun 2008 20:47:46 +0000 (20:47 +0000)]
Undoing previous change that crippled the kqueue version. Now megatest should pass with kqueue.

13 years agoNew code for handling different pools per PE in one node was added.
Esteban Meneses [Mon, 16 Jun 2008 19:39:23 +0000 (19:39 +0000)]
New code for handling different pools per PE in one node was added.
To turn this code in just set flag THREAD_MULTI_POOL to 1.

13 years agoimplemented type loader, changed debug output to be more helpful, extended
Aaron Becker [Sun, 15 Jun 2008 04:19:54 +0000 (04:19 +0000)]
implemented type loader, changed debug output to be more helpful, extended
error message capabilities.
to do: integrate type loading function in semantic tree walk

13 years agomajor bug fix: earlier round robin and random mapping were
Abhinav Bhatele [Sun, 15 Jun 2008 02:27:54 +0000 (02:27 +0000)]
major bug fix: earlier round robin and random mapping were
both defaulting to the basic blocking scheme

13 years agofixed a compiler error in previous kqueue checkin
Gengbin Zheng [Fri, 13 Jun 2008 23:22:05 +0000 (23:22 +0000)]
fixed a compiler error in previous kqueue checkin

13 years agosupport multiple +excludecore to build a list of exclusions.
Gengbin Zheng [Fri, 13 Jun 2008 21:02:08 +0000 (21:02 +0000)]
support multiple +excludecore to build a list of exclusions.

13 years agoOnly setup the CMK_PIPE structures the fist time for the kqueue(Mac OSX) version.
Isaac Dooley [Fri, 13 Jun 2008 18:26:35 +0000 (18:26 +0000)]
Only setup the CMK_PIPE structures the fist time for the kqueue(Mac OSX) version.

13 years agoAdded semantic pass to translator. Translation is now separated into:
Aaron Becker [Fri, 13 Jun 2008 18:10:55 +0000 (18:10 +0000)]
Added semantic pass to translator. Translation is now separated into:
lexing and parsing (Charj.g)
semantic analysis (CharjSemantics.g)
code generation (CharjEmitter.g)

13 years agooptimized pcqueue pop to avoid locking when queue len is already 0. This only works...
Gengbin Zheng [Fri, 13 Jun 2008 18:00:47 +0000 (18:00 +0000)]
optimized pcqueue pop to avoid locking when queue len is already 0. This only works when using lock.

13 years agoskip CommunuicationServer() call in GeneralSend when not sending a message over netwo...
Gengbin Zheng [Fri, 13 Jun 2008 17:57:57 +0000 (17:57 +0000)]
skip CommunuicationServer() call in GeneralSend when not sending a message over network. This makes sense for SMP since communication thread is calling CommunuicationServer() anyway.

13 years agosimple changes.
Gengbin Zheng [Fri, 13 Jun 2008 16:19:14 +0000 (16:19 +0000)]
simple changes.

13 years agowhen _Cmi_noprocforcommthread is 0, which is default that is comm thread has its...
Gengbin Zheng [Thu, 12 Jun 2008 21:26:20 +0000 (21:26 +0000)]
when _Cmi_noprocforcommthread is 0, which is default that is comm thread has its own dedicated core, disabling the wakeup of IdleLock, since sleep on IdleLock has been already disabled in Sayantan's checkin.
This improved converse pingpong one-way time.

13 years agoneed sendqpoll in the barrier receive loop to make sure everyone actually
Eric Bohm [Thu, 12 Jun 2008 21:16:10 +0000 (21:16 +0000)]
need  sendqpoll in the barrier receive loop to make sure everyone actually
sends the barrier message.

13 years agoremove commlib
Gengbin Zheng [Thu, 12 Jun 2008 16:33:14 +0000 (16:33 +0000)]
remove commlib

13 years agofor bgPrint() called from user code, disable isomalloc temporarily.
Gengbin Zheng [Thu, 12 Jun 2008 09:39:38 +0000 (09:39 +0000)]
for bgPrint() called from user code, disable isomalloc temporarily.

13 years agomake name const to suppress compiler warnings.
Gengbin Zheng [Thu, 12 Jun 2008 09:38:36 +0000 (09:38 +0000)]
make name const to suppress compiler warnings.

13 years agodefine dummy isomalloc_push() and pop(), two functions to disable and enable isomallo...
Gengbin Zheng [Thu, 12 Jun 2008 09:37:54 +0000 (09:37 +0000)]
define dummy isomalloc_push() and pop(), two functions to disable and enable isomalloc on demand when it is isomalloc.

13 years agoInitial implementation of symbols and scopes with symbol table.
Aaron Becker [Thu, 12 Jun 2008 06:29:38 +0000 (06:29 +0000)]
Initial implementation of symbols and scopes with symbol table.
Based on Terrence Parr's Mantra implementation.

13 years agobacking up and trying a new approach to imports that doesn't rely on namespaces
Aaron Becker [Thu, 12 Jun 2008 00:57:56 +0000 (00:57 +0000)]
backing up and trying a new approach to imports that doesn't rely on namespaces