charm.git
17 years agobug fix for bigsim: get rid of duplicated CkpvInitilize.
Gengbin Zheng [Fri, 10 Sep 2004 08:15:01 +0000 (08:15 +0000)]
bug fix for bigsim: get rid of duplicated CkpvInitilize.

17 years agocall CkpvInitialize to init an Cpv variable (otherwise it crashes BigSim)
Gengbin Zheng [Fri, 10 Sep 2004 08:08:02 +0000 (08:08 +0000)]
call CkpvInitialize to init an Cpv variable (otherwise it crashes BigSim)

17 years agowhen charm++ is built on BigSim, for threaded method, call BgAttach to attach thread...
Gengbin Zheng [Fri, 10 Sep 2004 08:05:57 +0000 (08:05 +0000)]
when charm++ is built on BigSim, for threaded method, call BgAttach to attach thread to vitual processor thread.

17 years agofixed make clean when go into romio.
Gengbin Zheng [Fri, 10 Sep 2004 07:01:35 +0000 (07:01 +0000)]
fixed make clean when go into romio.

17 years agouse $(MAKE) instead of calling "make" directly to allow parallel make with gmake.
Gengbin Zheng [Fri, 10 Sep 2004 05:10:24 +0000 (05:10 +0000)]
use $(MAKE) instead of calling "make" directly to allow parallel make with gmake.

17 years ago*** empty log message ***
Gengbin Zheng [Fri, 10 Sep 2004 04:01:14 +0000 (04:01 +0000)]
*** empty log message ***

17 years agofix for <>
Gengbin Zheng [Fri, 10 Sep 2004 03:59:05 +0000 (03:59 +0000)]
fix for <>

17 years ago1. Removed some unnecessary CmiMemoryCheck that had been checked in by mistake
Sayantan Chakravorty [Fri, 10 Sep 2004 02:48:16 +0000 (02:48 +0000)]
1. Removed some unnecessary CmiMemoryCheck that had been checked in by mistake

17 years ago1. Corrected the generation of ghost elements in parallel when there are
Sayantan Chakravorty [Fri, 10 Sep 2004 02:46:21 +0000 (02:46 +0000)]
1. Corrected the generation of ghost elements in parallel when there are
multiple layers of ghosts.
2. Fixed some memory leaks. (I am sure there are lots left in).
3. Wrapped debug outputs in DEBUG macro

17 years ago1. Fixed the bug in the pup routine of MSA_PageT. It seemed to be wrong
Sayantan Chakravorty [Fri, 10 Sep 2004 02:34:57 +0000 (02:34 +0000)]
1. Fixed the bug in the pup routine of MSA_PageT. It seemed to be wrong
 in that it wasnt allocating the data pointer while unpacking. The result
 was that it trashed memory.

2. Added some debug printouts to MSA that can be turned on or off via the debug macro
 in msa-common.h

17 years ago*** empty log message ***
Gengbin Zheng [Fri, 10 Sep 2004 02:16:17 +0000 (02:16 +0000)]
*** empty log message ***

17 years agoedit.
Gengbin Zheng [Fri, 10 Sep 2004 02:14:25 +0000 (02:14 +0000)]
edit.

17 years agomore fixes.
Gengbin Zheng [Fri, 10 Sep 2004 02:08:25 +0000 (02:08 +0000)]
more fixes.

17 years agoa few typo
Gengbin Zheng [Fri, 10 Sep 2004 02:04:46 +0000 (02:04 +0000)]
a few typo

17 years agomore details in LB options.
Gengbin Zheng [Fri, 10 Sep 2004 01:59:58 +0000 (01:59 +0000)]
more details in LB options.

17 years agoClarify doAddNodes flag, and change example to the common case
Orion Lawlor [Thu, 9 Sep 2004 23:10:52 +0000 (23:10 +0000)]
Clarify doAddNodes flag, and change example to the common case
of *adding* nodes.  doAddNodes probably shouldn't even exist;
but since it does, the default should be sensible.

17 years agofixed CmiBarrier implementation to be node level based.
Gengbin Zheng [Thu, 9 Sep 2004 22:30:31 +0000 (22:30 +0000)]
fixed CmiBarrier implementation to be node level based.

17 years agoAdded the "terminus" functionality to sequential case.
Terry L. Wilmarth [Thu, 9 Sep 2004 22:04:50 +0000 (22:04 +0000)]
Added the "terminus" functionality to sequential case.

17 years agoAdd in initialization fName and flen in LogEntry constructor.
Yan Shi [Thu, 9 Sep 2004 15:51:44 +0000 (15:51 +0000)]
Add in initialization fName and flen in LogEntry constructor.

17 years ago bug fix to convert bubble to port number.
Gengbin Zheng [Thu, 9 Sep 2004 04:44:05 +0000 (04:44 +0000)]
 bug fix to convert bubble to port number.

17 years agoA minor change - when dumping binary bglog to ascii format, write out message size...
Gengbin Zheng [Thu, 9 Sep 2004 04:17:32 +0000 (04:17 +0000)]
A minor change - when dumping binary bglog to ascii format, write out message size as well.

17 years agosmall memory leak fix
Filippo Gioachin [Thu, 9 Sep 2004 01:02:55 +0000 (01:02 +0000)]
small memory leak fix

17 years agoadded a small feature to print the entire stack in memory verbose when
Filippo Gioachin [Thu, 9 Sep 2004 01:02:36 +0000 (01:02 +0000)]
added a small feature to print the entire stack in memory verbose when
memInit>1

17 years agoTask: POSE
Terry L. Wilmarth [Wed, 8 Sep 2004 21:50:01 +0000 (21:50 +0000)]
Task: POSE
Fixed a bug in GVT reporting of send/recv info from an idle PVT.  This led to a bug in inactivity detection which has also been fixed.

17 years agowhoops! checked in a bug in this yesterday....
Terry L. Wilmarth [Wed, 8 Sep 2004 20:18:13 +0000 (20:18 +0000)]
whoops!  checked in a bug in this yesterday....

17 years agoMigrated from pgms.
Eric Bohm [Wed, 8 Sep 2004 19:25:51 +0000 (19:25 +0000)]
Migrated from pgms.

17 years agoAdd test cases for AMPI
Chao Huang [Wed, 8 Sep 2004 19:10:38 +0000 (19:10 +0000)]
Add test cases for AMPI

17 years agoinitial creation of test dir from pgms
Eric Bohm [Wed, 8 Sep 2004 18:58:55 +0000 (18:58 +0000)]
initial creation of test dir from pgms

17 years agoEntered some comments
Praveen Kumar Jagadishprasad [Wed, 8 Sep 2004 11:42:10 +0000 (11:42 +0000)]
Entered some comments

17 years agoremoved
Gengbin Zheng [Wed, 8 Sep 2004 03:17:09 +0000 (03:17 +0000)]
removed

17 years agoAdded "apup" versions of pup calls, which do memory allocation
Orion Lawlor [Wed, 8 Sep 2004 00:51:38 +0000 (00:51 +0000)]
Added "apup" versions of pup calls, which do memory allocation
as well as data packing/unpacking.

To avoid hideous copy-and-paste per-type definitions, I've
written a script, pup_f.f90.sh, that *generates* pup_f.f90.
To regenerate pup_f.f90, just re-run the script.

17 years agoremoved moduleinit.o in tmp (resulted in faulty compilation) before linking.
Gengbin Zheng [Tue, 7 Sep 2004 21:10:14 +0000 (21:10 +0000)]
removed moduleinit.o in tmp (resulted in faulty compilation) before linking.

17 years agoa few examples from the pgms/charm++ tree
Eric Bohm [Tue, 7 Sep 2004 21:07:16 +0000 (21:07 +0000)]
a few examples from the pgms/charm++ tree

17 years agocorrectly use antimethod for BGnode
Gengbin Zheng [Tue, 7 Sep 2004 20:47:45 +0000 (20:47 +0000)]
correctly use antimethod for BGnode

17 years agoTask: POSE
Terry L. Wilmarth [Tue, 7 Sep 2004 19:43:45 +0000 (19:43 +0000)]
Task: POSE
Making Cancel messages expedited.

17 years agoLots of changes: srtable optimizations, commit bug fix, and unexecuted cancellation...
Terry L. Wilmarth [Tue, 7 Sep 2004 19:21:28 +0000 (19:21 +0000)]
Lots of changes: srtable optimizations, commit bug fix, and unexecuted cancellation fix.
Task: POSE

17 years agofixed a bug in [expedited] for array ckSend: missed the change tt checkin that I...
Gengbin Zheng [Tue, 7 Sep 2004 17:40:56 +0000 (17:40 +0000)]
fixed a bug in [expedited] for array ckSend: missed the change tt checkin that I should pass the expedited attribute to deliver().

17 years agoinefficiency fixed
Filippo Gioachin [Sun, 5 Sep 2004 04:43:29 +0000 (04:43 +0000)]
inefficiency fixed

17 years ago*** empty log message ***
Sameer Kumar [Fri, 3 Sep 2004 19:11:18 +0000 (19:11 +0000)]
*** empty log message ***

17 years agoAdding a check so that convcomlibmanager is not inited multiple times
Sameer Kumar [Fri, 3 Sep 2004 17:44:58 +0000 (17:44 +0000)]
Adding a check so that convcomlibmanager is not inited multiple times

17 years agoadded fixes from BigNetSim to TCsim.C.
Gengbin Zheng [Fri, 3 Sep 2004 05:56:55 +0000 (05:56 +0000)]
added fixes from BigNetSim to TCsim.C.
improved Makefile.

17 years agoHad to prevent redefining of CmiProbeImmediate.
Sameer Kumar [Fri, 3 Sep 2004 00:10:43 +0000 (00:10 +0000)]
Had to prevent redefining of CmiProbeImmediate.

17 years agowhen dumping bglog in detail mode, print out if it is a start event.
Gengbin Zheng [Thu, 2 Sep 2004 22:01:25 +0000 (22:01 +0000)]
when dumping bglog in detail mode, print out if it is a start event.

17 years agominor changes to the definition of network progress.
Sameer Kumar [Thu, 2 Sep 2004 21:35:03 +0000 (21:35 +0000)]
minor changes to the definition of network progress.

17 years agoMake stale array messages a warning, not an aborting
Orion Lawlor [Thu, 2 Sep 2004 21:20:27 +0000 (21:20 +0000)]
Make stale array messages a warning, not an aborting
error.  This is to avoid crashing programs during debugging,
or when 3 minutes pass due to the machine being heavily
loaded.

This still isn't perfect; a better solution would be to have
somebody (the map object?) check for bad indices directly before
queuing up the message, rather than indirectly finding them via
a timeout on the message queue...

17 years agoAdding networkprogress code to mpi version of charm rts
Sameer Kumar [Thu, 2 Sep 2004 20:59:39 +0000 (20:59 +0000)]
Adding networkprogress code to mpi version of charm rts

17 years agoRemoved the assignment of msgSize in eventMsg. This was causing strange problems...
Terry L. Wilmarth [Thu, 2 Sep 2004 20:57:40 +0000 (20:57 +0000)]
Removed the assignment of msgSize in eventMsg.  This was causing strange problems when using messages as general data structures instead of just messages...
Task: POSE

17 years agoCollect new parmetis version of metis library.
Orion Lawlor [Thu, 2 Sep 2004 20:51:11 +0000 (20:51 +0000)]
Collect new parmetis version of metis library.

17 years agofem_alone.sh collects *.c, so it's not OK to have garbage .c
Orion Lawlor [Thu, 2 Sep 2004 20:50:33 +0000 (20:50 +0000)]
fem_alone.sh collects *.c, so it's not OK to have garbage .c
files in this directory.

17 years agoAdded message error checking to etran.pl.
Terry L. Wilmarth [Thu, 2 Sep 2004 20:08:43 +0000 (20:08 +0000)]
Added message error checking to etran.pl.

17 years ago Adding a version for bluegene. The MPI machine layer will check for this flag and...
Sameer Kumar [Thu, 2 Sep 2004 15:40:08 +0000 (15:40 +0000)]
 Adding a version for bluegene. The MPI machine layer will check for this flag and then make special calls for network progress.

17 years agoupdated.
Gengbin Zheng [Thu, 2 Sep 2004 14:48:33 +0000 (14:48 +0000)]
updated.

17 years agofixing bugs to make subsets of processors working
Sameer Kumar [Wed, 1 Sep 2004 19:24:43 +0000 (19:24 +0000)]
fixing bugs to make subsets of processors working

17 years agoA few optimizations here and there.
Terry L. Wilmarth [Wed, 1 Sep 2004 15:13:46 +0000 (15:13 +0000)]
A few optimizations here and there.

17 years agoAdded utility routine to extract FEM ghost communication information
Orion Lawlor [Wed, 1 Sep 2004 05:05:15 +0000 (05:05 +0000)]
Added utility routine to extract FEM ghost communication information
in Roccom-compatible "pconn" format.

17 years agoFixed compile bug on smp-version
Sameer Kumar [Tue, 31 Aug 2004 21:59:51 +0000 (21:59 +0000)]
Fixed compile bug on smp-version

17 years agoNew version of CmiNetworkProgress. It has two calls
Sameer Kumar [Tue, 31 Aug 2004 21:33:28 +0000 (21:33 +0000)]
New version of CmiNetworkProgress. It has two calls
CmiNetworkProgress and CmiMachineProgressImpl. The machine layer
call is machine dependent. The converse call can be controlled by a
period. When Period calls have been made CmiNetworkProgress
calls CmiMachineProgressImpl.

17 years agoNew version of CmiNetworkProgress. It has two calls
Sameer Kumar [Tue, 31 Aug 2004 21:31:45 +0000 (21:31 +0000)]
New version of CmiNetworkProgress. It has two calls
CmiNetworkProgress and CmiMachineProgressImpl. The machine layer
call is machine dependent. The converse call can be controlled by a
period. When Period calls have been made CmiNetworkProgress
calls CmiMachineProgressImpl.

17 years agoFixed a memory leak and a added some other code optimizations.
Sameer Kumar [Tue, 31 Aug 2004 18:09:49 +0000 (18:09 +0000)]
Fixed a memory leak and a added some other code optimizations.

17 years agoMake housekeeping methods "expedited", to allow housekeeping messages
Orion Lawlor [Tue, 31 Aug 2004 17:41:12 +0000 (17:41 +0000)]
Make housekeeping methods "expedited", to allow housekeeping messages
to bypass prioritized user messages.  This should prevent the
"stale messages sent to nonexistent element" problem during POSE startup.

Also renamed "migrate" and "migrateIncoming" to more informative
"emigrate" and "immigrate".

17 years agoFixed a bug with loop-counting on older strategies; this caused stats facilities...
Terry L. Wilmarth [Tue, 31 Aug 2004 16:51:47 +0000 (16:51 +0000)]
Fixed a bug with loop-counting on older strategies; this caused stats facilities to crash with /0 bug at very end of program.

17 years agohandles background better. Processors with bg load greater than average will be assig...
Gengbin Zheng [Tue, 31 Aug 2004 05:42:31 +0000 (05:42 +0000)]
handles background better. Processors with bg load greater than average will be assigned no objects at all, and hence do not participate in the orb partitioning.

17 years agoadded "w" permission for others as well since it is always run by root in cron job.
Gengbin Zheng [Mon, 30 Aug 2004 14:41:44 +0000 (14:41 +0000)]
added "w" permission for others as well since it is always run by root in cron job.

17 years agostarted a section of how to write a load balancer.
Gengbin Zheng [Mon, 30 Aug 2004 04:13:14 +0000 (04:13 +0000)]
started a section of how to write a load balancer.

17 years agoClean out some redundant and unused interface. Under debugging to fix the forward...
Yan Shi [Sat, 28 Aug 2004 21:39:20 +0000 (21:39 +0000)]
Clean out some redundant and unused interface. Under debugging to fix the forward path in symmetric case.

17 years agoNeeded to turn off memory recycling with sequential version.
Terry L. Wilmarth [Fri, 27 Aug 2004 21:33:44 +0000 (21:33 +0000)]
Needed to turn off memory recycling with sequential version.

17 years agoRemoving annoying memory paranoid from Makefile.
Terry L. Wilmarth [Fri, 27 Aug 2004 20:31:27 +0000 (20:31 +0000)]
Removing annoying memory paranoid from Makefile.

17 years agoCmiNumPes => CkNumPes for BigSim.
Gengbin Zheng [Fri, 27 Aug 2004 19:41:12 +0000 (19:41 +0000)]
CmiNumPes => CkNumPes for BigSim.

17 years agoname change of CmiNumPes => CkNumPes
Gengbin Zheng [Fri, 27 Aug 2004 19:40:24 +0000 (19:40 +0000)]
name change of CmiNumPes => CkNumPes

17 years agoRANDOM distribution now lets the system map elements to processors
Terry L. Wilmarth [Fri, 27 Aug 2004 15:55:38 +0000 (15:55 +0000)]
RANDOM distribution now lets the system map elements to processors

17 years agoBug fixes: cancellation arriving before event is handled, and an srTable bug where...
Terry L. Wilmarth [Fri, 27 Aug 2004 15:41:59 +0000 (15:41 +0000)]
Bug fixes: cancellation arriving before event is handled, and an srTable bug where the "end" pointers to buckets and overflow were not updated during restructuring.  All strategies appear to be functional now!

17 years agoswitched to context threads for mpi-axp. There are a lot of trouble using qt threads...
Gengbin Zheng [Fri, 27 Aug 2004 15:09:46 +0000 (15:09 +0000)]
switched to context threads for mpi-axp. There are a lot of trouble using qt threads with BigSim (with a log of unexplained crashes)

17 years agofixed CmiBarrier (for net version other than gm, implemented an empty function for...
Gengbin Zheng [Fri, 27 Aug 2004 01:15:52 +0000 (01:15 +0000)]
fixed CmiBarrier (for net version other than gm, implemented an empty function for now)

17 years agoDirectly calling CmiBarrier in BGL case to synchronize clock.
Gengbin Zheng [Thu, 26 Aug 2004 15:34:04 +0000 (15:34 +0000)]
Directly calling CmiBarrier in BGL case to synchronize clock.

17 years agoclean up the timer init fix.
Gengbin Zheng [Thu, 26 Aug 2004 15:33:12 +0000 (15:33 +0000)]
clean up the timer init fix.

17 years agoadded prototype of function CmiTimerIsSynchronized() which returns true if timer...
Gengbin Zheng [Thu, 26 Aug 2004 02:52:39 +0000 (02:52 +0000)]
added prototype of function CmiTimerIsSynchronized() which returns true if timer call is synchronized.

17 years agochanged timer init so that no matter which special low level timer calls is, the...
Gengbin Zheng [Thu, 26 Aug 2004 02:51:16 +0000 (02:51 +0000)]
changed timer init so that no matter which special low level timer calls is, the synchronization of timer for mpi version is applied always.

17 years agoORBLB now takes background load into account.
Gengbin Zheng [Wed, 25 Aug 2004 21:53:08 +0000 (21:53 +0000)]
ORBLB now takes background load into account.

17 years agoAdded AMPI_System, a thin wrapper for TCHARM_System.
Orion Lawlor [Wed, 25 Aug 2004 18:59:07 +0000 (18:59 +0000)]
Added AMPI_System, a thin wrapper for TCHARM_System.

17 years agoAdded support for making system calls via TCHARM.
Orion Lawlor [Wed, 25 Aug 2004 18:58:14 +0000 (18:58 +0000)]
Added support for making system calls via TCHARM.
This is needed to work around a bug in pre-glibc 2.3
ia32 LinuxThreads where fork() results in the child
process SEGV'ing if called from a user-level thread.

The fix is to pass the system() (and hence fork())
call up to the main thread, which can run it OK.

17 years agoadded some comments
Filippo Gioachin [Wed, 25 Aug 2004 02:23:45 +0000 (02:23 +0000)]
added some comments

17 years agoimproved interface
Filippo Gioachin [Wed, 25 Aug 2004 01:31:02 +0000 (01:31 +0000)]
improved interface

17 years agomsa entry in makefile didnt show dependency on charm++
Sayantan Chakravorty [Tue, 24 Aug 2004 20:52:55 +0000 (20:52 +0000)]
msa entry in makefile didnt show dependency on charm++

17 years agoadded mpt in help page.
Gengbin Zheng [Tue, 24 Aug 2004 19:40:57 +0000 (19:40 +0000)]
added mpt in help page.

17 years agofixed path of METIS lib.
Gengbin Zheng [Tue, 24 Aug 2004 14:55:31 +0000 (14:55 +0000)]
fixed path of METIS lib.

17 years agofixed memory leak
Filippo Gioachin [Tue, 24 Aug 2004 01:40:56 +0000 (01:40 +0000)]
fixed memory leak

17 years agoChecking in lots of strategy fixes; opt & opt2 mystery bugs remain.
Terry L. Wilmarth [Tue, 24 Aug 2004 00:20:40 +0000 (00:20 +0000)]
Checking in lots of strategy fixes; opt & opt2 mystery bugs remain.

17 years agoMoved RBevent to evq.
Terry L. Wilmarth [Tue, 24 Aug 2004 00:17:11 +0000 (00:17 +0000)]
Moved RBevent to evq.

17 years agochanged the target METIS to point to libs/ck-libs/parmetis/MetisLib
Sayantan Chakravorty [Mon, 23 Aug 2004 21:42:33 +0000 (21:42 +0000)]
changed the target METIS to point to libs/ck-libs/parmetis/MetisLib

17 years agoRemoved the entry for metis from the makefile
Sayantan Chakravorty [Mon, 23 Aug 2004 20:47:33 +0000 (20:47 +0000)]
Removed the entry for metis from the makefile

17 years agorefix for the rand() for win32 build.
Gengbin Zheng [Mon, 23 Aug 2004 20:33:42 +0000 (20:33 +0000)]
refix for the rand() for win32 build.

17 years agoremoved inclusion of ../parmetis.h because it depends on mpi.h
Gengbin Zheng [Mon, 23 Aug 2004 20:15:28 +0000 (20:15 +0000)]
removed inclusion of ../parmetis.h because it depends on mpi.h

17 years agoadded new +LBSameCpus option to tell LB to assume all CPUs are of same speed (skip...
Gengbin Zheng [Mon, 23 Aug 2004 19:39:17 +0000 (19:39 +0000)]
added new +LBSameCpus option to tell LB to assume all CPUs are of same speed (skip speed measurement)

17 years agotested with new metis and added different level of debug prints.
Gengbin Zheng [Mon, 23 Aug 2004 19:22:12 +0000 (19:22 +0000)]
tested with new metis and added different level of debug prints.

17 years agoFixed make files so that the .so are generated and OPTS gets passed in
Sayantan Chakravorty [Mon, 23 Aug 2004 17:52:43 +0000 (17:52 +0000)]
Fixed make files so that the .so are generated and OPTS gets passed in

17 years agoFixed make files so that the .so are generated and OPTS gets passed in
Sayantan Chakravorty [Mon, 23 Aug 2004 17:52:35 +0000 (17:52 +0000)]
Fixed make files so that the .so are generated and OPTS gets passed in
Copied a fix from the old metis lib to use unsigned long instead of int
for the amount of memory allocated

17 years agoFixed make files so that the .so are generated and OPTS gets passed in
Sayantan Chakravorty [Mon, 23 Aug 2004 17:45:46 +0000 (17:45 +0000)]
Fixed make files so that the .so are generated and OPTS gets passed in

17 years agouse charmc instead ar directly to create .a's.
Gengbin Zheng [Mon, 23 Aug 2004 06:39:00 +0000 (06:39 +0000)]
use charmc instead ar directly to create .a's.

17 years ago+LBDebug can be now used both as a flag and taking extra debug level number, that...
Gengbin Zheng [Mon, 23 Aug 2004 06:34:34 +0000 (06:34 +0000)]
+LBDebug can be now used both as a flag and taking extra debug level number, that is +LBDebug 2 for example to control verbosity.

17 years agoassign proper LB name string in migration constructions.
Gengbin Zheng [Mon, 23 Aug 2004 06:28:37 +0000 (06:28 +0000)]
assign proper LB name string in migration constructions.