charm.git
15 years agoInclude ckvector3d.h so that the user doesn't have to.
Aaron Becker [Wed, 25 Jan 2006 21:30:38 +0000 (21:30 +0000)]
Include ckvector3d.h so that the user doesn't have to.

15 years agoFixed a data type bug.
Isaac Dooley [Wed, 25 Jan 2006 19:32:24 +0000 (19:32 +0000)]
Fixed a data type bug.

15 years agohandle a special case when context.uc_mcontext.fpregs is NULL in packing ucontext.
Gengbin Zheng [Tue, 24 Jan 2006 19:41:44 +0000 (19:41 +0000)]
handle a special case when context.uc_mcontext.fpregs is NULL in packing ucontext.

15 years agoadded back rule for "all"
Gengbin Zheng [Mon, 23 Jan 2006 08:47:40 +0000 (08:47 +0000)]
added back rule for "all"

15 years agofixed makefile so that it won't keep recompiling for every make.
Gengbin Zheng [Mon, 23 Jan 2006 08:41:35 +0000 (08:41 +0000)]
fixed makefile so that it won't keep recompiling for every make.

15 years agoarrange message fields so that CMK_MSG_HEADER_BASIC and CMK_MSG_HEADER_EXT has consis...
Gengbin Zheng [Mon, 23 Jan 2006 08:11:32 +0000 (08:11 +0000)]
arrange message fields so that CMK_MSG_HEADER_BASIC and CMK_MSG_HEADER_EXT has consistent field sequence.

15 years agosubtle: when creating buddy entries for double inmem checkpoint, the error checking...
Gengbin Zheng [Mon, 23 Jan 2006 07:18:03 +0000 (07:18 +0000)]
subtle: when creating buddy entries for double inmem checkpoint, the error checking for duplicated entries can be error prone for a special case - in case of multiple array inheritance. The arrayElement constructor of multiple superclasses are called for one actual array element.

15 years agofixed bluegene msg header
Gengbin Zheng [Mon, 23 Jan 2006 07:15:03 +0000 (07:15 +0000)]
fixed bluegene msg header

15 years agoAdded ++disable_regcache command-line option which will set
Greg Koenig [Mon, 23 Jan 2006 06:24:55 +0000 (06:24 +0000)]
Added ++disable_regcache command-line option which will set
VMI_DISABLE_REGCACHE=1 in the job script.  This disables the VMI
cache manager, which could be used as a last-resort method of
allowing compatibility between Isomalloc and VMI at a significant
cost in performance.

15 years agochanges for mx
Gengbin Zheng [Mon, 23 Jan 2006 02:07:10 +0000 (02:07 +0000)]
changes for mx

15 years agodisable LB reduction tree for inmem checkpoint.
Gengbin Zheng [Sun, 22 Jan 2006 20:58:12 +0000 (20:58 +0000)]
disable LB reduction tree for inmem checkpoint.

15 years agoin destructor of ampi, CmmFree msg table will fail in restarting from checkpoint...
Gengbin Zheng [Sun, 22 Jan 2006 20:25:12 +0000 (20:25 +0000)]
in destructor of ampi, CmmFree msg table will fail in restarting from checkpoint. Manually remove all messages from the table in this case.

15 years agowhen start a new ssh process with debugger, don't wait for the ssh exit which will...
Gengbin Zheng [Sun, 22 Jan 2006 20:22:11 +0000 (20:22 +0000)]
when start a new ssh process with debugger, don't wait for the ssh exit which will never do, so the program may hang after restart from checkpoint.

15 years agoWhen flushing state for CkArrayBroadcaster, set bcastNo to 0 instead of -1.
Gengbin Zheng [Sun, 22 Jan 2006 20:07:19 +0000 (20:07 +0000)]
When flushing state for CkArrayBroadcaster, set bcastNo to 0 instead of -1.
This was a bug exposed by my ealier fix in trying to avoid duplicated delivering of broadcast messages.

15 years agofixed a typo which only causes error when not using reduction for receiving lb stats
Gengbin Zheng [Sun, 22 Jan 2006 08:04:46 +0000 (08:04 +0000)]
fixed a typo which only causes error when not using reduction for receiving lb stats

15 years agovirtual destructor for super class
Gengbin Zheng [Sun, 22 Jan 2006 06:26:19 +0000 (06:26 +0000)]
virtual destructor for super class

15 years agoAdded CMI_VMI_TERMINATE_VMI_HACK flag.
Greg Koenig [Sun, 22 Jan 2006 04:14:56 +0000 (04:14 +0000)]
Added CMI_VMI_TERMINATE_VMI_HACK flag.

15 years agomore accurate make dependency for parallel make
Gengbin Zheng [Sat, 21 Jan 2006 09:11:25 +0000 (09:11 +0000)]
more accurate make dependency for parallel make

15 years agofor gcc 32 bit.
Gengbin Zheng [Sat, 21 Jan 2006 09:10:05 +0000 (09:10 +0000)]
for gcc 32 bit.

15 years agoadded pose command line section
Eric Bohm [Fri, 20 Jan 2006 22:11:13 +0000 (22:11 +0000)]
added pose command line section

15 years agoAdd +crit_post POSE command line option to enable the critical path
Eric Bohm [Fri, 20 Jan 2006 21:34:14 +0000 (21:34 +0000)]
Add +crit_post POSE command line option to enable the critical path
degree of parallelism post processing analsys.  This supercedes the
old #define POSE_DOP_ON which is used  as the default value for this
parameter.  Default is off.

15 years agoconfig for mx.
Gengbin Zheng [Fri, 20 Jan 2006 21:10:42 +0000 (21:10 +0000)]
config for mx.

15 years agoenabling other pose command line options
Eric Bohm [Fri, 20 Jan 2006 20:37:30 +0000 (20:37 +0000)]
enabling other pose command line options

15 years agoNow supports the +stats_pose command line parameter to get timing
Eric Bohm [Fri, 20 Jan 2006 04:28:39 +0000 (04:28 +0000)]
Now supports the +stats_pose command line parameter to get timing
statistics from the POSE PDES engine.

Includes infrastructure to support a variety of other pose flags
which have not yet been implemented.

15 years agochanged wording of log message
Greg Koenig [Thu, 19 Jan 2006 22:35:48 +0000 (22:35 +0000)]
changed wording of log message

15 years agoChanged default timer used by all VMI implementations to GETRUSAGE as per
Greg Koenig [Thu, 19 Jan 2006 21:36:46 +0000 (21:36 +0000)]
Changed default timer used by all VMI implementations to GETRUSAGE as per
discussion in January 19, 2006 Core meeting.

15 years ago*** empty log message ***
Chao Huang [Thu, 19 Jan 2006 17:48:21 +0000 (17:48 +0000)]
*** empty log message ***

15 years agoreverted a change (checked in mistakenly)
Gengbin Zheng [Thu, 19 Jan 2006 15:24:09 +0000 (15:24 +0000)]
reverted a change (checked in mistakenly)

15 years agostrict test if fpregset_t and struct _libc_fpstate exist in ucontext.
Gengbin Zheng [Thu, 19 Jan 2006 07:13:10 +0000 (07:13 +0000)]
strict test if fpregset_t and struct _libc_fpstate exist in ucontext.

15 years agoadded command line option ++ssh-display, which tells each spawned ssh to use its...
Gengbin Zheng [Wed, 18 Jan 2006 20:53:34 +0000 (20:53 +0000)]
added command line option ++ssh-display, which tells each spawned ssh to use its own DISLAY instead of copying console DISPLAY

15 years ago*** empty log message ***
Chao Huang [Wed, 18 Jan 2006 17:15:23 +0000 (17:15 +0000)]
*** empty log message ***

15 years agoChanged default installation directory for VMI to /usr/local/vmi-2.1.0-1-gcc
Greg Koenig [Wed, 18 Jan 2006 08:24:35 +0000 (08:24 +0000)]
Changed default installation directory for VMI to /usr/local/vmi-2.1.0-1-gcc
which is the default location on Tungsten.

15 years agoChanged default location for VMI 2.1 installation files to be
Greg Koenig [Wed, 18 Jan 2006 08:01:26 +0000 (08:01 +0000)]
Changed default location for VMI 2.1 installation files to be
/opt/vmi-2.1.0-1-gcc (the install directory on TeraGrid).

15 years agospelling error in a comment
Greg Koenig [Wed, 18 Jan 2006 07:04:59 +0000 (07:04 +0000)]
spelling error in a comment

15 years agoadded comment about must having -mt link time compiler flag in order for Sun to work...
Gengbin Zheng [Wed, 18 Jan 2006 06:58:09 +0000 (06:58 +0000)]
added comment about must having -mt link time compiler flag in order for Sun to work wit pthreads.

15 years agoAdded charmgrid.py program for launching jobs in a Grid computing
Greg Koenig [Wed, 18 Jan 2006 02:09:54 +0000 (02:09 +0000)]
Added charmgrid.py program for launching jobs in a Grid computing
environment.

15 years agoAdded Python code for VMI Grid computing CRM.
Greg Koenig [Wed, 18 Jan 2006 01:07:15 +0000 (01:07 +0000)]
Added Python code for VMI Grid computing CRM.

15 years agodefine CMK_OSF1
Gengbin Zheng [Tue, 17 Jan 2006 23:00:47 +0000 (23:00 +0000)]
define CMK_OSF1

15 years agochoose a working memory alias address for alpha
Gengbin Zheng [Tue, 17 Jan 2006 23:00:00 +0000 (23:00 +0000)]
choose a working memory alias address for alpha

15 years agofor aix, needs to munmap the memory alias stack before map a new one to the same
Gengbin Zheng [Tue, 17 Jan 2006 22:27:09 +0000 (22:27 +0000)]
for aix, needs to munmap the memory alias stack before map a new one to the same
 location.

15 years agofixed a typo
Gengbin Zheng [Tue, 17 Jan 2006 22:23:14 +0000 (22:23 +0000)]
fixed a typo

15 years agodefine CMK_AIX
Gengbin Zheng [Tue, 17 Jan 2006 22:21:50 +0000 (22:21 +0000)]
define CMK_AIX

15 years agovmi-linux machine layer now speaks the charmrun protocol.
Greg Koenig [Tue, 17 Jan 2006 21:36:12 +0000 (21:36 +0000)]
vmi-linux machine layer now speaks the charmrun protocol.
Modified charmrun.c so that it expects vmi-linux to call back to charmrun
and send stdout/stderr output to the charmrun terminal I/O socket.

15 years agofixed a lot of minor errors
Abhinav Bhatele [Tue, 17 Jan 2006 21:12:23 +0000 (21:12 +0000)]
fixed a lot of minor errors

15 years agofixed puper of ucontext, a machine dependent structure fpregset_t is a pointer, pup...
Gengbin Zheng [Tue, 17 Jan 2006 17:25:20 +0000 (17:25 +0000)]
fixed puper of ucontext, a machine dependent structure fpregset_t is a pointer, pup its content instead.

15 years agouse long integer for alloca for 64 bit machines like opteron.
Gengbin Zheng [Tue, 17 Jan 2006 16:52:15 +0000 (16:52 +0000)]
use long integer for alloca for 64 bit machines like opteron.

15 years agoclear ulink for uJcontext after migration.
Gengbin Zheng [Tue, 17 Jan 2006 05:21:05 +0000 (05:21 +0000)]
clear ulink for uJcontext after migration.

15 years agofixed couple syntax errors for win32
Gengbin Zheng [Mon, 16 Jan 2006 18:52:19 +0000 (18:52 +0000)]
fixed couple syntax errors for win32

15 years agoauto check if ucontext has fpu register as pointer.
Gengbin Zheng [Mon, 16 Jan 2006 07:11:30 +0000 (07:11 +0000)]
auto check if ucontext has fpu register as pointer.

15 years agomake context thread migratable for ia32. ucontext data structure has an pointer for...
Gengbin Zheng [Mon, 16 Jan 2006 06:59:59 +0000 (06:59 +0000)]
make context thread migratable for ia32. ucontext data structure has an pointer for saving FPU registers which prevented context threads from migration. Fixed by explitily pup the fpu registers.

15 years agocosmetics
Gengbin Zheng [Mon, 16 Jan 2006 05:21:03 +0000 (05:21 +0000)]
cosmetics

15 years agochose proper mmap address for memoryalias thread for ia64 (64bit address)
Gengbin Zheng [Mon, 16 Jan 2006 05:18:39 +0000 (05:18 +0000)]
chose proper mmap address for memoryalias thread for ia64 (64bit address)

15 years agoupdated alias macro
Gengbin Zheng [Sun, 15 Jan 2006 18:12:11 +0000 (18:12 +0000)]
updated alias macro

15 years agobuild various versions of memoryalias threads.o
Gengbin Zheng [Sun, 15 Jan 2006 18:08:50 +0000 (18:08 +0000)]
build various versions of memoryalias threads.o

15 years agosplit alias flag macro so that it works for context thread, etc
Gengbin Zheng [Sun, 15 Jan 2006 18:08:17 +0000 (18:08 +0000)]
split alias flag macro so that it works for context thread, etc

15 years agoin thread pup for memoryalias thread implementation, pup stack using nonmigratable...
Gengbin Zheng [Sun, 15 Jan 2006 08:47:16 +0000 (08:47 +0000)]
in thread pup for memoryalias thread implementation, pup stack using nonmigratable stack (ie. non-isomalloc) since it is not necessary, and allow test for non-isomalloc implementation.

15 years agoa place holder for new GM library (renamed to mx)
Gengbin Zheng [Fri, 13 Jan 2006 20:24:46 +0000 (20:24 +0000)]
a place holder for new GM library (renamed to mx)

15 years agodisabled memory pool for AMPI testing
Greg Koenig [Fri, 13 Jan 2006 09:37:23 +0000 (09:37 +0000)]
disabled memory pool for AMPI testing
fixed bug in CMI_VMI_CmiFree() for non-memory-pool implementation where some
 variables were not declared

15 years ago*** empty log message ***
Chao Huang [Fri, 13 Jan 2006 06:46:15 +0000 (06:46 +0000)]
*** empty log message ***

15 years agoDraft of manuals. Will make it part of the official documentations.
Chao Huang [Fri, 13 Jan 2006 06:33:01 +0000 (06:33 +0000)]
Draft of manuals. Will make it part of the official documentations.

15 years agoAdded Migrate, AsyncMigrate, Checkpoint, MemCheckpoint capability for ARMCI
Chao Huang [Fri, 13 Jan 2006 06:32:23 +0000 (06:32 +0000)]
Added Migrate, AsyncMigrate, Checkpoint, MemCheckpoint capability for ARMCI

15 years agoin case thread is qt with memory alias, (which is not isomalloc) skip the error check...
Gengbin Zheng [Fri, 13 Jan 2006 05:08:24 +0000 (05:08 +0000)]
in case thread is qt with memory alias, (which is not isomalloc) skip the error checking of isomalloc address in checkAddress().

15 years agodefined a function CmiThreadIs() which tells which thread package is using.
Gengbin Zheng [Fri, 13 Jan 2006 05:07:09 +0000 (05:07 +0000)]
defined a function CmiThreadIs() which tells which thread package is using.

15 years agoBug fixes
Chao Huang [Thu, 12 Jan 2006 23:02:11 +0000 (23:02 +0000)]
Bug fixes

15 years agoFixed a couple of bugs, added same-processor operation detection
Chao Huang [Thu, 12 Jan 2006 20:54:38 +0000 (20:54 +0000)]
Fixed a couple of bugs, added same-processor operation detection

15 years agoThis is an ENORMOUS change to the vmi-linux machine layer:
Greg Koenig [Thu, 12 Jan 2006 20:43:42 +0000 (20:43 +0000)]
This is an ENORMOUS change to the vmi-linux machine layer:

* eleiminates all VMI 2.0 compatibility (now requires VMI 2.1+)
* replaces rendezvous protocol for RDMA with RDMA Get
* fixes a race condition in shutdown (i.e., we now terminate VMI properly)
* eliminates an extra barrier during startup
* provides support for starting the code via charmrun as well as "charmgrid"
* connection opening during startup is much more robust (error recovery)
* eliminated a poor implementation of Gengbin's persistent handles for one
  that uses eager protocol
* created an eager short protocol in which RDMA Put goes into a slotted
  buffer (this is very fast on InfiniBand, and faster or no worse on Myrinet)
* created an eager long protocol in which RDMA Put goes into a pre-allocated
  buffer on the receiver that is delivered via interrupt

Many of these changes are a result of messaging sub-group discussions over
the summer, and are useful for Grid work because they reduce the number of
back-and-forth rendezvous setup messages needed and because they push a
lot of RDMA work onto the NIC.

15 years agoAdded build ARMCI target
Chao Huang [Thu, 12 Jan 2006 00:07:17 +0000 (00:07 +0000)]
Added build ARMCI target

15 years ago*** empty log message ***
Chao Huang [Wed, 11 Jan 2006 23:10:34 +0000 (23:10 +0000)]
*** empty log message ***

15 years agonotify and notify_wait work now.
Chao Huang [Wed, 11 Jan 2006 05:42:43 +0000 (05:42 +0000)]
notify and notify_wait work now.

15 years agocontiguous and strided get/put works now, nbs don't.
Chao Huang [Tue, 10 Jan 2006 23:58:07 +0000 (23:58 +0000)]
contiguous and strided get/put works now, nbs don't.

15 years agoturned off rdtsc due to TSC-drift for amd. Hs to trust os timer.
Gengbin Zheng [Tue, 10 Jan 2006 16:38:04 +0000 (16:38 +0000)]
turned off rdtsc due to TSC-drift for amd. Hs to trust os timer.

15 years agoturned off rdtsc
Gengbin Zheng [Tue, 10 Jan 2006 16:36:35 +0000 (16:36 +0000)]
turned off rdtsc

15 years agoanother CDECL => FDECL
Gengbin Zheng [Mon, 9 Jan 2006 06:25:33 +0000 (06:25 +0000)]
another CDECL => FDECL

15 years agochanged CDECL to FDECL for a fortran function.
Gengbin Zheng [Mon, 9 Jan 2006 06:12:41 +0000 (06:12 +0000)]
changed CDECL to FDECL for a fortran function.

15 years agoupdated for supporting 64 bit.
Gengbin Zheng [Mon, 9 Jan 2006 05:15:05 +0000 (05:15 +0000)]
updated for supporting 64 bit.

15 years agoInterface change for projections support for AMPI.
Chao Mei [Mon, 9 Jan 2006 01:05:29 +0000 (01:05 +0000)]
Interface change for projections support for AMPI.
Now application developer can associate a specific integer identifer with a function which is previously specified by charm runtime.

15 years agoInterface change for projections support for AMPI. Now application developer can...
Chao Mei [Mon, 9 Jan 2006 01:03:55 +0000 (01:03 +0000)]
Interface change for projections support for AMPI. Now application developer can associate a specific integer identifier with a function which is previously specified by charm runtime

15 years agoInterface change for projections support for AMPI
Chao Mei [Mon, 9 Jan 2006 01:02:30 +0000 (01:02 +0000)]
Interface change for projections support for AMPI

15 years agoInterface change for projections support for AMPI.
Chao Mei [Mon, 9 Jan 2006 01:02:06 +0000 (01:02 +0000)]
Interface change for projections support for AMPI.

15 years agoInterface change for projections support for AMPI. Now application developer can...
Chao Mei [Mon, 9 Jan 2006 01:01:34 +0000 (01:01 +0000)]
Interface change for projections support for AMPI. Now application developer can associate a specific integer identifier with a function which is previously specified by the charm runtime

15 years agoInterface change for projections support for AMPI. Now application developer can...
Chao Mei [Mon, 9 Jan 2006 01:00:15 +0000 (01:00 +0000)]
Interface change for projections support for AMPI. Now application developer can specify a certain integer identifier to a function which is previously specified by the charm runtime.

15 years agoInterface changes for projections support for AMPI.
Chao Mei [Mon, 9 Jan 2006 00:56:25 +0000 (00:56 +0000)]
Interface changes for projections support for AMPI.
As now it is possible for user (application developer) to specify a certain integer identifier to a user function that is going to be profiled during execution, the interface of traceRegisterFunction is slightly changed.
For backward compatibility, a default value (-999) for the identifier is used when using C++ language.

15 years agormeoved g95 specific runtime initialization calls.
Gengbin Zheng [Sat, 7 Jan 2006 22:44:43 +0000 (22:44 +0000)]
rmeoved g95 specific runtime initialization calls.

15 years agoupdated with setting on turing.
Gengbin Zheng [Sat, 7 Jan 2006 22:19:18 +0000 (22:19 +0000)]
updated with setting on turing.

15 years agofor MacOSX Tiger gcc 64 bit
Gengbin Zheng [Thu, 5 Jan 2006 05:46:56 +0000 (05:46 +0000)]
for MacOSX Tiger gcc 64 bit

15 years agoa _setjmp/_longjmp lightweighted version for mac 64bit.
Gengbin Zheng [Thu, 5 Jan 2006 05:35:59 +0000 (05:35 +0000)]
a _setjmp/_longjmp lightweighted version for mac 64bit.

15 years agofixed a few f90 options.
Gengbin Zheng [Wed, 4 Jan 2006 20:29:34 +0000 (20:29 +0000)]
fixed a few f90 options.

15 years agodefines virtual destructor to fix gcc4 warnings like: warning: ‘class CharismaInPort...
Gengbin Zheng [Wed, 4 Jan 2006 07:31:59 +0000 (07:31 +0000)]
defines virtual destructor to fix gcc4 warnings like: warning: ‘class CharismaInPort’ has virtual functions but non-virtual destructor

15 years agomake __STD_C and __STDC__ consistent
Gengbin Zheng [Mon, 2 Jan 2006 20:46:43 +0000 (20:46 +0000)]
make __STD_C and __STDC__ consistent

15 years agosetting boundary flags correctly, when we do not assume boundary numbers in a sequence
Nilesh Choudhury [Thu, 29 Dec 2005 01:05:05 +0000 (01:05 +0000)]
setting boundary flags correctly, when we do not assume boundary numbers in a sequence

15 years agofixed a compilation bug by added a return for a function.
Gengbin Zheng [Tue, 27 Dec 2005 23:55:48 +0000 (23:55 +0000)]
fixed a compilation bug by added a return for a function.

15 years ago*** empty log message ***
Chao Huang [Mon, 26 Dec 2005 05:26:53 +0000 (05:26 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Chao Huang [Mon, 26 Dec 2005 04:39:02 +0000 (04:39 +0000)]
*** empty log message ***

15 years agostub calls for g95 to initialize fortran runtime when is it C main.
Gengbin Zheng [Sat, 24 Dec 2005 16:55:59 +0000 (16:55 +0000)]
stub calls for g95 to initialize fortran runtime when is it C main.

15 years agoadded -fno-second-underscore to make it conform to what rocstar wants
Gengbin Zheng [Thu, 22 Dec 2005 19:59:34 +0000 (19:59 +0000)]
added -fno-second-underscore to make it conform to what rocstar wants

15 years agoadded -fdollar-ok to allow $ in fortran var name
Gengbin Zheng [Thu, 22 Dec 2005 17:21:11 +0000 (17:21 +0000)]
added -fdollar-ok to allow $ in fortran var name

15 years agofixed ++debug issue with X11 forwarding on FC4, where a xterm can not be pop from...
Gengbin Zheng [Thu, 22 Dec 2005 17:18:00 +0000 (17:18 +0000)]
fixed ++debug issue with X11 forwarding on FC4, where a xterm can not be pop from ssh due to X11 forwarding.
Made 2 changes to make it working:
1.  preserve the DISPLAY in ssh shell, instead copy the DISPLAY from charmrun
2.  do not waitpid when ++debug, it hangs. gdb should skill process anyway at exit

Implemented comptability with g95, set G95_UNBUFFERED_ALL=TRUE environment variable when CMK_G95 is defined. This is to turn off Fortran IO buffering.

15 years agogfortran is not g95, correct this
Gengbin Zheng [Thu, 22 Dec 2005 16:42:12 +0000 (16:42 +0000)]
gfortran is not g95, correct this

15 years agoadded -fpic for f95.
Gengbin Zheng [Wed, 21 Dec 2005 04:04:15 +0000 (04:04 +0000)]
added -fpic for f95.

15 years agoadded -fpic
Gengbin Zheng [Wed, 21 Dec 2005 04:01:57 +0000 (04:01 +0000)]
added -fpic