charm.git
18 years agoupdated.
Gengbin Zheng [Tue, 3 Jun 2003 04:18:55 +0000 (04:18 +0000)]
updated.

18 years agodefine CMK_LD_LIBRARY_PATH to point to lib_so, also by default it need to use pthread...
Gengbin Zheng [Tue, 3 Jun 2003 03:59:19 +0000 (03:59 +0000)]
define CMK_LD_LIBRARY_PATH to point to lib_so, also by default it need to use pthreads implementation of user threads, since getcontext is not implemented in this old Linux and QT doesnot work with dynamic charm.

18 years agomodified.
Gengbin Zheng [Mon, 2 Jun 2003 17:26:56 +0000 (17:26 +0000)]
modified.

18 years agoadded target bgampi to compile both bluegene and AMPI.
Gengbin Zheng [Mon, 2 Jun 2003 07:21:36 +0000 (07:21 +0000)]
added target bgampi to compile both bluegene and AMPI.

18 years agoupdated blue gene manual
Gengbin Zheng [Mon, 2 Jun 2003 07:14:21 +0000 (07:14 +0000)]
updated blue gene manual

18 years agocleaned some leftovers.
Gengbin Zheng [Mon, 2 Jun 2003 00:14:58 +0000 (00:14 +0000)]
cleaned some leftovers.

18 years agochanged initcall
Gengbin Zheng [Sun, 1 Jun 2003 23:44:19 +0000 (23:44 +0000)]
changed initcall

18 years agoremoved "-makelibcharm", stop creating bizarre libfoo.dir's.
Gengbin Zheng [Sun, 1 Jun 2003 23:35:15 +0000 (23:35 +0000)]
removed "-makelibcharm", stop creating bizarre libfoo.dir's.

18 years agoset CMK_LD_SHARED_THREAD = context, since qt doesnot work with dynamic charm.
Gengbin Zheng [Sun, 1 Jun 2003 23:22:18 +0000 (23:22 +0000)]
set CMK_LD_SHARED_THREAD = context, since qt doesnot work with dynamic charm.

18 years agoignoring errors when building libthreads-pthread.
Gengbin Zheng [Sun, 1 Jun 2003 23:10:49 +0000 (23:10 +0000)]
ignoring errors when building libthreads-pthread.

18 years agoupdated for initnode and initproc.
Gengbin Zheng [Sun, 1 Jun 2003 22:41:15 +0000 (22:41 +0000)]
updated for initnode and initproc.

18 years agodefine CMK_LD_SHARED_THREAD to "context", QT doesnot work when charm is dynamically...
Gengbin Zheng [Sun, 1 Jun 2003 22:22:07 +0000 (22:22 +0000)]
define CMK_LD_SHARED_THREAD to "context", QT doesnot work when charm is dynamically linked.

18 years agodefine macros to allow Makefile to compile it into different .o based on different...
Gengbin Zheng [Sun, 1 Jun 2003 22:19:52 +0000 (22:19 +0000)]
define macros to allow Makefile to compile it into different .o based on different implementation. Fixed pthread compilation errors too.

18 years agocompiled threads.c into different .o (similar to memory.c), which including qt, conte...
Gengbin Zheng [Sun, 1 Jun 2003 22:17:18 +0000 (22:17 +0000)]
compiled threads.c into different .o (similar to memory.c), which including qt, context, pthreads and fibers. added "-thread" option to charmc to allow choosing thread mode at compile time.

18 years agodefine CMK_LD_SHARED_THREAD to context to use context implementation of converse...
Gengbin Zheng [Sun, 1 Jun 2003 22:12:12 +0000 (22:12 +0000)]
define CMK_LD_SHARED_THREAD to context to use context implementation of converse threads.

18 years agoinitcall => initnode.
Gengbin Zheng [Sat, 31 May 2003 23:42:31 +0000 (23:42 +0000)]
initcall => initnode.

18 years agoadded -lhC to CMK_LIBS
Gengbin Zheng [Sat, 31 May 2003 23:37:15 +0000 (23:37 +0000)]
added -lhC to CMK_LIBS

18 years agoadded CmiNodeAllBarrier() before calling initcalls. This is needed because otherwise...
Gengbin Zheng [Sat, 31 May 2003 23:07:02 +0000 (23:07 +0000)]
added CmiNodeAllBarrier() before calling initcalls. This is needed because otherwise other thread may try to enumerate initcalls before it is registered in rank 0 processor.
All these changes(today) for initnode & initproc fixed the bug of not being able to run AMPI program on SMP version.

18 years ago if no build share is set, exit normally
Gengbin Zheng [Sat, 31 May 2003 20:58:40 +0000 (20:58 +0000)]
 if no build share is set, exit normally

18 years agoupdate initcall; changed name libmoduleampi-compat.a to libampi-compat.a
Gengbin Zheng [Sat, 31 May 2003 20:56:24 +0000 (20:56 +0000)]
update initcall; changed name libmoduleampi-compat.a to libampi-compat.a

18 years agoupdate initcall; make libmodulefem-compat.a shorter to libfem-compat.a
Gengbin Zheng [Sat, 31 May 2003 20:54:58 +0000 (20:54 +0000)]
update initcall; make libmodulefem-compat.a shorter to libfem-compat.a

18 years agoupdated initcall.
Gengbin Zheng [Sat, 31 May 2003 20:53:55 +0000 (20:53 +0000)]
updated initcall.

18 years agoadded blue_init.C compilation.
Gengbin Zheng [Sat, 31 May 2003 20:52:36 +0000 (20:52 +0000)]
added blue_init.C compilation.

18 years agoported AMPI onto BG simulator. cleanup code, moving init phase code to blue_init.C
Gengbin Zheng [Sat, 31 May 2003 20:51:54 +0000 (20:51 +0000)]
ported AMPI onto BG simulator. cleanup code, moving init phase code to blue_init.C

18 years agochnaged initcall to initnode.
Gengbin Zheng [Sat, 31 May 2003 20:49:52 +0000 (20:49 +0000)]
chnaged initcall to initnode.

18 years agoupdate initcalls in .ci
Gengbin Zheng [Sat, 31 May 2003 20:47:51 +0000 (20:47 +0000)]
update initcalls in .ci
implemented initcalltable in init.C.

18 years agosplited nodeinit to separate nodeinit and procinit.
Gengbin Zheng [Sat, 31 May 2003 20:45:16 +0000 (20:45 +0000)]
splited nodeinit to separate nodeinit and procinit.
ported tcharm onto BlueGene simualtor.

18 years agoinitcall replaced by initnode and initproc.
Gengbin Zheng [Sat, 31 May 2003 20:43:19 +0000 (20:43 +0000)]
initcall replaced by initnode and initproc.

18 years agominor cleanup.
Gengbin Zheng [Sat, 31 May 2003 04:05:50 +0000 (04:05 +0000)]
minor cleanup.

18 years agoreimplemented the Bpv (Blue Gene processor variables)
Gengbin Zheng [Fri, 30 May 2003 18:34:19 +0000 (18:34 +0000)]
reimplemented the Bpv (Blue Gene processor variables)
also modified timestamp correction to properly handle node level message.

18 years agomistakenly put exit when CMK_NO_BUILD_SHARED is true.
Gengbin Zheng [Fri, 30 May 2003 07:25:52 +0000 (07:25 +0000)]
mistakenly put exit when CMK_NO_BUILD_SHARED is true.

18 years agochanged threadID type from CmiUInt2 to CmiInt2.
Gengbin Zheng [Fri, 30 May 2003 03:31:02 +0000 (03:31 +0000)]
changed threadID type from CmiUInt2 to CmiInt2.

18 years agoundef max, min when needed.
Gengbin Zheng [Thu, 29 May 2003 22:08:58 +0000 (22:08 +0000)]
undef max, min when needed.

18 years agoexit normally when CMK_NO_BUILD_SHARE defined
Gengbin Zheng [Thu, 29 May 2003 22:08:14 +0000 (22:08 +0000)]
exit normally when CMK_NO_BUILD_SHARE defined

18 years agominor changes and disable building so.
Gengbin Zheng [Thu, 29 May 2003 22:07:14 +0000 (22:07 +0000)]
minor changes and disable building so.

18 years agoundef log2 if it is already defined.
Gengbin Zheng [Thu, 29 May 2003 21:42:27 +0000 (21:42 +0000)]
undef log2 if it is already defined.

18 years agofix a problem when doing priority queue scheduling for messges, node messages can...
Gengbin Zheng [Thu, 29 May 2003 20:25:21 +0000 (20:25 +0000)]
fix a problem when doing priority queue scheduling for messges, node messages can be accidentally deleted without processing.
also changes threadID type to CmiInt2 from CmiUInt2.

18 years agosmall change
Gengbin Zheng [Thu, 29 May 2003 17:18:36 +0000 (17:18 +0000)]
small change

18 years agoadded new flags into help page.
Gengbin Zheng [Thu, 29 May 2003 15:53:39 +0000 (15:53 +0000)]
added new flags into help page.

18 years agofixed comments that broke Lemieux build.
Gengbin Zheng [Thu, 29 May 2003 15:35:31 +0000 (15:35 +0000)]
fixed comments that broke Lemieux build.

18 years agomove the code around to make SUN CC happy.
Gengbin Zheng [Thu, 29 May 2003 07:29:23 +0000 (07:29 +0000)]
move the code around to make SUN CC happy.

18 years agoignore -shared for now, not doing anything.
Gengbin Zheng [Thu, 29 May 2003 05:43:55 +0000 (05:43 +0000)]
ignore -shared for now, not doing anything.

18 years agomodified to be able to build share libraries.
Gengbin Zheng [Thu, 29 May 2003 04:44:25 +0000 (04:44 +0000)]
modified to be able to build share libraries.
clean up CMK_DONT_USE_HP_MAIN_FIX;

18 years agonow support shared library name whose suffix is other than .so, for example in HP...
Gengbin Zheng [Thu, 29 May 2003 04:40:39 +0000 (04:40 +0000)]
now support shared library name whose suffix is other than .so, for example in HP, it used .sl. define CMK_SHARED_SUF conv-machs.

18 years agogenerate libckqt.sl
Gengbin Zheng [Thu, 29 May 2003 04:38:57 +0000 (04:38 +0000)]
generate libckqt.sl

18 years agocleanup CMK_USE_HP_MAIN_FIX
Gengbin Zheng [Thu, 29 May 2003 04:23:17 +0000 (04:23 +0000)]
cleanup CMK_USE_HP_MAIN_FIX

18 years agowhen CMK_NO_ISO_MALLOC is 1, disable isomalloc, isomalloc is disabled in all HP versions.
Gengbin Zheng [Thu, 29 May 2003 04:19:02 +0000 (04:19 +0000)]
when CMK_NO_ISO_MALLOC is 1, disable isomalloc, isomalloc is disabled in all HP versions.

18 years agocleanup CMK_DONT_USE_HP_MAIN_FIX
Gengbin Zheng [Thu, 29 May 2003 04:18:23 +0000 (04:18 +0000)]
cleanup CMK_DONT_USE_HP_MAIN_FIX

18 years agoremoved CMK_DONT_USE_HP_MAIN_FIX
Gengbin Zheng [Wed, 28 May 2003 23:32:58 +0000 (23:32 +0000)]
removed CMK_DONT_USE_HP_MAIN_FIX

18 years agoadded [migratable] to DummyLB and OrbLB
Gengbin Zheng [Wed, 28 May 2003 23:19:35 +0000 (23:19 +0000)]
added [migratable] to DummyLB and OrbLB

18 years agoallow ++ppn for non-smp version also. In which case, it is block distribution instead...
Gengbin Zheng [Wed, 28 May 2003 21:13:48 +0000 (21:13 +0000)]
allow ++ppn for non-smp version also. In which case, it is block distribution instead of round-robinly assign processors.

18 years agoadd ++skipmaster for Scyld to not to spawn process on master node.
Gengbin Zheng [Wed, 28 May 2003 17:58:40 +0000 (17:58 +0000)]
add ++skipmaster for Scyld to not to spawn process on master node.

18 years agocomment out code for CmiPrintf,etc when it is not CMK_CMIPRINTF_IS_A_BUILTIN
Gengbin Zheng [Wed, 28 May 2003 16:27:46 +0000 (16:27 +0000)]
comment out code for CmiPrintf,etc when it is not CMK_CMIPRINTF_IS_A_BUILTIN

18 years agoonly assign one process to Scyld's master node when "++singlemaster"
Gengbin Zheng [Wed, 28 May 2003 16:26:21 +0000 (16:26 +0000)]
only assign one process to Scyld's master node when "++singlemaster"

18 years agochanged -instances=explicit to global.
Gengbin Zheng [Wed, 28 May 2003 15:47:56 +0000 (15:47 +0000)]
changed -instances=explicit to global.

18 years agochanged instance=explict to global. this seems to work with template in megatest.
Gengbin Zheng [Wed, 28 May 2003 15:34:09 +0000 (15:34 +0000)]
changed instance=explict to global. this seems to work with template in megatest.

18 years agoadd -instances=explicit for CC compiler to "Places explicitly instantiated instances...
Gengbin Zheng [Wed, 28 May 2003 07:03:42 +0000 (07:03 +0000)]
add -instances=explicit for CC compiler to "Places explicitly instantiated instances into the current object file and gives them global linkage. Does not generate any other needed instances."
changed to always statically link libckqt.a

18 years agomoved memobj before -lconv-cplus-y due to the CmiAbort in memobj.
Gengbin Zheng [Wed, 28 May 2003 06:37:48 +0000 (06:37 +0000)]
moved memobj  before -lconv-cplus-y due to the CmiAbort in memobj.

18 years agoset CMK_LD_LIBRARY_PATH for mpi ia64
Gengbin Zheng [Wed, 28 May 2003 06:05:15 +0000 (06:05 +0000)]
set CMK_LD_LIBRARY_PATH for mpi ia64

18 years agoupdated for building shared lib charm.
Gengbin Zheng [Wed, 28 May 2003 06:02:59 +0000 (06:02 +0000)]
updated for building shared lib charm.
fixed pmpi.

18 years agoset CMK_LD_LIBRARY_PATH
Gengbin Zheng [Wed, 28 May 2003 05:50:43 +0000 (05:50 +0000)]
set CMK_LD_LIBRARY_PATH

18 years agochanging createStrategy to createInstance, that was typo
Sameer Kumar [Tue, 27 May 2003 21:04:32 +0000 (21:04 +0000)]
changing createStrategy to createInstance, that was typo

18 years agoset CMK_LD_LIBRARY_PATH using -R to set runtime searching path for so.
Gengbin Zheng [Tue, 27 May 2003 15:27:32 +0000 (15:27 +0000)]
set CMK_LD_LIBRARY_PATH using -R to set runtime searching path for so.

18 years agodefined CMK_LD_SHARED to -G
Gengbin Zheng [Tue, 27 May 2003 15:11:10 +0000 (15:11 +0000)]
defined CMK_LD_SHARED to -G

18 years agogcc takes -G instead of -shared on solaris.
Gengbin Zheng [Tue, 27 May 2003 15:09:34 +0000 (15:09 +0000)]
gcc takes -G instead of -shared on solaris.

18 years agominor latex problem
Sameer Kumar [Tue, 27 May 2003 00:00:02 +0000 (00:00 +0000)]
minor latex problem

18 years agoclarification for lixia
Sameer Kumar [Mon, 26 May 2003 23:53:22 +0000 (23:53 +0000)]
clarification for lixia

18 years agoset CMK_LD_LIBRARY_PATH, set CONTEXT thread parameters.
Gengbin Zheng [Mon, 26 May 2003 16:32:34 +0000 (16:32 +0000)]
set CMK_LD_LIBRARY_PATH, set CONTEXT thread parameters.

18 years agostack is CMK_STACK_GROWUP. not growing down.
Gengbin Zheng [Mon, 26 May 2003 16:29:25 +0000 (16:29 +0000)]
stack is CMK_STACK_GROWUP. not growing down.

18 years agofor CONTEXT implementation of threads, allow CMK_STACK_GROWUNKNOWN, which will set...
Gengbin Zheng [Mon, 26 May 2003 16:28:25 +0000 (16:28 +0000)]
for CONTEXT implementation of threads, allow CMK_STACK_GROWUNKNOWN, which will set the stack pointer in the middle of user allocated heap.

18 years agofixed a missing flag
Gengbin Zheng [Mon, 26 May 2003 08:18:09 +0000 (08:18 +0000)]
fixed a missing flag

18 years agoset CMK_LD_LIBRARY_PATH
Gengbin Zheng [Mon, 26 May 2003 07:51:39 +0000 (07:51 +0000)]
set CMK_LD_LIBRARY_PATH

18 years agoadded for building so.
Gengbin Zheng [Mon, 26 May 2003 06:54:39 +0000 (06:54 +0000)]
added for building so.

18 years agoadded CMK_LD_LIBRARY_PATH for icc.
Gengbin Zheng [Mon, 26 May 2003 06:31:36 +0000 (06:31 +0000)]
added CMK_LD_LIBRARY_PATH for icc.

18 years agoadded CMK_LD_LIBRARY_PATH
Gengbin Zheng [Mon, 26 May 2003 06:29:35 +0000 (06:29 +0000)]
added CMK_LD_LIBRARY_PATH

18 years agodisable build-shared
Gengbin Zheng [Mon, 26 May 2003 05:40:16 +0000 (05:40 +0000)]
disable build-shared

18 years agoadd CMK_LD_LIBRARY_PATH and CMK_F90LIBS
Gengbin Zheng [Mon, 26 May 2003 05:39:31 +0000 (05:39 +0000)]
add  CMK_LD_LIBRARY_PATH and CMK_F90LIBS

18 years agofor cc64 compiler
Gengbin Zheng [Mon, 26 May 2003 05:38:37 +0000 (05:38 +0000)]
for cc64 compiler

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.