charm.git
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.

19 years agoMany, many changes:
Orion Lawlor [Thu, 20 Jun 2002 21:48:59 +0000 (21:48 +0000)]
Many, many changes:
-Symmetry condition support (FEM_Set_Sym_Nodes)
-"composite" element types (FEM_Composite)
-"from" field of messages is now global chunk number;
  the confusing, difficult-to-maintain "local" chunk number
  is now gone.

These changes are driven by Andreas' needs for Rocflu.

19 years agoChanged "large value" element ghost list criterion to
Orion Lawlor [Thu, 20 Jun 2002 21:45:43 +0000 (21:45 +0000)]
Changed "large value" element ghost list criterion to
"odd global number" criterion.  This is needed because
large values  are actually fairly rare, especially with
very large meshes, so this wasn't actually testing out
much of anything.

19 years agoAdded "const" versions of "get" routines.
Orion Lawlor [Thu, 20 Jun 2002 21:43:55 +0000 (21:43 +0000)]
Added "const" versions of "get" routines.
Looking up a value doesn't change the table,
so "const" is the right thing here.

19 years agoAdding the 3d Grid Router for the communications library
Sameer Kumar [Thu, 20 Jun 2002 15:20:43 +0000 (15:20 +0000)]
Adding the 3d Grid Router for the communications library

19 years agoCkGroupID changed to contain one integer (ID)
Sindhura Bandhakavi [Wed, 19 Jun 2002 20:50:10 +0000 (20:50 +0000)]
CkGroupID changed to contain one integer (ID)
positive IDs for proc 0, uses direct entry table
negative IDs generated by other processors, uses hashtable

19 years agoRenamed AMPI routines to MPI.
Orion Lawlor [Tue, 18 Jun 2002 21:39:27 +0000 (21:39 +0000)]
Renamed AMPI routines to MPI.

19 years agoadd rule for METIS.
Gengbin Zheng [Tue, 18 Jun 2002 14:28:36 +0000 (14:28 +0000)]
add rule for METIS.

19 years agoAdded check to see if the begin "\7f(start_counter) call doesn't occure twice.
Joshua Unger [Mon, 17 Jun 2002 05:40:29 +0000 (05:40 +0000)]
Added check to see if the begin "\7f(start_counter) call doesn't occure twice.
Found a little bug somewhere in what I was assuming.
Still need to do a little work here.

19 years agoAdded one more comment regarding the pup
Joshua Unger [Sun, 16 Jun 2002 21:34:40 +0000 (21:34 +0000)]
Added one more comment regarding the pup

19 years agoJust fixed warning from compiler
Joshua Unger [Sun, 16 Jun 2002 21:28:33 +0000 (21:28 +0000)]
Just fixed warning from compiler

19 years agoGeneralized ghost layer description, in preparation for adding symmetries.
Orion Lawlor [Sun, 16 Jun 2002 19:45:02 +0000 (19:45 +0000)]
Generalized ghost layer description, in preparation for adding symmetries.

19 years ago2 changes:
Orion Lawlor [Sun, 16 Jun 2002 19:44:21 +0000 (19:44 +0000)]
2 changes:
-Fixed alignment bug in FEM_Data_msg-- "data" wasn't always
double-aligned, which caused a crash on net-sol cc -O.
-Generalized ghost layer description into a FEM_Ghost class, in
preparation for symmetries.

19 years agoGeneralized ghost layer description, in preparation for
Orion Lawlor [Sun, 16 Jun 2002 19:43:21 +0000 (19:43 +0000)]
Generalized ghost layer description, in preparation for
adding symmetries.

19 years agoHoisted nonportable declaration of i out of another set of
Orion Lawlor [Sun, 16 Jun 2002 17:46:12 +0000 (17:46 +0000)]
Hoisted nonportable declaration of i out of another set of
for loops.

19 years agoAdded FEM_Set_Sparse_Elem test, which allows a more stringent
Orion Lawlor [Sat, 15 Jun 2002 22:30:19 +0000 (22:30 +0000)]
Added FEM_Set_Sparse_Elem test, which allows a more stringent
sparse data test.

19 years agoChanged to "for d in $(DIRS)" style, and added liveViz.
Orion Lawlor [Sat, 15 Jun 2002 22:29:37 +0000 (22:29 +0000)]
Changed to "for d in $(DIRS)" style, and added liveViz.

19 years agoPulled unportable definition of i inside for loop out to procedure
Orion Lawlor [Sat, 15 Jun 2002 16:23:13 +0000 (16:23 +0000)]
Pulled unportable definition of i inside for loop out to procedure
body.  It's pretty hideous to have the giant "Partition" routine
right here in the header, but moving it to a .C file results in a
link error if Metis isn't linked in.

19 years agoInitial development of library version of liveViz routines.
Orion Lawlor [Fri, 14 Jun 2002 20:42:26 +0000 (20:42 +0000)]
Initial development of library version of liveViz routines.

This code started life as the astro viewer, written in the
summer of 2001 to impress Tom Quinn et al. by Orion Lawlor and
Sanjay Kale.

In the spring of 2002, Sanjay Kale, Gunavardhan Kakulapati,
Ramkumar Vadali, and finally Orion Lawlor were variously
responsible for the code.

19 years agoLeave probing address ranges to rank 0. Without this fix,
Orion Lawlor [Fri, 14 Jun 2002 20:19:51 +0000 (20:19 +0000)]
Leave probing address ranges to rank 0.  Without this fix,
in SMP mode different threads' address probes might conflict
with one another.  Thanks to Sindhura for identifying and Gengbin
for diagnosing this one.

19 years agoAdded more info on an indexing error.
Orion Lawlor [Fri, 14 Jun 2002 18:08:56 +0000 (18:08 +0000)]
Added more info on an indexing error.

19 years agoAdded additional bounds checks-- it should now not be possible
Orion Lawlor [Fri, 14 Jun 2002 15:57:46 +0000 (15:57 +0000)]
Added additional bounds checks-- it should now not be possible
to cause the FEM framework to segfault by passing bad input.

19 years agoRemove prototype for FEM_Set_Sparse_Elem, since its elem array
Orion Lawlor [Thu, 13 Jun 2002 20:25:22 +0000 (20:25 +0000)]
Remove prototype for FEM_Set_Sparse_Elem, since its elem array
might be one or two dimensional.

19 years agoFEM_Get_Ghost_Elem Fortran indexing bug.
Orion Lawlor [Thu, 13 Jun 2002 20:24:38 +0000 (20:24 +0000)]
FEM_Get_Ghost_Elem Fortran indexing bug.

19 years agoAdded FEM_Set_Sparse_Elem, which gives you more control over how
Orion Lawlor [Thu, 13 Jun 2002 17:56:15 +0000 (17:56 +0000)]
Added FEM_Set_Sparse_Elem, which gives you more control over how
sparse records are partitioned.

19 years agoadded simple parameter checking.
Milind Bhandarkar [Thu, 13 Jun 2002 11:07:47 +0000 (11:07 +0000)]
added simple parameter checking.

19 years agoAdded port constructors to prevent illegal input ports.
Milind Bhandarkar [Thu, 13 Jun 2002 10:21:33 +0000 (10:21 +0000)]
Added port constructors to prevent illegal input ports.

19 years agoImported the meat of charisma.
Milind Bhandarkar [Thu, 13 Jun 2002 10:06:38 +0000 (10:06 +0000)]
Imported the meat of charisma.

19 years agoInitial placeholder checkins for charisma.
Milind Bhandarkar [Thu, 13 Jun 2002 08:59:38 +0000 (08:59 +0000)]
Initial placeholder checkins for charisma.

19 years agoInitial placeholder checkins.
Milind Bhandarkar [Thu, 13 Jun 2002 08:59:27 +0000 (08:59 +0000)]
Initial placeholder checkins.

19 years agofixed the warning of return value.
Gengbin Zheng [Wed, 12 Jun 2002 04:11:23 +0000 (04:11 +0000)]
fixed the warning of return value.

19 years agoAdded a "contribute" method that takes a raw CkReductionMsg.
Orion Lawlor [Tue, 11 Jun 2002 23:43:01 +0000 (23:43 +0000)]
Added a "contribute" method that takes a raw CkReductionMsg.
This lets people copy their reduction data straight into the
reductionMsg, saving a copy.

19 years agoIf there's no parameter for a C function, call it on processor 0.
Orion Lawlor [Tue, 11 Jun 2002 23:42:17 +0000 (23:42 +0000)]
If there's no parameter for a C function, call it on processor 0.
This is the most efficient place when used as a reduction function.