charm.git
18 years ago64 version for aix that use setjmp64.c.
Gengbin Zheng [Wed, 21 May 2003 15:33:51 +0000 (15:33 +0000)]
64 version for aix that use setjmp64.c.

18 years agofixed C++ syntax in the C program.
Gengbin Zheng [Tue, 20 May 2003 20:40:10 +0000 (20:40 +0000)]
fixed C++ syntax in the C program.

18 years agorefixed the -q64 flag.
Gengbin Zheng [Tue, 20 May 2003 07:06:55 +0000 (07:06 +0000)]
refixed the -q64 flag.

18 years agoneed to change seq compiler also with -64 in order to compile ampi.
Gengbin Zheng [Tue, 20 May 2003 06:54:38 +0000 (06:54 +0000)]
need to change seq compiler also with -64 in order to compile ampi.

18 years agofixed ' to "
Gengbin Zheng [Tue, 20 May 2003 06:32:06 +0000 (06:32 +0000)]
fixed ' to "

18 years agooops change '' to "".
Gengbin Zheng [Tue, 20 May 2003 06:05:54 +0000 (06:05 +0000)]
oops change '' to "".

18 years agoremove -static.
Gengbin Zheng [Tue, 20 May 2003 05:49:06 +0000 (05:49 +0000)]
remove -static.

18 years agofixed vmi directory.
Gengbin Zheng [Tue, 20 May 2003 05:44:55 +0000 (05:44 +0000)]
fixed vmi directory.

18 years agofixed script for deciding vmi path.
Gengbin Zheng [Tue, 20 May 2003 05:42:43 +0000 (05:42 +0000)]
fixed script for deciding vmi path.

18 years agofixed prototype for CthTraceResume().
Gengbin Zheng [Mon, 19 May 2003 21:10:53 +0000 (21:10 +0000)]
fixed prototype for CthTraceResume().

18 years agoFixed the annoying "feature" of generating .logd files for delta formats
Chee Wai Lee [Mon, 19 May 2003 20:45:55 +0000 (20:45 +0000)]
Fixed the annoying "feature" of generating .logd files for delta formats
when Projections is incapable of recognizing that file extension.

Now:
1) If generating only delta encoded files or non-delta encoded files, the
file extension will be ".log"
2) If generating both file types, delta encoded files will have extension
".log" and non-delta encoded files will have extension ".logold"

18 years agoadd <stdlib.h> for malloc. Without malloc prototype in stdlib.h, compiler will assume...
Gengbin Zheng [Mon, 19 May 2003 20:05:25 +0000 (20:05 +0000)]
add <stdlib.h> for malloc. Without malloc prototype in stdlib.h, compiler will assume malloc returns an 32bits int instead of a 64bits pointer on ia64 for example.

18 years agofixed charmc to be able to correctly compile eg. pgms/ampi/Cjacobi3D. The problem...
Gengbin Zheng [Sun, 18 May 2003 06:22:19 +0000 (06:22 +0000)]
fixed charmc to be able to correctly compile eg. pgms/ampi/Cjacobi3D. The problem is that in the case when -lfoo appears for multiple times, the later -lfoo is ignored which may cause unsatisfied symbols linking error. Changed AddList in charmc to AppendList so that the last -lfoo always be used.

18 years agomy commit broke AMPI,fixing that :(
Sameer Kumar [Fri, 16 May 2003 15:30:51 +0000 (15:30 +0000)]
my commit broke AMPI,fixing that :(

18 years agominor change to use MEMCHECK for CMiCopyMsg()
Gengbin Zheng [Fri, 16 May 2003 06:46:47 +0000 (06:46 +0000)]
minor change to use MEMCHECK for CMiCopyMsg()

18 years agoreorginized the code.
Gengbin Zheng [Fri, 16 May 2003 06:45:45 +0000 (06:45 +0000)]
reorginized the code.

18 years agomemory-default.o need to be static linked when shared.
Gengbin Zheng [Fri, 16 May 2003 03:17:52 +0000 (03:17 +0000)]
memory-default.o need to be static linked when shared.

18 years agominor change
Sameer Kumar [Thu, 15 May 2003 23:26:44 +0000 (23:26 +0000)]
minor change

18 years agoLatest version of Communication Library Manual added to the charm++ manual
Sameer Kumar [Thu, 15 May 2003 23:16:59 +0000 (23:16 +0000)]
Latest version of Communication Library Manual added to the charm++ manual

18 years agoNew version with minor bug fixes!
Sameer Kumar [Thu, 15 May 2003 22:42:51 +0000 (22:42 +0000)]
New version with minor bug fixes!

18 years agocomment out debuggings.
Gengbin Zheng [Wed, 14 May 2003 18:42:40 +0000 (18:42 +0000)]
comment out debuggings.

18 years agofxied a bug when DELAY_SEND is used in node level message.
Gengbin Zheng [Wed, 14 May 2003 18:41:47 +0000 (18:41 +0000)]
fxied a bug when DELAY_SEND is used in node level message.

18 years agofixed a problem for priority queue when no worker thread is available - no specific...
Gengbin Zheng [Wed, 14 May 2003 06:08:28 +0000 (06:08 +0000)]
fixed a problem for priority queue when no worker thread is available - no specific thread ID to call CthAwakenPrio, some messages will be left forever unprocessed.

18 years agochanged CmiMyNodeSize to CkMyNodeSize and implemented CkMyNodeSize in middle-blue...
Gengbin Zheng [Wed, 14 May 2003 06:03:16 +0000 (06:03 +0000)]
changed CmiMyNodeSize to CkMyNodeSize and implemented CkMyNodeSize in middle-blue.h. It seems nodegroup reduction now works with BG simulator.

18 years agoConverse Communication library is not not copied up. Only the charm one is.
Sameer Kumar [Tue, 13 May 2003 21:20:52 +0000 (21:20 +0000)]
Converse Communication library is not not copied up. Only the charm one is.

18 years agoAdded a "DELTA" identifier on the header line ("PROJECTIONS-RECORD") of
Chee Wai Lee [Tue, 13 May 2003 04:18:18 +0000 (04:18 +0000)]
Added a "DELTA" identifier on the header line ("PROJECTIONS-RECORD") of
projections log files for delta encoded files only. This allows the
visualization system to independently determine whether to use delta-encoding
upon reading a file.

18 years agoadded ++endpe for scyld, can be used along with ++startpe.
Gengbin Zheng [Tue, 13 May 2003 00:40:11 +0000 (00:40 +0000)]
added ++endpe for scyld, can be used along with ++startpe.

18 years agoMade slight modification to delta-encoding to support the ability of
Chee Wai Lee [Mon, 12 May 2003 22:37:43 +0000 (22:37 +0000)]
Made slight modification to delta-encoding to support the ability of
projections to get the total run time quickly by making begin and end
computation events record the absolute timestamps instead of deltas.

18 years agoplace holder for CONTEXT version of threads since it works since gcc3.
Gengbin Zheng [Mon, 12 May 2003 22:13:20 +0000 (22:13 +0000)]
place holder for CONTEXT version of threads since it works since gcc3.

18 years agoFor Scyld, added support for ++ppn for smp version.
Gengbin Zheng [Mon, 12 May 2003 22:07:32 +0000 (22:07 +0000)]
For Scyld, added support for ++ppn for smp version.

18 years agoadded -Wno-deprecated to turn off tedious warnings.
Gengbin Zheng [Mon, 12 May 2003 21:52:21 +0000 (21:52 +0000)]
added -Wno-deprecated to turn off tedious warnings.

18 years agoAdded migration constructor for CommLibMgr
Chao Huang [Mon, 12 May 2003 20:39:47 +0000 (20:39 +0000)]
Added migration constructor for CommLibMgr

18 years agofixed .o copying for shared lib.
Gengbin Zheng [Mon, 12 May 2003 03:51:48 +0000 (03:51 +0000)]
fixed .o copying for shared lib.

18 years agofixed couple potential memory leaks.
Gengbin Zheng [Sun, 11 May 2003 23:59:16 +0000 (23:59 +0000)]
fixed couple potential memory leaks.

18 years agofixed a memory leak in sdag when struct!
Gengbin Zheng [Sun, 11 May 2003 22:46:12 +0000 (22:46 +0000)]
fixed a memory leak in sdag when struct!

18 years agofixed #if CMK_BOOL_DEFINED
Gengbin Zheng [Sun, 11 May 2003 22:15:44 +0000 (22:15 +0000)]
fixed #if CMK_BOOL_DEFINED

18 years agobool => CmiBool
Gengbin Zheng [Sun, 11 May 2003 22:15:14 +0000 (22:15 +0000)]
bool => CmiBool

18 years agohad to change bool => CmiBool for net-irix-cc.
Gengbin Zheng [Sun, 11 May 2003 22:12:22 +0000 (22:12 +0000)]
had to change bool => CmiBool for net-irix-cc.

18 years agofixed two memory leaks!
Gengbin Zheng [Sun, 11 May 2003 20:16:23 +0000 (20:16 +0000)]
fixed two memory leaks!

18 years ago"doneCalled" was never initialized, or even used, so
Orion Lawlor [Sun, 11 May 2003 19:58:55 +0000 (19:58 +0000)]
"doneCalled" was never initialized, or even used, so
remove it completly.

18 years agoadded charm++ dependency for METIS.
Gengbin Zheng [Sun, 11 May 2003 19:07:09 +0000 (19:07 +0000)]
added charm++ dependency for METIS.

18 years agoavoid downloading special patched libpthread for glibc ver >= 2.2.93 (for now, not...
Gengbin Zheng [Sun, 11 May 2003 18:54:43 +0000 (18:54 +0000)]
avoid downloading special patched libpthread for glibc ver >= 2.2.93 (for now, not sure the case for little earlier versions) because new linuxpthread seems to work.
also undef CMK_LINUX_PTHREAD_HACK in conv-mach-opt.h

18 years agofixed wrong directory copying and removed -cp.
Gengbin Zheng [Sun, 11 May 2003 18:14:42 +0000 (18:14 +0000)]
fixed wrong directory copying and removed -cp.

18 years agochanged <new.h> => <new>
Gengbin Zheng [Sun, 11 May 2003 18:11:17 +0000 (18:11 +0000)]
changed <new.h> => <new>

18 years agochanged back to its original code.
Gengbin Zheng [Sun, 11 May 2003 06:54:04 +0000 (06:54 +0000)]
changed back to its original code.

18 years agofixed a warning for icc.
Gengbin Zheng [Sun, 11 May 2003 06:52:22 +0000 (06:52 +0000)]
fixed a warning for icc.

18 years agoremoved hash table related code because the table is now moved into LDStats which...
Gengbin Zheng [Sun, 11 May 2003 06:46:23 +0000 (06:46 +0000)]
removed hash table related code because the table is now moved into LDStats which can be commonly used by all load balancer startegies.

18 years agoinserted timer calls for simulation mode;
Gengbin Zheng [Sun, 11 May 2003 06:44:47 +0000 (06:44 +0000)]
inserted timer calls for simulation mode;
rewrote hash key for (objID, omID) => index, greatly improved hash performance.

18 years agoturned off debugging.
Gengbin Zheng [Sun, 11 May 2003 06:43:31 +0000 (06:43 +0000)]
turned off debugging.

18 years ago-ma which set alloca to inline was mistakenly removed during the change to charmc.
Gengbin Zheng [Sun, 11 May 2003 04:16:36 +0000 (04:16 +0000)]
-ma which set alloca to inline was mistakenly removed during the change to charmc.

18 years agohack to make machine.c to be compiled (using right mpi.h) after ampi installed.
Gengbin Zheng [Sat, 10 May 2003 22:26:46 +0000 (22:26 +0000)]
hack to make machine.c to be compiled (using right mpi.h) after ampi installed.

18 years agocomment out CMK_STACK_GROWDOWN=1. For specific platform, this flag should go to the...
Gengbin Zheng [Sat, 10 May 2003 20:49:55 +0000 (20:49 +0000)]
comment out CMK_STACK_GROWDOWN=1. For specific platform, this flag should go to the corresponding conv-mach.h. For IBM SP, I think it is CMK_STACK_GROWUP.

18 years agonet-axp CC doesnot like #if 0 that is not in column 0 for '#'.
Gengbin Zheng [Sat, 10 May 2003 17:53:25 +0000 (17:53 +0000)]
net-axp CC doesnot like #if 0 that is not in column 0 for '#'.

18 years agofixed a warning on net-axp.
Gengbin Zheng [Sat, 10 May 2003 17:52:33 +0000 (17:52 +0000)]
fixed a warning on net-axp.

18 years agofixed a bug in counting the memory usage of CentralLB.
Gengbin Zheng [Sat, 10 May 2003 17:49:03 +0000 (17:49 +0000)]
fixed a bug in counting the memory usage of CentralLB.

18 years agofix warnings for operator new.
Gengbin Zheng [Sat, 10 May 2003 17:47:49 +0000 (17:47 +0000)]
fix warnings for operator new.

18 years agofixed protptype mismatch and warnings about operator new without delete warnings...
Gengbin Zheng [Sat, 10 May 2003 17:46:48 +0000 (17:46 +0000)]
fixed protptype mismatch and warnings about operator new without delete warnings on net-axp.

18 years agoimproved CommLB by more accurate load calculation incured by communication.
Gengbin Zheng [Sat, 10 May 2003 17:21:17 +0000 (17:21 +0000)]
improved CommLB by more accurate load calculation incured by communication.
fixed RandCentLB in simulation mode where CkNumPes() should not be used.

18 years agochanged alloca from test_link to test_cxx because there is a problem on ibm sp using...
Gengbin Zheng [Sat, 10 May 2003 16:10:29 +0000 (16:10 +0000)]
changed alloca from test_link to test_cxx because there is a problem on ibm sp using alloca in C++ test program. just check if the header file presents.

18 years agoremove libckqt.a.dir before copying.
Gengbin Zheng [Sat, 10 May 2003 03:06:41 +0000 (03:06 +0000)]
remove libckqt.a.dir before copying.

18 years agoadded #include "conv-autoconfig.h"
Gengbin Zheng [Sat, 10 May 2003 03:02:27 +0000 (03:02 +0000)]
added #include "conv-autoconfig.h"

18 years agoremoved -cp in charmc. use CMK_HAS_ALLOCA for alloca.h
Gengbin Zheng [Sat, 10 May 2003 03:01:13 +0000 (03:01 +0000)]
removed -cp in charmc. use CMK_HAS_ALLOCA for alloca.h

18 years agocheck for alloca.h
Gengbin Zheng [Sat, 10 May 2003 02:59:36 +0000 (02:59 +0000)]
check for alloca.h

18 years agoAdded memory-corruption test calls, which hopefully will
Orion Lawlor [Fri, 9 May 2003 22:53:50 +0000 (22:53 +0000)]
Added memory-corruption test calls, which hopefully will
help people with trashed heaps.

18 years agoAdded PUP'er for class arrInfo and PropMap
Chao Huang [Fri, 9 May 2003 20:43:51 +0000 (20:43 +0000)]
Added PUP'er for class arrInfo and PropMap

18 years agofixed the copy libckqt.a.dir hack
Gengbin Zheng [Fri, 9 May 2003 18:04:56 +0000 (18:04 +0000)]
fixed the copy libckqt.a.dir hack

18 years agomkdir of .dir is done after checking if the dir is present or not.
Gengbin Zheng [Fri, 9 May 2003 17:45:51 +0000 (17:45 +0000)]
mkdir of .dir is done after checking if the dir is present or not.

18 years agostatic addEdge() broke load balancers who uses it. Refixed it.
Gengbin Zheng [Fri, 9 May 2003 15:58:21 +0000 (15:58 +0000)]
static addEdge() broke load balancers who uses it. Refixed it.

18 years agofixed // comments in sdag atomic.
Gengbin Zheng [Fri, 9 May 2003 07:44:03 +0000 (07:44 +0000)]
fixed // comments in sdag atomic.

18 years agofixed fortran compiler for net-rs6k
Gengbin Zheng [Fri, 9 May 2003 07:01:39 +0000 (07:01 +0000)]
fixed fortran compiler for net-rs6k

18 years agofixed net-win32
Gengbin Zheng [Fri, 9 May 2003 03:30:15 +0000 (03:30 +0000)]
fixed net-win32

18 years agofixed <values.h>
Gengbin Zheng [Fri, 9 May 2003 03:25:40 +0000 (03:25 +0000)]
fixed <values.h>

18 years agofixed net-win32
Gengbin Zheng [Fri, 9 May 2003 03:22:27 +0000 (03:22 +0000)]
fixed net-win32

18 years agofixed broken compiler on net-win32.
Gengbin Zheng [Fri, 9 May 2003 03:17:12 +0000 (03:17 +0000)]
fixed broken compiler on net-win32.

18 years agoWhoops-- only generic quickthreads version copies out to the
Orion Lawlor [Fri, 9 May 2003 03:00:50 +0000 (03:00 +0000)]
Whoops-- only generic quickthreads version copies out to the
enclosing directory.  Many don't even use charmc!

18 years agoCall charmc instead of trying to figure out the compiler ourselves.
Orion Lawlor [Fri, 9 May 2003 02:57:38 +0000 (02:57 +0000)]
Call charmc instead of trying to figure out the compiler ourselves.

18 years agoFixed conv-mach.sh from Jim.
Orion Lawlor [Fri, 9 May 2003 02:53:49 +0000 (02:53 +0000)]
Fixed conv-mach.sh from Jim.

18 years agoMinor fixes for new dynamic linking scheme.
Orion Lawlor [Fri, 9 May 2003 01:55:18 +0000 (01:55 +0000)]
Minor fixes for new dynamic linking scheme.

18 years agoCursory "-makecharmlib" support.
Orion Lawlor [Thu, 8 May 2003 23:00:20 +0000 (23:00 +0000)]
Cursory "-makecharmlib" support.

18 years agoAdded default shared library support.
Orion Lawlor [Thu, 8 May 2003 23:00:01 +0000 (23:00 +0000)]
Added default shared library support.

18 years agoPoint directly at libraries, instead of using "-cp".
Orion Lawlor [Thu, 8 May 2003 22:59:44 +0000 (22:59 +0000)]
Point directly at libraries, instead of using "-cp".

18 years agoDon't use bizarre "-cp", just directly generate library in right place.
Orion Lawlor [Thu, 8 May 2003 22:58:39 +0000 (22:58 +0000)]
Don't use bizarre "-cp", just directly generate library in right place.

18 years agoAdded "static" keywords to most routine names, since
Orion Lawlor [Thu, 8 May 2003 22:57:57 +0000 (22:57 +0000)]
Added "static" keywords to most routine names, since
they're only used internally and "addEdge" is a very commonly
needed word.

18 years agoAdded cursory shared library support.
Orion Lawlor [Thu, 8 May 2003 22:56:58 +0000 (22:56 +0000)]
Added cursory shared library support.

18 years agofix for Blue Gene compilling.
Gengbin Zheng [Thu, 8 May 2003 22:39:26 +0000 (22:39 +0000)]
fix for Blue Gene compilling.

18 years agodefine CmiCopyMsg.
Gengbin Zheng [Thu, 8 May 2003 21:29:50 +0000 (21:29 +0000)]
define CmiCopyMsg.

18 years agoinclude <values.h> only when CMK_HAS_VALUES_H is 1
Gengbin Zheng [Thu, 8 May 2003 21:13:01 +0000 (21:13 +0000)]
include <values.h> only when CMK_HAS_VALUES_H is 1

18 years agocheck values.h and define CMK_HAS_VALUES_H
Gengbin Zheng [Thu, 8 May 2003 21:12:02 +0000 (21:12 +0000)]
check values.h and define CMK_HAS_VALUES_H

18 years agoRemoved the tedious TableEntry::[get|set][MigCtor|DefCtor|Name] calls.
Chao Huang [Thu, 8 May 2003 21:09:35 +0000 (21:09 +0000)]
Removed the tedious TableEntry::[get|set][MigCtor|DefCtor|Name] calls.

18 years agoAdded ability to extract a list of FEM entities in a mesh,
Orion Lawlor [Thu, 8 May 2003 18:24:29 +0000 (18:24 +0000)]
Added ability to extract a list of FEM entities in a mesh,
and attributes in an entity.  This lets you step through
a mesh to, e.g., copy it.

18 years agofixed a stupid error for calling Cmi_startfn. This startfn should be only called...
Gengbin Zheng [Thu, 8 May 2003 18:13:22 +0000 (18:13 +0000)]
fixed a stupid error for calling Cmi_startfn. This startfn should be only called if initret is 0.

18 years agoRemove extra "CFLAGS" entry in TCharm build.
Orion Lawlor [Thu, 8 May 2003 17:22:24 +0000 (17:22 +0000)]
Remove extra "CFLAGS" entry in TCharm build.
CFLAGS is normally set to "-O", so this can
screw up a debug build.

18 years agoShared library support:
Orion Lawlor [Thu, 8 May 2003 16:55:40 +0000 (16:55 +0000)]
Shared library support:
  - Allow .so's to be linked into an executable just like .o's.
  - Allow charmc to spit out a .so, like
       charmc -shared -o foo.so foo.o bar.o
    FIXME: The "-shared" flag should be turned into "-G" on
    some platforms (Suns, IBM SP's.)
  - Rearrange link order so libraries get linked exactly once.

18 years agoAdd "_r" to the compiler invocations. This "reentrant"
Orion Lawlor [Thu, 8 May 2003 16:52:39 +0000 (16:52 +0000)]
Add "_r" to the compiler invocations.  This "reentrant"
flag supposedly allows charm to be linked into shared libraries.

18 years agooops, 050608 turn out to be an octal number and is invalid, fixed it.
Gengbin Zheng [Thu, 8 May 2003 16:03:34 +0000 (16:03 +0000)]
oops, 050608 turn out to be an octal number and is invalid, fixed it.

18 years agoRemove now-obsolete files.
Orion Lawlor [Thu, 8 May 2003 15:06:47 +0000 (15:06 +0000)]
Remove now-obsolete files.

18 years agoRemove now-obsolete file.
Orion Lawlor [Thu, 8 May 2003 15:06:40 +0000 (15:06 +0000)]
Remove now-obsolete file.

18 years agoReplace lost "const T" fix, which was overwritten
Orion Lawlor [Thu, 8 May 2003 15:06:15 +0000 (15:06 +0000)]
Replace lost "const T" fix, which was overwritten
by the latest checkins.

18 years agoincrease charm version.
Gengbin Zheng [Thu, 8 May 2003 07:17:22 +0000 (07:17 +0000)]
increase charm version.

18 years agonew LDStats. totally new interface for calling Strategy using LDStats.
Gengbin Zheng [Thu, 8 May 2003 07:16:51 +0000 (07:16 +0000)]
new LDStats. totally new interface for calling Strategy using LDStats.
clean up duplicate code in RandCentLB.C/RandRefLB.C and GreedyLB.C/GreedyRefLB.C.