charm.git
19 years agoChanged "iargc/getarg" to "tcharm_iargc/tcharm_getarg".
Orion Lawlor [Fri, 19 Jul 2002 23:41:44 +0000 (23:41 +0000)]
Changed "iargc/getarg" to "tcharm_iargc/tcharm_getarg".
This avoids a name conflict with the serial versions.

19 years agoEliminate compiler warnings on net-linux and O2k.
Orion Lawlor [Fri, 19 Jul 2002 22:40:27 +0000 (22:40 +0000)]
Eliminate compiler warnings on net-linux and O2k.

19 years agoAdd descriptive comment at start of conv-mach-opt files,
Orion Lawlor [Fri, 19 Jul 2002 22:39:51 +0000 (22:39 +0000)]
Add descriptive comment at start of conv-mach-opt files,
which eliminates compiler warning about empty source file.

19 years agoAdding multiple posting of receives to machine.c for elan
Sameer Kumar [Fri, 19 Jul 2002 19:54:05 +0000 (19:54 +0000)]
Adding multiple posting of receives to machine.c for elan

19 years agoFixed f90 prototype.
Orion Lawlor [Fri, 19 Jul 2002 17:33:03 +0000 (17:33 +0000)]
Fixed f90 prototype.

19 years agoCorrect blatant lies (details on accessing CVS archive, etc.)
Orion Lawlor [Fri, 19 Jul 2002 16:46:58 +0000 (16:46 +0000)]
Correct blatant lies (details on accessing CVS archive, etc.)
and just point to appropriate documentation, rather than pasting
in the entire charm/README.txt file.

19 years agoMake #eps in sts agree with #eps in count
Joshua Unger [Fri, 19 Jul 2002 03:52:24 +0000 (03:52 +0000)]
Make #eps in sts agree with #eps in count

19 years agoReplaced old local vector3d.h with standard ckvector3d.h.
Orion Lawlor [Thu, 18 Jul 2002 23:41:40 +0000 (23:41 +0000)]
Replaced old local vector3d.h with standard ckvector3d.h.

19 years agoReplaced old local vector3d with new ckvector3d.h versions.
Orion Lawlor [Thu, 18 Jul 2002 23:40:45 +0000 (23:40 +0000)]
Replaced old local vector3d with new ckvector3d.h versions.

19 years agoAdded link for ckvector.h
Orion Lawlor [Thu, 18 Jul 2002 23:38:22 +0000 (23:38 +0000)]
Added link for ckvector.h

19 years agoMoved this file here from copies in:
Orion Lawlor [Thu, 18 Jul 2002 23:38:03 +0000 (23:38 +0000)]
Moved this file here from copies in:
src/libs/ck-libs/liveViz/vector3d.h
src/libs/ck-libs/mblock/vector3d.h
src/libs/ck-libs/collide/vector3d.h
pgms/charm++/ccs/astro/server/vector3d.h

Also added "Ck" prefix (to avoid name collisions)
and templated class over "real" data type.

19 years agoupdated traceUserBracketEvent calls because of the interface change.
Gengbin Zheng [Thu, 18 Jul 2002 16:53:34 +0000 (16:53 +0000)]
updated traceUserBracketEvent calls because of the interface change.

19 years agochanged traceUserBracketEvent() to take en extra ndTime.
Gengbin Zheng [Thu, 18 Jul 2002 16:52:01 +0000 (16:52 +0000)]
changed traceUserBracketEvent() to take en extra ndTime.

19 years agoa new StartLB() interface to allow start LB manually by users.
Gengbin Zheng [Thu, 18 Jul 2002 16:25:03 +0000 (16:25 +0000)]
a new StartLB() interface to allow start LB manually by users.

19 years agoUsed // comment!
Orion Lawlor [Thu, 18 Jul 2002 15:43:46 +0000 (15:43 +0000)]
Used // comment!

19 years agoUse TCharmAttach* routines instead of mucking with TCharmSetupCookie
Orion Lawlor [Thu, 18 Jul 2002 00:15:33 +0000 (00:15 +0000)]
Use TCharmAttach* routines instead of mucking with TCharmSetupCookie
directly.

19 years agoAdded a "tcharm_impl.h" file to hold the implementation details,
Orion Lawlor [Thu, 18 Jul 2002 00:15:06 +0000 (00:15 +0000)]
Added a "tcharm_impl.h" file to hold the implementation details,
while "tcharm.h" is now only the library-writer's interface.

Also added two tiny routines to simplify library writer's "Attach" routine.

19 years agoGive a helpful error message if the user does:
Orion Lawlor [Wed, 17 Jul 2002 23:32:08 +0000 (23:32 +0000)]
Give a helpful error message if the user does:
./charmrun +p3 +vp12 ./foo
instead of crashing horribly while trying to run the program "+vp12".

This works because nobody in their right mind would name their
*program* "+vp12", so we can look for '+' or '-' at the start of
the program name.

19 years agoChanged name of CmiIsomallocBlockList function.
Orion Lawlor [Wed, 17 Jul 2002 23:19:41 +0000 (23:19 +0000)]
Changed name of CmiIsomallocBlockList function.

19 years agoChanged interface to isomalloc routines-- instead of making the user
Orion Lawlor [Wed, 17 Jul 2002 23:19:11 +0000 (23:19 +0000)]
Changed interface to isomalloc routines-- instead of making the user
drag around the "CmiIsomallocBlock" structure containing the mapped slot
and length, keep the CmiIsomallocBlock just before the start of the
mapped buffer.  This makes isomalloc have exactly the same programming
interface as malloc, which is easier to remember and more natural.

Also hoisted CmiIsomallocBlockList structure from inside memory-isomalloc.c
to isomalloc.c, since Chee Wai may be able to reuse this to keep track
of separately-allocated isomalloc blocks.

19 years agoAdded "test-mig" makefile target, to test migration.
Orion Lawlor [Wed, 17 Jul 2002 23:15:43 +0000 (23:15 +0000)]
Added "test-mig" makefile target, to test migration.
This enables the FEM_Migrate call, links in a load balancer,
and links in isomalloc heaps.

19 years agoClarified parameters to CrnInitStream.
Orion Lawlor [Wed, 17 Jul 2002 23:14:37 +0000 (23:14 +0000)]
Clarified parameters to CrnInitStream.

19 years agoditto. blame chao.
Sindhura Bandhakavi [Wed, 17 Jul 2002 21:47:50 +0000 (21:47 +0000)]
ditto. blame chao.

19 years agoChao removing his projections.tex (to make a seperate manual later)
Sindhura Bandhakavi [Wed, 17 Jul 2002 21:44:53 +0000 (21:44 +0000)]
Chao removing his projections.tex (to make a seperate manual later)

19 years agoconv-common change for the machine.c, add a new flag into converse header to indicate...
Sameer Kumar [Wed, 17 Jul 2002 20:47:32 +0000 (20:47 +0000)]
conv-common change for the machine.c, add a new flag into converse header to indicate a static buffer should not be deleted and spooled.

19 years agoAdding elan machine.c with user events for PumpMsgs and ReleaseSentMessages
Sameer Kumar [Wed, 17 Jul 2002 20:14:55 +0000 (20:14 +0000)]
Adding elan machine.c with user events for PumpMsgs and ReleaseSentMessages

19 years agoImplemented features and tested
Joshua Unger [Wed, 17 Jul 2002 11:43:39 +0000 (11:43 +0000)]
Implemented features and tested

19 years agoI was trying to register some converse handlers in traceInit()
Joshua Unger [Tue, 16 Jul 2002 22:37:22 +0000 (22:37 +0000)]
I was trying to register some converse handlers in traceInit()
but they were getting blown away when conve\7ferse actually initialized its
handler table, so Orion hdebugged it and told me to move the traceInit below CmiHandler INnit
am gechecking in for Orion

19 years agoReplace TCharmGetArgv (which only worked during startup on processor 0)
Orion Lawlor [Tue, 16 Jul 2002 22:21:08 +0000 (22:21 +0000)]
Replace TCharmGetArgv (which only worked during startup on processor 0)
with the new CkGetArgv, which works all the time on every processor.

Also added Fortran (quasi-standard) "iargc" and "getarg" routines,
which are used to extract the command-line arguments.

19 years agoUse new CkGetArgv instead of (deleted) TCharmArgv.
Orion Lawlor [Tue, 16 Jul 2002 22:18:50 +0000 (22:18 +0000)]
Use new CkGetArgv instead of (deleted) TCharmArgv.

19 years agoUse (the fancy new) CkGetArgv instead of saving/broadcasting
Orion Lawlor [Tue, 16 Jul 2002 22:18:16 +0000 (22:18 +0000)]
Use (the fancy new) CkGetArgv instead of saving/broadcasting
command-line arguments.

19 years agoStash the argv Converse passes to us somewhere, so it can be extracted
Orion Lawlor [Tue, 16 Jul 2002 22:17:15 +0000 (22:17 +0000)]
Stash the argv Converse passes to us somewhere, so it can be extracted
later using CkGetArgc/CkGetArgv.  This is much more convenient than
broadcasting the args passed to the mainchare.

19 years agoJust mark mmap() as not working if it doesn't exist or no virtual
Orion Lawlor [Tue, 16 Jul 2002 22:13:37 +0000 (22:13 +0000)]
Just mark mmap() as not working if it doesn't exist or no virtual
address space is available, *don't* just abort.

If isomalloc gets disabled, just replace with malloc.

19 years agoMBlock is a module, not a program, so it should not be a "mainmodule".
Orion Lawlor [Tue, 16 Jul 2002 18:31:13 +0000 (18:31 +0000)]
MBlock is a module, not a program, so it should not be a "mainmodule".

19 years agoIf the pack method deallocates the message (which it's allowed
Orion Lawlor [Mon, 15 Jul 2002 22:26:43 +0000 (22:26 +0000)]
If the pack method deallocates the message (which it's allowed
to do), after the unpack we need to re-set the global variable
pointing to the message.

Thanks to Ramkumar for finding this one.

19 years agoFixed integer overflow problem on Origin2000, where "int" is 4
Orion Lawlor [Mon, 15 Jul 2002 20:31:57 +0000 (20:31 +0000)]
Fixed integer overflow problem on Origin2000, where "int" is 4
bytes, but "void *" is 8 bytes.  Specifically,
        isomallocStart + slotsize*slot
doesn't work for large slot numbers, because slotsize*slot
is more than 32 bits.

The solution is to cast both to memRange_t's before the multiply.

Also added pointer comparison subroutines.

19 years agoMoved TraceTimer to AFTER start_counters
Joshua Unger [Mon, 15 Jul 2002 08:52:39 +0000 (08:52 +0000)]
Moved TraceTimer to AFTER start_counters

19 years agoMove ind\7fclude to .C and update to let DEBUG work
Joshua Unger [Mon, 15 Jul 2002 04:39:06 +0000 (04:39 +0000)]
Move ind\7fclude to .C and update to let DEBUG work

19 years agoAdding user events for pump messages, resease sent messages and Free send function...
Sameer Kumar [Fri, 12 Jul 2002 23:01:06 +0000 (23:01 +0000)]
Adding user events for pump messages, resease sent messages and Free send function, with values
10, 20 , 30 respectively

19 years agoAdded -write and -read tests.
Orion Lawlor [Fri, 12 Jul 2002 19:00:40 +0000 (19:00 +0000)]
Added -write and -read tests.

19 years agolv_config can't be a readonly, since we may want to start liveViz
Orion Lawlor [Fri, 12 Jul 2002 18:56:55 +0000 (18:56 +0000)]
lv_config can't be a readonly, since we may want to start liveViz
*after* main::main.  Hence I initialize lv_config by creating a group.

19 years agoAdded a "Ck1CallbackFn" type, which doesn't expect a user-defined parameter.
Orion Lawlor [Fri, 12 Jul 2002 18:54:01 +0000 (18:54 +0000)]
Added a "Ck1CallbackFn" type, which doesn't expect a user-defined parameter.
Thus this kind of callback function can be called on any processor;
in particular, on the local processor.  This means Ck1CallbackFn-based
callbacks never require communication.

19 years agoRecognize CMK_CHARMRUN_LOCAL option, which enables ++local by default.
Orion Lawlor [Fri, 12 Jul 2002 18:52:41 +0000 (18:52 +0000)]
Recognize CMK_CHARMRUN_LOCAL option, which enables ++local by default.

19 years agoNeeded a way to force ++local startup, since some machines don't
Orion Lawlor [Fri, 12 Jul 2002 18:52:03 +0000 (18:52 +0000)]
Needed a way to force ++local startup, since some machines don't
have rsh.

19 years agoAdded support for "const" types. My silly grammar for parsing "const"s
Orion Lawlor [Fri, 12 Jul 2002 18:46:58 +0000 (18:46 +0000)]
Added support for "const" types.  My silly grammar for parsing "const"s
is supposedly ambiguous, so I need the "expect" statement.

19 years agoNeed to make lv_config a readonly, because the bytes per pixel
Orion Lawlor [Fri, 12 Jul 2002 16:20:15 +0000 (16:20 +0000)]
Need to make lv_config a readonly, because the bytes per pixel
(bpp) field is needed on all processors.

Thanks to Jonathan for finding this bug.

19 years ago#if CMK_OPTIMIZE changed to #ifdef to conform to the rest, this make sure -DCMK_OPTIM...
Gengbin Zheng [Fri, 12 Jul 2002 14:40:40 +0000 (14:40 +0000)]
#if CMK_OPTIMIZE changed to #ifdef to conform to the rest, this make sure -DCMK_OPTIMIZE works everywhere.

19 years agoAdding converse commlib with changes for namd
Sameer Kumar [Fri, 12 Jul 2002 00:22:59 +0000 (00:22 +0000)]
Adding converse commlib with changes for namd

19 years agoAdding Working version of comlibmanager
Sameer Kumar [Fri, 12 Jul 2002 00:15:40 +0000 (00:15 +0000)]
Adding Working version of comlibmanager

19 years agoadded interface to turn the localbarrier on/off.
Gengbin Zheng [Thu, 11 Jul 2002 15:57:44 +0000 (15:57 +0000)]
added interface to turn the localbarrier on/off.

19 years agofixed an compilation error.
Gengbin Zheng [Thu, 11 Jul 2002 13:44:07 +0000 (13:44 +0000)]
fixed an compilation error.

19 years agofixed a compiling error.
Gengbin Zheng [Wed, 10 Jul 2002 18:00:34 +0000 (18:00 +0000)]
fixed a compiling error.

19 years agoadded function prototypes, traceIsOn changed to macro.
Gengbin Zheng [Wed, 10 Jul 2002 17:27:55 +0000 (17:27 +0000)]
added function prototypes, traceIsOn changed to macro.

19 years agosupport user registered event pairs begin/end;
Gengbin Zheng [Wed, 10 Jul 2002 17:27:12 +0000 (17:27 +0000)]
support user registered event pairs begin/end;
also change traceIsOn from funtion to a macro.

19 years agoAdded overview and commented well`
Joshua Unger [Wed, 10 Jul 2002 10:59:28 +0000 (10:59 +0000)]
Added overview and commented well`

19 years agoAdding namd code to the commlib manager
Sameer Kumar [Tue, 9 Jul 2002 19:29:35 +0000 (19:29 +0000)]
Adding namd code to the commlib manager

19 years agoset charm version number to 050602
Gengbin Zheng [Tue, 9 Jul 2002 05:16:18 +0000 (05:16 +0000)]
set charm version number to 050602

19 years agoadding the sync message size to elan
Sameer Kumar [Mon, 8 Jul 2002 21:10:03 +0000 (21:10 +0000)]
adding the sync message size to elan

19 years agoMajor restructuring with multiple counter commandline args
Joshua Unger [Mon, 8 Jul 2002 09:01:45 +0000 (09:01 +0000)]
Major restructuring with multiple counter commandline args
ALso, phase by phase separateion

19 years ago-lz for zlib redefine CMK_LIBS using $CMK_LIBS instead of real value.
Gengbin Zheng [Mon, 8 Jul 2002 04:26:17 +0000 (04:26 +0000)]
-lz for zlib redefine CMK_LIBS using $CMK_LIBS instead of real value.

19 years agoChanged traceBegin/traceEnd
Joshua Unger [Mon, 8 Jul 2002 01:38:40 +0000 (01:38 +0000)]
Changed traceBegin/traceEnd

19 years agoAdd comment to explain traceBegin command
Joshua Unger [Sun, 7 Jul 2002 22:33:30 +0000 (22:33 +0000)]
Add comment to explain traceBegin command

19 years agoadd traceBegin()/traceEnd() and +traceoff feature into the manual.
Chao Huang [Sun, 7 Jul 2002 21:15:29 +0000 (21:15 +0000)]
add traceBegin()/traceEnd() and +traceoff feature into the manual.

19 years agoDu\7focumented version
Joshua Unger [Sun, 7 Jul 2002 20:53:21 +0000 (20:53 +0000)]
Du\7focumented version

19 years agoadded some comments for trace.h, cleanup some unused functions.
Gengbin Zheng [Sun, 7 Jul 2002 20:26:46 +0000 (20:26 +0000)]
added some comments for trace.h, cleanup some unused functions.

19 years agofixed shrink(), compression moved to the writing phase.
Gengbin Zheng [Sun, 7 Jul 2002 02:47:27 +0000 (02:47 +0000)]
fixed shrink(), compression moved to the writing phase.

19 years agoMade a few correctioins in the projections manual.
Chao Huang [Sat, 6 Jul 2002 22:35:07 +0000 (22:35 +0000)]
Made a few correctioins in the projections manual.

19 years agoallow new format of bin log: e.g. 0+100 to represent repeating 0 for 100 times.
Gengbin Zheng [Sat, 6 Jul 2002 21:54:05 +0000 (21:54 +0000)]
allow new format of bin log: e.g. 0+100 to represent repeating 0 for 100 times.

19 years agoAdded a section of manual for Projections
Chao Huang [Sat, 6 Jul 2002 05:19:16 +0000 (05:19 +0000)]
Added a section of manual for Projections

19 years agochanged +trace-root to +traceroot for the convention.
Gengbin Zheng [Fri, 5 Jul 2002 22:29:11 +0000 (22:29 +0000)]
changed +trace-root to +traceroot for the convention.

19 years agomove creation of sts to the beginning with .log.
Gengbin Zheng [Fri, 5 Jul 2002 22:26:09 +0000 (22:26 +0000)]
move creation of sts to the beginning with .log.

19 years agocreated .sts at the beginning so that it prevents different locations if user changed...
Gengbin Zheng [Fri, 5 Jul 2002 22:18:48 +0000 (22:18 +0000)]
created .sts at the beginning so that it prevents different locations if user changed dir in the middle.

19 years agowhen traceoff, dummy_ eps will be still registered, so that when trace is on later...
Gengbin Zheng [Thu, 4 Jul 2002 22:59:28 +0000 (22:59 +0000)]
when traceoff, dummy_ eps will be still registered, so that when trace is on later, sts still stores the ep numbers.

19 years agoadded status printout.
Gengbin Zheng [Wed, 3 Jul 2002 05:52:52 +0000 (05:52 +0000)]
added status printout.

19 years agotraceRegisterUserEvent now store the user event string and write into
Gengbin Zheng [Tue, 2 Jul 2002 21:09:35 +0000 (21:09 +0000)]
traceRegisterUserEvent now store the user event string and write into
log file.

19 years agoAdding latest version of lemieux elan machine.c
Sameer Kumar [Tue, 2 Jul 2002 20:32:44 +0000 (20:32 +0000)]
Adding latest version of lemieux elan machine.c

19 years agoadded traceIsOn(), also traceUsrEvent now only trace when traceOn is on.
Gengbin Zheng [Tue, 2 Jul 2002 16:22:22 +0000 (16:22 +0000)]
added traceIsOn(), also traceUsrEvent now only trace when traceOn is on.

19 years agoadd prototype for traceisOn()
Gengbin Zheng [Tue, 2 Jul 2002 16:20:50 +0000 (16:20 +0000)]
add prototype for traceisOn()

19 years agoCleaned up a little with variable names
Joshua Unger [Mon, 1 Jul 2002 22:01:45 +0000 (22:01 +0000)]
Cleaned up a little with variable names
Changed to total count AND time in SECONDS

19 years agoMust use "l" format when scanning into a double precision float.
Orion Lawlor [Fri, 28 Jun 2002 20:39:39 +0000 (20:39 +0000)]
Must use "l" format when scanning into a double precision float.
Otherwise only half the double gets set!

19 years agodon;t delete trace-projections when traceClose.
Gengbin Zheng [Fri, 28 Jun 2002 18:10:25 +0000 (18:10 +0000)]
don;t delete trace-projections when traceClose.

19 years agofixed compilation error: numStats_ is private and is not accessible.
Gengbin Zheng [Fri, 28 Jun 2002 15:08:57 +0000 (15:08 +0000)]
fixed compilation error: numStats_ is private and is not accessible.

19 years agoCMiMyRank => CkMyRank for BG
Gengbin Zheng [Thu, 27 Jun 2002 22:00:38 +0000 (22:00 +0000)]
CMiMyRank => CkMyRank for BG

19 years agoAdded links to Lemieux performance counters
Joshua Unger [Thu, 27 Jun 2002 21:29:49 +0000 (21:29 +0000)]
Added links to Lemieux performance counters

19 years agomaking ccd_heap growable when used up.
Gengbin Zheng [Thu, 27 Jun 2002 20:59:58 +0000 (20:59 +0000)]
making ccd_heap growable when used up.

19 years agocannot use CldPresentPE()
Gengbin Zheng [Thu, 27 Jun 2002 04:01:51 +0000 (04:01 +0000)]
cannot use CldPresentPE()

19 years agominor changes removing debugging, adding CkAssert()
Gengbin Zheng [Thu, 27 Jun 2002 00:10:00 +0000 (00:10 +0000)]
minor changes removing debugging, adding CkAssert()

19 years agofix a bug in the way sectionID pupped in CProxySection_ArrayBase::pup().
Gengbin Zheng [Wed, 26 Jun 2002 23:31:14 +0000 (23:31 +0000)]
fix a bug in the way sectionID pupped in CProxySection_ArrayBase::pup().

19 years agoadded call to filter nonmigratable objects in Strategy().
Gengbin Zheng [Wed, 26 Jun 2002 22:44:51 +0000 (22:44 +0000)]
added call to filter nonmigratable objects in Strategy().

19 years agoadded code for controlling which processor will generate the log or sum file.
Gengbin Zheng [Wed, 26 Jun 2002 03:56:49 +0000 (03:56 +0000)]
added code for controlling which processor will generate the log or sum file.

19 years agofix when trap in a infinite loop when a directory is missing.
Gengbin Zheng [Wed, 26 Jun 2002 03:07:12 +0000 (03:07 +0000)]
fix when trap in a infinite loop when a directory is missing.

19 years agominor change for bluegene compilation rule.
Gengbin Zheng [Tue, 25 Jun 2002 15:37:18 +0000 (15:37 +0000)]
minor change for bluegene compilation rule.

19 years agoBG thread/Charm PE version as default
Gengbin Zheng [Tue, 25 Jun 2002 14:47:56 +0000 (14:47 +0000)]
BG thread/Charm PE version as default

19 years agofixed a core dump bug when a correction message come earlier than original message
Gengbin Zheng [Tue, 25 Jun 2002 05:39:21 +0000 (05:39 +0000)]
fixed a core dump bug when a correction message come earlier than original message

19 years agofixed compiler warnings and errors on lemieux.
Gengbin Zheng [Mon, 24 Jun 2002 20:37:29 +0000 (20:37 +0000)]
fixed compiler warnings and errors on lemieux.

19 years agoLDProcessorSpeed() should only be called once on each SMP node.
Gengbin Zheng [Mon, 24 Jun 2002 20:09:10 +0000 (20:09 +0000)]
LDProcessorSpeed() should only be called once on each SMP node.

19 years agoChange to write number of counters
Joshua Unger [Sun, 23 Jun 2002 21:09:31 +0000 (21:09 +0000)]
Change to write number of counters

19 years agoJust checking in latest f\7fversion, bery little changes
Joshua Unger [Sat, 22 Jun 2002 18:28:54 +0000 (18:28 +0000)]
Just checking in latest f\7fversion, bery little changes

19 years ago"rank" only exists on mpi- versions of Converse. It's not totally
Orion Lawlor [Fri, 21 Jun 2002 12:55:29 +0000 (12:55 +0000)]
"rank" only exists on mpi- versions of Converse.  It's not totally
clear what Sameer intended by the commented-out lines, but they
don't compile on, e.g., net-linux.

19 years agoAdded disambiguation typecasts. The IBM SP C++ compiler can't
Orion Lawlor [Fri, 21 Jun 2002 12:52:59 +0000 (12:52 +0000)]
Added disambiguation typecasts.  The IBM SP C++ compiler can't
figure out whether to apply log(float), log(double), or log(long
double) here, so just dies.