charm.git
17 years agoAdd link to new envelope documentation.
Orion Lawlor [Tue, 27 Jan 2004 22:10:40 +0000 (22:10 +0000)]
Add link to new envelope documentation.

17 years agoUpdate calls for new, clearer envelope.h macro names.
Orion Lawlor [Tue, 27 Jan 2004 22:06:40 +0000 (22:06 +0000)]
Update calls for new, clearer envelope.h macro names.

17 years agoAdded extensive comments describing envelope layout and usage.
Orion Lawlor [Tue, 27 Jan 2004 22:06:21 +0000 (22:06 +0000)]
Added extensive comments describing envelope layout and usage.
Also made macro names less hideous and clash-prone.

17 years agoAdded formatted binary PUP::er, used by the debugger to
Orion Lawlor [Tue, 27 Jan 2004 19:30:50 +0000 (19:30 +0000)]
Added formatted binary PUP::er, used by the debugger to
extract object data efficiently.

17 years agoSupport for "messagePup" to extract parameters from
Orion Lawlor [Tue, 27 Jan 2004 19:30:16 +0000 (19:30 +0000)]
Support for "messagePup" to extract parameters from
parameter marshalled messages.  This is used by the
debugger to display message contents better.

17 years agoMajor refactoring:
Orion Lawlor [Tue, 27 Jan 2004 19:28:50 +0000 (19:28 +0000)]
Major refactoring:
  -Use cpd even for array element details
  -Call message pup routine for parameter marshalled messages

17 years agoAllow registration of message pups, to extract parameters
Orion Lawlor [Tue, 27 Jan 2004 19:27:36 +0000 (19:27 +0000)]
Allow registration of message pups, to extract parameters
from a parameter-marshalled message.

17 years agoMinor tweaks for debugging support:
Orion Lawlor [Tue, 27 Jan 2004 19:26:46 +0000 (19:26 +0000)]
Minor tweaks for debugging support:
  - Add "cpdDebugName" and "cpdDebugPup" to all Chares,
   with specializations for array elements.

17 years agoBetter support for pup-based debugging:
Orion Lawlor [Tue, 27 Jan 2004 19:24:41 +0000 (19:24 +0000)]
Better support for pup-based debugging:
  - Use "synchronize" codes to describe structure of objects--
     begin/end objects, arrays, etc.
  - Use "PUPn" macro to provide names of pup'd entities.

17 years agoAllow vectors to be created from any array of real types.
Orion Lawlor [Tue, 27 Jan 2004 19:21:29 +0000 (19:21 +0000)]
Allow vectors to be created from any array of real types.

17 years agoAdded a few utility routines, and added a performance
Orion Lawlor [Tue, 27 Jan 2004 19:20:50 +0000 (19:20 +0000)]
Added a few utility routines, and added a performance
tweak to the clear method.

17 years agoMoved to charm/java/charm/ccs/
Orion Lawlor [Tue, 27 Jan 2004 19:17:06 +0000 (19:17 +0000)]
Moved to charm/java/charm/ccs/

17 years agoSoftlink charmc into bin/ instead of copying. This makes charmc
Orion Lawlor [Tue, 27 Jan 2004 19:14:49 +0000 (19:14 +0000)]
Softlink charmc into bin/ instead of copying.  This makes charmc
like all other source files.

Added new "java" directory for charm java source & .jar files.

Moved CcsServer.java into new java directory.

17 years agoAdded a bunch of *_f2c and *_c2f functions for C binding.
Chao Huang [Tue, 27 Jan 2004 18:22:43 +0000 (18:22 +0000)]
Added a bunch of *_f2c and *_c2f functions for C binding.

17 years agoupdated.
Gengbin Zheng [Tue, 27 Jan 2004 17:27:23 +0000 (17:27 +0000)]
updated.

17 years agofixed compilation error for uth-linux.
Gengbin Zheng [Tue, 27 Jan 2004 17:14:21 +0000 (17:14 +0000)]
fixed compilation error for uth-linux.

17 years agoavoid duplicated definition of CmiReservedHeaderSize since envelop.h is already
Gengbin Zheng [Mon, 26 Jan 2004 23:42:07 +0000 (23:42 +0000)]
avoid duplicated definition of CmiReservedHeaderSize since envelop.h is already
includes.

17 years agoFixed compilation bug in non-GNU compilers.
Chao Huang [Mon, 26 Jan 2004 23:34:05 +0000 (23:34 +0000)]
Fixed compilation bug in non-GNU compilers.

17 years agoMPI_Op_free now reset op.
Chao Huang [Mon, 26 Jan 2004 22:57:23 +0000 (22:57 +0000)]
MPI_Op_free now reset op.

17 years agoadding priority based straeming
Sameer Kumar [Mon, 26 Jan 2004 21:03:18 +0000 (21:03 +0000)]
adding priority based straeming

17 years agosetting the msg idx of the envelope to make short message packing work for
Sameer Kumar [Mon, 26 Jan 2004 21:01:48 +0000 (21:01 +0000)]
setting the msg idx of the envelope to make short message packing work for
dynamically allocated messages.

17 years agowhen missing +cth and +wth, use default 1.
Gengbin Zheng [Mon, 26 Jan 2004 20:26:06 +0000 (20:26 +0000)]
when missing +cth and +wth, use default 1.

17 years agofixed the missing return statement.
Gengbin Zheng [Mon, 26 Jan 2004 18:34:46 +0000 (18:34 +0000)]
fixed the missing return statement.

17 years agoname changes like CmiMyPe=>CkMyPe, Cpv=>Ckpv for bluegene-fy the commlib.
Gengbin Zheng [Mon, 26 Jan 2004 17:54:01 +0000 (17:54 +0000)]
name changes like CmiMyPe=>CkMyPe, Cpv=>Ckpv for bluegene-fy the commlib.

17 years agoallow users to specify a period of time for chare array when migration is allowed...
Gengbin Zheng [Mon, 26 Jan 2004 16:26:30 +0000 (16:26 +0000)]
allow users to specify a period of time for chare array when migration is allowed. The "usesReadyMigration" variable needs to be set to true in order to switch to this mode, otherwise, it assume it is always ready to migrate.
Function ReadyMigrate(bool) needs to be called in this mode to tell charm wether it is ready for executing migrations. For chares in this mode, their movement is transparent to the LB, i.e. LB doesn't wait for its completion of migration to end a LB phase.

17 years agoupdated new rule for CentralPredictor.C.
Gengbin Zheng [Mon, 26 Jan 2004 00:47:09 +0000 (00:47 +0000)]
updated new rule for CentralPredictor.C.

17 years agoadded interface to allow Centralized load balancer to be able to ignore some of the...
Gengbin Zheng [Mon, 26 Jan 2004 00:45:50 +0000 (00:45 +0000)]
added interface to allow Centralized load balancer to be able to ignore some of the execution of object migration. Originally, centralized LB keep track of expected migration counter to indicate a load balancing phase ends. However, in the case when objects choose to not migrate immediately, these obejcts's migration should be ignored by the CentralLB migration bookkeeping counters.

moved future predictor code into a separate file CentralPredictor.C.

17 years agonew version.
Sameer Kumar [Mon, 26 Jan 2004 00:20:26 +0000 (00:20 +0000)]
new version.
1) idle flush is now a parameter
2) messages larger than 2kb are short circuited and sent immediately

17 years agoremoved CkReductionMgr::RecvMsg() which is not used any more.
Gengbin Zheng [Sun, 25 Jan 2004 22:48:23 +0000 (22:48 +0000)]
removed CkReductionMgr::RecvMsg() which is not used any more.

17 years agoanother attempt to the unknown gcc error - moved LDStats constructor from .h to .C.
Gengbin Zheng [Sun, 25 Jan 2004 04:38:13 +0000 (04:38 +0000)]
another attempt to the unknown gcc error - moved LDStats constructor from .h to .C.

17 years agofixed incorrect checkpointing/restart of nodegroup: only rank 0 should checkpoint...
Gengbin Zheng [Sun, 25 Jan 2004 04:03:55 +0000 (04:03 +0000)]
fixed incorrect checkpointing/restart of nodegroup: only rank 0 should checkpoint nodegroup and only rank 0 should restart nodegroup and use CkMyNode() to identify log file instead of using CkMyPe().

17 years agofixed checkpoint/restart bug in uth-linux, also smp version if ppn changed after...
Gengbin Zheng [Sun, 25 Jan 2004 04:00:53 +0000 (04:00 +0000)]
fixed checkpoint/restart bug in uth-linux, also smp version if ppn changed after restarting. The gcount or size need to be set to the current ppn instead of using the pup'ed value.

17 years agofixed compiler errors such as duplicate int i decalration in loop.
Gengbin Zheng [Sat, 24 Jan 2004 08:21:30 +0000 (08:21 +0000)]
fixed compiler errors such as duplicate int i  decalration in loop.

17 years agoAdded example for CmiAlloc
Filippo Gioachin [Sat, 24 Jan 2004 00:47:10 +0000 (00:47 +0000)]
Added example for CmiAlloc

17 years agoAttempt to fix unexplained net-sol-local compiler error:
Orion Lawlor [Fri, 23 Jan 2004 22:15:46 +0000 (22:15 +0000)]
Attempt to fix unexplained net-sol-local compiler error:
        CentralLB.h:112: sorry, not implemented: initializer contains unrecognized tree code

- removed unnecesary "struct" keyword on ProcStats.
- reordered initializers to match object declaration order.

17 years ago*** empty log message ***
Chao Huang [Fri, 23 Jan 2004 21:14:18 +0000 (21:14 +0000)]
*** empty log message ***

17 years agoMuch simpler interface: now you get nodes A, B, and C instead
Orion Lawlor [Fri, 23 Jan 2004 19:43:07 +0000 (19:43 +0000)]
Much simpler interface: now you get nodes A, B, and C instead
of (bizarre) values used to describe nodes.

17 years agoUpdate manual to include swapglobals.
Chao Huang [Fri, 23 Jan 2004 03:23:36 +0000 (03:23 +0000)]
Update manual to include swapglobals.

17 years agoadded part for Future Predictor
Filippo Gioachin [Fri, 23 Jan 2004 00:56:20 +0000 (00:56 +0000)]
added part for Future Predictor

17 years ago*** empty log message ***
Chao Huang [Thu, 22 Jan 2004 21:26:04 +0000 (21:26 +0000)]
*** empty log message ***

17 years agoAdded mainchare and restart on different number of processors.
Chao Huang [Thu, 22 Jan 2004 21:01:35 +0000 (21:01 +0000)]
Added mainchare and restart on different number of processors.

17 years agolittle machine dependent bugfixes
Filippo Gioachin [Thu, 22 Jan 2004 20:04:09 +0000 (20:04 +0000)]
little machine dependent bugfixes

17 years agoAdded declaration for mangled names of predefined MPI_Ops.
Chao Huang [Thu, 22 Jan 2004 07:29:34 +0000 (07:29 +0000)]
Added declaration for mangled names of predefined MPI_Ops.

17 years agoAdded MPI_Op_create/free, also defined MPI_Op as a function pointer.
Chao Huang [Thu, 22 Jan 2004 00:05:27 +0000 (00:05 +0000)]
Added MPI_Op_create/free, also defined MPI_Op as a function pointer.
For detail please refer to the comments in the code.

17 years agoChecking in predictor module: it works only inside CentralLB strategies.
Filippo Gioachin [Wed, 21 Jan 2004 23:14:24 +0000 (23:14 +0000)]
Checking in predictor module: it works only inside CentralLB strategies.
Implemented user interface:
- LBTurnPredictorOn(model)
- LBTurnPredictorOn(model, size)
- LBTurnPredictorOff()
- LBChangePredictor(model)
It use the provided parametric model to predict the behaviour of the charm arrays. It
will use the predicted values only if they respect more the reality, otherwise
it will disable itself automatically until it find better interpolating parameters.

17 years agofixed creation() in trace summary when setting event number used by Rashmi for debugger.
Gengbin Zheng [Tue, 20 Jan 2004 19:41:16 +0000 (19:41 +0000)]
fixed creation() in trace summary when setting event number used by Rashmi for debugger.

17 years agominor changes, using different "dummyname" for different constructors of bgLog to...
Gengbin Zheng [Mon, 19 Jan 2004 22:18:52 +0000 (22:18 +0000)]
minor changes, using different "dummyname" for different constructors of bgLog to differentiate them.

17 years agofixed an output when write a BG msg record.
Gengbin Zheng [Mon, 19 Jan 2004 21:55:25 +0000 (21:55 +0000)]
fixed an output when write a BG msg record.

17 years agofixed some memory leak related problem also in destructor when reading logs from...
Gengbin Zheng [Mon, 19 Jan 2004 21:44:47 +0000 (21:44 +0000)]
fixed some memory leak related problem also in destructor when reading logs from disk.

17 years agoChanges to gvt and srtable to make GVT spiffier. Sims are still using a lot
Terry L. Wilmarth [Mon, 19 Jan 2004 05:26:48 +0000 (05:26 +0000)]
Changes to gvt and srtable to make GVT spiffier.  Sims are still using a lot
of memory.  I still don't know why.

17 years agoFixed a minor printf mistake.
Chao Huang [Sat, 17 Jan 2004 00:51:00 +0000 (00:51 +0000)]
Fixed a minor printf mistake.

17 years agomoved fucntion calculating checksum to convcore.c
Gengbin Zheng [Fri, 16 Jan 2004 08:22:53 +0000 (08:22 +0000)]
moved fucntion calculating checksum to convcore.c

17 years agosimple function calculating checksum.
Gengbin Zheng [Fri, 16 Jan 2004 08:18:42 +0000 (08:18 +0000)]
simple function calculating checksum.

17 years agochanged converse header field d3 to a more meaningful name: cksum.
Gengbin Zheng [Fri, 16 Jan 2004 08:17:45 +0000 (08:17 +0000)]
changed converse header field d3 to a more meaningful name: cksum.

17 years agosimple checksum scheme implemented.
Gengbin Zheng [Fri, 16 Jan 2004 08:16:55 +0000 (08:16 +0000)]
simple checksum scheme implemented.
define CMK_USE_CHECKSUM to use checksum

17 years agoclear errno before makecontext and errno check in case it is reading a obsolete value.
Gengbin Zheng [Fri, 16 Jan 2004 08:05:37 +0000 (08:05 +0000)]
clear errno before makecontext and errno check in case it is reading a obsolete value.

17 years agoAdjusting adapt2 strategy to use less memory; added additional checkpointing
Terry L. Wilmarth [Thu, 15 Jan 2004 23:27:25 +0000 (23:27 +0000)]
Adjusting adapt2 strategy to use less memory; added additional checkpointing
for when we have a huge sequence of events with the same timestamp (reduces
rollback cost).  Cleaned up tweakable flags in pose.h, getting rid of the
useless ones and clarifying the ones actually used...

17 years agoconfig for mpi-hp-ia64
Gengbin Zheng [Thu, 15 Jan 2004 22:32:33 +0000 (22:32 +0000)]
config for mpi-hp-ia64

17 years agonet-linux gm doesn't work with standalone mode (no GM, single processor).
Orion Lawlor [Thu, 15 Jan 2004 17:52:26 +0000 (17:52 +0000)]
net-linux gm doesn't work with standalone mode (no GM, single processor).
Making it work would involve adding 'if (cmi_charmrun_fd!=-1)' to several
critical communication routines, so it's just not worth it.
Hence, we just print a sensible error and exit if we try to run
in standalone mode.

17 years agoadded errorno check for makecontext in case it fails.
Gengbin Zheng [Thu, 15 Jan 2004 17:43:32 +0000 (17:43 +0000)]
added errorno check for makecontext in case it fails.

17 years agowhen generating event for a spontaneous charm message, use its current BG time instea...
Gengbin Zheng [Thu, 15 Jan 2004 05:14:05 +0000 (05:14 +0000)]
when generating event for a spontaneous charm message, use its current BG time instead of receive time.

17 years agomade variable bgtraceroot global so that other file can use it.
Gengbin Zheng [Thu, 15 Jan 2004 04:54:39 +0000 (04:54 +0000)]
made variable bgtraceroot global so that other file can use it.

17 years agofixed a bug caused by an uninitialized flag - isInter.
Gengbin Zheng [Thu, 15 Jan 2004 03:58:23 +0000 (03:58 +0000)]
fixed a bug caused by an uninitialized flag - isInter.

17 years ago*** empty log message ***
Terry L. Wilmarth [Thu, 15 Jan 2004 03:33:18 +0000 (03:33 +0000)]
*** empty log message ***

17 years agoLots o' changes. Fixed a few bugs in GVT, otherwise, mostly aesthetic.
Terry L. Wilmarth [Thu, 15 Jan 2004 03:30:32 +0000 (03:30 +0000)]
Lots o' changes.  Fixed a few bugs in GVT, otherwise, mostly aesthetic.

17 years ago*** empty log message ***
Sameer Kumar [Thu, 15 Jan 2004 01:05:53 +0000 (01:05 +0000)]
*** empty log message ***

17 years agofixed coupld compilation errors on lemieux
Gengbin Zheng [Thu, 15 Jan 2004 00:55:34 +0000 (00:55 +0000)]
fixed coupld compilation errors on lemieux

17 years ago*** empty log message ***
Sameer Kumar [Thu, 15 Jan 2004 00:47:32 +0000 (00:47 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Sameer Kumar [Thu, 15 Jan 2004 00:24:50 +0000 (00:24 +0000)]
*** empty log message ***

17 years agoavoid using BgGetCurTime() since it may be linked to non BG pose program.
Gengbin Zheng [Thu, 15 Jan 2004 00:07:52 +0000 (00:07 +0000)]
avoid using BgGetCurTime() since it may be linked to non BG pose program.

17 years agoSave memory for very large machines, by using a paged data structure
Orion Lawlor [Wed, 14 Jan 2004 23:58:20 +0000 (23:58 +0000)]
Save memory for very large machines, by using a paged data structure
to keep track of message sequence numbers.  This only begins to
become relevant at +vp1000 and above; but it saves about 1000x
memory at +vp10000 and above.

Also simplified (and stupified) the out-of-order message handling;
what was there was good, but the average number of out-of-order
messages is less than 1, so we should be able to get away with
a single "out of order queue".

17 years ago*** empty log message ***
Sameer Kumar [Wed, 14 Jan 2004 23:57:24 +0000 (23:57 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Sameer Kumar [Wed, 14 Jan 2004 23:42:51 +0000 (23:42 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Sameer Kumar [Wed, 14 Jan 2004 23:36:47 +0000 (23:36 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Sameer Kumar [Wed, 14 Jan 2004 23:25:59 +0000 (23:25 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Sameer Kumar [Wed, 14 Jan 2004 23:17:50 +0000 (23:17 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Sameer Kumar [Wed, 14 Jan 2004 22:53:59 +0000 (22:53 +0000)]
*** empty log message ***

17 years agofixing minor migrating bug
Sameer Kumar [Wed, 14 Jan 2004 22:39:42 +0000 (22:39 +0000)]
fixing minor migrating bug

17 years agoOnly allocate and use -memory isomalloc's block list if we've actually
Orion Lawlor [Wed, 14 Jan 2004 22:08:27 +0000 (22:08 +0000)]
Only allocate and use -memory isomalloc's block list if we've actually
linked with -memory isomalloc.  This saves one page per thread if
using some other -memory mode; and with BlueGene, saving a few KB
per thread is important.

17 years agoAdd a "CmiMemoryIs" call to converse, to determine which malloc version
Orion Lawlor [Wed, 14 Jan 2004 22:06:25 +0000 (22:06 +0000)]
Add a "CmiMemoryIs" call to converse, to determine which malloc version
we linked with.  This lets TCharm save memory by only doing the
-memory isomalloc allocations if you're actually *using* -memory isomalloc.

17 years agoredid the previous fix, modify _defaultStackSize directly in CthInit.
Gengbin Zheng [Wed, 14 Jan 2004 18:29:27 +0000 (18:29 +0000)]
redid the previous fix, modify _defaultStackSize directly in CthInit.

17 years agofor context threads, make sure the stacksize is at least MINSIGSTKSZ. On HP ia64...
Gengbin Zheng [Wed, 14 Jan 2004 17:25:35 +0000 (17:25 +0000)]
for context threads, make sure the stacksize is at least MINSIGSTKSZ. On HP ia64, the required minmum stack size is 128k which is greater than the default 32k.

17 years agocreate bgPrintFile using prefix defined by +bgtraceroot.
Gengbin Zheng [Wed, 14 Jan 2004 08:11:54 +0000 (08:11 +0000)]
create bgPrintFile using prefix defined by +bgtraceroot.

17 years agoadded -fpic
Gengbin Zheng [Wed, 14 Jan 2004 08:08:05 +0000 (08:08 +0000)]
added -fpic

17 years agomake sure the context in CthThread strcuture is double aligned. This seems to make...
Gengbin Zheng [Wed, 14 Jan 2004 04:55:09 +0000 (04:55 +0000)]
make sure the context in CthThread strcuture is double aligned. This seems to make megatest working with ia64 and VMI.

17 years agoAdded 'copy' flag to rep type, so that checkpointed states can be distinguished from...
Terry L. Wilmarth [Tue, 13 Jan 2004 20:57:11 +0000 (20:57 +0000)]
Added 'copy' flag to rep type, so that checkpointed states can be distinguished from actual POSE object states.

17 years agosmall tweak for #ifndef _MALLOC_H to be only including memory-gnu-internal.h.
Gengbin Zheng [Tue, 13 Jan 2004 07:28:05 +0000 (07:28 +0000)]
small tweak for #ifndef _MALLOC_H to be only including memory-gnu-internal.h.

17 years agoswitched to new gnu malloc, seems to work after disabling CMK_MEMORY_PROTECTABLE...
Gengbin Zheng [Tue, 13 Jan 2004 07:25:54 +0000 (07:25 +0000)]
switched to new gnu malloc, seems to work after disabling CMK_MEMORY_PROTECTABLE on opteron.

17 years agofor every message sent in an event, also store the time offset relative to the event...
Gengbin Zheng [Tue, 13 Jan 2004 07:13:52 +0000 (07:13 +0000)]
for every message sent in an event, also store the time offset relative to the event start time. This is for POSE to elapse the object virtual timer.

17 years agogot rid of -Wno-deprecated
Gengbin Zheng [Tue, 13 Jan 2004 07:10:05 +0000 (07:10 +0000)]
got rid of -Wno-deprecated

17 years agoadded +bgtraceroot to specify a directory to write bgTrace files.
Gengbin Zheng [Tue, 13 Jan 2004 07:02:30 +0000 (07:02 +0000)]
added +bgtraceroot to specify a directory to write bgTrace files.
fixed communication overhead computation for bgl.

17 years agoMajor optimization to GVT algorithm.
Terry L. Wilmarth [Tue, 13 Jan 2004 01:01:26 +0000 (01:01 +0000)]
Major optimization to GVT algorithm.

17 years agoFixed some memory problems in SRtable and a bug in the GVT algorithm. This version...
Terry L. Wilmarth [Mon, 12 Jan 2004 18:37:43 +0000 (18:37 +0000)]
Fixed some memory problems in SRtable and a bug in the GVT algorithm.  This version is correct but does not yet contain a massive optimization to the GVT and SRtable code that I am currently working on.  I will check that in once it has been tested.

17 years agodefine two separate communication setup: one for lemieux and the other for bluegene.
Gengbin Zheng [Mon, 12 Jan 2004 05:53:19 +0000 (05:53 +0000)]
define two separate communication setup: one for lemieux and the other for bluegene.

17 years agoFixed bugs in Vector::serialize
Yan Shi [Mon, 12 Jan 2004 00:38:41 +0000 (00:38 +0000)]
Fixed bugs in Vector::serialize

17 years agofixed couple compiler warnings.
Gengbin Zheng [Sun, 11 Jan 2004 22:58:25 +0000 (22:58 +0000)]
fixed couple compiler warnings.

17 years agoif lib_so is removed for saving disk space, building charm share libraies is disabled...
Gengbin Zheng [Sun, 11 Jan 2004 22:08:34 +0000 (22:08 +0000)]
if lib_so is removed for saving disk space, building charm share libraies is disabled automatically.

17 years agoif user choose not to build share libs, build script remembers the choice by writing...
Gengbin Zheng [Sun, 11 Jan 2004 20:34:43 +0000 (20:34 +0000)]
if user choose not to build share libs, build script remembers the choice by writing CMK_NO_BUILD_SHARED=true in conv-mach-opt.sh

17 years agono need to set CMK_NO_BUILD_SHARED, it is tested in charm config.
Gengbin Zheng [Sun, 11 Jan 2004 20:14:15 +0000 (20:14 +0000)]
no need to set CMK_NO_BUILD_SHARED, it is tested in charm config.

17 years agochanged charmc to always creating .so file instead of having to use -build-shared...
Gengbin Zheng [Sun, 11 Jan 2004 19:43:11 +0000 (19:43 +0000)]
changed charmc to always creating .so file instead of having to use -build-shared in OPTS= when make under tmp. Not creating .so together with .a results in the situation that the shared libs built at "build" time (as default) is inconsistent with the latest ".a" under charm/lib when typing "make" directly under charm/tmp.
To tell charmc that it is building charm so, in gather source tree phase, Makefile creates a hidden flag file ".charmso" under lib_so/ to tell charmc that this is compiling charm++ instead of building users source code where building share libs should be skipped.