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

13 years agochanged from poll to kqueue
Aaron Becker [Thu, 22 May 2008 22:50:51 +0000 (22:50 +0000)]
changed from poll to kqueue

13 years agoswitched from select to kqueue
Aaron Becker [Thu, 22 May 2008 22:49:10 +0000 (22:49 +0000)]
switched from select to kqueue

13 years agofixed f90lib path
Gengbin Zheng [Thu, 22 May 2008 22:03:14 +0000 (22:03 +0000)]
fixed f90lib path

13 years agoAdded calls to initialize and manage the GPU work request queue
Lukasz Wesolowski [Thu, 22 May 2008 20:30:06 +0000 (20:30 +0000)]
Added calls to initialize and manage the GPU work request queue

13 years agoported to Darwin x86_64 (hope.cs.uiuc.edu)
Gengbin Zheng [Thu, 22 May 2008 20:13:39 +0000 (20:13 +0000)]
ported to Darwin x86_64 (hope.cs.uiuc.edu)

13 years agofixed a bug in test
Gengbin Zheng [Thu, 22 May 2008 20:00:20 +0000 (20:00 +0000)]
fixed a bug in test

13 years agofirst version
Lukasz Wesolowski [Thu, 22 May 2008 19:19:31 +0000 (19:19 +0000)]
first version

13 years agoCUDA synchronous API
Lukasz Wesolowski [Thu, 22 May 2008 19:16:06 +0000 (19:16 +0000)]
CUDA synchronous API

13 years agoAdded kqueue implementation
Aaron Becker [Thu, 22 May 2008 18:52:44 +0000 (18:52 +0000)]
Added kqueue implementation

13 years agoremoved hardcoded fortran lib path/
Gengbin Zheng [Thu, 22 May 2008 18:50:18 +0000 (18:50 +0000)]
removed hardcoded fortran lib path/

13 years agochange to allow recognition of suffix such as .so.6 as shared library. This allows...
Gengbin Zheng [Thu, 22 May 2008 06:12:18 +0000 (06:12 +0000)]
change to allow recognition of suffix such as .so.6 as shared library. This allows rocstar to link on turing linux.

13 years agoreplaced commented out prints with macro guarded prints
Aaron Becker [Wed, 21 May 2008 18:28:10 +0000 (18:28 +0000)]
replaced commented out prints with macro guarded prints

13 years agogot rid of outdated comment
Aaron Becker [Wed, 21 May 2008 18:27:46 +0000 (18:27 +0000)]
got rid of outdated comment

13 years agofixed getUnsignedType to work when type is 0
Aaron Becker [Wed, 21 May 2008 18:27:27 +0000 (18:27 +0000)]
fixed getUnsignedType to work when type is 0

13 years agostart jacobi.iso in background, kill it after 30 seconds
Gengbin Zheng [Wed, 21 May 2008 18:23:40 +0000 (18:23 +0000)]
start jacobi.iso in background, kill it after 30 seconds

13 years agowhen macro CMK_ISOMALLOC_EXCLUDE_FORTRAN_CALLS is defined, isomalloc search for fortr...
Gengbin Zheng [Wed, 21 May 2008 15:51:31 +0000 (15:51 +0000)]
when macro CMK_ISOMALLOC_EXCLUDE_FORTRAN_CALLS is defined, isomalloc search for fortran calls and disable isomalloc if the malloc is made from there. This can be expensive though. This allow AMPI with thread migration work with isomalloc for fortran.

13 years agoimplemented CmiIsFortranLibraryCall(), which return true if it is called by a fortran...
Gengbin Zheng [Wed, 21 May 2008 06:21:22 +0000 (06:21 +0000)]
implemented CmiIsFortranLibraryCall(), which return true if it is called by a fortran library call. This is implemented by examining stack trace.

13 years agoadded test for LOCAL entry method keyword to autobuild
Filippo Gioachin [Tue, 20 May 2008 22:41:43 +0000 (22:41 +0000)]
added test for LOCAL entry method keyword to autobuild

13 years agonew test for LOCAL entry method keyword
Filippo Gioachin [Tue, 20 May 2008 22:40:57 +0000 (22:40 +0000)]
new test for LOCAL entry method keyword

13 years agodeleting comment regarding subscription (never worked)
Filippo Gioachin [Mon, 19 May 2008 23:57:00 +0000 (23:57 +0000)]
deleting comment regarding subscription (never worked)

13 years agofixed bug with [LOCAL] entry methods
Filippo Gioachin [Mon, 19 May 2008 06:19:22 +0000 (06:19 +0000)]
fixed bug with [LOCAL] entry methods

13 years agoReplace buggy CmiBarrierZero by CmiBarrier in CmiTimerInit.
Gengbin Zheng [Mon, 19 May 2008 05:31:01 +0000 (05:31 +0000)]
Replace buggy CmiBarrierZero by CmiBarrier in CmiTimerInit.

13 years agouse __thread for Cpv
Gengbin Zheng [Mon, 19 May 2008 05:29:59 +0000 (05:29 +0000)]
use __thread for Cpv

13 years agoadded a node barrier before initDone to prevent the scenario when processing nodegrou...
Gengbin Zheng [Sun, 18 May 2008 07:17:05 +0000 (07:17 +0000)]
added a node barrier before initDone to prevent the scenario when processing nodegroup messages mixed with startup mesgs.

13 years agofor the default mpich on ubuntu, it looks like mpich replaces malloc which is not...
Gengbin Zheng [Fri, 16 May 2008 15:35:43 +0000 (15:35 +0000)]
for the default mpich on ubuntu, it looks like mpich replaces malloc which is not a thread safe one. Have to switch to locked protected gnu malloc as default for SMP.

13 years agofixed debug print to a long type.
Gengbin Zheng [Fri, 16 May 2008 06:57:13 +0000 (06:57 +0000)]
fixed debug print to a long type.

13 years agosuport x86_64 and multicore-linux64 and the reordering of darwin
Eric Bohm [Fri, 16 May 2008 02:45:48 +0000 (02:45 +0000)]
suport x86_64 and multicore-linux64 and the reordering of darwin

13 years agoaliasing charm6_0
Gengbin Zheng [Thu, 15 May 2008 21:39:29 +0000 (21:39 +0000)]
aliasing

13 years agorename ampi.h when doing mpi tests
Gengbin Zheng [Thu, 15 May 2008 21:37:17 +0000 (21:37 +0000)]
rename ampi.h when doing mpi tests

13 years agoallows arch name aliasing.
Gengbin Zheng [Thu, 15 May 2008 21:33:40 +0000 (21:33 +0000)]
allows arch name aliasing.

13 years agofixed a compilation error for multicore-cygwin
Gengbin Zheng [Wed, 14 May 2008 03:36:35 +0000 (03:36 +0000)]
fixed a compilation error for multicore-cygwin

13 years agofixed a bug in ++local that drops the last environ var.
Gengbin Zheng [Wed, 14 May 2008 03:09:14 +0000 (03:09 +0000)]
fixed a bug in ++local that drops the last environ var.

13 years agowhen setting Cmi_NodeSize environment (for VMI version?), there is a bug in accessing...
Gengbin Zheng [Tue, 13 May 2008 17:08:57 +0000 (17:08 +0000)]
when setting Cmi_NodeSize environment (for VMI version?), there is a bug in accessing array with out of bound index.

13 years agoNETFEM_init call needs to be initproc instead of initnode because it is meant to...
Gengbin Zheng [Tue, 13 May 2008 04:31:49 +0000 (04:31 +0000)]
NETFEM_init call needs to be initproc instead of initnode because it is meant to be called on each PE.

13 years agoadded a note to CmiBarrier()/
Gengbin Zheng [Tue, 13 May 2008 03:37:38 +0000 (03:37 +0000)]
added a note to CmiBarrier()/

13 years agofixed two subtle bugs:
Gengbin Zheng [Tue, 13 May 2008 03:36:54 +0000 (03:36 +0000)]
fixed two subtle bugs:
1. race condition when using CmiNodeBarrier after CmiNodeAllBarrier. The communication thread may never be able to get out of the barrier.
2. for idle locking, program may hang when acquiring lock, seemingly due to improper setting of timeout.
CS: ----------------------------------------------------------------------

13 years agofixed a subtle race condition when pending BOC and nodegroup messages are handled...
Gengbin Zheng [Tue, 13 May 2008 03:32:00 +0000 (03:32 +0000)]
fixed a subtle race condition when pending BOC and nodegroup messages are handled when a local group is created.

13 years agoavail_vector is a per node array, which cause race condition in smp version. Use...
Gengbin Zheng [Mon, 12 May 2008 05:37:24 +0000 (05:37 +0000)]
avail_vector is a per node array, which cause race condition in smp version. Use initnode call and lock to protect it.

13 years agoanytime migration test
Pritish Jetley [Sun, 11 May 2008 23:41:05 +0000 (23:41 +0000)]
anytime migration test