charm.git
12 years agoremoved unistd.h
Gengbin Zheng [Sat, 24 Jan 2009 04:30:37 +0000 (04:30 +0000)]
removed unistd.h

12 years agoadded TESTOPTS
Gengbin Zheng [Sat, 24 Jan 2009 04:08:49 +0000 (04:08 +0000)]
added TESTOPTS

12 years agoin function CthPointer() that calculates the user data offset in tcharm (ptr - stackp...
Gengbin Zheng [Sat, 24 Jan 2009 03:56:27 +0000 (03:56 +0000)]
in function CthPointer() that calculates the user data offset in tcharm (ptr - stackptr), considering the situation when like fiber or pthreads, there is no control of stack pointer, hence NULL. The function crashes in that situation. Workaround that by using CthThread t itself to calculate the offset.

12 years agofixed a bug in fiber threads where there is fixed size table for exited threads....
Gengbin Zheng [Sat, 24 Jan 2009 02:18:09 +0000 (02:18 +0000)]
fixed a bug in fiber threads where there is fixed size table for exited threads. It gets overflowed silently and leads to coredump

12 years agomodified CmiImmIsRunning to exclude net-win32 (which is claimed to non-smp, but...
Gengbin Zheng [Fri, 23 Jan 2009 20:38:59 +0000 (20:38 +0000)]
modified CmiImmIsRunning  to exclude net-win32 (which is claimed to non-smp, but actually has comm thread)

12 years agoswitch back to Fiber thread
Gengbin Zheng [Fri, 23 Jan 2009 20:33:02 +0000 (20:33 +0000)]
switch back to Fiber thread

12 years agodirect compiler output correctly into charmconfig.out in test_link()
Gengbin Zheng [Fri, 23 Jan 2009 17:43:51 +0000 (17:43 +0000)]
direct compiler output correctly into charmconfig.out in test_link()

12 years agofixed test_link for the non-0 status
Gengbin Zheng [Fri, 23 Jan 2009 14:20:53 +0000 (14:20 +0000)]
fixed test_link for the non-0 status

12 years agotest jpeg in c++ setting
Gengbin Zheng [Fri, 23 Jan 2009 14:09:28 +0000 (14:09 +0000)]
test jpeg in c++ setting

12 years agomake sure fibers is used for win32 smp
Gengbin Zheng [Fri, 23 Jan 2009 05:28:27 +0000 (05:28 +0000)]
make sure fibers is used for win32 smp

12 years agoswitch to fiber
Gengbin Zheng [Fri, 23 Jan 2009 02:42:14 +0000 (02:42 +0000)]
switch to fiber

12 years agomake only pe 0 run the test
Gengbin Zheng [Fri, 23 Jan 2009 02:41:08 +0000 (02:41 +0000)]
make only pe 0 run the test

12 years agorename max class function as it conflicts with gnu's macro
Gengbin Zheng [Thu, 22 Jan 2009 21:55:05 +0000 (21:55 +0000)]
rename max class function as it conflicts with gnu's macro

12 years agouse uJcontext instead of fiber since fiber threads crashes megacon thread test. Will...
Gengbin Zheng [Thu, 22 Jan 2009 21:45:54 +0000 (21:45 +0000)]
use uJcontext instead of fiber since fiber threads crashes megacon thread test. Will have to debug fiber later.

12 years agoTcharm_register (register user data) does not fail when isomalloc is simply disabled...
Gengbin Zheng [Thu, 22 Jan 2009 21:23:50 +0000 (21:23 +0000)]
Tcharm_register (register user data) does not fail when isomalloc is simply disabled, in which case, thread migration is not supported but won't fail.

12 years agoModified 64-bit types to actual 64-bit types (from 'long' to 'long long').
David Kunzman [Thu, 22 Jan 2009 21:14:09 +0000 (21:14 +0000)]
Modified 64-bit types to actual 64-bit types (from 'long' to 'long long').

12 years agowhen thread migration is not supported, disable TCHARM_Migrate() call by giving a...
Gengbin Zheng [Thu, 22 Jan 2009 20:36:29 +0000 (20:36 +0000)]
when thread migration is not supported, disable TCHARM_Migrate() call by giving a warning.

12 years agoadded two prototypes: CmiIsomallocEnabled() and CthMigratable()
Gengbin Zheng [Thu, 22 Jan 2009 20:35:32 +0000 (20:35 +0000)]
added two prototypes: CmiIsomallocEnabled() and CthMigratable()

12 years agoa new function CthMigratable() to tell if thread migration is supported or not.
Gengbin Zheng [Thu, 22 Jan 2009 20:32:29 +0000 (20:32 +0000)]
a new function CthMigratable() to tell if thread migration is supported or not.

12 years agoa new function to tell if isomalloc is working or not.
Gengbin Zheng [Thu, 22 Jan 2009 20:31:38 +0000 (20:31 +0000)]
a new function to tell if isomalloc is working or not.

12 years agoadded more strict test for libjpeg.h
Gengbin Zheng [Thu, 22 Jan 2009 17:09:08 +0000 (17:09 +0000)]
added more strict test for libjpeg.h

12 years agouse cp -f when copying unix2nt_*
Gengbin Zheng [Thu, 22 Jan 2009 16:08:04 +0000 (16:08 +0000)]
use cp -f when copying unix2nt_*

12 years agoaddition by Gregory Crosswhite
Abhinav Bhatele [Thu, 22 Jan 2009 14:40:18 +0000 (14:40 +0000)]
addition by Gregory Crosswhite

12 years agopatch sent by Gregory Crosswhite
Abhinav Bhatele [Thu, 22 Jan 2009 14:38:04 +0000 (14:38 +0000)]
patch sent by Gregory Crosswhite

12 years agofixed for VC++
Gengbin Zheng [Thu, 22 Jan 2009 06:32:05 +0000 (06:32 +0000)]
fixed for VC++

12 years agofixed for VC++
Gengbin Zheng [Thu, 22 Jan 2009 06:21:21 +0000 (06:21 +0000)]
fixed for VC++

12 years agoskip cputopology for windows
Gengbin Zheng [Thu, 22 Jan 2009 06:12:29 +0000 (06:12 +0000)]
skip cputopology for windows

12 years agomoved bigsim outofcore variable into extern "C".
Gengbin Zheng [Thu, 22 Jan 2009 06:00:03 +0000 (06:00 +0000)]
moved bigsim outofcore variable into extern "C".

12 years agofixed out-of-core changes for VC++
Gengbin Zheng [Thu, 22 Jan 2009 05:48:14 +0000 (05:48 +0000)]
fixed out-of-core changes for VC++

12 years agochanged clean target so it won't fail in the absense of a build dir
Aaron Becker [Wed, 21 Jan 2009 22:56:31 +0000 (22:56 +0000)]
changed clean target so it won't fail in the absense of a build dir

12 years agoupdated cuda section for cohesive elements
Aaron Becker [Wed, 21 Jan 2009 22:56:21 +0000 (22:56 +0000)]
updated cuda section for cohesive elements

12 years agofixed a VC++ compiler error
Gengbin Zheng [Wed, 21 Jan 2009 20:22:50 +0000 (20:22 +0000)]
fixed a VC++ compiler error

12 years agoupdated environment vars to the latest VC++ 9
Gengbin Zheng [Wed, 21 Jan 2009 20:21:19 +0000 (20:21 +0000)]
updated environment vars to the latest VC++ 9

12 years agotraceBeging and traceEnd is changed to empty function when CMK_OPTIMIZE is defined
Gengbin Zheng [Wed, 21 Jan 2009 16:24:13 +0000 (16:24 +0000)]
traceBeging and traceEnd is changed to empty function when CMK_OPTIMIZE is defined

12 years agoremoved a debug print
Gengbin Zheng [Wed, 21 Jan 2009 07:39:17 +0000 (07:39 +0000)]
removed a debug print

12 years agofixed a subtle bug with +isomalloc_sync in SMP when CmiBarrier has been changed to...
Gengbin Zheng [Wed, 21 Jan 2009 07:38:27 +0000 (07:38 +0000)]
fixed a subtle bug with +isomalloc_sync in SMP when CmiBarrier has been changed to the scheme that comm thread does barrier. Whenever CmiBarrier is invoked, make sure all other ranks also invoke CmiBarrier, otherwise it may be out of sync.

12 years agoadd a CmiNodeAllBarrier before CmiBarrier comm thread calling MPI_Barrier.
Gengbin Zheng [Wed, 21 Jan 2009 07:26:29 +0000 (07:26 +0000)]
add a CmiNodeAllBarrier before CmiBarrier comm thread calling MPI_Barrier.
This is important because otherwise it will run into the situation that all comm threads reach barrier, while compute threads are not ready yet.

12 years agofor MPI/SMP, make main thread as the communication thread. This seems to conform...
Gengbin Zheng [Wed, 21 Jan 2009 05:02:28 +0000 (05:02 +0000)]
for MPI/SMP, make main thread as the communication thread. This seems to conform to the standard, and make subtle hangup (in Iprobe and Isend) go away.

12 years agoCmiBarrier makes sure only comm thread calls MPI_Barrier() - the current MPI multithr...
Gengbin Zheng [Wed, 21 Jan 2009 03:57:07 +0000 (03:57 +0000)]
CmiBarrier makes sure only comm thread calls MPI_Barrier() - the current MPI multithreaded model only support main thread making MPI calls.

12 years agoAdded new charmdebug memory library build to use the GNU hooks
Filippo Gioachin [Tue, 20 Jan 2009 22:57:37 +0000 (22:57 +0000)]
Added new charmdebug memory library build to use the GNU hooks

12 years agodisable AMPI chpt for now
Gengbin Zheng [Tue, 20 Jan 2009 20:07:04 +0000 (20:07 +0000)]
disable AMPI chpt for now

12 years agomake gdata local to each bg node
Gengbin Zheng [Tue, 20 Jan 2009 17:35:45 +0000 (17:35 +0000)]
make gdata local to each bg node

12 years agofixed a bug where in SMP version, only rank 0 checks and take away +CmiNoProcForComTh...
Gengbin Zheng [Tue, 20 Jan 2009 17:33:27 +0000 (17:33 +0000)]
fixed a bug where in SMP version, only rank 0 checks and take away +CmiNoProcForComThread parameters, which makes the total number of command line arguments inc
onsistent across all ranks

12 years agomaking CCS available on Cray XT4
Filippo Gioachin [Tue, 20 Jan 2009 00:15:03 +0000 (00:15 +0000)]
making CCS available on Cray XT4

12 years agoFix by Isaac to pgi compiler problem
Filippo Gioachin [Tue, 20 Jan 2009 00:14:13 +0000 (00:14 +0000)]
Fix by Isaac to pgi compiler problem

12 years agoAdded a new VP stack usage function called ampiCurrentStackUsage()
Isaac Dooley [Thu, 15 Jan 2009 22:17:58 +0000 (22:17 +0000)]
Added a new VP stack usage function called ampiCurrentStackUsage()

12 years agochange the macro to use the existing CMK_MACOSX
Gengbin Zheng [Thu, 15 Jan 2009 18:53:32 +0000 (18:53 +0000)]
change the macro to use the existing CMK_MACOSX

12 years agomake the previous fix for mac only since it broke 32 bit linux
Gengbin Zheng [Thu, 15 Jan 2009 18:52:28 +0000 (18:52 +0000)]
make the previous fix for mac only since it broke 32 bit linux

12 years ago64bit fix for darwin
Eric Bohm [Thu, 15 Jan 2009 00:49:11 +0000 (00:49 +0000)]
64bit fix for darwin

12 years agosmall tweak of isomalloc region checking to make it work on Mac (sydney.ks) again.
Gengbin Zheng [Wed, 14 Jan 2009 21:17:25 +0000 (21:17 +0000)]
small tweak of isomalloc region checking to make it work on Mac (sydney.ks) again.

12 years agofix for broken CMK_OPTIMIZE compilation. Need to undefine the methods before
Filippo Gioachin [Wed, 14 Jan 2009 05:33:17 +0000 (05:33 +0000)]
fix for broken CMK_OPTIMIZE compilation. Need to undefine the methods before
redefining them

12 years agoinherit ComlibManagerMain from Chare since it is defined as a mainchare.
Gengbin Zheng [Tue, 13 Jan 2009 20:20:35 +0000 (20:20 +0000)]
inherit ComlibManagerMain from Chare since it is defined as a mainchare.

12 years agoclean up AMPI so that it does not even link with comlib (as default). A few changes...
Gengbin Zheng [Tue, 13 Jan 2009 20:18:39 +0000 (20:18 +0000)]
clean up AMPI so that it does not even link with comlib (as default). A few changes to source so that comlib is completely #if out when AMPI_COMLIB is not defined.

12 years agoQuiet constness warnings about string constants passed to REGISTER_LANGUAGE.
Phil Miller [Tue, 13 Jan 2009 18:30:48 +0000 (18:30 +0000)]
Quiet constness warnings about string constants passed to REGISTER_LANGUAGE.

12 years agofixed a debug statement
Gengbin Zheng [Tue, 13 Jan 2009 17:24:29 +0000 (17:24 +0000)]
fixed a debug statement

12 years agowhen isomalloc_sync, prints the isomalloc region
Gengbin Zheng [Tue, 13 Jan 2009 16:23:34 +0000 (16:23 +0000)]
when isomalloc_sync, prints the isomalloc region

12 years agooptimized _expectedLoad array in LBLastInfo (which stores cpu load from last load...
Gengbin Zheng [Tue, 13 Jan 2009 07:42:30 +0000 (07:42 +0000)]
optimized _expectedLoad array in LBLastInfo (which stores cpu load from last load balancing). It is now only one copy per physical node

12 years agochange the order of freeing arrays in arrInfo::distrib, so that it is a little garbag...
Gengbin Zheng [Tue, 13 Jan 2009 07:39:04 +0000 (07:39 +0000)]
change the order of freeing arrays in arrInfo::distrib, so that it is a little garbage collection friendly

12 years agomade a comment for initnode call for bigsim
Gengbin Zheng [Tue, 13 Jan 2009 07:35:46 +0000 (07:35 +0000)]
made a comment for initnode call for bigsim

12 years agoFor bigsim, uses BlockMap instead of PropMap which has P^2 memory usage.
Gengbin Zheng [Tue, 13 Jan 2009 07:34:54 +0000 (07:34 +0000)]
For bigsim, uses BlockMap instead of PropMap which has P^2 memory usage.

12 years agoreduced the initial size of LBComm table for bigsim so that it uses less memory.
Gengbin Zheng [Tue, 13 Jan 2009 07:33:31 +0000 (07:33 +0000)]
reduced the initial size of LBComm table for bigsim so that it uses less memory.

12 years agoAdded ability for trace summary to use CCS to stream performance data to
Chee Wai Lee [Tue, 13 Jan 2009 01:37:14 +0000 (01:37 +0000)]
Added ability for trace summary to use CCS to stream performance data to
an external client via the +sumCCS runtime option. Current changes are
not production-quality (many assumptions made for CCS capabilities and
summary data collection) but should not impact non-CCS runs making use of
summary, sumonly or sumdetail.

12 years agoremoved expanded array indices for world comm, which may explode memory when vp is...
Gengbin Zheng [Fri, 9 Jan 2009 15:46:25 +0000 (15:46 +0000)]
removed expanded array indices for world comm, which may explode memory when vp is high

12 years agoremoved duplicated ALIGN8 definition
Gengbin Zheng [Fri, 9 Jan 2009 04:25:08 +0000 (04:25 +0000)]
removed duplicated ALIGN8 definition

12 years agochanged ALIGN8 to return size_t
Gengbin Zheng [Fri, 9 Jan 2009 04:24:13 +0000 (04:24 +0000)]
changed ALIGN8 to return size_t

12 years agochanged int offsets to size_t to allow very big varsize messages
Gengbin Zheng [Fri, 9 Jan 2009 04:01:05 +0000 (04:01 +0000)]
changed int offsets to size_t to allow very big varsize messages

12 years agoadd static to c inline
Gengbin Zheng [Thu, 8 Jan 2009 20:05:59 +0000 (20:05 +0000)]
add static to c inline

12 years agoadded static to C inline
Gengbin Zheng [Thu, 8 Jan 2009 20:04:43 +0000 (20:04 +0000)]
added static to C inline

12 years agoAdded missing nul terminator at the end of C++ namespace.
Orion Lawlor [Wed, 7 Jan 2009 23:19:42 +0000 (23:19 +0000)]
Added missing nul terminator at the end of C++ namespace.

This was causing bogus crap to show up in a few entry methods in
the NASA ResolutionServer's "ResolutionServer.ci".

12 years agoadded trace-common.h to CVHEADER list
Gengbin Zheng [Wed, 7 Jan 2009 04:45:48 +0000 (04:45 +0000)]
added trace-common.h to CVHEADER list

12 years agodownload instructions, credits
Pritish Jetley [Tue, 6 Jan 2009 20:21:18 +0000 (20:21 +0000)]
download instructions, credits

12 years agoRolling back to the version just before the check-ins of bigsim ooc related changes...
Chao Mei [Fri, 2 Jan 2009 10:41:37 +0000 (10:41 +0000)]
Rolling back to the version just before the check-ins of bigsim ooc related changes due to some problems of fem programs.

12 years agoRolling back to the version just before the check-ins of bigsim ooc related changes...
Chao Mei [Fri, 2 Jan 2009 10:33:47 +0000 (10:33 +0000)]
Rolling back to the version just before the check-ins of bigsim ooc related changes due to some problems of fem programs.

12 years agoA temporary solution to the linking errors for standalone bigsim emulator programs.
Chao Mei [Fri, 2 Jan 2009 10:30:08 +0000 (10:30 +0000)]
A temporary solution to the linking errors for standalone bigsim emulator programs.

12 years agoFixed the bug caused by the check-ins of out-of-core emulation in BigSim.
Chao Mei [Wed, 31 Dec 2008 17:49:32 +0000 (17:49 +0000)]
Fixed the bug caused by the check-ins of out-of-core emulation in BigSim.

12 years agofixed the broken file after Chao's last checkin
Gengbin Zheng [Wed, 31 Dec 2008 03:34:21 +0000 (03:34 +0000)]
fixed the broken file after Chao's last checkin

12 years agoChanges for out-of-core emulation in BigSim.
Chao Mei [Tue, 30 Dec 2008 16:59:48 +0000 (16:59 +0000)]
Changes for out-of-core emulation in BigSim.

12 years agoChanges for out-of-core emulation in BigSim. Details could be referred to Chao Mei...
Chao Mei [Tue, 30 Dec 2008 16:55:29 +0000 (16:55 +0000)]
Changes for out-of-core emulation in BigSim. Details could be referred to  Chao Mei's TMS entry.

12 years agoAdded more debugging information for debugging the implementation of out-of-core...
Chao Mei [Tue, 30 Dec 2008 16:53:34 +0000 (16:53 +0000)]
Added more debugging information for debugging the implementation of out-of-core emulation in BigSim.

12 years agoAdded a function to free all entries in CmmTable which is used in the implemetation...
Chao Mei [Tue, 30 Dec 2008 16:51:35 +0000 (16:51 +0000)]
Added a function to free all entries in CmmTable which is used in the implemetation of out-of-core emulation in BigSim.

12 years agoMore debug information is added for the out-of-core emulation in BigSim.
Chao Mei [Tue, 30 Dec 2008 16:49:41 +0000 (16:49 +0000)]
More debug information is added for the out-of-core emulation in BigSim.

12 years agoChanges for out-of-core emulation in BigSim. The most changed part is in the function...
Chao Mei [Tue, 30 Dec 2008 16:48:30 +0000 (16:48 +0000)]
Changes for out-of-core emulation in BigSim. The most changed part is in the function of pupping a thread.

12 years agoAdded global runtime variables indicating the state of out-of-core emulation in...
Chao Mei [Tue, 30 Dec 2008 16:46:15 +0000 (16:46 +0000)]
Added  global runtime variables indicating the state of out-of-core emulation in BigSim, and functions for debugging thread's implementation.

12 years agoChanges for out-of-core emulation in BigSim. Reasons could be referred to Chao Mei...
Chao Mei [Tue, 30 Dec 2008 16:43:09 +0000 (16:43 +0000)]
Changes for out-of-core emulation in BigSim. Reasons could be referred to Chao Mei's TMS entry.

12 years agoChanges for out-of-core emulation in BigSim. There is one change to be noticed that...
Chao Mei [Tue, 30 Dec 2008 16:41:21 +0000 (16:41 +0000)]
Changes for out-of-core emulation in BigSim. There is one change to be noticed that now there is a global barrier after AMPI_Init() (implemented by a global reduction). After this barrier the out-of-core feature will be turned on if a MPI program is emulated. The details could be referred to Chao Mei's TMS entry.

12 years agoChanges for out-of-core emulation in BigSim.
Chao Mei [Tue, 30 Dec 2008 16:32:29 +0000 (16:32 +0000)]
Changes for out-of-core emulation in BigSim.

12 years agoImplementation of out-of-core emulation for bigsim emulator. The "+bgooc" option...
Chao Mei [Tue, 30 Dec 2008 16:28:05 +0000 (16:28 +0000)]
Implementation of out-of-core emulation for bigsim emulator. The "+bgooc" option is to enable this support. The default out-of-core scheme is only allowing a fixed number of target processors in memory.

12 years agoAdding support for cputopology on bluegene/l.
Sameer Kumar [Mon, 29 Dec 2008 15:49:46 +0000 (15:49 +0000)]
Adding support for cputopology on bluegene/l.

12 years agoremove -lexpat
Gengbin Zheng [Fri, 26 Dec 2008 18:15:14 +0000 (18:15 +0000)]
remove -lexpat

12 years agoa minor optimization to avoid calling CkpvAccess(_coreState) multiple times when...
Gengbin Zheng [Wed, 24 Dec 2008 09:38:15 +0000 (09:38 +0000)]
a minor optimization to avoid calling CkpvAccess(_coreState) multiple times when handling bufferred messages

12 years agoMore accurate node id on BGP.
Sameer Kumar [Tue, 23 Dec 2008 16:44:29 +0000 (16:44 +0000)]
More accurate node id on BGP.

12 years agoAdded info about -winsize.
Ryan Mokos [Tue, 23 Dec 2008 00:12:46 +0000 (00:12 +0000)]
Added info about -winsize.

12 years agoCant find skt_my_ip on BG and returning DCMF_Messager_rank() instead. Havent changed...
Sameer Kumar [Mon, 22 Dec 2008 23:45:58 +0000 (23:45 +0000)]
Cant find skt_my_ip on BG and returning DCMF_Messager_rank() instead. Havent changed MPI version, hopefully those are not affected.

12 years agoUpdates for xl compiler and V1R3.
Sameer Kumar [Mon, 22 Dec 2008 20:54:54 +0000 (20:54 +0000)]
Updates for xl compiler and V1R3.

12 years agoClarified some comments.
Lukasz Wesolowski [Fri, 19 Dec 2008 22:52:33 +0000 (22:52 +0000)]
Clarified some comments.

12 years agofixed CBaseT template parameters for scoped derived classes
Aaron Becker [Fri, 19 Dec 2008 20:16:58 +0000 (20:16 +0000)]
fixed CBaseT template parameters for scoped derived classes

12 years agoRe-introduced scoped names, with fix for scoped sync method return types
Aaron Becker [Fri, 19 Dec 2008 20:09:25 +0000 (20:09 +0000)]
Re-introduced scoped names, with fix for scoped sync method return types

12 years agoRevert Aaron's namespace support work in charmxi, as it breaks the build
Phil Miller [Fri, 19 Dec 2008 19:38:17 +0000 (19:38 +0000)]
Revert Aaron's namespace support work in charmxi, as it breaks the build

12 years agoImplemented pre-allocation of data for subsequent work request to allow
Lukasz Wesolowski [Fri, 19 Dec 2008 19:10:19 +0000 (19:10 +0000)]
Implemented pre-allocation of data for subsequent work request to allow
overlap of the work request's data transfer with current kernel's execution

12 years agoRolling back part of previous checkin. I had accidentally enabled the critical path...
Isaac Dooley [Thu, 18 Dec 2008 22:26:10 +0000 (22:26 +0000)]
Rolling back part of previous checkin. I had accidentally enabled the critical path detection.