charm.git
18 years agoadded shared lib support
Gengbin Zheng [Mon, 26 May 2003 05:37:33 +0000 (05:37 +0000)]
added shared lib support

18 years agoadded -brtl to also find .so
Gengbin Zheng [Mon, 26 May 2003 05:12:33 +0000 (05:12 +0000)]
added -brtl to also find .so

18 years agodisable build-shared in net-win32
Gengbin Zheng [Mon, 26 May 2003 04:59:36 +0000 (04:59 +0000)]
disable build-shared in net-win32

18 years agowhen CMK_NO_BUILD_SHARED" is defined, don;t build share lib by default.
Gengbin Zheng [Mon, 26 May 2003 04:51:39 +0000 (04:51 +0000)]
when CMK_NO_BUILD_SHARED" is defined, don;t build share lib by default.

18 years agoset CMK_LD_LIBRARY_PATH for -rpath
Gengbin Zheng [Mon, 26 May 2003 03:54:20 +0000 (03:54 +0000)]
set CMK_LD_LIBRARY_PATH for -rpath

18 years agoln libckqt.so to libqt.so because some machines (lemieux) will look for libqt even...
Gengbin Zheng [Mon, 26 May 2003 03:53:06 +0000 (03:53 +0000)]
ln libckqt.so to libqt.so because some machines (lemieux) will look for libqt even after it is renamed.

18 years agobuild libqt.so
Gengbin Zheng [Mon, 26 May 2003 03:51:53 +0000 (03:51 +0000)]
build libqt.so

18 years agobuild share lib.
Gengbin Zheng [Sun, 25 May 2003 23:30:31 +0000 (23:30 +0000)]
build share lib.

18 years agobuild .so
Gengbin Zheng [Sun, 25 May 2003 23:21:21 +0000 (23:21 +0000)]
build .so

18 years agodefine CMK_LD_LIBRARY_PATH
Gengbin Zheng [Sun, 25 May 2003 21:49:11 +0000 (21:49 +0000)]
define CMK_LD_LIBRARY_PATH

18 years agowhen linking charm .so, use CMK_LD_LIRARY_PATh for rpath.
Gengbin Zheng [Sun, 25 May 2003 21:48:32 +0000 (21:48 +0000)]
when linking charm .so, use CMK_LD_LIRARY_PATh for rpath.

18 years agobuildShared => -build-shared
Gengbin Zheng [Sun, 25 May 2003 18:44:09 +0000 (18:44 +0000)]
buildShared => -build-shared

18 years agoadded rpath to include lib_so.
Gengbin Zheng [Sun, 25 May 2003 18:44:04 +0000 (18:44 +0000)]
added rpath to include lib_so.

18 years agochange -buildShared to -build-shared to be consistent with other naming conventions.
Gengbin Zheng [Sun, 25 May 2003 18:42:20 +0000 (18:42 +0000)]
change -buildShared to -build-shared  to be consistent with other naming conventions.

18 years agobuild charm .so by default. (appended -buildShared to the make opts)
Gengbin Zheng [Sun, 25 May 2003 18:26:33 +0000 (18:26 +0000)]
build charm .so by default. (appended -buildShared to the make opts)

18 years agoMajor changes:
Gengbin Zheng [Sun, 25 May 2003 18:25:12 +0000 (18:25 +0000)]
Major changes:
1. added support for -buildShared: used for internally by Charm build to create all .so.
2. added -charmShared: used for compiling a user so and binary to link charm so instead of .a.

18 years agoadded CMK_LD_SHARED.
Gengbin Zheng [Sun, 25 May 2003 18:22:45 +0000 (18:22 +0000)]
added CMK_LD_SHARED.

18 years agoLD now finds both .a and .so. Fortran lib links -lhC for new and delete.
Gengbin Zheng [Sun, 25 May 2003 16:28:25 +0000 (16:28 +0000)]
LD now finds both .a and .so. Fortran lib links -lhC for new and delete.

18 years agoseparate compat*.o into a new lib
Gengbin Zheng [Sun, 25 May 2003 07:54:04 +0000 (07:54 +0000)]
separate compat*.o into a new lib

18 years agoseparate compat_*.o into a new lib.
Gengbin Zheng [Sun, 25 May 2003 07:50:35 +0000 (07:50 +0000)]
separate compat_*.o into a new lib.

18 years agomodified to get libpthread.so also from charm website.
Gengbin Zheng [Sun, 25 May 2003 07:38:44 +0000 (07:38 +0000)]
modified to get libpthread.so also from charm website.

18 years agochange to create libqt.so as well.
Gengbin Zheng [Sun, 25 May 2003 07:29:53 +0000 (07:29 +0000)]
change to create libqt.so as well.

18 years agocreate lib_so/, also copy libckqt.so to lib_so (ignoring the error)
Gengbin Zheng [Sun, 25 May 2003 07:20:16 +0000 (07:20 +0000)]
create lib_so/, also copy libckqt.so to lib_so (ignoring the error)

18 years agoavoided -cp to copy the lib.
Gengbin Zheng [Sat, 24 May 2003 06:35:20 +0000 (06:35 +0000)]
avoided -cp to copy the lib.

18 years agoa bad typo
Gengbin Zheng [Sat, 24 May 2003 05:11:45 +0000 (05:11 +0000)]
a bad typo

18 years agoto compile charm++ program under bluegene environment, now changes to -language bgcha...
Gengbin Zheng [Fri, 23 May 2003 21:02:41 +0000 (21:02 +0000)]
to compile charm++ program under bluegene environment, now changes to -language bgcharm++ is not necessary any more.

18 years agodefine CMK_BLUEGENE for bgcharm.
Gengbin Zheng [Fri, 23 May 2003 20:49:12 +0000 (20:49 +0000)]
define CMK_BLUEGENE for bgcharm.

18 years agomoved conv-mach-64 to cc-cc64
Gengbin Zheng [Fri, 23 May 2003 16:51:39 +0000 (16:51 +0000)]
moved conv-mach-64 to cc-cc64

18 years agochanged from conv-mach-64 to cc-cc64 since it is compiler option. Compiler option...
Gengbin Zheng [Fri, 23 May 2003 16:49:53 +0000 (16:49 +0000)]
changed from conv-mach-64 to cc-cc64 since it is compiler option. Compiler option has these things special: it only allow to have one compiler option, also it will always be put to the last in the generated platform name.

18 years agoset intel f90 compiler.
Gengbin Zheng [Fri, 23 May 2003 06:56:56 +0000 (06:56 +0000)]
set intel f90 compiler.

18 years agofix default path for gm library.
Gengbin Zheng [Fri, 23 May 2003 06:56:12 +0000 (06:56 +0000)]
fix default path for gm library.

18 years agoadded 64 flag
Gengbin Zheng [Fri, 23 May 2003 03:26:14 +0000 (03:26 +0000)]
added 64 flag

18 years agoin setcontext mode when stack grow down, need to align the pointer.
Gengbin Zheng [Fri, 23 May 2003 03:23:47 +0000 (03:23 +0000)]
in setcontext mode when stack grow down, need to align the pointer.

18 years agoadded 64 bit f90 compiler flag
Gengbin Zheng [Fri, 23 May 2003 00:10:29 +0000 (00:10 +0000)]
added 64 bit f90 compiler flag

18 years agominor cleanup.
Gengbin Zheng [Fri, 23 May 2003 00:09:35 +0000 (00:09 +0000)]
minor cleanup.

18 years agofixed -64 flag for f90 compiler and set CMK_STACK_GROWDOWN
Gengbin Zheng [Fri, 23 May 2003 00:06:07 +0000 (00:06 +0000)]
fixed -64 flag for f90 compiler and set CMK_STACK_GROWDOWN

18 years agoconfigure switched to call conv-config.sh to setup all configs.
Gengbin Zheng [Thu, 22 May 2003 23:35:50 +0000 (23:35 +0000)]
configure switched to call conv-config.sh to setup all configs.

18 years agoremoved ^M.
Gengbin Zheng [Thu, 22 May 2003 23:28:03 +0000 (23:28 +0000)]
removed ^M.

18 years agoset CMK_NM to 64 bit mode.
Gengbin Zheng [Thu, 22 May 2003 21:27:29 +0000 (21:27 +0000)]
set CMK_NM to 64 bit mode.

18 years agoconfigure uses CMK_NM to check Fortran postfix. Set default to "nm" in conv-config.sh
Gengbin Zheng [Thu, 22 May 2003 21:26:11 +0000 (21:26 +0000)]
configure uses CMK_NM to check Fortran postfix. Set default to "nm" in conv-config.sh

18 years agoadded default path for gm inc and lib
Gengbin Zheng [Wed, 21 May 2003 21:30:33 +0000 (21:30 +0000)]
added default path for gm inc and lib

18 years agouse aix64-xlc for QT.
Gengbin Zheng [Wed, 21 May 2003 15:34:58 +0000 (15:34 +0000)]
use aix64-xlc for QT.

18 years ago64 version.
Gengbin Zheng [Wed, 21 May 2003 15:34:26 +0000 (15:34 +0000)]
64 version.

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.