charm.git
12 years agoThe size of the checkpoint was reduced by avoiding the messsage log to be stored...
Esteban Meneses [Tue, 11 Aug 2009 21:53:21 +0000 (21:53 +0000)]
The size of the checkpoint was reduced by avoiding the messsage log to be stored. Only unacked local messages are saved as part of the checkpoint of an object.

12 years agodon't apply -fPIC on mpicxx/icpc anymore since it total breaks.
Gengbin Zheng [Tue, 11 Aug 2009 21:49:40 +0000 (21:49 +0000)]
don't apply -fPIC on mpicxx/icpc anymore since it total breaks.

12 years agobug fix for index calculation
Abhinav Bhatele [Mon, 10 Aug 2009 05:34:55 +0000 (05:34 +0000)]
bug fix for index calculation

12 years agobug fix in index calculation
Abhinav Bhatele [Mon, 10 Aug 2009 05:33:33 +0000 (05:33 +0000)]
bug fix in index calculation

12 years agoupdated compilers and cleanup
Abhinav Bhatele [Sun, 9 Aug 2009 23:27:37 +0000 (23:27 +0000)]
updated compilers and cleanup

12 years agominor change in the warning about stack randomization.
Gengbin Zheng [Thu, 6 Aug 2009 02:41:01 +0000 (02:41 +0000)]
minor change in the warning about stack randomization.

12 years agoReverting accidental enabling of critical path code in previous commit.
Isaac Dooley [Wed, 5 Aug 2009 21:27:14 +0000 (21:27 +0000)]
Reverting accidental enabling of critical path code in previous commit.

12 years agoMaking critical path auto-prioritization work better. Now handles ForChareMsg envelopes.
Isaac Dooley [Wed, 5 Aug 2009 21:02:57 +0000 (21:02 +0000)]
Making critical path auto-prioritization work better. Now handles ForChareMsg envelopes.

12 years agoremove ssize_t to make it compile on windows
Gengbin Zheng [Wed, 5 Aug 2009 18:03:42 +0000 (18:03 +0000)]
remove ssize_t to make it compile on windows

12 years agoprint memory usage in %f instead of %d
Gengbin Zheng [Wed, 5 Aug 2009 02:07:04 +0000 (02:07 +0000)]
print memory usage in %f instead of %d

12 years agoAdding support for automatic message prioritization.
Isaac Dooley [Tue, 4 Aug 2009 21:04:56 +0000 (21:04 +0000)]
Adding support for automatic message prioritization.

12 years agoAdding the ability to disable and enable trace log output.
Isaac Dooley [Tue, 4 Aug 2009 20:48:17 +0000 (20:48 +0000)]
Adding the ability to disable and enable trace log output.

12 years agohandle gfortran's mangled name (which incidentally starts with '_'), a patch from...
Gengbin Zheng [Tue, 4 Aug 2009 17:10:53 +0000 (17:10 +0000)]
handle gfortran's mangled name (which incidentally starts with '_'), a patch from Edurado with modification

12 years agocheck if regex.h exists, for elfgot
Gengbin Zheng [Tue, 4 Aug 2009 17:08:26 +0000 (17:08 +0000)]
check if regex.h exists, for elfgot

12 years agotimer cost can now be set in bg_config and command line option (+bgtimercost)
Gengbin Zheng [Mon, 3 Aug 2009 04:11:15 +0000 (04:11 +0000)]
timer cost can now be set in bg_config and command line option (+bgtimercost)

12 years agoadded an option for using native AIX timer calls
Gengbin Zheng [Mon, 3 Aug 2009 03:36:42 +0000 (03:36 +0000)]
added  an option for using native AIX timer calls

12 years agoskip the walltime in making array broadcast in bigsim
Gengbin Zheng [Mon, 3 Aug 2009 03:34:18 +0000 (03:34 +0000)]
skip the walltime in making array broadcast in bigsim

12 years agoskip the time cost in tracing bigsim
Gengbin Zheng [Mon, 3 Aug 2009 03:32:22 +0000 (03:32 +0000)]
skip the time cost in tracing bigsim

12 years agominor changes
Abhinav Bhatele [Sun, 2 Aug 2009 00:08:25 +0000 (00:08 +0000)]
minor changes

12 years agoAdding new capability to automatically set message priorities based on critical path...
Isaac Dooley [Sat, 1 Aug 2009 22:24:15 +0000 (22:24 +0000)]
Adding new capability to automatically set message priorities based on critical path profile.

12 years agochanged FAQ manual to be split in several html pages
Filippo Gioachin [Fri, 31 Jul 2009 19:36:55 +0000 (19:36 +0000)]
changed FAQ manual to be split in several html pages

12 years agoRemoved old code that came from ChaNGa
Filippo Gioachin [Thu, 30 Jul 2009 22:19:27 +0000 (22:19 +0000)]
Removed old code that came from ChaNGa

12 years agovarious changes to reduce bigsim tracing overhead, including:
Gengbin Zheng [Thu, 30 Jul 2009 21:11:31 +0000 (21:11 +0000)]
various changes to reduce bigsim tracing overhead, including:
1.  tracing a thread used to include a context switch overhead from Cth back to scheduler. This can incidentally include charm scheduling overhead
2.  reduce timer overhead by substracting timer cost from elapsed time.

12 years agoendTime of event log starts now with -1 instead of 0, denoting unintialized value.
Gengbin Zheng [Thu, 30 Jul 2009 20:53:15 +0000 (20:53 +0000)]
endTime of event log starts now with -1 instead of 0, denoting unintialized value.

12 years agodon't need create nodegroup for reduction if the group level reduction is enabled...
Gengbin Zheng [Thu, 30 Jul 2009 20:26:29 +0000 (20:26 +0000)]
don't need create nodegroup for reduction if the group level reduction is enabled in bisim

12 years agoAdded some operators which were missing from SSE-Float.h
Lukasz Wesolowski [Thu, 30 Jul 2009 16:48:56 +0000 (16:48 +0000)]
Added some operators which were missing from SSE-Float.h

12 years agoadded old way of doing reduction via processor level tree (no nodegroup) for bigsim...
Gengbin Zheng [Thu, 30 Jul 2009 16:40:29 +0000 (16:40 +0000)]
added old way of doing reduction via processor level tree (no nodegroup) for bigsim (defined in macro GROUP_LEVEL_REDUCTION)

also make recvMsg in ckreduction.ci expedited

12 years agoexit with real compilation status instead of the status of the last command
Gengbin Zheng [Thu, 30 Jul 2009 16:13:20 +0000 (16:13 +0000)]
exit with real compilation status instead of the status of the last command

12 years agoskip trhead listener hook functions if they are NULL pointers.
Gengbin Zheng [Wed, 29 Jul 2009 20:01:45 +0000 (20:01 +0000)]
skip  trhead listener hook functions if they are NULL pointers.

12 years agoremove static in a Cpv to make icpc happy without internal error with -O and -fPIC
Gengbin Zheng [Wed, 29 Jul 2009 19:31:36 +0000 (19:31 +0000)]
remove static in a Cpv to make icpc happy without internal error with -O and -fPIC

12 years agoadd magic number to barrier message. we still need a reliable cmibarrier for udp...
Gengbin Zheng [Wed, 29 Jul 2009 17:05:49 +0000 (17:05 +0000)]
add magic number to barrier message. we still need a reliable cmibarrier for udp layer

12 years agomake the new code that finds the max isomalloc region using mmap probing scheme more...
Gengbin Zheng [Wed, 29 Jul 2009 16:48:38 +0000 (16:48 +0000)]
make the new code that finds the max isomalloc region using mmap probing scheme more robust.

12 years agotest if can build shared library when mpi library is linked
Gengbin Zheng [Wed, 22 Jul 2009 15:35:07 +0000 (15:35 +0000)]
test if can build shared library when mpi library is linked

12 years agoadded fortran interface for AMPI_Setmigratable
Gengbin Zheng [Wed, 22 Jul 2009 03:12:17 +0000 (03:12 +0000)]
added fortran interface for AMPI_Setmigratable

12 years agofixed long standing (9 years!) bug in CCS when running without charmrun (like in...
Filippo Gioachin [Wed, 22 Jul 2009 00:26:15 +0000 (00:26 +0000)]
fixed long standing (9 years!) bug in CCS when running without charmrun (like in MPI build)

12 years agomake sure -1 is returned when all topo function APIs are not supported
Gengbin Zheng [Tue, 21 Jul 2009 19:18:01 +0000 (19:18 +0000)]
make sure -1 is returned when all topo function APIs are not supported

12 years agofixed a typo in previous checkin
Gengbin Zheng [Tue, 21 Jul 2009 19:02:27 +0000 (19:02 +0000)]
fixed a typo in previous checkin

12 years agoa bug in numUniqNodes() that returns wrong num of physical nodes when called multiple...
Gengbin Zheng [Tue, 21 Jul 2009 18:21:52 +0000 (18:21 +0000)]
a bug in numUniqNodes() that returns wrong num of physical nodes when called multiple times

12 years agoremove the hack for autobuild on vmi
Gengbin Zheng [Tue, 21 Jul 2009 15:49:11 +0000 (15:49 +0000)]
remove the hack for autobuild on vmi

12 years agoMoving the "critical path" history code into its own module which is included in...
Isaac Dooley [Mon, 20 Jul 2009 21:42:00 +0000 (21:42 +0000)]
Moving the "critical path" history code into its own module which is included in the LIBCK_CORE library. By default the critical path functionality is all ifdef'ed out.

12 years agorecognize icpc
Gengbin Zheng [Mon, 20 Jul 2009 18:32:13 +0000 (18:32 +0000)]
recognize icpc

12 years agosimilar fix for intel compiler
Gengbin Zheng [Mon, 20 Jul 2009 18:31:32 +0000 (18:31 +0000)]
similar fix for intel compiler

12 years agorecognize intel compiler in the mpicxx wrapper and add 64 bit compiler option to...
Gengbin Zheng [Mon, 20 Jul 2009 18:30:34 +0000 (18:30 +0000)]
recognize intel compiler in the mpicxx wrapper and add 64 bit compiler option to intel compiler.

12 years agoFix some precedence and cast issues flagged by warnings
Phil Miller [Sun, 19 Jul 2009 03:40:38 +0000 (03:40 +0000)]
Fix some precedence and cast issues flagged by warnings

12 years agoMade memory module using GNU hooks to stop complaining about casting pointers of...
Filippo Gioachin [Sun, 19 Jul 2009 01:28:53 +0000 (01:28 +0000)]
Made memory module using GNU hooks to stop complaining about casting pointers of different types: added corrected signatures and wrapper functions.

12 years agoAvoid compiler complains by undefining __THROW before redefining it.
Filippo Gioachin [Sun, 19 Jul 2009 00:53:58 +0000 (00:53 +0000)]
Avoid compiler complains by undefining __THROW before redefining it.

12 years agoCorrect typo in docs marco -> macro
Phil Miller [Sat, 18 Jul 2009 17:43:10 +0000 (17:43 +0000)]
Correct typo in docs marco -> macro

12 years agoAdded warning to remember to delete the iterator after finished using it.
Filippo Gioachin [Fri, 17 Jul 2009 05:38:37 +0000 (05:38 +0000)]
Added warning to remember to delete the iterator after finished using it.
Added C binding for deleting the iterator (function called CkHashtableDestroyIterator)
Changed return type of CkHashtable::remove to int

12 years agoDisabling a periodic routine that was intended for debugging.
Isaac Dooley [Thu, 16 Jul 2009 17:16:29 +0000 (17:16 +0000)]
Disabling a periodic routine that was intended for debugging.

12 years ago1d decomposition of 2d jacobi
Abhinav Bhatele [Thu, 16 Jul 2009 17:07:35 +0000 (17:07 +0000)]
1d decomposition of 2d jacobi

12 years agoin stackcopy threads, fix a bug in retrieving the actual pointers on the stack. When...
Gengbin Zheng [Thu, 16 Jul 2009 03:26:56 +0000 (03:26 +0000)]
in stackcopy threads, fix a bug in retrieving the actual pointers on the stack. When the thread is currently running, it should use the current stack (stackbase), while when thread is sleeping, use the saved stack.

12 years agoEnabling a fourth test within the program.
Isaac Dooley [Wed, 15 Jul 2009 18:43:14 +0000 (18:43 +0000)]
Enabling a fourth test within the program.

12 years agoAdding a test program that uses the EachToManyMulticast strategy.
Isaac Dooley [Wed, 15 Jul 2009 18:27:13 +0000 (18:27 +0000)]
Adding a test program that uses the EachToManyMulticast strategy.

12 years agoFixing more bugs in the bracketed strategies including: 1) destination and source...
Isaac Dooley [Wed, 15 Jul 2009 18:25:55 +0000 (18:25 +0000)]
Fixing more bugs in the bracketed strategies including: 1) destination and source element lists are now handled correctly 2) error modes are handled and checked in a more correct manner in the protocol functions instead of beginIteration.

12 years agocompare avail_vector to NULL (xlc may not like it compares with 0)
Gengbin Zheng [Wed, 15 Jul 2009 13:33:16 +0000 (13:33 +0000)]
compare avail_vector to NULL (xlc may not like it compares with 0)

12 years agoRemove artifacts of a header being C-includable
Phil Miller [Wed, 15 Jul 2009 03:38:41 +0000 (03:38 +0000)]
Remove artifacts of a header being C-includable

12 years agoCore: Interface to ask Chare Array proxies how many elements are local
Phil Miller [Tue, 14 Jul 2009 03:13:26 +0000 (03:13 +0000)]
Core: Interface to ask Chare Array proxies how many elements are local

Location manager now has a simple means to count the number of records
it has corresponding to locally-held indices. Array proxies expose
this functionality through their interface.

// How many elements of each associated array are local to this PE?
// If this returns n, and there are k associated arrays, that
// means k*n elements are living here
unsigned int CkLocMgr::numLocalElements();

12 years agoanother inconsistence of bool and CmiBool for isAsyncEvacuate() fixed
Gengbin Zheng [Tue, 14 Jul 2009 02:55:57 +0000 (02:55 +0000)]
another inconsistence of bool and CmiBool for isAsyncEvacuate() fixed

12 years agochange asyncEvacuate from bool to CmiBool
Gengbin Zheng [Mon, 13 Jul 2009 20:05:50 +0000 (20:05 +0000)]
change asyncEvacuate from bool to CmiBool

12 years agomore detailed info output into charmconfig.out.
Gengbin Zheng [Mon, 13 Jul 2009 20:03:47 +0000 (20:03 +0000)]
more detailed info output into charmconfig.out.
a better test for compiling shared lib

12 years agopass OPTS to charmc
Gengbin Zheng [Mon, 13 Jul 2009 19:52:04 +0000 (19:52 +0000)]
pass OPTS to charmc

12 years agofixed couple bug in MPI_Ssend.
Gengbin Zheng [Mon, 13 Jul 2009 15:14:22 +0000 (15:14 +0000)]
fixed couple bug in MPI_Ssend.
1. prevent other mpi_irecv awakes the sleeping ampi thread before ssend finishes.
2. prevent a reference to an invalid msg pointer after generic() calling inorder(), which may free the message.

12 years agoUpdate manual to reflect that group classes should inherit from CBase_GroupName
Phil Miller [Sun, 12 Jul 2009 02:58:30 +0000 (02:58 +0000)]
Update manual to reflect that group classes should inherit from CBase_GroupName

12 years agoFixing some comlib bugs that could possibly occur due to the way the src and dest...
Isaac Dooley [Sat, 11 Jul 2009 23:08:09 +0000 (23:08 +0000)]
Fixing some comlib bugs that could possibly occur due to the way the src and dest elements were handled.

12 years agothe bynodes array has to be populated always
Abhinav Bhatele [Fri, 10 Jul 2009 20:59:40 +0000 (20:59 +0000)]
the bynodes array has to be populated always

12 years agoa different way of getting cpu topology on Cray machines
Abhinav Bhatele [Fri, 10 Jul 2009 20:52:48 +0000 (20:52 +0000)]
a different way of getting cpu topology on Cray machines

12 years agocpu topology info should now be available always
Abhinav Bhatele [Fri, 10 Jul 2009 18:49:53 +0000 (18:49 +0000)]
cpu topology info should now be available always

12 years agoremoved a debug print
Gengbin Zheng [Fri, 10 Jul 2009 17:21:43 +0000 (17:21 +0000)]
removed a debug print

12 years agocheck if complier allows declaration of varsize array
Gengbin Zheng [Fri, 10 Jul 2009 17:00:08 +0000 (17:00 +0000)]
check if complier allows declaration of varsize array

12 years agobetter tracing event deps in array/group and nodegroup reduction for bigsim
Gengbin Zheng [Fri, 10 Jul 2009 16:54:20 +0000 (16:54 +0000)]
better tracing event deps in array/group and nodegroup reduction for bigsim

12 years agoAdding a very simple test of EachToManyMulticastStrategy
Isaac Dooley [Fri, 10 Jul 2009 16:48:22 +0000 (16:48 +0000)]
Adding a very simple test of EachToManyMulticastStrategy

12 years agoin timeline pup subrotuine, now creates all timelog at first during unpack, this...
Gengbin Zheng [Fri, 10 Jul 2009 14:39:41 +0000 (14:39 +0000)]
in timeline pup subrotuine, now creates all timelog at first during unpack,  this is to make backward/forward dep works and avoid CkQ re-allocate buffer.

12 years agoFixed a bug with message logging protocol. Variable _currentObj wasn't updated before...
Esteban Meneses [Thu, 9 Jul 2009 22:13:52 +0000 (22:13 +0000)]
Fixed a bug with message logging protocol. Variable _currentObj wasn't updated before AMPI_Send.

12 years agotopology collection is now turned off by default on Cray machines
Abhinav Bhatele [Thu, 9 Jul 2009 20:24:23 +0000 (20:24 +0000)]
topology collection is now turned off by default on Cray machines

12 years agotopology code should now work on Kraken (XT5)
Abhinav Bhatele [Thu, 9 Jul 2009 20:23:23 +0000 (20:23 +0000)]
topology code should now work on Kraken (XT5)
I am still going to turn it off by default

12 years agoAdd method CkVec::clear() to improve STL compatibility
Phil Miller [Thu, 9 Jul 2009 18:14:28 +0000 (18:14 +0000)]
Add method CkVec::clear() to improve STL compatibility

12 years agoSwitching from CkAssert to CmiAssert, and adding brackets around the for loop(there...
Isaac Dooley [Thu, 9 Jul 2009 17:24:05 +0000 (17:24 +0000)]
Switching from CkAssert to CmiAssert, and adding brackets around the for loop(there was a bug here caused by the last checkin).

12 years agoAdding an assertion to do bounds checking. This assertion fails on runs on kraken.
Isaac Dooley [Thu, 9 Jul 2009 16:22:56 +0000 (16:22 +0000)]
Adding an assertion to do bounds checking. This assertion fails on runs on kraken.

12 years agoTCharm/Emulator: Improve tracing to allow short-cutting library calls
Phil Miller [Wed, 8 Jul 2009 21:22:19 +0000 (21:22 +0000)]
TCharm/Emulator: Improve tracing to allow short-cutting library calls

TCharm provides a tracing facility to let developers see when library
code is entered and exited. This commit extends that facility so that
the BigSim emulator logs those entries and exits as events, and makes
the exit event depend on the entrance. Specifically, this lets
BigNetSim detect the call and return of AMPI functions, and enables it
to model them differently than the sequence of messages they generate.

12 years agoBigsim Emulator: Constify another char* to quiet warnings
Phil Miller [Wed, 8 Jul 2009 21:07:28 +0000 (21:07 +0000)]
Bigsim Emulator: Constify another char* to quiet warnings

12 years agoFixing projections message tracing for [nokeep] multicast messages. Projections messa...
Isaac Dooley [Wed, 8 Jul 2009 20:08:48 +0000 (20:08 +0000)]
Fixing projections message tracing for [nokeep] multicast messages. Projections message tracing for non [nokeep] messages is still broken.

12 years ago-Added _POSE_external_invoke (created by Eric) as a #define function to allow invocat...
Ryan Mokos [Wed, 8 Jul 2009 19:09:37 +0000 (19:09 +0000)]
-Added _POSE_external_invoke (created by Eric) as a #define function to allow invocation of poser event entry methods by non-sim objects--only use this if absolutely necessary
-Added global _POSE_SEQUENTIAL for use by _POSE_external_invoke to specify whether or not sequential POSE is in use

12 years agoprompt the previous fix. Make sure no trace call is called if there is no tracing...
Gengbin Zheng [Wed, 8 Jul 2009 16:44:57 +0000 (16:44 +0000)]
prompt the previous fix. Make sure no trace call is called if there is no tracing modules linked.

12 years agominor changes in CkVec to fix the memory bug
Gengbin Zheng [Wed, 8 Jul 2009 16:05:59 +0000 (16:05 +0000)]
minor changes in CkVec to fix the memory bug

12 years agoset Ireq's src rank from actual received message.
Gengbin Zheng [Wed, 8 Jul 2009 04:00:55 +0000 (04:00 +0000)]
set Ireq's src rank from actual received message.

12 years agoincrease MPI_STATUS_SIZE because status structure has a pointer which may be 64 bit
Gengbin Zheng [Wed, 8 Jul 2009 03:22:44 +0000 (03:22 +0000)]
increase MPI_STATUS_SIZE because status structure has a pointer which may be 64 bit

12 years agoFixed problem with load balancer instrumentation in presence of local entry methods...
Edgar Solomonik [Tue, 7 Jul 2009 21:56:15 +0000 (21:56 +0000)]
Fixed problem with load balancer instrumentation in presence of local entry methods that call the same object recursively.

12 years agoRemoved the if statements from the constructors to improve performance
Lukasz Wesolowski [Tue, 7 Jul 2009 20:01:17 +0000 (20:01 +0000)]
Removed the if statements from the constructors to improve performance

12 years agofix problem with compilation
Filippo Gioachin [Tue, 7 Jul 2009 19:00:27 +0000 (19:00 +0000)]
fix problem with compilation

12 years agoa minor change
Gengbin Zheng [Tue, 7 Jul 2009 15:50:38 +0000 (15:50 +0000)]
a minor change

12 years agofixes to allow FLASH3 to compile with AMPI:
Gengbin Zheng [Tue, 7 Jul 2009 05:28:17 +0000 (05:28 +0000)]
fixes to allow FLASH3 to compile with AMPI:
define two constants that were missing
fixed MPI_PROC_NULL definition to be consistent with C header file.

12 years agoMinor fix for message logging
Esteban Meneses [Mon, 6 Jul 2009 16:45:44 +0000 (16:45 +0000)]
Minor fix for message logging

12 years agoProcess Metis face graph flag in FEM_Init
Aaron Becker [Mon, 6 Jul 2009 16:44:31 +0000 (16:44 +0000)]
Process Metis face graph flag in FEM_Init

The command line argument specifying the use of face neighbor graphs
instead of node neighbor graphs was processed at partition time. This
can confuse programs when they're parsing arguments in init(). Instead,
process our flag in FEM_Init so that the user code never sees it.

12 years agodouble start/stop local method, which makes instrucmenaiton of local entry method...
Gengbin Zheng [Sat, 4 Jul 2009 02:33:36 +0000 (02:33 +0000)]
double start/stop local method, which makes instrucmenaiton of local entry method totally wrong.

12 years agoFixing bug in new multicast strategy.
Isaac Dooley [Thu, 2 Jul 2009 21:54:13 +0000 (21:54 +0000)]
Fixing bug in new multicast strategy.

12 years agoAdding a new node aware multicast strategy that sends to PEs within a node along...
Isaac Dooley [Thu, 2 Jul 2009 21:08:25 +0000 (21:08 +0000)]
Adding a new node aware multicast strategy that sends to PEs within a node along a ring.

12 years agouse -fpic instead of -fPIC to be consistent with icc options
Gengbin Zheng [Thu, 2 Jul 2009 19:45:16 +0000 (19:45 +0000)]
use -fpic instead of -fPIC to be consistent with icc options

12 years agodeclare MPI_Register as fortran subroutine instead of function to make it consistent.
Gengbin Zheng [Thu, 2 Jul 2009 19:44:32 +0000 (19:44 +0000)]
declare MPI_Register as fortran subroutine instead of function to make it consistent.

12 years agoAdding better debug printouts.
Isaac Dooley [Thu, 2 Jul 2009 18:18:16 +0000 (18:18 +0000)]
Adding better debug printouts.

12 years agoUsing QD for startup to ensure that comlib has been initialized before we use it.
Isaac Dooley [Thu, 2 Jul 2009 18:16:44 +0000 (18:16 +0000)]
Using QD for startup to ensure that comlib has been initialized before we use it.