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

13 years agorenaming u_int64_t to CmiUInt8 to uniform to charm
Filippo Gioachin [Thu, 12 Jun 2008 00:07:27 +0000 (00:07 +0000)]
renaming u_int64_t to CmiUInt8 to uniform to charm

13 years ago*** empty log message ***
Aaron Becker [Wed, 11 Jun 2008 23:30:07 +0000 (23:30 +0000)]
*** empty log message ***

13 years agoAdded namespace generation mechanism. Unfortunately this doesn't play well with
Aaron Becker [Wed, 11 Jun 2008 20:35:57 +0000 (20:35 +0000)]
Added namespace generation mechanism. Unfortunately this doesn't play well with
Charm, so for the moment it's commented out in the generated code

13 years agoturn machine debug back to 0
Gengbin Zheng [Wed, 11 Jun 2008 16:24:39 +0000 (16:24 +0000)]
turn machine debug back to 0

13 years agonow package and import statement generate #include and namespace code
Aaron Becker [Wed, 11 Jun 2008 06:14:20 +0000 (06:14 +0000)]
now package and import statement generate #include and namespace code

13 years agoAdded module CkCache to charm and to the default build.
Filippo Gioachin [Wed, 11 Jun 2008 02:40:39 +0000 (02:40 +0000)]
Added module CkCache to charm and to the default build.
This module is taken from ChaNGa's original CacheManager after being generalized.

13 years agoAdded new utility to replace one character with another in a XStr.
Filippo Gioachin [Wed, 11 Jun 2008 02:37:36 +0000 (02:37 +0000)]
Added new utility to replace one character with another in a XStr.
Used in allowing messages with namespace qualifier to work

13 years agoAdded sysv shared memory functionality.
Eric Shook [Tue, 10 Jun 2008 21:08:56 +0000 (21:08 +0000)]
Added sysv shared memory functionality.
This essentially duplicates posix shared memory (pxshm), but uses sysv instead.
This is supported in net-linux and net-linux-x86_64.

13 years agodon't need to poll sendq in barrier code
Eric Bohm [Tue, 10 Jun 2008 17:00:01 +0000 (17:00 +0000)]
don't need to poll sendq in barrier code

13 years agofixed a compilation error when cpuaffinity is not supported.
Gengbin Zheng [Tue, 10 Jun 2008 15:49:09 +0000 (15:49 +0000)]
fixed a compilation error when cpuaffinity is not supported.

13 years agocode cleanup, template tweak
Aaron Becker [Tue, 10 Jun 2008 08:49:59 +0000 (08:49 +0000)]
code cleanup, template tweak

13 years agoadded +excludecore to exclude a specific core rank not to be assigned.
Gengbin Zheng [Tue, 10 Jun 2008 05:29:39 +0000 (05:29 +0000)]
added +excludecore to exclude a specific core rank not to be assigned.

13 years agoAdded embed keyword and functionality
Aaron Becker [Tue, 10 Jun 2008 00:41:13 +0000 (00:41 +0000)]
Added embed keyword and functionality
Added all c++ keywords as charj keywords to prevent incompatibilities
Improved import mechanism for inheritance
Nicer looking block output
Added special debugging cases to makefile
Added embed block to test case
fixed block templates to allow child output

13 years agoAdd support for CmiBarrier to net ibverbs layer.
Eric Bohm [Mon, 9 Jun 2008 22:22:20 +0000 (22:22 +0000)]
Add support for CmiBarrier to net ibverbs layer.
Should support the +isomalloc_sync feature as shown by successful executions
of test/util/check with +isomalloc_sync up to +p16 on abe

13 years agoAdded tree adaptor for new AST node type
Aaron Becker [Mon, 9 Jun 2008 21:15:48 +0000 (21:15 +0000)]
Added tree adaptor for new AST node type

13 years agocustom charj tree node for ast
Aaron Becker [Mon, 9 Jun 2008 20:09:00 +0000 (20:09 +0000)]
custom charj tree node for ast

13 years agore-added test with proper name
Aaron Becker [Mon, 9 Jun 2008 19:09:27 +0000 (19:09 +0000)]
re-added test with proper name

13 years agorenaming tests to reflect class names
Aaron Becker [Mon, 9 Jun 2008 19:09:04 +0000 (19:09 +0000)]
renaming tests to reflect class names

13 years agomade outputmode enum public
Aaron Becker [Mon, 9 Jun 2008 19:02:59 +0000 (19:02 +0000)]
made outputmode enum public

13 years agotweaked help message
Aaron Becker [Mon, 9 Jun 2008 18:54:50 +0000 (18:54 +0000)]
tweaked help message

13 years agoAdded warning header to generated .h files and improved template naming
Aaron Becker [Mon, 9 Jun 2008 07:44:06 +0000 (07:44 +0000)]
Added warning header to generated .h files and improved template naming

13 years agoconsolidated and improved templates
Aaron Becker [Mon, 9 Jun 2008 07:36:12 +0000 (07:36 +0000)]
consolidated and improved templates
implemented .h code generation
fixed charmxi output directory problem
fixed method type code generation bug

13 years agoseparate output of .h file
Aaron Becker [Mon, 9 Jun 2008 04:44:43 +0000 (04:44 +0000)]
separate output of .h file
better documentation and error reporting

13 years agotweaked make clean to remove empty directories
Aaron Becker [Mon, 9 Jun 2008 04:28:52 +0000 (04:28 +0000)]
tweaked make clean to remove empty directories

13 years agoRemoved files no longer needed after grammar consolidation
Aaron Becker [Mon, 9 Jun 2008 04:23:09 +0000 (04:23 +0000)]
Removed files no longer needed after grammar consolidation

13 years agoCombined all emitter grammars into one grammar with output templates controlled by
Aaron Becker [Mon, 9 Jun 2008 04:21:21 +0000 (04:21 +0000)]
Combined all emitter grammars into one grammar with output templates controlled by
an OutputMode parameter. Combined all templates into one group. Made coding style
more consistent

13 years agoturned off gratuitous command echoing
Aaron Becker [Sun, 8 Jun 2008 05:12:39 +0000 (05:12 +0000)]
turned off gratuitous command echoing

13 years agoimproved command-line parsing, now passes extra arguments through to charmc
Aaron Becker [Sun, 8 Jun 2008 05:11:01 +0000 (05:11 +0000)]
improved command-line parsing, now passes extra arguments through to charmc
better control of what gets written to stdout, with nicer formatting

13 years agoFixed string indexing so that we don't crash on relative pathnames
Aaron Becker [Sun, 8 Jun 2008 02:47:26 +0000 (02:47 +0000)]
Fixed string indexing so that we don't crash on relative pathnames
Changed copy of object file to move, and don't attempt it if charmc failed

13 years agocorrected template resource names for use in jar
Aaron Becker [Sun, 8 Jun 2008 02:32:33 +0000 (02:32 +0000)]
corrected template resource names for use in jar

13 years agoinclude templates in jar file. this fixes problems with relative template
Aaron Becker [Sun, 8 Jun 2008 02:31:09 +0000 (02:31 +0000)]
include templates in jar file. this fixes problems with relative template
pathnames. now the compiler can be invoked from anywhere without errors

13 years agofixed exec line, added .o copy
Aaron Becker [Sat, 7 Jun 2008 09:05:42 +0000 (09:05 +0000)]
fixed exec line, added .o copy

13 years agoAdded command line parsing library
Aaron Becker [Sat, 7 Jun 2008 08:52:22 +0000 (08:52 +0000)]
Added command line parsing library

13 years agoAdded temp file writing with call to external charm compiler
Aaron Becker [Sat, 7 Jun 2008 08:51:53 +0000 (08:51 +0000)]
Added temp file writing with call to external charm compiler

13 years agogreatly improved .ci code generation
Aaron Becker [Sat, 7 Jun 2008 06:15:51 +0000 (06:15 +0000)]
greatly improved .ci code generation
added "entry" keyword
fixed scope label output
fleshed out test program

13 years agoImprovements to cc emitter
Aaron Becker [Sat, 7 Jun 2008 05:00:22 +0000 (05:00 +0000)]
Improvements to cc emitter

13 years agowhen ++debug-no-pause, it prints process id and continue without sleep for 10 seconds.
Gengbin Zheng [Fri, 6 Jun 2008 21:13:17 +0000 (21:13 +0000)]
when ++debug-no-pause, it prints process id and continue without sleep for 10 seconds.

13 years agoadded new reducer function: random. It takes the messages and randomly chooses
Filippo Gioachin [Fri, 6 Jun 2008 08:51:10 +0000 (08:51 +0000)]
added new reducer function: random. It takes the messages and randomly chooses
one of them to be passed to the callback.

13 years agoadded lots of default templates; these need to be cleaned up
Aaron Becker [Thu, 5 Jun 2008 23:36:23 +0000 (23:36 +0000)]
added lots of default templates; these need to be cleaned up

13 years agosimplify octo test
Gengbin Zheng [Thu, 5 Jun 2008 16:27:59 +0000 (16:27 +0000)]
simplify octo test

13 years agoreverting to previous version
Lukasz Wesolowski [Wed, 4 Jun 2008 23:55:37 +0000 (23:55 +0000)]
reverting to previous version

13 years agoreverting to previous version
Lukasz Wesolowski [Wed, 4 Jun 2008 23:46:56 +0000 (23:46 +0000)]
reverting to previous version

13 years agoupdated CUDA hybridAPI and added a CUDA hello example
Lukasz Wesolowski [Wed, 4 Jun 2008 23:14:20 +0000 (23:14 +0000)]
updated CUDA hybridAPI and added a CUDA hello example

13 years agofixed color of section headers
Aaron Becker [Wed, 4 Jun 2008 22:23:35 +0000 (22:23 +0000)]
fixed color of section headers

13 years agocharj compile script
Aaron Becker [Tue, 3 Jun 2008 23:35:22 +0000 (23:35 +0000)]
charj compile script

13 years agoAdded separate cc/ci emitters, modified driver, added antlr3.1 option
Aaron Becker [Tue, 3 Jun 2008 23:34:49 +0000 (23:34 +0000)]
Added separate cc/ci emitters, modified driver, added antlr3.1 option

13 years agoexternal libraries
Aaron Becker [Tue, 3 Jun 2008 23:33:09 +0000 (23:33 +0000)]
external libraries

13 years agofixed problem with compilation with CMK_OPTIMIZE
Filippo Gioachin [Tue, 3 Jun 2008 22:49:46 +0000 (22:49 +0000)]
fixed problem with compilation with CMK_OPTIMIZE

13 years agonew, way better build system, tests, and template output
Aaron Becker [Tue, 3 Jun 2008 21:19:46 +0000 (21:19 +0000)]
new, way better build system, tests, and template output

13 years agoreverted back latest checkin for anytime migration. does not work properly
Filippo Gioachin [Tue, 3 Jun 2008 00:10:09 +0000 (00:10 +0000)]
reverted back latest checkin for anytime migration. does not work properly

13 years agoAdded flag +noAnytimeMigration to tell the system that chare arrays are not migrating...
Filippo Gioachin [Mon, 2 Jun 2008 21:14:55 +0000 (21:14 +0000)]
Added flag +noAnytimeMigration to tell the system that chare arrays are not migrating outside the AtSync load balancer. Optimizations can be performed in such scenario. This flag can also be set by changing directly the flag "noAnytimeMigration" in the mainchare main.
Additionally, when there is no anytime migration, broadcasts to chare arrays are deleted as soon as delivered, without any buffering.

13 years agoNew function definitions for setMemoryChareID to correctly swap the current chare...
Filippo Gioachin [Mon, 2 Jun 2008 21:05:46 +0000 (21:05 +0000)]
New function definitions for setMemoryChareID to correctly swap the current chare ID and support recursiveness.

13 years agochanged marshalling methods so that "const" keyword is not used for
Filippo Gioachin [Mon, 2 Jun 2008 05:45:01 +0000 (05:45 +0000)]
changed marshalling methods so that "const" keyword is not used for
[local] entry methods. This is useful to pass parameters by reference.

13 years agoadded support for xlf90 (tested turing linux) for isomalloc. Fortran functions starte...
Gengbin Zheng [Sun, 1 Jun 2008 03:50:58 +0000 (03:50 +0000)]
added support for xlf90 (tested turing linux) for isomalloc. Fortran functions started with _xlf will be excluded from isomalloc .

13 years agofixed various issues including correct 64 bit fortran compiler (xlf90_r), etc for...
Gengbin Zheng [Sun, 1 Jun 2008 01:39:41 +0000 (01:39 +0000)]
fixed various issues including correct 64 bit fortran compiler (xlf90_r), etc for turing linux.

13 years agoturn of commlib test
Gengbin Zheng [Fri, 30 May 2008 17:45:50 +0000 (17:45 +0000)]
turn of commlib test

13 years agofixed the shell code that detects if setarch presents.
Gengbin Zheng [Fri, 30 May 2008 17:44:30 +0000 (17:44 +0000)]
fixed the shell code that detects if setarch presents.

13 years agoin the function of checking fortran calls, limit the number of stack trace to check.
Gengbin Zheng [Fri, 30 May 2008 16:00:48 +0000 (16:00 +0000)]
in the function of checking fortran calls, limit the number of stack trace to check.

13 years agoadded memory-os-lock rule.
Gengbin Zheng [Fri, 30 May 2008 14:28:39 +0000 (14:28 +0000)]
added memory-os-lock rule.

13 years agoa new memory lock scheme which wrap os malloc with locking.
Gengbin Zheng [Fri, 30 May 2008 14:28:06 +0000 (14:28 +0000)]
a new memory lock scheme which wrap os malloc with locking.

13 years agoadd /usr/local/gm to gm.h search path
Eric Bohm [Thu, 29 May 2008 18:54:19 +0000 (18:54 +0000)]
add /usr/local/gm to gm.h search path

13 years agoBlue Gene/P has 4GB of memory. I plan to get the BG/P kernel team to support threads...
Sameer Kumar [Thu, 29 May 2008 14:22:36 +0000 (14:22 +0000)]
Blue Gene/P has 4GB of memory.  I plan to get the BG/P kernel team to support threads correctly.

13 years agoJust like on XT3, quick threads doesnt like being compiled with pgi compilers.
Abhinav Bhatele [Wed, 28 May 2008 21:01:16 +0000 (21:01 +0000)]
Just like on XT3, quick threads doesnt like being compiled with pgi compilers.
The application will crash complaining about stack sizes.
So we will use gnu compilers for quick threads always. The rest will be
compiled with the compiler loaded depending on your module list.

13 years agovariants of pgcc tailored for ranger and barcelona
Eric Bohm [Wed, 28 May 2008 20:20:50 +0000 (20:20 +0000)]
variants of pgcc tailored for ranger and barcelona

13 years agowhen calling mpirun using setarch -R command to start MPI program and disable the...
Gengbin Zheng [Wed, 28 May 2008 17:10:58 +0000 (17:10 +0000)]
when calling mpirun using setarch -R command to start MPI program and disable the randomization of address space.

13 years ago*** empty log message ***
Sameer Kumar [Wed, 28 May 2008 04:39:17 +0000 (04:39 +0000)]
*** empty log message ***

13 years agochanging permission of the resulting files at the correct time
Filippo Gioachin [Wed, 28 May 2008 00:45:17 +0000 (00:45 +0000)]
changing permission of the resulting files at the correct time

13 years agoadded cast to (void*&)
Filippo Gioachin [Wed, 28 May 2008 00:34:30 +0000 (00:34 +0000)]
added cast to (void*&)

13 years agodisabling pose from manual autogeneration since it is broken
Filippo Gioachin [Tue, 27 May 2008 23:49:42 +0000 (23:49 +0000)]
disabling pose from manual autogeneration since it is broken

13 years agofixed a few typos
Filippo Gioachin [Tue, 27 May 2008 23:11:22 +0000 (23:11 +0000)]
fixed a few typos

13 years agonew semantics for callbacks in threaded situations: suggest usage of
Filippo Gioachin [Sun, 25 May 2008 07:57:24 +0000 (07:57 +0000)]
new semantics for callbacks in threaded situations: suggest usage of
CkCallbackResumeThread instead of old CkCallback of type CkCallback::resumeThread

13 years agoa few more machine state log print statement.
Gengbin Zheng [Sun, 25 May 2008 06:14:17 +0000 (06:14 +0000)]
a few more machine state log print statement.

13 years agoupdated with recent optimization setttings.
Gengbin Zheng [Sun, 25 May 2008 06:12:41 +0000 (06:12 +0000)]
updated with recent optimization setttings.

13 years agoversion number to 6
Gengbin Zheng [Fri, 23 May 2008 22:08:51 +0000 (22:08 +0000)]
version number to 6

13 years agoXT4 CNL port for Jaguar
Abhinav Bhatele [Fri, 23 May 2008 21:52:00 +0000 (21:52 +0000)]
XT4 CNL port for Jaguar