charm.git
19 years agoSilly double-word typo.
Orion Lawlor [Tue, 24 Sep 2002 02:04:57 +0000 (02:04 +0000)]
Silly double-word typo.

19 years agoWant "copySize=min(oldSize,newSize);", not max.
Orion Lawlor [Tue, 24 Sep 2002 01:19:28 +0000 (01:19 +0000)]
Want "copySize=min(oldSize,newSize);", not max.

Thanks to Tom Quinn of the U. Washington astrophysics group
for finding this (silly) bug.

19 years agoWhoops-- clipping table was missing the last
Orion Lawlor [Tue, 24 Sep 2002 00:42:13 +0000 (00:42 +0000)]
Whoops-- clipping table was missing the last
entry, so everything *but* 255+255 works properly.

19 years agoadded post processing callback before write projection logs which allow blue gene...
Gengbin Zheng [Mon, 23 Sep 2002 21:30:35 +0000 (21:30 +0000)]
added post processing callback before write projection logs which allow blue gene time correction module to scan and modify  it.

19 years agoa few change in the manualon mode.
Gengbin Zheng [Mon, 23 Sep 2002 17:54:09 +0000 (17:54 +0000)]
a few change in the manualon mode.

19 years agofixed compiler errors when LBDB is off.
Gengbin Zheng [Mon, 23 Sep 2002 14:21:08 +0000 (14:21 +0000)]
fixed compiler errors when LBDB is off.

19 years agosimplified TurnManualLBOn() to be a global callable function.
Gengbin Zheng [Mon, 23 Sep 2002 06:46:31 +0000 (06:46 +0000)]
simplified TurnManualLBOn() to be a global callable function.
rearrange some code.

19 years agofixed compiler error on o2k.
Gengbin Zheng [Fri, 20 Sep 2002 16:01:12 +0000 (16:01 +0000)]
fixed compiler error on o2k.

19 years agoclarification about ResumeFromSync().
Gengbin Zheng [Thu, 19 Sep 2002 19:35:32 +0000 (19:35 +0000)]
clarification about ResumeFromSync().

19 years agotrace-common.C includes charm++.h broke all converse program, fixed.
Gengbin Zheng [Thu, 19 Sep 2002 18:54:27 +0000 (18:54 +0000)]
trace-common.C includes charm++.h broke all converse program, fixed.

19 years agoadded middle-conv.h
Gengbin Zheng [Thu, 19 Sep 2002 18:49:24 +0000 (18:49 +0000)]
added middle-conv.h

19 years agoreorginzed middle.h a little bit, move converse part to middle-conv.h, and move macro...
Gengbin Zheng [Thu, 19 Sep 2002 18:48:54 +0000 (18:48 +0000)]
reorginzed middle.h a little bit, move converse part to middle-conv.h, and move macro switch from charm++ to middle.h

19 years agominor change.
Gengbin Zheng [Thu, 19 Sep 2002 18:37:42 +0000 (18:37 +0000)]
minor change.

19 years agoadded #ifndef _H to prevent these files being included more than once.
Gengbin Zheng [Thu, 19 Sep 2002 18:23:53 +0000 (18:23 +0000)]
added #ifndef _H to prevent these files being included more than once.

19 years agoResumeFromSync() now is registered in both sync and nonSync modes.
Gengbin Zheng [Thu, 19 Sep 2002 17:11:13 +0000 (17:11 +0000)]
ResumeFromSync() now is registered in both sync and nonSync modes.
It is just an optional feature that after load balancing finished migration it will get called if user writes his own code for it.

19 years agoa lot of changes.
Gengbin Zheng [Thu, 19 Sep 2002 06:09:42 +0000 (06:09 +0000)]
a lot of changes.

19 years ago*** empty log message ***
Chao Huang [Thu, 19 Sep 2002 05:37:17 +0000 (05:37 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Chao Huang [Thu, 19 Sep 2002 04:55:41 +0000 (04:55 +0000)]
*** empty log message ***

19 years agoverbose mode displays the data port after node connected.
Gengbin Zheng [Thu, 19 Sep 2002 04:11:00 +0000 (04:11 +0000)]
verbose mode displays the data port after node connected.

19 years agoupdated
Gengbin Zheng [Wed, 18 Sep 2002 18:44:13 +0000 (18:44 +0000)]
updated

19 years agoAdded a field to the node <-> charmrun startup communication structure.
Orion Lawlor [Wed, 18 Sep 2002 15:40:24 +0000 (15:40 +0000)]
Added a field to the node <-> charmrun startup communication structure.
It's really ridiculous that we have to change *this* file to do so;
we need a "charmrun.h" for this kind of information.

19 years agoAutomatically determine GM port number to use, by trying each
Orion Lawlor [Wed, 18 Sep 2002 15:39:16 +0000 (15:39 +0000)]
Automatically determine GM port number to use, by trying each
port until we find a free one.  This means the nodes have to
send charmrun the port they chose; which basically requires
adding another field to the CkNodeInfo struct sent to/from
charmrun on startup. (It would have been possible to hack
both the new port and the node ID into the existing structure,
but it's messy enough already.)

This extra field allows charmrun to treat GM and non-GM clients
identically, which is nice.

19 years agoAutomatically determine GM port number to use, by trying each
Orion Lawlor [Wed, 18 Sep 2002 15:38:57 +0000 (15:38 +0000)]
Automatically determine GM port number to use, by trying each
port until we find a free one.  This means the nodes have to
send charmrun the port they chose; which basically requires
adding another field to the CkNodeInfo struct sent to/from
charmrun on startup. (It would have been possible to hack
both the new port and the node ID into the existing structure,
but it's messy enough already.)

19 years agoadded the long-missing load balancing framework section.
Gengbin Zheng [Wed, 18 Sep 2002 06:36:10 +0000 (06:36 +0000)]
added the long-missing load balancing framework section.

19 years agoadding net-linux compiles version
Sameer Kumar [Sun, 15 Sep 2002 01:53:55 +0000 (01:53 +0000)]
adding net-linux compiles version

19 years agoSame as previous commit.
Sameer Kumar [Sun, 15 Sep 2002 01:45:43 +0000 (01:45 +0000)]
Same as previous commit.

19 years agofixed MPI bug in net-linux
Sameer Kumar [Sat, 14 Sep 2002 22:26:39 +0000 (22:26 +0000)]
fixed MPI bug in net-linux

19 years agolatest version with global variables taken out
Sameer Kumar [Fri, 13 Sep 2002 22:39:59 +0000 (22:39 +0000)]
latest version with global variables taken out

19 years agocommlibn commit from lemieux
Sameer Kumar [Fri, 13 Sep 2002 22:14:11 +0000 (22:14 +0000)]
commlibn commit from lemieux

19 years agoilatest version of communications library
Sameer Kumar [Fri, 13 Sep 2002 22:10:41 +0000 (22:10 +0000)]
ilatest version of communications library

19 years agolinking pmpich seems still need -lmpich on ia64.
Gengbin Zheng [Fri, 13 Sep 2002 14:55:46 +0000 (14:55 +0000)]
linking pmpich seems still need -lmpich on ia64.

19 years agochanged default compiler to gcc from gcc3, and add gcc3 as option.
Gengbin Zheng [Thu, 12 Sep 2002 20:10:09 +0000 (20:10 +0000)]
changed default compiler to gcc from gcc3, and add gcc3 as option.

19 years agomoved CmiSyncSendPersistent() from machine.c to persistent.c
Gengbin Zheng [Thu, 12 Sep 2002 16:07:23 +0000 (16:07 +0000)]
moved CmiSyncSendPersistent() from machine.c to persistent.c

19 years agofix for broken compiler when no dlopen supported.
Gengbin Zheng [Thu, 12 Sep 2002 04:21:03 +0000 (04:21 +0000)]
fix for broken compiler when no dlopen supported.

19 years agoanother fix for broken compiler.
Gengbin Zheng [Wed, 11 Sep 2002 22:06:42 +0000 (22:06 +0000)]
another fix for broken compiler.

19 years agofix broken compiler with set CMK_PERSISTENT_COMM to 0
Gengbin Zheng [Wed, 11 Sep 2002 21:33:57 +0000 (21:33 +0000)]
fix broken compiler with set CMK_PERSISTENT_COMM to 0

19 years agocode clean up.
Gengbin Zheng [Wed, 11 Sep 2002 21:21:57 +0000 (21:21 +0000)]
code clean up.

19 years agoactually implemented CmiAbort(), it was hanging after calling CmiAbort().
Gengbin Zheng [Wed, 11 Sep 2002 18:34:16 +0000 (18:34 +0000)]
actually implemented CmiAbort(), it was hanging after calling CmiAbort().

19 years agoAdded CMK_DLL_CC symbols, to allow C++ interpreter to work.
Orion Lawlor [Wed, 11 Sep 2002 04:22:56 +0000 (04:22 +0000)]
Added CMK_DLL_CC symbols, to allow C++ interpreter to work.

19 years agoAdded check for dlopen and win32 LoadLibrary/GetProcAddress.
Orion Lawlor [Wed, 11 Sep 2002 04:22:15 +0000 (04:22 +0000)]
Added check for dlopen and win32 LoadLibrary/GetProcAddress.

19 years agoAdded dynamic-link library routines (see comments for details).
Orion Lawlor [Wed, 11 Sep 2002 04:21:43 +0000 (04:21 +0000)]
Added dynamic-link library routines (see comments for details).

19 years agofixed a memory leak.
Gengbin Zheng [Tue, 10 Sep 2002 21:02:13 +0000 (21:02 +0000)]
fixed a memory leak.

19 years agoadded new funtion prototypes.
Gengbin Zheng [Tue, 10 Sep 2002 03:59:29 +0000 (03:59 +0000)]
added new funtion prototypes.

19 years agoMade TCharm and FEM routine names consistent with each other
Orion Lawlor [Mon, 9 Sep 2002 17:53:20 +0000 (17:53 +0000)]
Made TCharm and FEM routine names consistent with each other
and AMPI/Mblock: module name in caps, underscore, one initial
capital, then everything else underscore-separated lowercase:
LIBRARY_Foo_bar

19 years agochanged receive table from fixed size to link list.
Gengbin Zheng [Sat, 7 Sep 2002 05:18:37 +0000 (05:18 +0000)]
changed receive table from fixed size to link list.

19 years agoa lot of changes, added call to allow users to destory one particular persistent...
Gengbin Zheng [Fri, 6 Sep 2002 15:38:50 +0000 (15:38 +0000)]
a lot of changes, added call to allow users to destory one particular persistent handler. Also reorgnized the code a bit.

19 years agoFixed bug: have to always close CCS socket, even if user doesn't
Orion Lawlor [Wed, 4 Sep 2002 23:47:15 +0000 (23:47 +0000)]
Fixed bug: have to always close CCS socket, even if user doesn't
care about return message.

19 years agoBuild liveViz3d library.
Orion Lawlor [Wed, 4 Sep 2002 23:45:26 +0000 (23:45 +0000)]
Build liveViz3d library.

19 years agoNew library: use image caching to accellerate interaction with slow-drawing
Orion Lawlor [Wed, 4 Sep 2002 23:45:09 +0000 (23:45 +0000)]
New library: use image caching to accellerate interaction with slow-drawing
objects on the parallel machine.

The basic idea is that the parallel server renders its objects into
small textures (just 2D images), which the client composits using his
3D card.  Since the textures don't need to be redrawn until their
projections differ from the true projection by some number of screen
pixels, the can dramatically cut down the amount of data that needs to
be transmitted to the client.

By varying the size of the objects agglomerated into textures, this
library can simulate liveViz (agglomerate everything into one huge
texture; client is useless) all the way to a full volume renderer
(agglomerate nothing; do all rendering on the client) and (uniquely)
anywhere in between.

19 years agoMoved image.h to charm/src/util/ckimage.h, and renamed its classes
Orion Lawlor [Wed, 4 Sep 2002 23:40:27 +0000 (23:40 +0000)]
Moved image.h to charm/src/util/ckimage.h, and renamed its classes
for broad use.

19 years agoRenamed "toNetwork4.h" "pup_toNetwork4.h", and moved it to charm/src/util.
Orion Lawlor [Wed, 4 Sep 2002 23:39:17 +0000 (23:39 +0000)]
Renamed "toNetwork4.h" "pup_toNetwork4.h", and moved it to charm/src/util.

19 years agoAdded ckimage.h, ckimage.C, and pup_toNetwork4.h header.
Orion Lawlor [Wed, 4 Sep 2002 23:38:04 +0000 (23:38 +0000)]
Added ckimage.h, ckimage.C, and pup_toNetwork4.h header.

19 years agoFixed bug: toTextUtil wouldn't recognize uchar (same as byte).
Orion Lawlor [Wed, 4 Sep 2002 23:37:31 +0000 (23:37 +0000)]
Fixed bug: toTextUtil wouldn't recognize uchar (same as byte).

Also added toNetwork4 routines, for pup_toNetwork4 header.

19 years agoAdded pup routine.
Orion Lawlor [Wed, 4 Sep 2002 23:36:48 +0000 (23:36 +0000)]
Added pup routine.

19 years agoMoved these files here from liveViz and netFEM libraries.
Orion Lawlor [Wed, 4 Sep 2002 23:36:07 +0000 (23:36 +0000)]
Moved these files here from liveViz and netFEM libraries.

They're general-purpose, and useful elsewhere, so they belong here.

19 years agofixed error check.
Gengbin Zheng [Wed, 4 Sep 2002 15:23:07 +0000 (15:23 +0000)]
fixed error check.

19 years agoerror check to make sure main chare constructor doesn't have parameter.
Gengbin Zheng [Tue, 3 Sep 2002 19:59:48 +0000 (19:59 +0000)]
error check to make sure main chare constructor doesn't have parameter.

19 years agoUse the pup method of readonly if possible, not just
Orion Lawlor [Thu, 29 Aug 2002 19:07:18 +0000 (19:07 +0000)]
Use the pup method of readonly if possible, not just
memcpy.  That lets you do, e.g.:

#include "pup_stl.h"
typedef std::vector<std::string> stringVec;

readonly stringVec sv;

The vector-of-strings will be broadcast properly after
main returns, via the magic of pup.  Of course, ordinary
types and those without pup routines work as usual.

19 years ago*** empty log message ***
Rashmi Jyothi [Thu, 29 Aug 2002 14:56:36 +0000 (14:56 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Rashmi Jyothi [Thu, 29 Aug 2002 14:39:33 +0000 (14:39 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Rashmi Jyothi [Thu, 29 Aug 2002 14:13:10 +0000 (14:13 +0000)]
*** empty log message ***

19 years agoallow lbs register multiple StartLBFn, also add remove startFn function.
Gengbin Zheng [Thu, 29 Aug 2002 05:36:49 +0000 (05:36 +0000)]
allow lbs register multiple StartLBFn, also add remove startFn function.

19 years agoadvanced charm version for namd2.
Gengbin Zheng [Thu, 29 Aug 2002 00:02:06 +0000 (00:02 +0000)]
advanced charm version for namd2.

19 years agodefine traceAvailable(), it return 1 if any one of tracing modules is linked.
Gengbin Zheng [Thu, 29 Aug 2002 00:01:23 +0000 (00:01 +0000)]
define traceAvailable(), it return 1 if any one of tracing modules is linked.

19 years agoBug fix in bindTo discovered via liveViz. Fix and edit by Orion, edited
Jonathan Booth [Wed, 28 Aug 2002 21:21:29 +0000 (21:21 +0000)]
Bug fix in bindTo discovered via liveViz. Fix and edit by Orion, edited
thru my account.

19 years agoFixed an error in the example creation of the bound array.
Jonathan Booth [Wed, 28 Aug 2002 20:32:31 +0000 (20:32 +0000)]
Fixed an error in the example creation of the bound array.

19 years agoRemoved "-static" from link line.
Orion Lawlor [Wed, 28 Aug 2002 17:34:18 +0000 (17:34 +0000)]
Removed "-static" from link line.

Since isomalloc is now (much) more intelligent about choosing its
address range, we can now use dynamic linking in Charm++ programs.

Dynmically linked libraries have a number of benefits:
-Faster linking, since libc gets linked at runtime
-Smaller executables, since all of libc isn't dragged along with
-Routine names from CkBacktrace.
-Allows us to use dlopen, etc.

19 years agouse converse quiescence detection in BgShutdown to make sure all timing correction...
Gengbin Zheng [Wed, 28 Aug 2002 03:59:25 +0000 (03:59 +0000)]
use converse quiescence detection in BgShutdown to make sure all timing correction messages are handled before quiting the program. converse quiescence detection only needed when doing timing log correction.

19 years agofixed Converse quiescence detection in scheduler. The counter of process should not...
Gengbin Zheng [Wed, 28 Aug 2002 03:38:23 +0000 (03:38 +0000)]
fixed Converse quiescence detection in scheduler. The counter of process should not be updated for each message because some charm++ message bypass the converse handler.

19 years agocompletely eliminated blocking elan_wait for elan_put.
Gengbin Zheng [Tue, 27 Aug 2002 15:40:56 +0000 (15:40 +0000)]
completely eliminated blocking elan_wait for elan_put.

19 years agoAdded a user-specified-ID method for getting and setting globals.
Orion Lawlor [Fri, 23 Aug 2002 21:14:40 +0000 (21:14 +0000)]
Added a user-specified-ID method for getting and setting globals.

19 years agocode arrage.
Gengbin Zheng [Thu, 22 Aug 2002 16:07:13 +0000 (16:07 +0000)]
code arrage.

19 years agocouple fixes for timing correction.
Gengbin Zheng [Thu, 22 Aug 2002 15:32:05 +0000 (15:32 +0000)]
couple fixes for timing correction.
also added delay for handling correction messages.

19 years agoPrint a stack trace on a CmiAbort or signal.
Orion Lawlor [Tue, 20 Aug 2002 22:49:14 +0000 (22:49 +0000)]
Print a stack trace on a CmiAbort or signal.

19 years agoAdded "-LANG:std" to allow use of the STL on this compiler.
Orion Lawlor [Tue, 20 Aug 2002 22:48:26 +0000 (22:48 +0000)]
Added "-LANG:std" to allow use of the STL on this compiler.

19 years agoAdded CMK_USE_BACKTRACE test for glibc backtrace support.
Orion Lawlor [Tue, 20 Aug 2002 22:47:58 +0000 (22:47 +0000)]
Added CMK_USE_BACKTRACE test for glibc backtrace support.
Also added more sensible comments to configure.in, and
check of environment variable "$autoconf_debug" to give verbose
errors.

19 years agoAdvertise "CmiBacktrace" and "CmiPrintStackTrace" routines, used
Orion Lawlor [Tue, 20 Aug 2002 22:46:22 +0000 (22:46 +0000)]
Advertise "CmiBacktrace" and "CmiPrintStackTrace" routines, used
for unwinding the stack during debugging.

19 years agoAllow stack unwinding.
Orion Lawlor [Tue, 20 Aug 2002 22:45:27 +0000 (22:45 +0000)]
Allow stack unwinding.

19 years agoUnder +netpoll, there's no SIGIO handler, so we can't ask
Orion Lawlor [Thu, 15 Aug 2002 15:40:55 +0000 (15:40 +0000)]
Under +netpoll, there's no SIGIO handler, so we can't ask
for SIGIO's on stdout.

19 years agoAdded comment explaining how to use a "pup_er" from C++.
Orion Lawlor [Thu, 15 Aug 2002 15:40:14 +0000 (15:40 +0000)]
Added comment explaining how to use a "pup_er" from C++.

19 years agofix a debug printout.
Gengbin Zheng [Wed, 14 Aug 2002 00:04:48 +0000 (00:04 +0000)]
fix a debug printout.

19 years agofixed compiler warnings.
Gengbin Zheng [Tue, 13 Aug 2002 22:36:55 +0000 (22:36 +0000)]
fixed compiler warnings.

19 years agofixed for bluegene charm++(ckpv)
Gengbin Zheng [Tue, 13 Aug 2002 22:34:08 +0000 (22:34 +0000)]
fixed for bluegene charm++(ckpv)

19 years agoadd include for conv-common.gh and conv-mach-opt.h
Gengbin Zheng [Tue, 13 Aug 2002 22:27:55 +0000 (22:27 +0000)]
add include for conv-common.gh and conv-mach-opt.h

19 years agobroken compiler on o2k.
Gengbin Zheng [Tue, 13 Aug 2002 22:25:53 +0000 (22:25 +0000)]
broken compiler on o2k.

19 years agoupdated bluegene message header for origin2000
Gengbin Zheng [Tue, 13 Aug 2002 22:13:29 +0000 (22:13 +0000)]
updated bluegene message header for origin2000

19 years agoextend trace-summary +sumonly to be working when only partial log files are generated.
Gengbin Zheng [Tue, 13 Aug 2002 17:11:45 +0000 (17:11 +0000)]
extend trace-summary +sumonly to be working when only partial log files are generated.

19 years agoAdded language "charm++f", which is just charm++ but with the
Orion Lawlor [Mon, 12 Aug 2002 23:51:52 +0000 (23:51 +0000)]
Added language "charm++f", which is just charm++ but with the
Fortran runtime libraries.  This is needed by Charm++ programs
that happen to include a small amount of (serial) fortran.

19 years agoAdded fixed-format f90 compiler.
Orion Lawlor [Mon, 12 Aug 2002 20:10:16 +0000 (20:10 +0000)]
Added fixed-format f90 compiler.

19 years agoAdded CF90_FIXED, for fixed-format f90 source files.
Orion Lawlor [Mon, 12 Aug 2002 20:09:38 +0000 (20:09 +0000)]
Added CF90_FIXED, for fixed-format f90 source files.

19 years agodisable trace user events in bluegene mode.
Gengbin Zheng [Sun, 11 Aug 2002 22:57:14 +0000 (22:57 +0000)]
disable trace user events in bluegene mode.

19 years agoregister module for trace-summary in trace all case.
Gengbin Zheng [Fri, 9 Aug 2002 20:30:21 +0000 (20:30 +0000)]
register module for trace-summary in trace all case.

19 years agoAdded inlineable version of find.
Orion Lawlor [Fri, 9 Aug 2002 20:12:50 +0000 (20:12 +0000)]
Added inlineable version of find.

19 years agoclean up blue gene timing correction.
Gengbin Zheng [Fri, 9 Aug 2002 06:18:13 +0000 (06:18 +0000)]
clean up blue gene timing correction.

19 years agofixed a buf when only 1 pe, broadcast should be treated as send to CkMyPe().
Gengbin Zheng [Thu, 8 Aug 2002 23:29:53 +0000 (23:29 +0000)]
fixed a buf when only 1 pe, broadcast should be treated as send to CkMyPe().

19 years agocall endCompute before send summary data to 0.
Gengbin Zheng [Thu, 8 Aug 2002 17:58:53 +0000 (17:58 +0000)]
call endCompute before send summary data to 0.

19 years agofully implement some missing features for some special cases since now skipCld also...
Gengbin Zheng [Thu, 8 Aug 2002 06:12:42 +0000 (06:12 +0000)]
fully implement some missing features for some special cases since now skipCld also go to this.

19 years agofixed a timing bug caused by skipCldEnqueue send a message to itself.
Gengbin Zheng [Thu, 8 Aug 2002 04:00:05 +0000 (04:00 +0000)]
fixed a timing bug caused by skipCldEnqueue send a message to itself.

19 years agomake a CkExit() wrapper and added CkExitFn call back, which will do some task and...
Gengbin Zheng [Wed, 7 Aug 2002 21:05:05 +0000 (21:05 +0000)]
make a CkExit() wrapper and added CkExitFn call back, which will do some task and come back to CkExit. This allow, for example, trace-summary can get control before real CkExit and collects summary data into one node before CkExit shutdown the program.

19 years agoadded +sumonly which will combine summary bin data from all pes to pe0 and write...
Gengbin Zheng [Wed, 7 Aug 2002 21:02:39 +0000 (21:02 +0000)]
added +sumonly which will combine summary bin data from all pes to pe0 and write only one file. This use registerCkExit() callback in init.C so that when CkExit is called, this collection procedure starts.