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

13 years agoadded a function to clear pending messages queue (set to NULL) for GroupTable.
Gengbin Zheng [Sun, 11 May 2008 04:17:55 +0000 (04:17 +0000)]
added a function to clear pending messages queue (set to NULL) for GroupTable.

13 years agoAdding high-level refinement code. Currently exposes a bug in region locking.
Terry L. Wilmarth [Fri, 9 May 2008 22:10:47 +0000 (22:10 +0000)]
Adding high-level refinement code.  Currently exposes a bug in region locking.

13 years agoautomatically define macro CMK_64BIT when CMK_AMD64 is defined
Gengbin Zheng [Fri, 9 May 2008 18:15:36 +0000 (18:15 +0000)]
automatically define macro CMK_64BIT when CMK_AMD64 is defined

13 years agoset optimized config
Gengbin Zheng [Fri, 9 May 2008 18:13:02 +0000 (18:13 +0000)]
set optimized config

13 years agofixed compiler warnings for gcc 4.2.3
Gengbin Zheng [Fri, 9 May 2008 18:12:00 +0000 (18:12 +0000)]
fixed compiler warnings for gcc 4.2.3

13 years agofix the previous checkin: the locking was too finer grain in the case of broadcast...
Gengbin Zheng [Fri, 9 May 2008 18:09:00 +0000 (18:09 +0000)]
fix the previous checkin: the locking was too finer grain in the case of broadcast. I suspect somewhere in megatest, we rely on the fact that the converse broadcast needs to be ordered.

13 years agoadded missing return statement.
Gengbin Zheng [Fri, 9 May 2008 14:43:04 +0000 (14:43 +0000)]
added missing return statement.

13 years agoignore immeidate msg for QD purpose
Gengbin Zheng [Fri, 9 May 2008 07:31:25 +0000 (07:31 +0000)]
ignore immeidate msg for QD purpose

13 years agoset CMK_USE_TLS_THREAD to 1 by default now. This however is only activated when charm...
Gengbin Zheng [Thu, 8 May 2008 21:02:53 +0000 (21:02 +0000)]
set CMK_USE_TLS_THREAD to 1 by default now. This however is only activated when charm config check if __thread does compile.
Use PCQUEUE_LOCK by default.
Leave the OS malloc default COMMENTED for now. Open the comment to use OS malloc as default.

13 years agomake locking finer grain.
Gengbin Zheng [Thu, 8 May 2008 20:55:49 +0000 (20:55 +0000)]
make locking finer grain.

13 years agofixed compiler warnings for gcc 4.2.3
Gengbin Zheng [Thu, 8 May 2008 07:21:42 +0000 (07:21 +0000)]
fixed compiler warnings for gcc 4.2.3

13 years agomake sure only comm thread calls handleImmediateMsg in smp mode.
Gengbin Zheng [Thu, 8 May 2008 07:11:52 +0000 (07:11 +0000)]
make sure only comm thread calls handleImmediateMsg in smp mode.

13 years agomake sure only comm thread executes immediate message in smp mode.
Gengbin Zheng [Thu, 8 May 2008 06:33:57 +0000 (06:33 +0000)]
make sure only comm thread executes immediate message in smp mode.

13 years agofixed a subtle bug in QD in smp mode. now immediate messages are invisible to QD.
Gengbin Zheng [Thu, 8 May 2008 06:32:56 +0000 (06:32 +0000)]
fixed a subtle bug in QD in smp mode. now immediate messages are invisible to QD.

13 years agotwo init calls changed to initproc, because CpvInitialize needs to be called on every...
Gengbin Zheng [Thu, 8 May 2008 06:16:04 +0000 (06:16 +0000)]
two init calls changed to initproc, because CpvInitialize needs to be called on every rank for SMP.

13 years agorename mpi.h under charm/include when testing native MPI.
Gengbin Zheng [Wed, 7 May 2008 15:46:08 +0000 (15:46 +0000)]
rename mpi.h under charm/include when testing native MPI.

13 years agofix bad delete
Eric Bohm [Wed, 7 May 2008 07:19:13 +0000 (07:19 +0000)]
fix bad delete

13 years agomacro for atomic increment and decrement.
Gengbin Zheng [Wed, 7 May 2008 04:03:12 +0000 (04:03 +0000)]
macro for atomic increment and decrement.

13 years agoNoises off in parallel_part. First bulk_adapt refinement algorithm (almost) ready.
Terry L. Wilmarth [Tue, 6 May 2008 20:29:02 +0000 (20:29 +0000)]
Noises off in parallel_part.  First bulk_adapt refinement algorithm (almost) ready.

13 years agoTurning off noise.
Terry L. Wilmarth [Tue, 6 May 2008 20:26:01 +0000 (20:26 +0000)]
Turning off noise.

13 years agofixed a bug in multiqueue scheme, comm thread has its own queue as well for immediate...
Gengbin Zheng [Tue, 6 May 2008 19:57:46 +0000 (19:57 +0000)]
fixed a bug in multiqueue scheme, comm thread has its own queue as well for immediate message.
fixed a backward compatibility issue with MPI_Init_thread call.

13 years agomistakenly turned memory fence on by default, use pcqueue lock now.
Gengbin Zheng [Tue, 6 May 2008 19:18:53 +0000 (19:18 +0000)]
mistakenly turned memory fence on by default, use pcqueue lock now.

13 years agoRemoved duplicate line for IDLE_POLL
Isaac Dooley [Tue, 6 May 2008 18:21:54 +0000 (18:21 +0000)]
Removed duplicate line for IDLE_POLL

13 years agoNow an error message only prints after 10 unsuccessful calls to shm_open, instead...
Isaac Dooley [Tue, 6 May 2008 18:17:42 +0000 (18:17 +0000)]
Now an error message only prints after 10 unsuccessful calls to shm_open, instead of 1.

13 years agocheck if building charm on MPI, and check if MPI_Init_thread is supported.
Gengbin Zheng [Tue, 6 May 2008 17:10:52 +0000 (17:10 +0000)]
check if building charm on MPI, and check if MPI_Init_thread is supported.

13 years agooops, fixed the error in previous checkin.
Gengbin Zheng [Tue, 6 May 2008 15:32:04 +0000 (15:32 +0000)]
oops, fixed the error in previous checkin.

13 years agorevert the previous change temporarily so that user defined arraymap works again.
Gengbin Zheng [Tue, 6 May 2008 07:14:41 +0000 (07:14 +0000)]
revert the previous change temporarily so that user defined arraymap works again.

13 years agoAdding support for OSSpinLock in the POSIX shared memory layer. Now there are three...
Isaac Dooley [Mon, 5 May 2008 23:31:43 +0000 (23:31 +0000)]
Adding support for OSSpinLock in the POSIX shared memory layer. Now there are three options for synchronization.