charm.git
19 years agoStash value before sending message-- message may be deleted immediately.
Orion Lawlor [Thu, 20 Dec 2001 22:14:22 +0000 (22:14 +0000)]
Stash value before sending message-- message may be deleted immediately.

19 years agoAdded many tracing statements.
Orion Lawlor [Thu, 20 Dec 2001 21:47:49 +0000 (21:47 +0000)]
Added many tracing statements.

19 years agoFixed SMP idle lock bug (again).
Orion Lawlor [Thu, 20 Dec 2001 21:47:33 +0000 (21:47 +0000)]
Fixed SMP idle lock bug (again).

Added many tracing statements.

19 years agoShouldn't call comm. server while comm. lock is held!
Orion Lawlor [Thu, 20 Dec 2001 20:28:41 +0000 (20:28 +0000)]
Shouldn't call comm. server while comm. lock is held!

19 years agoForgot to initialize new node fields.
Orion Lawlor [Thu, 20 Dec 2001 19:35:01 +0000 (19:35 +0000)]
Forgot to initialize new node fields.

19 years agoMinor changes to accomidate new machine-eth.c.
Orion Lawlor [Thu, 20 Dec 2001 19:29:56 +0000 (19:29 +0000)]
Minor changes to accomidate new machine-eth.c.

19 years agoBack out (misguided) August 23 changes.
Orion Lawlor [Thu, 20 Dec 2001 19:29:30 +0000 (19:29 +0000)]
Back out (misguided) August 23 changes.

The main difference in the August 23 version was the removal of
the writeability check from the main CommunicationServer select()
call.  Skipping the writeability check (and just sending packets
directly) speeds up pingpong slightly (200us vs. 225us over 100bT);
but for certain applications (like NAMD), causes disasterous packet
loss in the kernel, with ensuing retransmissions.

Hence this file is restored to its pre-August 23 state; with
only the CmiIdleLock, UDP recv() error logic, and SMP-aware
CommunicationServer preserved.

19 years agosort options like gm vmi scyld smp
Gengbin Zheng [Thu, 20 Dec 2001 17:59:07 +0000 (17:59 +0000)]
sort options like gm vmi scyld smp

19 years agoget pthread by check linux+(smp|vmi)
Gengbin Zheng [Thu, 20 Dec 2001 17:57:07 +0000 (17:57 +0000)]
get pthread by check linux+(smp|vmi)

19 years agoAdded command-line options for changing communication parameters.
Orion Lawlor [Thu, 20 Dec 2001 17:52:50 +0000 (17:52 +0000)]
Added command-line options for changing communication parameters.

19 years agoAdded label for initcall description, as well as index entry.
Orion Lawlor [Thu, 20 Dec 2001 17:30:32 +0000 (17:30 +0000)]
Added label for initcall description, as well as index entry.

19 years agoFix silly error-- uninitialized entry point when doing demand creation.
Chao Huang [Wed, 19 Dec 2001 17:44:18 +0000 (17:44 +0000)]
Fix silly error-- uninitialized entry point when doing demand creation.
Thanks to chao for helping me find this one.

19 years agochanged the number of receive buffer.
Gengbin Zheng [Wed, 19 Dec 2001 10:11:32 +0000 (10:11 +0000)]
changed the number of receive buffer.

19 years agodon;t use blocking in stillidle, use nonblocking receive instead.
Gengbin Zheng [Wed, 19 Dec 2001 09:57:51 +0000 (09:57 +0000)]
don;t use blocking in stillidle, use nonblocking receive instead.

19 years ago(1) in netpoll mode, also disable setitimer;
Gengbin Zheng [Wed, 19 Dec 2001 08:30:49 +0000 (08:30 +0000)]
(1) in netpoll mode, also disable setitimer;
(2) CMK_NETPOLL set Cmi_netpoll = 1;
(3) netpoll mode, pingcharm is handled by callafter.

19 years agomy old trick for getcontext threads disappeared, but it is broken everywhere.
Gengbin Zheng [Wed, 19 Dec 2001 02:54:44 +0000 (02:54 +0000)]
my old trick for getcontext threads disappeared, but it is broken everywhere.
restore the changes back.

19 years agocharmconfig also read user defined conv-mach-pre.sh
Gengbin Zheng [Tue, 18 Dec 2001 22:29:09 +0000 (22:29 +0000)]
charmconfig also read user defined conv-mach-pre.sh

19 years agoSUN CC complains about blank after -I -L.
Gengbin Zheng [Tue, 18 Dec 2001 21:57:29 +0000 (21:57 +0000)]
SUN CC complains about blank after -I -L.

19 years agosun CC doens't allow empty struct as in idlestate.
Gengbin Zheng [Tue, 18 Dec 2001 18:41:02 +0000 (18:41 +0000)]
sun CC doens't allow empty struct as in idlestate.

19 years agoadd CMK_INCDIR and CMK_LIBDIR
Gengbin Zheng [Tue, 18 Dec 2001 18:33:46 +0000 (18:33 +0000)]
add CMK_INCDIR and CMK_LIBDIR

19 years agoadded two more error check.
Gengbin Zheng [Tue, 18 Dec 2001 02:48:24 +0000 (02:48 +0000)]
added two more error check.

19 years agoremoved some debug info.
Gengbin Zheng [Mon, 17 Dec 2001 22:39:12 +0000 (22:39 +0000)]
removed some debug info.

19 years agocompiler set ansi to remove warnings.
Gengbin Zheng [Mon, 17 Dec 2001 21:59:52 +0000 (21:59 +0000)]
compiler set ansi to remove warnings.

19 years agoanother optimization that remove a unnecessary message sending.
Gengbin Zheng [Mon, 17 Dec 2001 21:51:24 +0000 (21:51 +0000)]
another optimization that remove a unnecessary message sending.

19 years agooptimization that avoid the message copying from user msg to multicast grp message.
Gengbin Zheng [Mon, 17 Dec 2001 21:16:16 +0000 (21:16 +0000)]
optimization that avoid the message copying from user msg to multicast grp message.

19 years agofixed a VC++ compielr issue.
Gengbin Zheng [Mon, 17 Dec 2001 01:03:23 +0000 (01:03 +0000)]
fixed a VC++ compielr issue.

19 years agosome name changes and code reorgnize.
Gengbin Zheng [Mon, 17 Dec 2001 00:48:02 +0000 (00:48 +0000)]
some name changes and code reorgnize.

19 years agoadd multicast in Makefile.
Gengbin Zheng [Sun, 16 Dec 2001 23:18:34 +0000 (23:18 +0000)]
add multicast in Makefile.

19 years agoerror check if spanning tree is not initiaized.
Gengbin Zheng [Sun, 16 Dec 2001 23:15:44 +0000 (23:15 +0000)]
error check if spanning tree is not initiaized.

19 years agoadd a copy constructor for array section, this make sure when make assignment, elem...
Gengbin Zheng [Sun, 16 Dec 2001 07:34:16 +0000 (07:34 +0000)]
add a copy constructor for array section, this make sure when make assignment, elem array should be malloc'd.

19 years agoremoved some unused inc and lib paths.
Gengbin Zheng [Sat, 15 Dec 2001 21:14:16 +0000 (21:14 +0000)]
removed some unused inc and lib paths.

19 years agoremove conv-mach-pre.sh from header
Gengbin Zheng [Sat, 15 Dec 2001 06:10:33 +0000 (06:10 +0000)]
remove conv-mach-pre.sh from header

19 years agoadd default inc and lib path
Gengbin Zheng [Sat, 15 Dec 2001 06:01:45 +0000 (06:01 +0000)]
add default inc and lib path

19 years agoallow it take user defined directories.
Gengbin Zheng [Sat, 15 Dec 2001 05:40:46 +0000 (05:40 +0000)]
allow it take user defined directories.

19 years agobuild now take --libdir and --incdir which are user defined directories that override...
Gengbin Zheng [Sat, 15 Dec 2001 05:39:32 +0000 (05:39 +0000)]
build now take --libdir and --incdir which are user defined directories that override default ones in conv-mach-*.sh.

19 years agoadd mpi-linux-scyld, also fixed vmi path.
Gengbin Zheng [Fri, 14 Dec 2001 22:56:57 +0000 (22:56 +0000)]
add mpi-linux-scyld, also fixed vmi path.

19 years agomove moduleinit after objfiles.
Gengbin Zheng [Fri, 14 Dec 2001 16:31:04 +0000 (16:31 +0000)]
move moduleinit after objfiles.

19 years agoremove the /nodefaultlib because it incur other problem.
Gengbin Zheng [Fri, 14 Dec 2001 16:27:26 +0000 (16:27 +0000)]
remove the /nodefaultlib because it incur other problem.

19 years agodarwin really need netpoll mode.
Gengbin Zheng [Fri, 14 Dec 2001 04:49:44 +0000 (04:49 +0000)]
darwin really need netpoll mode.

19 years agofix a dead loop of make clean when there is no doc/.
Gengbin Zheng [Fri, 14 Dec 2001 00:58:02 +0000 (00:58 +0000)]
fix a dead loop of make clean when there is no doc/.

19 years agoForgot a return value.
Orion Lawlor [Thu, 13 Dec 2001 23:48:56 +0000 (23:48 +0000)]
Forgot a return value.

19 years agoconst before return type caused tons of warnings for pgCC, which is said to be useless.
Gengbin Zheng [Thu, 13 Dec 2001 23:34:23 +0000 (23:34 +0000)]
const before return type caused tons of warnings for pgCC, which is said to be useless.

19 years agochanged vmi.sh, so that it will take whatever other compiler(pgcc)'s settings.
Gengbin Zheng [Thu, 13 Dec 2001 23:27:42 +0000 (23:27 +0000)]
changed vmi.sh, so that it will take whatever other compiler(pgcc)'s settings.

19 years agoCmiGetArgString ignored the case when the +arg is at the last args, in which case...
Gengbin Zheng [Thu, 13 Dec 2001 22:37:10 +0000 (22:37 +0000)]
CmiGetArgString ignored the case when the +arg is at the last args, in which case it should report error about incomplete argument.

19 years agoremoved ckInsert for CProxySection.
Gengbin Zheng [Thu, 13 Dec 2001 22:15:56 +0000 (22:15 +0000)]
removed ckInsert for CProxySection.

19 years agocheck ifdef CMK_OPTIMIZE instead of if CMK_OPTIMIZE
Gengbin Zheng [Thu, 13 Dec 2001 22:03:23 +0000 (22:03 +0000)]
check ifdef CMK_OPTIMIZE instead of if CMK_OPTIMIZE

19 years agochanged $< to the real file name, this fix the weird Make on axp.
Gengbin Zheng [Thu, 13 Dec 2001 21:16:21 +0000 (21:16 +0000)]
changed $< to the real file name, this fix the weird Make on axp.

19 years agofixed path for vmi.
Gengbin Zheng [Thu, 13 Dec 2001 20:52:07 +0000 (20:52 +0000)]
fixed path for vmi.

19 years agoupdate charmconfig.
Gengbin Zheng [Thu, 13 Dec 2001 20:35:24 +0000 (20:35 +0000)]
update charmconfig.

19 years agocheck sys/mman.h
Gengbin Zheng [Thu, 13 Dec 2001 20:32:01 +0000 (20:32 +0000)]
check sys/mman.h

19 years agoadd check for sys/mman.h
Gengbin Zheng [Thu, 13 Dec 2001 20:31:26 +0000 (20:31 +0000)]
add check for sys/mman.h

19 years agonew version, using CProxySection instead of a pointer.
Gengbin Zheng [Thu, 13 Dec 2001 20:14:35 +0000 (20:14 +0000)]
new version, using CProxySection instead of a pointer.

19 years agofix a comment.
Gengbin Zheng [Thu, 13 Dec 2001 20:10:29 +0000 (20:10 +0000)]
fix a comment.

19 years agofixed some linking error with nodefault library option.
Gengbin Zheng [Thu, 13 Dec 2001 18:41:33 +0000 (18:41 +0000)]
fixed some linking error with nodefault library option.

19 years agoSeveral major changes:
Orion Lawlor [Thu, 13 Dec 2001 18:39:59 +0000 (18:39 +0000)]
Several major changes:
-Moved reduction information into its own file (and subsection)
-Separated "Advanced Arrays" (all the special features and details)
from "Basic Arrays" (the least you have to know)
-Added documentation on new creation semantics and CkCreateOptions.

19 years agoMoved this section here from the arrays section.
Orion Lawlor [Thu, 13 Dec 2001 18:38:24 +0000 (18:38 +0000)]
Moved this section here from the arrays section.
Reductions can be applied in places other than arrays.

19 years agoadded verbose for -balancer.
Gengbin Zheng [Thu, 13 Dec 2001 18:06:17 +0000 (18:06 +0000)]
added verbose for -balancer.

19 years agoadd CMK_LINUX_PTHREAD_HACK
Gengbin Zheng [Thu, 13 Dec 2001 03:13:54 +0000 (03:13 +0000)]
add CMK_LINUX_PTHREAD_HACK

19 years agoadd -balancer for charmc, and -balancer for runtime.
Gengbin Zheng [Thu, 13 Dec 2001 03:07:44 +0000 (03:07 +0000)]
add -balancer for charmc, and -balancer for runtime.
In LBDatabase, use registry table to maintain all available load balancers.
in all *LB, lbinit don't create load balancer, but register to the LBDatabase instead.

19 years agomove PTHREAD_HACK from conv-mach.h to conv-mach-smp.h
Gengbin Zheng [Wed, 12 Dec 2001 22:57:58 +0000 (22:57 +0000)]
move PTHREAD_HACK from conv-mach.h to conv-mach-smp.h

19 years agomove pthread hack from Common.net to threads.c
Gengbin Zheng [Wed, 12 Dec 2001 21:20:28 +0000 (21:20 +0000)]
move pthread hack from Common.net to threads.c

19 years agoBack to gathertree for pgms-- the single, top-level softlink
Orion Lawlor [Wed, 12 Dec 2001 20:06:40 +0000 (20:06 +0000)]
Back to gathertree for pgms-- the single, top-level softlink
works everywhere except win32.

19 years agoChanged -L test to -r, because -L doesn't exist on many machines.
Orion Lawlor [Wed, 12 Dec 2001 16:02:01 +0000 (16:02 +0000)]
Changed -L test to -r, because -L doesn't exist on many machines.

19 years agoremoved all '^M's for net-irix
Gengbin Zheng [Wed, 12 Dec 2001 15:56:40 +0000 (15:56 +0000)]
removed all '^M's for net-irix

19 years agomiss a '.' in gatherflat .vdir
Gengbin Zheng [Wed, 12 Dec 2001 15:53:09 +0000 (15:53 +0000)]
miss a '.' in gatherflat .vdir

19 years agoFixed silly bug in registration of user-defined reducer functions.
Orion Lawlor [Wed, 12 Dec 2001 00:03:53 +0000 (00:03 +0000)]
Fixed silly bug in registration of user-defined reducer functions.
Now the initial length of the reducer function table is maintained
automatically via the reducerType enum.

19 years agouse the path on platinum for convenience.
Gengbin Zheng [Tue, 11 Dec 2001 23:14:41 +0000 (23:14 +0000)]
use the path on platinum for convenience.

19 years agoAdded CmiIsomalloc documentation (CmiIsomalloc is a generalization of
Orion Lawlor [Tue, 11 Dec 2001 22:06:11 +0000 (22:06 +0000)]
Added CmiIsomalloc documentation (CmiIsomalloc is a generalization of
CMK_THREADS_USE_ISOMALLOC same-virtual-address-everywhere thread stacks).

19 years agoAdded CthCreateMigratable documentation. (CthCreateMigratable enables
Orion Lawlor [Tue, 11 Dec 2001 22:05:09 +0000 (22:05 +0000)]
Added CthCreateMigratable documentation. (CthCreateMigratable enables
isomalloc'd thread stacks).

19 years agoSlight tweak to allow sync methods taking void to work.
Orion Lawlor [Tue, 11 Dec 2001 21:40:43 +0000 (21:40 +0000)]
Slight tweak to allow sync methods taking void to work.
Previously, the generated code for the call function looked like:

{
  int impl_ref = CkGetRefNum(impl_msg), impl_src = CkGetSrcPe(impl_msg);
  void *impl_retMsg=(void *)   CkFreeSysMsg(impl_msg);
  impl_obj->testVoid();
  CkSendToFuture(impl_ref, impl_retMsg, impl_src);
}

which of course doesn't even compile because the CkFreeSysMsg is
in the wrong place. Now it looks like:

{
  int impl_ref = CkGetRefNum(impl_msg), impl_src = CkGetSrcPe(impl_msg);
  CkFreeSysMsg(impl_msg);
  void *impl_retMsg=(void *)   impl_obj->testVoid();
  CkSendToFuture(impl_ref, impl_retMsg, impl_src);
}

19 years agoRemoved much obsolete material (download steps, build procedure);
Orion Lawlor [Tue, 11 Dec 2001 20:57:27 +0000 (20:57 +0000)]
Removed much obsolete material (download steps, build procedure);
added new facts (standalone network versions, -module charmc option);
and reorganized so the critical information is presented first.

19 years agoMinor rewording; a few updates (like "net-linux-smp" becoming "net-linux smp").
Orion Lawlor [Tue, 11 Dec 2001 20:53:42 +0000 (20:53 +0000)]
Minor rewording; a few updates (like "net-linux-smp" becoming "net-linux smp").

19 years agoJust point to doc and pgms, rather than recursive soft-linking them.
Orion Lawlor [Tue, 11 Dec 2001 20:52:57 +0000 (20:52 +0000)]
Just point to doc and pgms, rather than recursive soft-linking them.
This should eliminate some of people's confusion regarding
what goes where.

19 years agoMake soft links to the current version's bin, lib, and include directories.
Orion Lawlor [Tue, 11 Dec 2001 20:52:10 +0000 (20:52 +0000)]
Make soft links to the current version's bin, lib, and include directories.
This should make it easier for people to find charmc, and makes it
easier to describe the layout of the charm directory.

19 years agoMade smp a build-time option.
Orion Lawlor [Mon, 10 Dec 2001 21:05:20 +0000 (21:05 +0000)]
Made smp a build-time option.

19 years agoMade smp a build option for win32.
Orion Lawlor [Mon, 10 Dec 2001 21:04:46 +0000 (21:04 +0000)]
Made smp a build option for win32.

19 years agofixed some typo
Gengbin Zheng [Sun, 9 Dec 2001 05:01:17 +0000 (05:01 +0000)]
fixed some typo

19 years agomore changes for array section.
Gengbin Zheng [Sun, 9 Dec 2001 02:24:54 +0000 (02:24 +0000)]
more changes for array section.

19 years agoadded more in array section manual
Gengbin Zheng [Sun, 9 Dec 2001 00:52:08 +0000 (00:52 +0000)]
added more in array section manual

19 years agoadded section manual
Gengbin Zheng [Sat, 8 Dec 2001 23:59:15 +0000 (23:59 +0000)]
added section manual

19 years agoadded error check for user multicast message inherit;
Gengbin Zheng [Sat, 8 Dec 2001 19:38:06 +0000 (19:38 +0000)]
added error check for user multicast message inherit;
now proxy or the sectionID can migrate to other pes.

19 years agomostly name changes.
Gengbin Zheng [Sat, 8 Dec 2001 19:35:41 +0000 (19:35 +0000)]
mostly name changes.

19 years agoAdded ability to register a set of global variables, which are
Orion Lawlor [Fri, 7 Dec 2001 23:53:46 +0000 (23:53 +0000)]
Added ability to register a set of global variables, which are
pup'd into a buffer on processor 0 after init, and pup'd out
on every other node.  The implementation needs work-- there is
much data duplication and potential for race conditions.

19 years agoAdded global variable registrations.
Orion Lawlor [Fri, 7 Dec 2001 23:52:05 +0000 (23:52 +0000)]
Added global variable registrations.
This makes the program a good deal more flexible and cleaner.

19 years agoAdded ability to determine if an address is managed by Isomalloc.
Orion Lawlor [Fri, 7 Dec 2001 23:51:04 +0000 (23:51 +0000)]
Added ability to determine if an address is managed by Isomalloc.

19 years agoMoved footnotes at the end of sentences after the period.
Jayant DeSouza [Fri, 7 Dec 2001 22:03:16 +0000 (22:03 +0000)]
Moved footnotes at the end of sentences after the period.

19 years agoFixed a typo.
Jayant DeSouza [Fri, 7 Dec 2001 22:00:23 +0000 (22:00 +0000)]
Fixed a typo.

19 years agoFixed more typos, did a spell-check.
Jayant DeSouza [Fri, 7 Dec 2001 21:51:59 +0000 (21:51 +0000)]
Fixed more typos, did a spell-check.

19 years agodefine a ckNew() for section
Gengbin Zheng [Fri, 7 Dec 2001 21:37:59 +0000 (21:37 +0000)]
define a ckNew() for section

19 years agoFixed a couple of typos.
Jayant DeSouza [Fri, 7 Dec 2001 21:33:10 +0000 (21:33 +0000)]
Fixed a couple of typos.

19 years agoAdded credits (Sanjeev and self) for original interface translator
Jayant DeSouza [Fri, 7 Dec 2001 21:32:33 +0000 (21:32 +0000)]
Added credits (Sanjeev and self) for original interface translator
work.

19 years agoRemoved duplicate EveryLB entry (grrr...).
Orion Lawlor [Fri, 7 Dec 2001 21:08:54 +0000 (21:08 +0000)]
Removed duplicate EveryLB entry (grrr...).

19 years agoExtra backslash causes syntax error on o2k's make.
Orion Lawlor [Fri, 7 Dec 2001 20:12:00 +0000 (20:12 +0000)]
Extra backslash causes syntax error on o2k's make.

19 years agoForgot a "super::".
Orion Lawlor [Fri, 7 Dec 2001 20:02:06 +0000 (20:02 +0000)]
Forgot a "super::".

19 years agoAdded EveryLB build commands.
Orion Lawlor [Fri, 7 Dec 2001 19:07:51 +0000 (19:07 +0000)]
Added EveryLB build commands.

19 years agoAdded module "EveryLB", which is a convenient way to link in
Orion Lawlor [Fri, 7 Dec 2001 19:07:11 +0000 (19:07 +0000)]
Added module "EveryLB", which is a convenient way to link in
all existing load balancers.

19 years agoFixed multiple inheritance bug (you have to explicitly overload
Orion Lawlor [Fri, 7 Dec 2001 19:06:17 +0000 (19:06 +0000)]
Fixed multiple inheritance bug (you have to explicitly overload
all operators defined in the superclass) and const-correctness.

19 years agouse -module CkMulticast
Gengbin Zheng [Fri, 7 Dec 2001 06:21:20 +0000 (06:21 +0000)]
use -module CkMulticast

19 years agochanged to -module new feature.
Gengbin Zheng [Fri, 7 Dec 2001 06:20:26 +0000 (06:20 +0000)]
changed to -module new feature.

19 years agofixed a few things with Orion's new changes.
Gengbin Zheng [Fri, 7 Dec 2001 05:50:55 +0000 (05:50 +0000)]
fixed a few things with Orion's new changes.